Bug 2043514

Summary: [NMCI] nmcli_general_activate_static_connection_carrier_not_ignored test failure
Product: Red Hat Enterprise Linux 8 Reporter: Vladimir Benes <vbenes>
Component: NetworkManagerAssignee: Wen Liang <wenliang>
Status: CLOSED ERRATA QA Contact: Vladimir Benes <vbenes>
Severity: medium Docs Contact:
Priority: high    
Version: 8.6CC: bgalvani, ferferna, lrintel, rkhan, sukulkar, till
Target Milestone: rcKeywords: Triaged
Target Release: ---Flags: pm-rhel: mirror+
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: NetworkManager-1.36.0-1.el8 Doc Type: No Doc Update
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2022-05-10 14:55:01 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Vladimir Benes 2022-01-21 12:30:22 UTC
Description of problem:
when running this test two times the first time it's OK, then the second time it fails:


  Scenario: nmcli - general - activate static connection with no carrier - not ignored
    * Add a new connection of type "ethernet" and options "ifname testG con-name con_general autoconnect no" ... passed in 0.027s
    * Modify connection "con_general" changing options "ipv4.method manual ipv4.address '192.168.5.11/24' ipv4.gateway '192.168.5.1' ipv6.method ignore" ... passed in 0.027s
    * Prepare simulated veth device "testG" wihout carrier ... passed in 1.212s
    * Execute "nmcli con up con_general" ... passed in 2.064s
    Then "connected:con_general" is visible with command "nmcli -t -f STATE,CONNECTION device" in "60" seconds ... passed in 0.112s
    Then "192.168.5.11" is visible with command "ip a s testG" in "60" seconds ... failed in 60.016s
Assertion Failed: Did not see the pattern "192.168.5.11" in 60 seconds, output was:
3: testG@if2: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc noqueue state LOWERLAYERDOWN group default qlen 1000
    link/ether fa:55:99:77:91:1c brd ff:ff:ff:ff:ff:ff link-netns testG_ns

https://desktopqe-jenkins.rhev-ci-vms.eng.rdu2.redhat.com/job/beaker-NetworkManager-main-veth-rhel8-upstream/858/artifact/artifacts/FAIL_report_NetworkManager-ci_Test0680_nmcli_general_activate_static_connection_carrier_not_ignored.html

Version-Release number of selected component (if applicable):
NetworkManager-1.36.0-0.4.el8.x86_64

How reproducible:
always

Steps to Reproduce:
1. git clone https://gitlab.freedesktop.org/NetworkManager/NetworkManager-ci; cd NetworkMAnager-ci
2../test_run.sh nmcli_general_activate_static_connection_carrier_not_ignored


Actual results:
FAIL for the second time

Expected results:
no fail when multiple repetitions

Additional info:

Comment 4 Vladimir Benes 2022-02-28 16:50:01 UTC
NMCI says it's all good now.

Comment 6 errata-xmlrpc 2022-05-10 14:55:01 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory (NetworkManager bug fix and enhancement update), and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHEA-2022:1985