yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #92521
[Bug 2023634] Re: Gate: Fuctional test_virtual_port_host_update failes recently
Reviewed: https://review.opendev.org/c/openstack/neutron/+/886167
Committed: https://opendev.org/openstack/neutron/commit/593278550a8185dfc52fc6c327ca1198df11e422
Submitter: "Zuul (22348)"
Branch: master
commit 593278550a8185dfc52fc6c327ca1198df11e422
Author: elajkat <lajos.katona@xxxxxxxx>
Date: Wed Jun 14 15:15:06 2023 +0200
Functional: assert multiple calls for update_virtual_port_host
test_virtual_port_host_update assumed update_virtual_port_host
to be called once, but the test started to fail when [1] was
merged and OVN version was bumped to v22.03.3 (not yet released).
PortBindingUpdateVirtualPortsEvent with event ROW_DELETE
received twice in the failing case.
[1]: https://review.opendev.org/c/openstack/neutron/+/880890
Closes-bug: #2023634
Change-Id: I0ac92e3692fb1ba9667fee2f6fbf531a57b7b5b8
** Changed in: neutron
Status: In Progress => Fix Released
--
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to neutron.
https://bugs.launchpad.net/bugs/2023634
Title:
Gate: Fuctional test_virtual_port_host_update failes recently
Status in neutron:
Fix Released
Bug description:
neutron.tests.functional.plugins.ml2.drivers.ovn.mech_driver.ovsdb.test_ovsdb_monitor.TestNBDbMonitorOverTcp.test_virtual_port_host_update
failes recently quite often, example failure (see [1]):
ft1.2: neutron.tests.functional.plugins.ml2.drivers.ovn.mech_driver.ovsdb.test_ovsdb_monitor.TestNBDbMonitorOverTcp.test_virtual_port_host_updatetesttools.testresult.real._StringException: Traceback (most recent call last):
File "/home/zuul/src/opendev.org/openstack/neutron/neutron/tests/base.py", line 178, in func
return f(self, *args, **kwargs)
File "/home/zuul/src/opendev.org/openstack/neutron/neutron/tests/base.py", line 178, in func
return f(self, *args, **kwargs)
File "/usr/lib/python3.10/unittest/mock.py", line 1369, in patched
return func(*newargs, **newkeywargs)
File "/home/zuul/src/opendev.org/openstack/neutron/neutron/tests/functional/plugins/ml2/drivers/ovn/mech_driver/ovsdb/test_ovsdb_monitor.py", line 403, in test_virtual_port_host_update
mock_update_vip_host.assert_called_once_with(vip['id'], None)
File "/usr/lib/python3.10/unittest/mock.py", line 930, in assert_called_once_with
raise AssertionError(msg)
AssertionError: Expected 'update_virtual_port_host' to be called once. Called 2 times.
Calls: [call('18c414c7-f897-4b39-bdb4-d35953df1d2f', None),
call('18c414c7-f897-4b39-bdb4-d35953df1d2f', None)].
Opensearch link:
https://opensearch.logs.openstack.org/_dashboards/app/discover/?security_tenant=global#/?_g=(filters:!(),refreshInterval:(pause:!t,value:0),time:(from:now-30d,to:now))&_a=(columns:!(build_status,build_name),filters:!(),index:'94869730-aea8-11ec-9e6a-83741af3fdcd',interval:auto,query:(language:kuery,query:'message:%22Expected%20update_virtual_port_host%20to%20be%20called%22'),sort:!())
[1]:
https://872de5c590dd926ff0db-30e72828a36544d0c7466f2989d78bfe.ssl.cf1.rackcdn.com/885341/2/check/neutron-
functional-with-uwsgi/3079c44/testr_results.html
To manage notifications about this bug go to:
https://bugs.launchpad.net/neutron/+bug/2023634/+subscriptions
References