[y] Module validate_encrypt fails on s390x-kvm-sle12
openQA test in scenario sle-15-SP3-Online-s390x-lvm-encrypt-separate-boot@s390x-kvm-sle12 fails in
It's just zkvm affected
Looks like the command
command 'cryptsetup -v luksHeaderBackup /dev/disk/by-path/ccw-0.0.0000-part3 --header-backup-file /root//dev/disk/by-path/ccw-0.0.0000-part3
needs some modification for the particular machine.
The failure message is the bellow
# Test died: command 'cryptsetup -v luksHeaderBackup /dev/disk/by-path/ccw-0.0.0000-part3 --header-backup-file /root//dev/disk/by-path/ccw-0.0.0000-part3' failed at /var/lib/openqa/cache/openqa.suse.de/tests/sle/lib/validate_encrypt_utils.pm line 92.
Last good: 209.2 (or more recent)
Always latest result in this scenario: latest
#7 Updated by ybonatakis about 1 year ago
The code used the encrypted-device path from the crypttab output. The path could be
either the underlying block device or file, or a specification of a block device with a UUID.
So the luksHeaderBackup and luksHeaderRestore used to use for the binary backup file a
structure like /roor/UUID=. In the case of s390x the structure was root/.
I think the reason of the failure is that the --header-backup-file expects a new file in an
Because for both cases this looks wrong to me i copy the backup_path that it was being used before
the refactoring. The current approach pass /root/bkp_luks_header_
in --header-backup-file of luksHeaderBackup and luksHeaderRestore for all the test_suites
#11 Updated by ybonatakis about 1 year ago
- Status changed from Resolved to In Progress
reopen it to fix the issues that the PR causes to some group of jobs. The fix is related to the backup_base_path that is missing from some. we need to adjust also the test_data in the cases that they have multi-encryption.
#12 Updated by ybonatakis about 1 year ago
https://github.com/os-autoinst/os-autoinst-distri-opensuse/pull/10923 and also i own a PR for the jobgroup yaml
#13 Updated by ybonatakis about 1 year ago
https://github.com/os-autoinst/os-autoinst-distri-opensuse/pull/10927 last one with the missing piece for cryptlvm_iscsi