Bug 2211094

Summary: Using "-z" (Zero I/O mode) in nc client during SG tests causing test failures
Product: Red Hat OpenStack Reporter: Slawek Kaplonski <skaplons>
Component: python-neutron-tests-tempestAssignee: Slawek Kaplonski <skaplons>
Status: MODIFIED --- QA Contact: Eran Kuris <ekuris>
Severity: high Docs Contact:
Priority: high    
Version: 17.1 (Wallaby)CC: pgrist
Target Milestone: z1Keywords: Automation, Triaged
Target Release: 17.1   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: python-neutron-tests-tempest-2.1.0-17.1.20230706091052.021ce91.el9osttrunk Doc Type: No Doc Update
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 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 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.