Project

General

Profile

Actions

action #158194

open

coordination #151816: [epic] Handle openQA fixes and job group setup

Need set correct firewall setting in profile for 12SP5 on s390x

Added by tinawang123 about 1 month ago. Updated 2 days ago.

Status:
In Progress
Priority:
High
Assignee:
Target version:
-
Start date:
2024-03-28
Due date:
% Done:

0%

Estimated time:

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.

Actions #1

Updated by openqa_review 27 days 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:

  1. The test scenario is fixed by applying the bug fix to the tested product or the test is adjusted
  2. The openQA job group is moved to "Released" or "EOL" (End-of-Life)
  3. 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.

Actions #2

Updated by JERiveraMoya 22 days 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.

Actions #3

Updated by tinawang123 20 days 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.

Actions #4

Updated by JERiveraMoya 20 days 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

Actions #5

Updated by tinawang123 20 days ago · Edited

The image file generated by autoyast profile.

From that time. The job failed.

Actions #6

Updated by JERiveraMoya 16 days ago

  • Tags set to qe-yam-apr-sprint
  • Status changed from New to Workable
  • Parent task set to #151816
Actions #7

Updated by JERiveraMoya 16 days 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
Actions #8

Updated by leli 15 days ago

  • Status changed from Workable to In Progress
  • Assignee set to leli
Actions #9

Updated by leli 14 days 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';
    }

Actions #10

Updated by JERiveraMoya 14 days ago

  • Tags changed from qe-yam-apr-sprint to qe-yam-may-sprint
Actions #11

Updated by leli 10 days 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.

Actions #12

Updated by JERiveraMoya 6 days ago

  • Priority changed from Normal to High
Actions #13

Updated by leli 2 days ago

  • Subject changed from Fix generated image to avoid needle mismatch to Need set correct firewall setting in profile for 12SP5 on s390x
Actions

Also available in: Atom PDF