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: MODIFIED
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: Eran Kuris
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2023-05-30 13:33 UTC by Slawek Kaplonski
Modified: 2023-08-14 13:41 UTC (History)
1 user (show)

Fixed In Version: python-neutron-tests-tempest-2.1.0-17.1.20230706091052.021ce91.el9osttrunk
Doc Type: No Doc Update
Doc Text:
Clone Of:
Environment:
Last Closed:
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

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.


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