action #158194
closedcoordination #151816: [epic] Handle openQA fixes and job group setup
Need set correct firewall setting in profile for 12SP5 on s390x
0%
Description
Motivation
Failed job: https://openqa.suse.de/tests/13830874#step/install_service/123
As firewall is disabled, so the 'open port in firewall' cannot be chosen.
Acceptance criteria
AC1: Update the code to check if need send key 'alt-f' to open port in firewall.
Updated by openqa_review 11 months ago
This is an autogenerated message for openQA integration by the openqa_review script:
This bug is still referenced in a failing openQA test: offline_sles12sp5_pscc_sdk-asmm-contm-lgm-tcm-wsm-pcm_all_full
https://openqa.suse.de/tests/13959416#step/install_service/1
To prevent further reminder comments one of the following options should be followed:
- The test scenario is fixed by applying the bug fix to the tested product or the test is adjusted
- The openQA job group is moved to "Released" or "EOL" (End-of-Life)
- The bugref in the openQA scenario is removed or replaced, e.g.
label:wontfix:boo1234
Expect the next reminder at the earliest in 28 days if nothing changes in this ticket.
Updated by JERiveraMoya 11 months ago · Edited
@tinawang123 do you know why the firewall is disabled now? any change in the image used for this job or a previous step?, I guess that is what we should fix first.
because as you said the selection with a shorcut is not available which makes sense, because you don't need to open the port if the firewall is already disabled.
Updated by tinawang123 11 months ago · Edited
@JERiveraMoya. This job was never passed according its history.
I checked the qcow image. From the source qcow image: https://openqa.suse.de/tests/14053798#
Check the autoyast profile:
<interface>
<bootproto>static</bootproto>
<device>lo</device>
<firewall>no</firewall>
<ipaddr>127.0.0.1</ipaddr>
<netmask>255.0.0.0</netmask>
<network>127.0.0.0</network>
<prefixlen>8</prefixlen>
<startmode>nfsroot</startmode>
<usercontrol>no</usercontrol>
</interface>
The firewall is disabled.
Updated by JERiveraMoya 11 months ago
tinawang123 wrote in #note-3:
@JERiveraMoya. This job was never passed according its history.
I checked the qcow image. From the source qcow image: https://openqa.suse.de/tests/14053798#
Check the autoyast profile:
<interface>
<bootproto>static</bootproto>
<device>lo</device>
<firewall>no</firewall>
<ipaddr>127.0.0.1</ipaddr>
<netmask>255.0.0.0</netmask>
<network>127.0.0.0</network>
<prefixlen>8</prefixlen>
<startmode>nfsroot</startmode>
<usercontrol>no</usercontrol>
</interface>
The firewall is disabled.
different image I guess, you can check the previous GM for older results:
https://openqa.suse.de/tests/11175506#downloads
Updated by tinawang123 11 months ago · Edited
The image file generated by autoyast profile.
From that time. The job failed.
Updated by JERiveraMoya 10 months ago
- Tags set to qe-yam-apr-sprint
- Status changed from New to Workable
- Parent task set to #151816
Updated by JERiveraMoya 10 months ago
- Subject changed from If firewall is disabled, it should not match the tag 'nfs-firewall-open' to Fix generated image to avoid needle mismatch
Updated by leli 10 months ago
It seems the hot key doesn't exist any more, which caused the checkbox of firewall port open not checked, I'd like to change it to assert_and_click. wait http://openqa.suse.de/tests/14128400#
sub yast_handle_firewall {
if (is_sle('<15')) {
send_key 'alt-f'; # Open port in firewall
assert_screen 'nfs-firewall-open';
}
Updated by JERiveraMoya 10 months ago
- Tags changed from qe-yam-apr-sprint to qe-yam-may-sprint
Updated by leli 10 months ago
After start SuSEfirewall2 and enable 22 port, the test seems work http://openqa.suse.de/tests/14161945#. While I found the profile may have something wrong for firewall which hasn't enable and start SuSEfirewall2 which is the root cause of this issue. So I will create an interactive installation on 12SP5 for s390x and clone the profile to compare and update the original profile.
Updated by leli 10 months ago
PR merged, verified on OSD https://openqa.suse.de/tests/14235646#