Reviewed: https://review.opendev.org/c/openstack/neutron/+/868364 Committed: https://opendev.org/openstack/neutron/commit/370d8bcea3ae728c1aacba7b36800ecd759f3f8e Submitter: "Zuul (22348)" Branch: master
commit 370d8bcea3ae728c1aacba7b36800ecd759f3f8e Author: Slawek Kaplonski <[email protected]> Date: Wed Dec 21 16:59:53 2022 +0100 [Fullstack] Wait 10 seconds to ensure that MAC address is configured In Linuxbridge and OVS PortFixture, when port is created, in the fake vm's namespace it needs to have correct mac address configured. It seems that for some reason it's not properly configured sometimes and that may cause failure of e.g. DHCP tests. So this patch adds retries for 10 seconds to ensure that MAC address is configured to the one which should be. Closes-bug: #2000150 Change-Id: I8c6d226e626812c3ccf0a2681be68a5b080b3463 ** 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/2000150 Title: Fullstack dhcp test test_multiple_agents_for_network is failing intermittently Status in neutron: Fix Released Bug description: Test neutron.tests.fullstack.test_dhcp_agent.TestDhcpAgentHA.test_multiple_agents_for_network is failing pretty often recently. Stacktrace: ft1.3: neutron.tests.fullstack.test_dhcp_agent.TestDhcpAgentHA.test_multiple_agents_for_network(Linux bridge agent)testtools.testresult.real._StringException: Traceback (most recent call last): File "/home/zuul/src/opendev.org/openstack/neutron/neutron/common/utils.py", line 724, in wait_until_true eventlet.sleep(sleep) File "/home/zuul/src/opendev.org/openstack/neutron/.tox/dsvm-fullstack-gate/lib/python3.10/site-packages/eventlet/greenthread.py", line 36, in sleep hub.switch() File "/home/zuul/src/opendev.org/openstack/neutron/.tox/dsvm-fullstack-gate/lib/python3.10/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 "/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/fullstack/test_dhcp_agent.py", line 201, in test_multiple_agents_for_network self._spawn_vm() File "/home/zuul/src/opendev.org/openstack/neutron/neutron/tests/fullstack/test_dhcp_agent.py", line 75, in _spawn_vm vm.block_until_dhcp_config_done() File "/home/zuul/src/opendev.org/openstack/neutron/neutron/tests/fullstack/resources/machine.py", line 217, in block_until_dhcp_config_done utils.wait_until_true( File "/home/zuul/src/opendev.org/openstack/neutron/neutron/common/utils.py", line 728, in wait_until_true raise exception neutron.tests.common.machine_fixtures.FakeMachineException: Address 10.0.0.229/24 or gateway 10.0.0.1 not configured properly on port test-veth1b4334 Failure examples: https://36ccf3feef294bb781ed-88f13fe1d2cd9b64afb4d1818492b226.ssl.cf1.rackcdn.com/866225/4/gate/neutron- fullstack-with-uwsgi/d5c1b53/testr_results.html https://51698b00592e877a0023-3a9e3dcf5065ad1abf1d1a27741d8ba4.ssl.cf1.rackcdn.com/865822/2/check/neutron- fullstack-with-uwsgi/e813f7e/testr_results.html To manage notifications about this bug go to: https://bugs.launchpad.net/neutron/+bug/2000150/+subscriptions -- Mailing list: https://launchpad.net/~yahoo-eng-team Post to : [email protected] Unsubscribe : https://launchpad.net/~yahoo-eng-team More help : https://help.launchpad.net/ListHelp

