Project

General

Profile

Actions

action #102377

closed

Enable validate_btrfs module in JeOS

Added by jlausuch about 3 years ago. Updated 3 months ago.

Status:
Resolved
Priority:
Normal
Assignee:
Target version:
-
Start date:
2021-11-14
Due date:
% Done:

100%

Estimated time:

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


Related issues 1 (0 open1 closed)

Related to Containers and images - action #103977: Enable validate_btrfs module for aarch64Resolvedmloviska2021-12-14

Actions
Actions #1

Updated by ph03nix about 3 years ago

  • Status changed from New to In Progress
  • Assignee set to ph03nix
Actions #2

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.

Actions #3

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 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

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.

Actions #6

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#

Actions #7

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

Actions #8

Updated by ph03nix about 3 years ago

  • % Done changed from 0 to 50

Since there is no container job in the SLE JeOS test modules (SLE15-SP3 | SLE15-SP2 | SLE15-SP1) I believe there only missing point is to evaluate, if aarch64 can be included as well or not.

Actions #9

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

Actions #10

Updated by ph03nix about 3 years ago

  • Related to action #103977: Enable validate_btrfs module for aarch64 added
Actions #11

Updated by ph03nix about 3 years ago

  • Status changed from In Progress to Resolved
  • % Done changed from 50 to 100
Actions #12

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

Actions #13

Updated by ph03nix 3 months ago

  • Tags set to containers
Actions

Also available in: Atom PDF