Bug 2211094 - Using "-z" (Zero I/O mode) in nc client during SG tests causing test failures
Summary: Using "-z" (Zero I/O mode) in nc client during SG tests causing test failures
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat OpenStack
Classification: Red Hat
Component: python-neutron-tests-tempest
Version: 17.1 (Wallaby)
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: z1
: 17.1
Assignee: Slawek Kaplonski
QA Contact: Maor
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2023-05-30 13:33 UTC by Slawek Kaplonski
Modified: 2023-09-20 00:30 UTC (History)
3 users (show)

Fixed In Version: python-neutron-tests-tempest-2.1.0-1.20230508090955.el9ost
Doc Type: No Doc Update
Doc Text:
Clone Of:
Environment:
Last Closed: 2023-09-20 00:29:44 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
OpenStack gerrit 884706 0 None MERGED Don't use "Zero-I/O mode" in nc client in the TCP mode 2023-06-20 07:36:49 UTC
Red Hat Issue Tracker OSP-25484 0 None None None 2023-05-30 14:11:36 UTC
Red Hat Product Errata RHBA-2023:5138 0 None None None 2023-09-20 00:30:15 UTC

Description Slawek Kaplonski 2023-05-30 13:33:10 UTC
When RHEL image is used as guest image in the tempest, SG related tests are failing. Failed test(s): 

neutron_tempest_plugin.scenario.test_security_groups.StatefulNetworkSecGroupTest.test_connectivity_between_vms_using_different_sec_groups
neutron_tempest_plugin.scenario.test_security_groups.StatelessNetworkSecGroupIPv4Test.test_connectivity_between_vms_using_different_sec_groups

It can be seen in: https://rhos-ci-jenkins.lab.eng.tlv2.redhat.com/job/DFG-network-neutron-17.1_director-rhel-virthost-3cont_2comp-ipv6-geneve-dvr-rally/19//artifact/tempest-results/tempest-results-neutron.1.html

For some reason on guest image like RHEL is spawning "nc" with "-z" option which means "Zero I/O mode". In this mode ncat is not sending nor receiving any data, it just checks if something is listening on the given port.
Without that option test is passing so we should remove that from the test.

Comment 14 errata-xmlrpc 2023-09-20 00:29:44 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 (Release of components for Red Hat OpenStack Platform 17.1.1 (Wallaby)), 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/RHBA-2023:5138


Note You need to log in before you can comment on or make changes to this bug.