action #108064
closedTest fails in btrfs_autocompletion - System management is locked by the application with pid 1658 (zypper).
0%
Description
Observation¶
openQA test in scenario sle-12-SP5-JeOS-for-kvm-and-xen-Updates-x86_64-jeos-filesystem@64bit-virtio-vga fails in
btrfs_autocompletion
However, looking at autoinst-log.txt, zypper retries to install it and fails with
2022-03-09 02:20:32 <5> linux(1658) [zypp] Exception.cc(log):166 MediaCurl.cc(evaluateCurlCode):1135 THROW: File '/media.1/media' not found on medium 'http://dist.suse.de/ibs/SUSE:/Maintenance:/23206/SUSE_Updates_SLE-SERVER_12-SP5_x86_64/'
2022-03-09 02:20:32 <5> linux(1658) [zypp] Exception.cc(log):166 MediaCurl.cc(doGetFileCopyFile):1591 RETHROW: File '/media.1/media' not found on medium 'http://dist.suse.de/ibs/SUSE:/Maintenance:/23206/SUSE_Updates_SLE-SERVER_12-SP5_x86_64/'
2022-03-09 02:20:32 <5> linux(1658) [zypp] Exception.cc(log):166 MediaMultiCurl.cc(doGetFileCopy):1363 RETHROW: File '/media.1/media' not found on medium 'http://dist.suse.de/ibs/SUSE:/Maintenance:/23206/SUSE_Updates_SLE-SERVER_12-SP5_x86_64/'
...
So, I'm not sure if it's a test issue or network issue... but it appears quite often lately.
Test suite description¶
Filesystems JeOS test suite. Maintainer: qa-c
Reproducible¶
Fails since (at least) Build 20220309-1 (current job)
Expected result¶
Last good: 20220308-1 (or more recent)
Further details¶
Always latest result in this scenario: latest
Updated by jlausuch over 2 years ago
- Project changed from openQA Tests to 208
- Category deleted (
Bugs in existing tests)
Updated by jlausuch over 2 years ago
- Related to action #107062: Multiple failures due to network issues added
Updated by jlausuch over 2 years ago
This might help next time we hit the issue:
https://github.com/os-autoinst/os-autoinst-distri-opensuse/pull/14454
Updated by jlausuch over 2 years ago
Updated by mloviska over 2 years ago
- Status changed from Workable to In Progress
- Assignee set to mloviska
- Priority changed from Normal to High
Setting high as it affects Maintenance jobs
Updated by jlausuch over 2 years ago
- Related to action #103791: After module failure, the console is broken size:M added
Updated by jlausuch over 2 years ago
In this one https://openqa.suse.de/tests/8322911#step/btrfs_autocompletion/4
zypper --non-interactive refs Server_Applications_Module_15_SP3_x86_64
https://openqa.suse.de/tests/8322915#step/btrfs_autocompletion/4
zypper --non-interactive refs Basesystem_Module_15_SP3_x86_64
So, for sure, the previous module snapper_jeos_cli
leaves the system in some state where some operations are still running. The idea would be to wait at the end of that module until any zypper|SUSEConnect|rollback
operations is happening.
Updated by mloviska over 2 years ago
- Status changed from In Progress to Feedback
Updated by mloviska over 2 years ago
- Status changed from Feedback to Resolved
Updated by jlausuch over 2 years ago
- Status changed from Resolved to In Progress
Looks like that check was not enough...
https://openqa.suse.de/tests/8332025#step/btrfs_autocompletion/2
Maybe adding at the end of the test another loop for waiting for any zypper operation?
Updated by mloviska over 2 years ago
jlausuch wrote:
Looks like that check was not enough...
https://openqa.suse.de/tests/8332025#step/btrfs_autocompletion/2
Maybe adding at the end of the test another loop for waiting for any zypper operation?
Nice catch! Thanks! It has exhausted all attempts and the file was still there https://openqa.suse.de/tests/8332025#step/snapper_jeos_cli/147 and https://openqa.suse.de/tests/8332025#step/snapper_jeos_cli/143. So maybe I should increase the sleep time or number of attempts?
Updated by mloviska over 2 years ago
- Status changed from In Progress to Feedback
Let's hope the TO and number of attempts are enough now
Updated by jlausuch over 2 years ago
mloviska wrote:
Let's hope the TO and number of attempts are enough now
crossing fingers!
Updated by mloviska over 2 years ago
Haven't seen this for 3 weeks. Can we close it ?
Updated by jlausuch over 2 years ago
- Status changed from Feedback to Resolved
Yes, looks like the fix works. Thanks for taking care!