yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #90454
[Bug 1997341] Re: MacvtapAgentTestCase test_get_all_devices test is failing due to MAC addresses mismatch
Reviewed: https://review.opendev.org/c/openstack/neutron/+/865414
Committed: https://opendev.org/openstack/neutron/commit/ff66ca92755970c88fbb0f347400786089c11c4b
Submitter: "Zuul (22348)"
Branch: master
commit ff66ca92755970c88fbb0f347400786089c11c4b
Author: Rodolfo Alonso Hernandez <ralonsoh@xxxxxxxxxx>
Date: Wed Nov 23 11:19:31 2022 +0000
Execute functional test "test_get_all_devices" alone
Since [1], the functional tests are being executed in Ubuntu 22.04.
The test "test_get_all_devices" is failing frequently, maybe because
other tests are interfering and modifying the root namespace
interface list.
Because this test cannot be executed inside a temporary namespace,
this patch moves the execution of this test to the section of
"concurrency=1". That will ensure no other test interferes the
result.
Closes-Bug: #1997341
Change-Id: If0631bf0cdfd5f0989c60d40e31f89cee317e497
** 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/1997341
Title:
MacvtapAgentTestCase test_get_all_devices test is failing due to MAC
addresses mismatch
Status in neutron:
Fix Released
Bug description:
Failure examples:
https://8ea5d1c610c25577a750-2d27e805ff456f7d0a585c8eee091a7d.ssl.cf5.rackcdn.com/841838/69/check/neutron-
functional-with-uwsgi/9ab3804/testr_results.html
https://e5b18301b2a8acb0dbed-61111cd830f97ca8dcba466112f0eafd.ssl.cf5.rackcdn.com/863881/9/check/neutron-
functional-with-uwsgi/60e2715/testr_results.html
Stacktrace:
ft1.1: neutron.tests.functional.plugins.ml2.drivers.macvtap.agent.test_macvtap_neutron_agent.MacvtapAgentTestCase.test_get_all_devicestesttools.testresult.real._StringException: Traceback (most recent call last):
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/macvtap/agent/test_macvtap_neutron_agent.py", line 36, in test_get_all_devices
self.assertEqual(set([macvtap.link.address]),
File "/home/zuul/src/opendev.org/openstack/neutron/.tox/dsvm-functional-gate/lib/python3.10/site-packages/testtools/testcase.py", line 393, in assertEqual
self.assertThat(observed, matcher, message)
File "/home/zuul/src/opendev.org/openstack/neutron/.tox/dsvm-functional-gate/lib/python3.10/site-packages/testtools/testcase.py", line 480, in assertThat
raise mismatch_error
testtools.matchers._impl.MismatchError: {'82:78:e1:db:c9:07'} != {'d6:1e:f1:39:2c:71'}
To manage notifications about this bug go to:
https://bugs.launchpad.net/neutron/+bug/1997341/+subscriptions
References