action #102377
closedEnable validate_btrfs module in JeOS
100%
Description
Currently this module is not running in Jeos tests, neither SLE nor opensuse.
It would be nice to enable that test as well.
I tried quickly adding NUMDISKS=2
variable to the job, but got:
validate_script_output got:
/dev/vda3 24G 1.9G 22G 8% /var
Check function (deparsed code):
{
package validate_btrfs;
use feature 'current_sub', 'evalbytes', 'fc', 'say', 'state', 'switch', 'unicode_strings', 'unicode_eval';
m[/dev/vda.+[1-6]\d?%]u;
}
See http://fromm.arch.suse.de/tests/4299#step/validate_btrfs/70
Updated by ph03nix about 3 years ago
- Status changed from New to In Progress
- Assignee set to ph03nix
Updated by ph03nix about 3 years ago
I start with Leap: https://openqa.opensuse.org/tests/2082555
Update: That was easy. http://duck-norris.qam.suse.de/tests/7943.
New test run with all modules including validate_btrfs
: http://duck-norris.qam.suse.de/tests/7947 - failing. Now trying to find out a small reproducer for this issue, then we can fix it.
Updated by ph03nix about 3 years ago
jlausuch wrote:
Currently this module is not running in Jeos tests, neither SLE nor opensuse.
It would be nice to enable that test as well.
I tried quickly addingNUMDISKS=2
variable to the job, but got:validate_script_output got: /dev/vda3 24G 1.9G 22G 8% /var Check function (deparsed code): { package validate_btrfs; use feature 'current_sub', 'evalbytes', 'fc', 'say', 'state', 'switch', 'unicode_strings', 'unicode_eval'; m[/dev/vda.+[1-6]\d?%]u; }
See http://fromm.arch.suse.de/tests/4299#step/validate_btrfs/70
The issue comes from https://github.com/os-autoinst/os-autoinst-distri-opensuse/blob/7924c907b7f455be4f8c2b272c9b8c85e32864e2/tests/containers/validate_btrfs.pm#L41, where we check if the disk is not full, however values below 10% are not accepted there. Will work on a fix together with enabling the test.
Updated by ph03nix about 3 years ago
Updated by ph03nix about 3 years ago
New test run: http://duck-norris.qam.suse.de/tests/7956
Updated by ph03nix about 3 years ago
Leap 15.3 JeOS works now with the applied changes from yesterday: http://duck-norris.qam.suse.de/tests/7956#
Updated by ph03nix about 3 years ago
For TW we can use the opensuse-Tumbleweed-JeOS-for-kvm-and-xen-x86_64-Build20211213-jeos-container_host. Using this test for the validate_btrfs
.
Update: Test run http://duck-norris.qam.suse.de/tests/7957 - passing
Updated by ph03nix about 3 years ago
Tumbleweed aarch64 test run with validate_btrfs: https://openqa.opensuse.org/tests/2084534#details
It fails because the test requires two disks. I'd recommend to fix this in a separate ticket: https://progress.opensuse.org/issues/103977
Updated by ph03nix about 3 years ago
- Related to action #103977: Enable validate_btrfs module for aarch64 added
Updated by ph03nix about 3 years ago
- Status changed from In Progress to Resolved
- % Done changed from 50 to 100
Updated by dimstar about 3 years ago
This resulted in an error:
https://progress.opensuse.org/issues/104559 #104559
9% is not a valid matching value