yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #95795
[Bug 2109326] [NEW] test_release_for_ipv6_lease_no_dhcp_release6 unit tests fails randomly
Public bug reported:
Seen twice:-
https://storage.gra.cloud.ovh.net/v1/AUTH_dcaab5e32b234d56b626f72581e3644c/zuul_opendev_logs_3a2/openstack/3a26661945814d28a6ab71ccd3c75993/testr_results.html
https://67124bd1531d12ea1be9-8946da12cdfdb956046885a8164b96c6.ssl.cf2.rackcdn.com/openstack/818fc98e05db4e90b5a247313736fe3d/testr_results.html
Fails as:-
ft1.89: neutron.tests.unit.agent.linux.test_dhcp.TestDnsmasq.test_release_for_ipv6_lease_no_dhcp_release6testtools.testresult.real._StringException: pythonlogging:'': {{{
ERROR [neutron.agent.linux.external_process] haproxy for MetadataPath with uuid host_metadata_proxy not found. The process should not have died
WARNING [oslo.privsep.daemon] privsep log: sudo: a terminal is required to read the password; either use the -S option to read from standard input or configure an askpass helper
WARNING [oslo.privsep.daemon] privsep log: sudo: a password is required
CRITICAL [oslo.privsep.daemon] privsep helper command exited non-zero (1)
ERROR [neutron.agent.linux.external_process] Could not delete file /tmp/tmplqbo1f3c/tmpj022lxy5/external/pids/host_metadata_proxy.pid.haproxy, haproxy could fail to start. Exception: privsep helper command exited non-zero (1)
}}}
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/unit/agent/linux/test_dhcp.py", line 2526, in test_release_for_ipv6_lease_no_dhcp_release6
ipw.assert_not_called()
File "/usr/lib/python3.12/unittest/mock.py", line 905, in assert_not_called
raise AssertionError(msg)
AssertionError: Expected 'execute' to not have been called. Called 1 times.
Calls: [call(['haproxy', '-f', '/fake/host_metadata_proxy.haproxy.conf', '-p', '/tmp/tmplqbo1f3c/tmpj022lxy5/external/pids/host_metadata_proxy.pid.haproxy'], addl_env={'PROCESS_TAG': 'haproxy-host_metadata_proxy'}, run_as_root=True)].
The test shouldn't need metadata to be enabled, so can be disabled with
override config
** Affects: neutron
Importance: Medium
Assignee: yatin (yatinkarel)
Status: In Progress
** Tags: unittest
** Tags added: unittest
** Changed in: neutron
Status: New => Triaged
** Changed in: neutron
Importance: Undecided => Medium
** Changed in: neutron
Assignee: (unassigned) => yatin (yatinkarel)
--
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to neutron.
https://bugs.launchpad.net/bugs/2109326
Title:
test_release_for_ipv6_lease_no_dhcp_release6 unit tests fails randomly
Status in neutron:
In Progress
Bug description:
Seen twice:-
https://storage.gra.cloud.ovh.net/v1/AUTH_dcaab5e32b234d56b626f72581e3644c/zuul_opendev_logs_3a2/openstack/3a26661945814d28a6ab71ccd3c75993/testr_results.html
https://67124bd1531d12ea1be9-8946da12cdfdb956046885a8164b96c6.ssl.cf2.rackcdn.com/openstack/818fc98e05db4e90b5a247313736fe3d/testr_results.html
Fails as:-
ft1.89: neutron.tests.unit.agent.linux.test_dhcp.TestDnsmasq.test_release_for_ipv6_lease_no_dhcp_release6testtools.testresult.real._StringException: pythonlogging:'': {{{
ERROR [neutron.agent.linux.external_process] haproxy for MetadataPath with uuid host_metadata_proxy not found. The process should not have died
WARNING [oslo.privsep.daemon] privsep log: sudo: a terminal is required to read the password; either use the -S option to read from standard input or configure an askpass helper
WARNING [oslo.privsep.daemon] privsep log: sudo: a password is required
CRITICAL [oslo.privsep.daemon] privsep helper command exited non-zero (1)
ERROR [neutron.agent.linux.external_process] Could not delete file /tmp/tmplqbo1f3c/tmpj022lxy5/external/pids/host_metadata_proxy.pid.haproxy, haproxy could fail to start. Exception: privsep helper command exited non-zero (1)
}}}
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/unit/agent/linux/test_dhcp.py", line 2526, in test_release_for_ipv6_lease_no_dhcp_release6
ipw.assert_not_called()
File "/usr/lib/python3.12/unittest/mock.py", line 905, in assert_not_called
raise AssertionError(msg)
AssertionError: Expected 'execute' to not have been called. Called 1 times.
Calls: [call(['haproxy', '-f', '/fake/host_metadata_proxy.haproxy.conf', '-p', '/tmp/tmplqbo1f3c/tmpj022lxy5/external/pids/host_metadata_proxy.pid.haproxy'], addl_env={'PROCESS_TAG': 'haproxy-host_metadata_proxy'}, run_as_root=True)].
The test shouldn't need metadata to be enabled, so can be disabled
with override config
To manage notifications about this bug go to:
https://bugs.launchpad.net/neutron/+bug/2109326/+subscriptions
Follow ups