Project

General

Profile

Actions

action #87788

open

[qe-core][s390x] Additional boot parameters based on workaround or not

Added by skriesch over 3 years ago. Updated about 1 month ago.

Status:
In Progress
Priority:
Normal
Assignee:
-
Category:
Bugs in existing tests
Target version:
-
Start date:
2021-01-15
Due date:
% Done:

80%

Estimated time:
Difficulty:

Description

We had a discussion in https://bugzilla.suse.com/show_bug.cgi?id=1156053#c59, whether we would require both boot parameters "hardened_usercopy=off" and "hvc_iucv=8" or not.
Developers are saying, that the bug would be fixed. Needles are looking ok.
The workaround of the following if statement is used by openQA, so that both kernel parameters are used and anything is going wrong, so that we have got a SoftFailed as a result.

The used if statement:
if ((is_sle('>=15-SP2') || is_tumbleweed()) && get_var('WORKAROUND_BUGS') =~ 'bsc1156047') {
$params .= ' hardened_usercopy=off hvc_iucv=8';
record_soft_failure('bsc#1156053 - hardened_usercopy=off to avoid "/dev/hvc0: cannot get controlling tty: Operation not permitted" (Kernel memory overwrite attempt detected to SLUB object - illegal operation)');
}

Test with the if statement (based on my PR):
https://openqa.opensuse.org/tests/1589414#

Test without the if statement:
https://openqa.opensuse.org/tests/1589601#

We would have green tests without the workaround. We need a solution, if we would keep the if statement.

Actions

Also available in: Atom PDF