Bug 1212144 - [Build 20230607] openQA test fails in hostname because of "nmcli device disconnect" does not disconnect on s390x
Summary: [Build 20230607] openQA test fails in hostname because of "nmcli device disco...
Status: VERIFIED FIXED
Alias: None
Product: openSUSE Tumbleweed
Classification: openSUSE
Component: Network (show other bugs)
Version: Current
Hardware: Other Other
: P5 - None : Normal (vote)
Target Milestone: ---
Assignee: Richard Palethorpe
QA Contact: E-mail List
URL: https://openqa.opensuse.org/tests/334...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-06-08 17:36 UTC by Sarah Kriesch
Modified: 2023-07-30 17:53 UTC (History)
2 users (show)

See Also:
Found By: openQA
Services Priority:
Business Priority:
Blocker: Yes
Marketing QA Status: ---
IT Deployment: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Sarah Kriesch 2023-06-08 17:36:39 UTC
## Observation

openQA test in scenario opensuse-Tumbleweed-DVD-s390x-textmode-server@s390x-zVM-vswitch-l2 fails in
[hostname](https://openqa.opensuse.org/tests/3345832/modules/hostname/steps/21)

## Test suite description
The base test suite is used for job templates defined in YAML documents. It has no settings of its own.


## Reproducible

Fails since (at least) Build [20230605](https://openqa.opensuse.org/tests/3339006)


## Expected result

Last good: [20230604](https://openqa.opensuse.org/tests/3335616) (or more recent)


## Further details

Always latest result in this scenario: [latest](https://openqa.opensuse.org/tests/latest?arch=s390x&distri=opensuse&flavor=DVD&machine=s390x-zVM-vswitch-l2&test=textmode-server&version=Tumbleweed)

I can identify, that "nmcli device disconnect" does not have any result on s390x in openQA. The result are 2 failed test suites.
Comment 1 Berthold Gunreben 2023-06-11 17:19:05 UTC
Looks like the testsuite has been updated, and does not consider wicked based networks. Richard, could you please have a look?
Comment 2 Richard Palethorpe 2023-06-12 10:53:03 UTC
Hi, the following PR should resolve this

https://github.com/os-autoinst/os-autoinst-distri-opensuse/pull/17230

basically the SUT is connected via SSH and the new nmcli code disconnects the SUT. The above PR prevents this from happening by reverting to the old method (which probably does nothing on NetworkManager see: https://bugzilla.suse.com/show_bug.cgi?id=1211677)
Comment 3 Sarah Kriesch 2023-06-23 13:42:26 UTC
Thank you! It is working now again.
Comment 4 Ihno Krumreich 2023-07-30 17:53:35 UTC
Verified by Sarah.