yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #03450
[Bug 1062307] Re: some glance tests fail as root
tests/functional/test_bin_glance_control.py was removed in 866cb84, all
other tests seem to run ok as root.
** Changed in: glance
Status: Confirmed => Fix Released
--
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to Glance.
https://bugs.launchpad.net/bugs/1062307
Title:
some glance tests fail as root
Status in OpenStack Image Registry and Delivery Service (Glance):
Fix Released
Bug description:
This may be known: two tests seem to fail consistently for me when run
as root.
$ nosetests glance.tests.functional.test_bin_glance_control
We test that the '--respawn' option doesn't cause bouncing ... ok
We test that glance-control falls back to a temporary pid file ... ok
We test that glance-control falls back to a temporary pid file ... ok
Exercise `glance-control api reload` ... ok
We test that the '--respawn' option causes the API server ... ok
----------------------------------------------------------------------
Ran 5 tests in 39.980s
OK
$ sudo nosetests glance.tests.functional.test_bin_glance_control
We test that the '--respawn' option doesn't cause bouncing ... ok
We test that glance-control falls back to a temporary pid file ... FAIL
We test that glance-control falls back to a temporary pid file ... FAIL
Exercise `glance-control api reload` ... ok
We test that the '--respawn' option causes the API server ... ok
======================================================================
FAIL: We test that glance-control falls back to a temporary pid file
----------------------------------------------------------------------
Traceback (most recent call last):
File "/mnt/glance/glance/tests/utils.py", line 178, in wrapped
func(*a, **kwargs)
File "/mnt/glance/glance/tests/functional/test_bin_glance_control.py", line 94, in test_fallback_pidfile_uncreateable_dir
self._do_test_fallback_pidfile(pid_file)
File "/mnt/glance/glance/tests/functional/test_bin_glance_control.py", line 77, in _do_test_fallback_pidfile
self.assertTrue(warn in lines)
AssertionError: False is not true
'False is not true' = self._formatMessage('False is not true', "%s is not true" % safe_repr(False))
>> raise self.failureException('False is not true')
======================================================================
FAIL: We test that glance-control falls back to a temporary pid file
----------------------------------------------------------------------
Traceback (most recent call last):
File "/mnt/glance/glance/tests/utils.py", line 178, in wrapped
func(*a, **kwargs)
File "/mnt/glance/glance/tests/functional/test_bin_glance_control.py", line 105, in test_fallback_pidfile_unwriteable_dir
self._do_test_fallback_pidfile(pid_file)
File "/mnt/glance/glance/tests/functional/test_bin_glance_control.py", line 77, in _do_test_fallback_pidfile
self.assertTrue(warn in lines)
AssertionError: False is not true
'False is not true' = self._formatMessage('False is not true', "%s is not true" % safe_repr(False))
>> raise self.failureException('False is not true')
----------------------------------------------------------------------
Ran 5 tests in 40.226s
FAILED (failures=2)
To manage notifications about this bug go to:
https://bugs.launchpad.net/glance/+bug/1062307/+subscriptions