action #93339
test fails in validate_btrfs
100%
Description
Observation¶
openQA test in scenario sle-15-SP3-Server-DVD-Updates-x86_64-sle_image_on_sle_host@64bit fails in
validate_btrfs
Other failures:
All Container jobs, e.g. https://openqa.suse.de/tests/6151606
All Public Cloud jobs, e.g. https://openqa.suse.de/tests/6149926#step/validate_btrfs/39
Test suite description¶
The base test suite is used for job templates defined in YAML documents. It has no settings of its own.
Reproducible¶
Fails since (at least) Build 20210601-1 (current job)
Expected result¶
Last good: (unknown) (or more recent)
Further details¶
Always latest result in this scenario: latest
History
#2
Updated by ph03nix 12 months ago
Looking at https://openqa.suse.de/tests/6151606#step/validate_btrfs/38 the issue appears to me to be an erroneous validation regex:
validate_script_output got: Data, single: total=4.01GiB, used=3.05GiB System, DUP: total=32.00MiB, used=16.00KiB Metadata, DUP: total=1.25GiB, used=77.97MiB GlobalReserve, single: total=7.25MiB, used=0.00B Check function (deparsed code): { package validate_btrfs; use feature 'current_sub', 'evalbytes', 'fc', 'say', 'state', 'switch', 'unicode_strings', 'unicode_eval'; /^Data.+total=[12].*GiB, used=\d+.+[KM]iB/u; }
Because the output is something like used=...GiB
but the regex only matches [KM]iB
, so GiB is not included.
#4
Updated by ph03nix 12 months ago
Test run: http://duck-norris.qam.suse.de/t6550
#5
Updated by ph03nix 12 months ago
ph03nix wrote:
Test run: http://duck-norris.qam.suse.de/t6550
Multiple regexes across the whole test are just wrong, because the hard disk size doesn't match the test requirements.
https://openqa.suse.de/tests/6151606#dependencies inherits the image from https://openqa.suse.de/tests/6149112 where HDDSIZEGB=40
#9
Updated by ph03nix 11 months ago
- % Done changed from 80 to 90
Another fixing PR for 12-SP4: https://github.com/os-autoinst/os-autoinst-distri-opensuse/pull/12662