master: neutron_tempest_plugin.scenario.test_trunk.TrunkTest.test_trunk_subport_lifecycle is failing - "RuntimeError: Timed out waiting for port '<> to transition to get status 'DOWN'."

Bug #1956233 reported by Ronelle Landy
14
This bug affects 2 people
Affects Status Importance Assigned to Milestone
tripleo
Fix Released
Critical
Unassigned

Bug Description

periodic-tripleo-ci-centos-8-standalone-full-tempest-scenario-master test neutron_tempest_plugin.scenario.test_trunk.TrunkTest.test_trunk_subport_lifecycle is failing on master integration jobs since 2021-12-30:

https://review.rdoproject.org/zuul/builds?job_name=periodic-tripleo-ci-centos-8-standalone-full-tempest-scenario-master

The error reported is:

Traceback (most recent call last):
  File "/usr/lib/python3.6/site-packages/neutron_tempest_plugin/common/utils.py", line 80, in wait_until_true
    eventlet.sleep(sleep)
  File "/usr/lib/python3.6/site-packages/eventlet/greenthread.py", line 36, in sleep
    hub.switch()
  File "/usr/lib/python3.6/site-packages/eventlet/hubs/hub.py", line 313, in switch
    return self.greenlet.switch()
eventlet.timeout.Timeout: 60 seconds

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/site-packages/neutron_tempest_plugin/scenario/test_trunk.py", line 263, in test_trunk_subport_lifecycle
    self._wait_for_port(port, status=constants.DOWN)
  File "/usr/lib/python3.6/site-packages/neutron_tempest_plugin/scenario/test_trunk.py", line 168, in _wait_for_port
    "status {!r}.".format(port['id'], status)))
  File "/usr/lib/python3.6/site-packages/neutron_tempest_plugin/common/utils.py", line 84, in wait_until_true
    raise exception
RuntimeError: Timed out waiting for port 'f73c37e7-bac0-40ab-82dd-0b331cd062b0' to transition to get status 'DOWN'.

The full log is linked below:

https://logserver.rdoproject.org/openstack-periodic-integration-main/opendev.org/openstack/tripleo-ci/master/periodic-tripleo-ci-centos-8-standalone-full-tempest-scenario-master/04beffa/logs/undercloud/var/log/tempest/stestr_results.html.gz

Ronelle Landy (rlandy)
Changed in tripleo:
milestone: none → yoga-1
importance: Undecided → Critical
status: New → Triaged
tags: added: ci promotion-blocker
Revision history for this message
Ronelle Landy (rlandy) wrote :

Last passing job has:

http://mirror.regionone.vexxhost-nodepool-tripleo.rdoproject.org:8080/rdo/centos8/component/network/df/94/df9435a9a6fab9492c4f23d9ab0f1507841430c7_940098e0/

openstack-neutron-19.1.0-0.20211221080843.df9435a.el8.noarch.rpm 2021-12-21 08:21 26K

First failing job has:

http://mirror.regionone.vexxhost-nodepool-tripleo.rdoproject.org:8080/rdo/centos8/component/network/0e/bf/0ebf5006bb416435af88b03272247e1f8a3c7921_b71b543e/

openstack-neutron-19.1.0-0.20211223142350.ca90d8c.el8.src.rpm 2021-12-23 14:27 13M

Revision history for this message
Ronelle Landy (rlandy) wrote :
Download full text (3.7 KiB)

https://logserver.rdoproject.org/openstack-periodic-integration-main/opendev.org/openstack/tripleo-ci/master/periodic-tripleo-ci-centos-8-standalone-full-tempest-scenario-master/e700845/logs/undercloud/var/log/extra/errors.txt.gz

2021-12-30 18:15:42.736 ERROR /var/log/containers/neutron/server.log.1: 28 ERROR neutron.plugins.ml2.managers [req-b8550d7d-13ae-4f0c-b092-d914a2cb4f5c - - - - -] Mechanism driver 'ovn' failed in update_port_postcommit: ovsdbapp.backend.ovs_idl.idlutils.RowNotFound: Cannot find Logical_Switch_Port with name=c3d8f0f1-6fdf-441d-a625-f341a78a37f0
2021-12-30 18:15:42.736 ERROR /var/log/containers/neutron/server.log.1: 28 ERROR neutron.plugins.ml2.managers Traceback (most recent call last):
2021-12-30 18:15:42.736 ERROR /var/log/containers/neutron/server.log.1: 28 ERROR neutron.plugins.ml2.managers File "/usr/lib/python3.6/site-packages/neutron/plugins/ml2/managers.py", line 482, in _call_on_drivers
2021-12-30 18:15:42.736 ERROR /var/log/containers/neutron/server.log.1: 28 ERROR neutron.plugins.ml2.managers getattr(driver.obj, method_name)(context)
2021-12-30 18:15:42.736 ERROR /var/log/containers/neutron/server.log.1: 28 ERROR neutron.plugins.ml2.managers File "/usr/lib/python3.6/site-packages/neutron/plugins/ml2/drivers/ovn/mech_driver/mech_driver.py", line 847, in update_port_postcommit
2021-12-30 18:15:42.736 ERROR /var/log/containers/neutron/server.log.1: 28 ERROR neutron.plugins.ml2.managers port_object=original_port)
2021-12-30 18:15:42.736 ERROR /var/log/containers/neutron/server.log.1: 28 ERROR neutron.plugins.ml2.managers File "/usr/lib/python3.6/site-packages/neutron/plugins/ml2/drivers/ovn/mech_driver/ovsdb/ovn_client.py", line 597, in update_port
2021-12-30 18:15:42.736 ERROR /var/log/containers/neutron/server.log.1: 28 ERROR neutron.plugins.ml2.managers ovn_port = self._nb_idl.lookup('Logical_Switch_Port', port['id'])
2021-12-30 18:15:42.736 ERROR /var/log/containers/neutron/server.log.1: 28 ERROR neutron.plugins.ml2.managers File "/usr/lib/python3.6/site-packages/neutron/plugins/ml2/drivers/ovn/mech_driver/ovsdb/impl_idl_ovn.py", line 208, in lookup
2021-12-30 18:15:42.736 ERROR /var/log/containers/neutron/server.log.1: 28 ERROR neutron.plugins.ml2.managers notify_handler=notify_handler)
2021-12-30 18:15:42.736 ERROR /var/log/containers/neutron/server.log.1: 28 ERROR neutron.plugins.ml2.managers File "/usr/lib/python3.6/site-packages/ovsdbapp/backend/ovs_idl/__init__.py", line 208, in lookup
2021-12-30 18:15:42.736 ERROR /var/log/containers/neutron/server.log.1: 28 ERROR neutron.plugins.ml2.managers return self._lookup(table, record)
2021-12-30 18:15:42.736 ERROR /var/log/containers/neutron/server.log.1: 28 ERROR neutron.plugins.ml2.managers File "/usr/lib/python3.6/site-packages/ovsdbapp/backend/ovs_idl/__init__.py", line 268, in _lookup
2021-12-30 18:15:42.736 ERROR /var/log/containers/neutron/server.log.1: 28 ERROR neutron.plugins.ml2.managers row = idlutils.row_by_value(self, rl.table, rl.column, record)
2021-12-30 18:15:42.736 ERROR /var/log/containers/neutron/server.log.1: 28 ERROR neutron.plugins.ml2.managers File "/usr/lib/python3.6/site-packages/ovsdbapp/bac...

Read more...

Revision history for this message
Douglas Viroel (dviroel) wrote :
Revision history for this message
Ronelle Landy (rlandy) wrote :
Revision history for this message
Slawek Kaplonski (slaweq) wrote :

I think that this can be broken by patch https://review.opendev.org/c/openstack/neutron/+/821544 but I will need to confirm that.

Revision history for this message
Slawek Kaplonski (slaweq) wrote :

Lets test revert of that patch in https://review.rdoproject.org/r/c/testproject/+/37697 to see if it will pass.

Revision history for this message
Luis Tomas Bolivar (ltomasbo) wrote :
Revision history for this message
Luis Tomas Bolivar (ltomasbo) wrote :

OVN related bug causing the problem that requires the workaround in neutron: https://bugzilla.redhat.com/show_bug.cgi?id=2037433

Revision history for this message
Soniya Murlidhar Vyas (svyas) wrote :

Fix has been merged-https://review.opendev.org/c/openstack/neutron/+/823412
Can we close this bug now?

Ronelle Landy (rlandy)
Changed in tripleo:
status: Triaged → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/neutron 20.0.0.0rc1

This issue was fixed in the openstack/neutron 20.0.0.0rc1 release candidate.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/neutron 17.4.0

This issue was fixed in the openstack/neutron 17.4.0 release.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/neutron 18.3.0

This issue was fixed in the openstack/neutron 18.3.0 release.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/neutron 19.2.0

This issue was fixed in the openstack/neutron 19.2.0 release.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/networking-ovn train-eol

This issue was fixed in the openstack/networking-ovn train-eol release.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/neutron ussuri-eol

This issue was fixed in the openstack/neutron ussuri-eol release.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

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