action #49913
closed[qam] [sle][security][sle15sp1] test fails in apache2_changehat
0%
Description
Observation¶
openQA test in scenario sle-15-Server-DVD-Updates-x86_64-mau-apparmor_profile@64bit fails in
apache2_changehat
Test suite description¶
Reproducible¶
Fails since (at least) Build 20190305-2
Expected result¶
Last good: 20190305-1 (or more recent)
Further details¶
Seems to be caused after merge of apparmor_changehat cases into sle and opensuse. Might be only missing neddles.
https://github.com/os-autoinst/os-autoinst-distri-opensuse/pull/7169
Added a comment to maintainer to check it up.
Always latest result in this scenario: latest
Updated by llzhao over 5 years ago
- Assignee set to llzhao
Thanks for the concerns.
NOTE:
1.
The new added test case should be run in gnome environment, the settings should be changed to:
DESKTOP=gnome and START_AFTER_TEST=create_hdd_gnome
2.
The related needle were merged (forgot to merge before):
https://gitlab.suse.de/openqa/os-autoinst-needles-sles/merge_resquests/1107
Updated by bfilho over 5 years ago
Thank you for the quick response. I'm just waiting for the next run to check if everything is fine.
Updated by bfilho over 5 years ago
Hello @llzhao
The error still seem to be happening (https://openqa.suse.de/tests/2771150#next_previous). The needles seemed to be added but the tests are still failing. Do you think it could be something else this time?
About that change on the settings, does someone need to do that on the OSD?
Thanks
Updated by llzhao over 5 years ago
Hello bfilho,
Thanks for the update.
Yes, the error still exists,
but I had changed the settings for "apparmor_profile" let wait and see the results on next build.
the changes:
[
DESKTOP=gnome
HDD_1=SLES-%VERSION%-%ARCH%-Build%BUILD%@%MACHINE%-gnome.qcow2
START_AFTER_TEST=create_hdd_gnome
]
I am not sure who can help to change the settings for "mau-apparmor_profile" accordingly.
Updated by llzhao over 5 years ago
- Subject changed from [qam] test fails in apache2_changehat to [qam] [sle][security][sle15sp1] test fails in apache2_changehat
Updated by llzhao over 5 years ago
- Status changed from In Progress to Resolved
It is pass on https://openqa.suse.de/tests/2780992#step/usr_lib_dovecot_pop3/48 after revised the settings.
Updated by okurz over 5 years ago
This is an autogenerated message for openQA integration by the openqa_review script:
This bug is still referenced in a failing openQA test: mau-apparmor_profile
https://openqa.suse.de/tests/2820689
Updated by msmeissn over 5 years ago
- Status changed from Resolved to Workable
- Priority changed from Normal to Immediate
This is still failing in maitnenance.
This has nothing to do with dovecot.
I think the problem in https://openqa.suse.de/tests/2839304#
is that it does:
add_suseconnect_product("sle-module-web-scripting");
and in SLE15 this is with verisons, but in SLE12 codebase it is without any service pack versions. It probably needs to use code like in
tests/console/salt.pm:
my $version = get_required_var('VERSION') =~ s/([0-9]+).*/$1/r;
if ($version == '12') {
add_suseconnect_product('sle-module-web-scripting', $version);
}
elsif ($version == '15') {
$version = get_required_var('VERSION') =~ s/([0-9]+)-SP([0-9]+)/$1.$2/r;
add_suseconnect_product('sle-module-adv-systems-management', "$version");
}
Updated by llzhao over 5 years ago
- Priority changed from Immediate to High
Thanks for the comments, they are vert helpful.
There are also some other issues I have to fix at the same time.
Updated by llzhao over 5 years ago
the fix:
- firefox loading time out can be fixed by setting "QEMURAM=2048" (default is "QEMURAM=1024")
- add_suseconnect_product("sle-module-web-scripting") error can be fixed by msmeissn's suggestions as top.
- add one more data file "usr.sbin.httpd-prefork-sle12" for sle12sp4 product
- do restart apparmor before restart apache2, otherwise there will be DENIED audit records like: type=AVC msg=audit(1553744807.037:405): apparmor="DENIED" operation="change_hat" info="unconfined can not change_hat" error=-1 profile="unconfined" pid=5579 comm="httpd-prefork"
Updated by okurz over 5 years ago
This is an autogenerated message for openQA integration by the openqa_review script:
This bug is still referenced in a failing openQA test: mau-apparmor_profile
https://openqa.suse.de/tests/2932796
Updated by llzhao over 5 years ago
- Status changed from In Progress to Resolved
The code was pushed and change the status to "Resolved".
I have updated the "Settings" of test suites "mau-apparmor_profile" also, let see the next run.
FYI of the new "Settings":
DESKTOP=gnome
HDD_1=SLES-%VERSION%-%ARCH%-mru-install-desktop-with-addons-Build%BUILD%-%MACHINE%.qcow2
SCC_ADDONS=%REQUIRED_ADDON%,%MRU_ADDONS%
START_AFTER_TEST=mru-install-desktop-with-addons
Updated by okurz about 5 years ago
This is an autogenerated message for openQA integration by the openqa_review script:
This bug is still referenced in a failing openQA test: mau-apparmor_profile
https://openqa.suse.de/tests/2985754