action #81808
closed[sle][security][sle15sp3] test fails in ima_appraisal_hashes about background screen chaos
100%
Description
Observation¶
openQA test in scenario sle-15-SP3-Online-x86_64-ima_appraisal@uefi fails in
ima_appraisal_hashes
Test suite description¶
Maintainer: llzhao@suse.com
Setup and test for IMA appraisal functions.
Reproducible¶
Fails since (at least) Build 14.2
Expected result¶
Last good: (unknown) (or more recent)
Further details¶
Always latest result in this scenario: latest
Updated by rfan1 about 4 years ago
Potential fix:
https://github.com/rfan1/os-autoinst-distri-opensuse/tree/ima_hash
commit 9a77432e1a782a62982844ac9af2c23eebf18832 (HEAD -> ima_hash, origin/ima_hash)
Author: rfan1 richard.fan@suse.com
Date: Wed Jan 6 13:28:21 2021 +0800
Add keepconsole=1 for power action
diff --git a/tests/security/ima/ima_appraisal_hashes.pm b/tests/security/ima/ima_appraisal_hashes.pm
index d4e60bd7e..0028db31b 100644
--- a/tests/security/ima/ima_appraisal_hashes.pm
+++ b/tests/security/ima/ima_appraisal_hashes.pm
@@ -39,7 +39,8 @@ sub run {
add_grub_cmdline_settings("ima_appraise=fix $tcb_cmdline", update_grub => 1);
- power_action('reboot', textmode => 1);
- select_console 'root-console';
- power_action('reboot', keepconsole => 1, textmode => 1); $self->wait_boot(textmode => 1); $self->select_serial_terminal;
@@ -61,7 +62,8 @@ sub run {
replace_grub_cmdline_settings('ima_appraise=fix', '', update_grub => 1);
- power_action('reboot', textmode => 1);
- select_console 'root-console';
- power_action('reboot', keepconsole => 1, textmode => 1); $self->wait_boot(textmode => 1); $self->select_serial_terminal;
5 runs passed. however, given the fact that we can pass the case without code change in openqa (just re-run it)
https://openqa.suse.de/tests/5252471#details
marked it close now, once hitting the issue again, will apply this patch
Updated by rfan1 about 4 years ago
- Status changed from New to Resolved
- % Done changed from 0 to 100
Updated by pvorel about 4 years ago
Isn't the failure in https://openqa.suse.de/tests/5247875/modules/ima_appraisal_hashes/steps/25 caused by #81142 ?
Screenshot shows corrupted screen, which affect also our testing.
Updated by pvorel about 4 years ago
- Related to action #81142: VNC console corruption added
Updated by pvorel about 4 years ago
OK, you already reported it to original bug.