action #115478
closed[qe-core] test fails in zypper_log_packages - uploading logs seems to fail due to WORKER_HOSTNAME not being always available
0%
Description
The new module appears to use autoinst_url in test code, but that URL is only usable from inside the SUT.
It works (by accident?) on multimachine configured workers, as those have 10.0.2.2 assigned to br1.
Observation¶
openQA test in scenario opensuse-15.4-KDE-Live-aarch64-kde-live@USBboot_aarch64 fails in
zypper_log_packages
Test suite description¶
riafarov: I've increased RAM from 1536 to 2048
Reproducible¶
Fails since (at least) Build 7.10 (current job)
Expected result¶
Last good: 7.9 (or more recent)
Further details¶
Always latest result in this scenario: latest
Updated by dheidler about 2 years ago
Interestingly this seems to only affect aarch64 workers.
Anyway for a clean fix we need some small tweaks in the testapi of os-autoinst to force autoinst_url()
to use the worker ip when requested.
Updated by dheidler about 2 years ago
- Status changed from In Progress to Feedback
Updated by favogt about 2 years ago
dheidler wrote:
Interestingly this seems to only affect aarch64 workers.
It affects all workers without a multi-machine setup. i.e. it works on openqa-aarch64, but not the other "cloud" workers (ip-*).
Anyway for a clean fix we need some small tweaks in the testapi of os-autoinst to force
autoinst_url()
to use the worker ip when requested.
Updated by dimstar about 2 years ago
dheidler wrote:
Interestingly this seems to only affect aarch64 workers.
Also seen on ppc64le: https://openqa.opensuse.org/tests/2531722#step/zypper_log_packages/10
Updated by maritawerner about 2 years ago
- Subject changed from test fails in zypper_log_packages to [qe-core] test fails in zypper_log_packages
Updated by ggardet_arm about 2 years ago
It seems we still miss https://github.com/os-autoinst/os-autoinst-distri-opensuse/pull/15379
Updated by favogt about 2 years ago
- Status changed from Feedback to Workable
Updated by szarate about 2 years ago
Dominik, let's switch to save_ulogs to copy the contents of the file directly to the ulogs directory: save_ulog($out, $filename);
Updated by szarate about 2 years ago
- Sprint set to QE-Core: September Sprint (Aug 31 - Sep 28)
- Tags set to bugbusters
- Target version set to QE-Core: Ready
Updated by szarate about 2 years ago
- Subject changed from [qe-core] test fails in zypper_log_packages to [qe-core] test fails in zypper_log_packages - uploading logs seems to fail due to WORKER_HOSTNAME not being always available
Updated by mkittler about 2 years ago
When you're done, you can remove the workaround that's currently configured on the o3 worker ow19 (see #111473#note-61).
Updated by szarate about 2 years ago
- Related to action #109789: [qe-core] generate a list of installed packages in the system at the end of a test added
Updated by dheidler about 2 years ago
- Status changed from Workable to Feedback
Updated by favogt about 2 years ago
mkittler wrote:
When you're done, you can remove the workaround that's currently configured on the o3 worker ow19 (see #111473#note-61).
The PR was merged, I removed the workaround.
Updated by dheidler about 2 years ago
- Status changed from Feedback to Resolved