Project

General

Profile

Actions

action #164955

closed

[qe-core][wicked-mu]test fails in t20_ifupdown_test_1_2, it might be caused by PR#19725

Added by rfan1 4 months ago. Updated 4 months ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
Bugs in existing tests
Start date:
2024-08-06
Due date:
% Done:

0%

Estimated time:
Difficulty:

Description

Observation

openQA test in scenario sle-15-SP2-Server-DVD-Updates-x86_64-qam_wicked_startandstop_sut@64bit fails in
t20_ifupdown_test_1_2

Test suite description

Testsuite maintained at https://gitlab.suse.de/qa-maintenance/qam-openqa-yml.

Reproducible

Fails since (at least) Build 20240805-1

Expected result

Last good: 20240804-1 (or more recent)

Further details

Always latest result in this scenario: latest

Actions #1

Updated by rfan1 4 months ago

Error messages can be seen below, I will check with Clemens Famulla-Conrad to see if a quick fix can be done, or I will revert the PR https://github.com/os-autoinst/os-autoinst-distri-opensuse/pull/19725

=== step0: start
=== step0 -- Setup configuration

VLAN on virtual interface

setup:

   dummyA    <-l-    vlan10

#vlanA="${vlanA:-$dummyA.$vlanA_id}"

== /etc/sysconfig/network/ifcfg-dummyA ==
STARTMODE='auto'
BOOTPROTO='static'
ZONE=trusted
DUMMY=yes
IPADDR='198.18.10.10/24'

== /etc/sysconfig/network/ifcfg-vlan10 ==
STARTMODE='auto'
BOOTPROTO='static'
ZONE=trusted
IPADDR='198.18.11.10/24'
ETHERDEVICE='dummyA'
VLAN_ID='10'

<interface origin="compat:suse:/etc/sysconfig/network/ifcfg-lo">
  <name>lo</name>
  <control>
    <mode>boot</mode>
    <boot-stage>localfs</boot-stage>
    <persistent>true</persistent>
  </control>
  <link/>
  <ipv4>
    <enabled>true</enabled>
  </ipv4>
  <ipv4:static>
    <address>
      <local>127.0.0.1/8</local>
    </address>
  </ipv4:static>
  <ipv6>
    <enabled>true</enabled>
  </ipv6>
  <ipv6:static>
    <address>
      <local>::1/128</local>
    </address>
  </ipv6:static>
</interface>
<interface origin="compat:suse:/etc/sysconfig/network/ifcfg-dummyA">
  <name>dummyA</name>
  <control>
    <mode>boot</mode>
  </control>
  <firewall>
    <zone>trusted</zone>
  </firewall>
  <dummy/>
  <link/>
  <ipv4>
    <enabled>true</enabled>
    <forwarding>false</forwarding>
  </ipv4>
  <ipv4:static>
    <address>
      <local>198.18.10.10/24</local>
    </address>
  </ipv4:static>
  <ipv6>
    <enabled>true</enabled>
    <forwarding>false</forwarding>
    <privacy>prefer-public</privacy>
    <accept-redirects>false</accept-redirects>
  </ipv6>
</interface>
<interface origin="compat:suse:/etc/sysconfig/network/ifcfg-vlan10">
  <name>vlan10</name>
  <control>
    <mode>boot</mode>
  </control>
  <firewall>
    <zone>trusted</zone>
  </firewall>
  <vlan>
    <device>dummyA</device>
    <protocol>ieee802-1Q</protocol>
    <tag>10</tag>
  </vlan>
  <link/>
  <ipv4>
    <enabled>true</enabled>
    <forwarding>false</forwarding>
    <arp-verify>true</arp-verify>
  </ipv4>
  <ipv4:static>
    <address>
      <local>198.18.11.10/24</local>
    </address>
  </ipv4:static>
  <ipv6>
    <enabled>true</enabled>
    <forwarding>false</forwarding>
    <privacy>prefer-public</privacy>
    <accept-redirects>false</accept-redirects>
  </ipv6>
</interface>

real    0m0.014s
user    0m0.010s
sys 0m0.004s

=== step0: finished with 0 errors

=== step1: start
=== step step1: ifup dummyA
# wicked --debug all --log-level debug2 --log-target syslog ifup --ifconfig compat:suse:/etc/sysconfig/network dummyA
dummyA          up

Device "vlan10" does not exist.
WORKS: dummyA is up
WORKS: vlan10 is down

=== step step1: finished with 0 errors

real    0m0.294s
user    0m0.019s
sys 0m0.005s

=== step1: finished with 0 errors

=== step2: start
=== step step2: ifdown dummyA
# wicked --debug all --log-level debug2 --log-target syslog ifdown dummyA

Device "vlan10" does not exist.
Device "dummyA" does not exist.
WORKS: dummyA is down
WORKS: vlan10 is down

=== step step2: finished with 0 errors

real    0m0.252s
user    0m0.019s
sys 0m0.001s

=== step2: finished with 0 errors

=== step3: start
=== step step3: ifup vlan10
# wicked --debug all --log-level debug2 --log-target syslog ifup --ifconfig compat:suse:/etc/sysconfig/network vlan10
vlan10          up

WORKS: dummyA is up
WORKS: vlan10 is up

=== step step3: finished with 0 errors

real    0m0.607s
user    0m0.019s
sys 0m0.005s

=== step3: finished with 0 errors

=== step4: start
=== step step4: ifdown dummyA
# wicked --debug all --log-level debug2 --log-target syslog ifdown dummyA

Device "vlan10" does not exist.
Device "dummyA" does not exist.
WORKS: dummyA is down
WORKS: vlan10 is down

=== step step4: finished with 0 errors

real    0m0.388s
user    0m0.011s
sys 0m0.010s

=== step4: finished with 0 errors

=== step5: start
=== step step5: ifup vlan10
# wicked --debug all --log-level debug2 --log-target syslog ifup --ifconfig compat:suse:/etc/sysconfig/network vlan10
vlan10          no-device

Device "vlan10" does not exist.
Device "dummyA" does not exist.
ERROR: dummyA is NOT up
ERROR: vlan10 is NOT up

=== step step5: finished with 2 errors

real    0m30.077s
user    0m0.018s
sys 0m0.007s

=== step5: finished with 2 errors

=== step6: start
=== step step6: ifdown vlan10
# wicked --debug all --log-level debug2 --log-target syslog ifdown vlan10

Device "vlan10" does not exist.
Device "dummyA" does not exist.
ERROR: dummyA is NOT up
WORKS: vlan10 is down

=== step step6: finished with 1 errors

real    0m0.034s
user    0m0.015s
sys 0m0.005s

=== step6: finished with 1 errors

=== step99: start
=== step step99: cleanup
# wicked --debug all --log-level debug2 --log-target syslog ifdown vlan10
WORKS: vlan10 is down
ERROR: policy vlan10 exists
# wicked --debug all --log-level debug2 --log-target syslog ifdown dummyA
WORKS: dummyA is down
ERROR: policy dummyA exists

=== step step99: finished with 2 errors

real    0m0.034s
user    0m0.015s
sys 0m0.005s

=== step99: finished with 2 errors

=== STATUS: failed with 5 errors

real    0m31.714s
user    0m0.135s
sys 0m0.049s
Actions #2

Updated by cfconrad 4 months ago · Edited

If we need to have the testsuite running for SLE-15-SP2 as well. I would add a WICKED_EXCLUDE='^(t20_ifupdown|t21_ifreload)' or more specific as there are some tests working, only for SLE-15-SP2.

Actions #3

Updated by dzedro 4 months ago · Edited

cfconrad wrote in #note-2:

If we need to have the testsuite running for SLE-15-SP2 as well. I would add a WICKED_EXCLUDE='^(t20_ifupdown|t21_ifreload)' or more specific as there are some tests working, only for SLE-15-SP2.

Disabled meant it's LTSS, there is https://dist.suse.de/ibs/SUSE/Updates/SLE-Product-SLES/15-SP2-LTSS/x86_64/update/x86_64/wicked-0.6.68-3.8.1.x86_64.rpm
https://openqa.suse.de/tests/15096759#step/before_test/281
Sorry, I misunderstood, yes looks like newer version is OK https://openqa.suse.de/tests/15095357#step/before_test/245

Actions #4

Updated by rfan1 4 months ago

  • Status changed from New to In Progress

Thanks all for your kindly comments!
Let me skip the failed tests for now, and I can add them back once the the new packages are there.

https://gitlab.suse.de/qa-maintenance/qam-openqa-yml/-/merge_requests/772

Actions #5

Updated by rfan1 4 months ago

  • Status changed from In Progress to Resolved
Actions

Also available in: Atom PDF