yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #79721
[Bug 1841183] [NEW] Concurrency error when executing "test_update_timpestamp"
Public bug reported:
Sometimes [1], the function patched in "test_update_timpestamp",
"oslo_utils.timeutils.utcnow", is used while executing the test case.
ft1.7: neutron.tests.unit.extensions.test_timestamp.TimeStampDBMixinTestCase.test_update_timpestamp_StringException: Traceback (most recent call last):
File "/home/zuul/src/opendev.org/openstack/neutron/neutron/tests/base.py", line 177, in func
return f(self, *args, **kwargs)
File "/home/zuul/src/opendev.org/openstack/neutron/neutron/tests/unit/extensions/test_timestamp.py", line 269, in test_update_timpestamp
self.assertEqual(1, timenow.call_count)
File "/home/zuul/src/opendev.org/openstack/neutron/.tox/py36/lib/python3.6/site-packages/testtools/testcase.py", line 411, in assertEqual
self.assertThat(observed, matcher, message)
File "/home/zuul/src/opendev.org/openstack/neutron/.tox/py36/lib/python3.6/site-packages/testtools/testcase.py", line 498, in assertThat
raise mismatch_error
testtools.matchers._impl.MismatchError: 1 != 2
[1] https://a6b55b727208d469fce9-a76e08006e67cd388b33580b35bd0960.ssl.cf2.rackcdn.com/677484/2/check/openstack-tox-py36/ff3d557/testr_results.html.gz
** Affects: neutron
Importance: Undecided
Status: New
--
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to neutron.
https://bugs.launchpad.net/bugs/1841183
Title:
Concurrency error when executing "test_update_timpestamp"
Status in neutron:
New
Bug description:
Sometimes [1], the function patched in "test_update_timpestamp",
"oslo_utils.timeutils.utcnow", is used while executing the test case.
ft1.7: neutron.tests.unit.extensions.test_timestamp.TimeStampDBMixinTestCase.test_update_timpestamp_StringException: Traceback (most recent call last):
File "/home/zuul/src/opendev.org/openstack/neutron/neutron/tests/base.py", line 177, in func
return f(self, *args, **kwargs)
File "/home/zuul/src/opendev.org/openstack/neutron/neutron/tests/unit/extensions/test_timestamp.py", line 269, in test_update_timpestamp
self.assertEqual(1, timenow.call_count)
File "/home/zuul/src/opendev.org/openstack/neutron/.tox/py36/lib/python3.6/site-packages/testtools/testcase.py", line 411, in assertEqual
self.assertThat(observed, matcher, message)
File "/home/zuul/src/opendev.org/openstack/neutron/.tox/py36/lib/python3.6/site-packages/testtools/testcase.py", line 498, in assertThat
raise mismatch_error
testtools.matchers._impl.MismatchError: 1 != 2
[1] https://a6b55b727208d469fce9-a76e08006e67cd388b33580b35bd0960.ssl.cf2.rackcdn.com/677484/2/check/openstack-tox-py36/ff3d557/testr_results.html.gz
To manage notifications about this bug go to:
https://bugs.launchpad.net/neutron/+bug/1841183/+subscriptions
Follow ups