Bug 2222605 - Test test_only_accepted_traffic_logged is failing on multiple jobs
Summary: Test test_only_accepted_traffic_logged is failing on multiple jobs
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Red Hat OpenStack
Classification: Red Hat
Component: python-neutron-tests-tempest
Version: 17.1 (Wallaby)
Hardware: Unspecified
OS: Unspecified
high
medium
Target Milestone: ga
: 17.1
Assignee: Maor
QA Contact: Eran Kuris
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2023-07-13 09:10 UTC by Lucas Alvares Gomes
Modified: 2023-08-17 09:45 UTC (History)
13 users (show)

Fixed In Version:
Doc Type: Known Issue
Doc Text:
In RHOSP 17.1, there is a known issue for security group log entries. When events occur in short time intervals of each other, the related security group log entries can be listed in an incorrect order. This is caused by how the OVN back end processes events. Currently, there is no workaround.
Clone Of:
Environment:
Last Closed: 2023-08-02 16:29:57 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker OSP-26580 0 None None None 2023-07-13 09:13:44 UTC

Description Lucas Alvares Gomes 2023-07-13 09:10:02 UTC
The test "neutron_plugin.tests.scenario.test_security_group_logging.StatefulSecGroupLoggingTest.test_only_accepted_traffic_logged" is failing on these two jobs:

* https://rhos-ci-jenkins.lab.eng.tlv2.redhat.com/job/DFG-network-neutron-17.1_director-rhel-virthost-3cont_2comp-ipv4-geneve-gate-ovn/363/

* https://rhos-ci-jenkins.lab.eng.tlv2.redhat.com/job/DFG-network-neutron-17.1_director-rhel-virthost-3cont_2comp-ipv4-vxlan-ovn/53/

Traceback:

Traceback (most recent call last):
  File "/home/stack/plugins/tempest_neutron_plugin/neutron_plugin/tests/scenario/test_security_group_logging.py", line 855, in test_only_accepted_traffic_logged
    self._test_only_accepted_traffic_logged()
  File "/home/stack/plugins/tempest_neutron_plugin/neutron_plugin/tests/scenario/test_security_group_logging.py", line 629, in _test_only_accepted_traffic_logged
    self._verify_duplicate_entries(vms_same_compute, vm_a)
  File "/home/stack/plugins/tempest_neutron_plugin/neutron_plugin/tests/scenario/test_security_group_logging.py", line 685, in _verify_duplicate_entries
    self.assertEquals(
  File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 391, in assertEqual
    self.assertThat(observed, matcher, message)
  File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 478, in assertThat
    raise mismatch_error
testtools.matchers._impl.MismatchError: 11 != 10: 
log entries amount of ICMP type "0", direction "to-lport", not according to ping amount, which is 10.
Notice code comments, tempest.log for further debugging.
These are the log_acl entries captured while ping from VM 1 to VM

The BZ was open as part of my duty as CI status deputy for this week and need further investigation


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