action #93339
closedtest 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
Updated by ph03nix over 2 years 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.
Updated by ph03nix over 2 years ago
Updated by ph03nix over 2 years ago
Test run: http://duck-norris.qam.suse.de/t6550
Updated by ph03nix over 2 years 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
Updated by ph03nix over 2 years ago
- % Done changed from 0 to 80
Updated by ph03nix over 2 years ago
Updated by ph03nix over 2 years ago
- % Done changed from 80 to 90
Another fixing PR for 12-SP4: https://github.com/os-autoinst/os-autoinst-distri-opensuse/pull/12662
Updated by ph03nix over 2 years ago
- Status changed from Workable to Resolved
- % Done changed from 90 to 100
Updated by ph03nix over 2 years ago
jlausuch wrote:
I missed thanking you for this!
Was a pleasure ;-)