neutron.tests.functional.plugins.ml2.drivers.ovn.mech_driver.test_mech_driver.TestVirtualPorts.test_virtual_port_created_before fails randomly

Bug #1865453 reported by Maciej Jozefczyk
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Identity Management
Invalid
Undecided
auto-adilishaq.cc
neutron
Confirmed
High
Unassigned

Bug Description

Sometimes we see random failures of the test:

neutron.tests.functional.plugins.ml2.drivers.ovn.mech_driver.test_mech_driver.TestVirtualPorts.test_virtual_port_created_before

neutron.tests.functional.plugins.ml2.drivers.ovn.mech_driver.test_mech_driver.TestVirtualPorts.test_virtual_port_created_beforetesttools.testresult.real._StringException: Traceback (most recent call last):
  File "/home/zuul/src/opendev.org/openstack/neutron/.tox/dsvm-functional/lib/python3.6/site-packages/mock/mock.py", line 1330, in patched
    return func(*args, **keywargs)
  File "/home/zuul/src/opendev.org/openstack/neutron/neutron/tests/base.py", line 182, in func
    return f(self, *args, **kwargs)
  File "/home/zuul/src/opendev.org/openstack/neutron/neutron/tests/functional/plugins/ml2/drivers/ovn/mech_driver/test_mech_driver.py", line 280, in test_virtual_port_created_before
    ovn_vport.options[ovn_const.LSP_OPTIONS_VIRTUAL_PARENTS_KEY])
  File "/home/zuul/src/opendev.org/openstack/neutron/.tox/dsvm-functional/lib/python3.6/site-packages/testtools/testcase.py", line 417, in assertIn
    self.assertThat(haystack, Contains(needle), message)
  File "/home/zuul/src/opendev.org/openstack/neutron/.tox/dsvm-functional/lib/python3.6/site-packages/testtools/testcase.py", line 498, in assertThat
    raise mismatch_error
testtools.matchers._impl.MismatchError: '88c0378b-71bd-454b-a0df-8c70b57d257a' not in '49043b88-554f-48d0-888d-eeaa749e752f'

Changed in neutron:
importance: Undecided → High
status: New → Confirmed
tags: added: gate-failure
Revision history for this message
Bence Romsics (bence-romsics) wrote :
Revision history for this message
Slawek Kaplonski (slaweq) wrote :
Changed in neutron:
assignee: nobody → Maciej Jozefczyk (maciej.jozefczyk)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to neutron (master)

Fix proposed to branch: master
Review: https://review.opendev.org/712888

Changed in neutron:
status: Confirmed → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Related fix proposed to neutron (master)

Related fix proposed to branch: master
Review: https://review.opendev.org/713860

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Change abandoned on neutron (master)

Change abandoned by Maciej Józefczyk (<email address hidden>) on branch: master
Review: https://review.opendev.org/712888

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Related fix merged to neutron (master)

Reviewed: https://review.opendev.org/713860
Committed: https://git.openstack.org/cgit/openstack/neutron/commit/?id=ceb27f2c7d9d91526e9062bfaad71d2a270318bf
Submitter: Zuul
Branch: master

commit ceb27f2c7d9d91526e9062bfaad71d2a270318bf
Author: Maciej Józefczyk <email address hidden>
Date: Thu Mar 19 12:03:49 2020 +0000

    Mark TestVirtualPorts tests as unstable

    Based on debug performed in [1] the TestVirtualPorts
    are unstable. At lease one of tests per 20
    retries of functional job fail in various
    places.
    We don't think it is worth to spend more
    time on debugging those tests, because there is
    a possible easier solution: set virtual port
    type based on DEVICE_TYPE, and do not rely
    on allowed address pairs.

    [1] https://review.opendev.org/#/c/712888/

    Related-Bug: #1865453

    Change-Id: Iffef8ceb9ca458820a7b3e604a53281f7e93b810

tags: added: neutron-proactive-backport-potential
Revision history for this message
Slawek Kaplonski (slaweq) wrote :

It's still marked as unstable...

Changed in neutron:
status: In Progress → Confirmed
Adil Ishaq (iradvisor)
Changed in neutron:
assignee: Maciej Jozefczyk (maciejjozefczyk) → Adil Ishaq (iradvisor)
Changed in neutron:
assignee: Adil Ishaq (iradvisor) → nobody
Changed in identity-management:
status: New → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

  • auto-adilishaq.cc Edit

Bug watches keep track of this bug in other bug trackers.