Nikhil, its apparently not happening anymore. I am marking this ticket
as invalid. Please let us know if this is not the case.
Output from today (2013/12/10) run in Jenkins for concerned tests :
TestTaskPolicy
test_add_task_allowed OK 0.00
test_add_task_not_allowed OK 0.00
test_get_task_allowed OK 0.00
test_get_task_not_allowed OK 0.00
test_get_tasks_allowed OK 0.00
test_get_tasks_not_allowed OK 0.00
** Changed in: glance
Status: New => Invalid
--
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to Glance.
https://bugs.launchpad.net/bugs/1248739
Title:
Jenkins fails not being able to import unit_test_utils
Status in OpenStack Image Registry and Delivery Service (Glance):
Invalid
Bug description:
Tests have been persistently failing on Jenkins not being able to import
unit_test_utils. Here's more info:
These tests work on my ubuntu box with run_tests and tox for py27
2013-11-06 00:54:14.333 |
======================================================================
2013-11-06 00:54:14.333 | ERROR:
glance.tests.unit.test_policy.TestTaskPolicy.test_add_task_allowed
2013-11-06 00:54:14.333 |
----------------------------------------------------------------------
2013-11-06 00:54:14.334 | _StringException: Traceback (most recent call last):
2013-11-06 00:54:14.334 | File
"/home/jenkins/workspace/gate-glance-python27/glance/tests/unit/test_policy.py",
line 362, in setUp
2013-11-06 00:54:14.334 | self.policy =
unit_test_utils.FakePolicyEnforcer()
2013-11-06 00:54:14.335 | NameError: global name 'unit_test_utils' is not
defined
2013-11-06 00:54:14.335 |
2013-11-06 00:54:14.335 |
2013-11-06 00:54:14.335 |
======================================================================
2013-11-06 00:54:14.336 | ERROR:
glance.tests.unit.test_policy.TestTaskPolicy.test_add_task_not_allowed
2013-11-06 00:54:14.336 |
----------------------------------------------------------------------
2013-11-06 00:54:14.336 | _StringException: Traceback (most recent call last):
2013-11-06 00:54:14.337 | File
"/home/jenkins/workspace/gate-glance-python27/glance/tests/unit/test_policy.py",
line 362, in setUp
2013-11-06 00:54:14.337 | self.policy =
unit_test_utils.FakePolicyEnforcer()
2013-11-06 00:54:14.337 | NameError: global name 'unit_test_utils' is not
defined
2013-11-06 00:54:14.337 |
2013-11-06 00:54:14.338 |
2013-11-06 00:54:14.338 |
======================================================================
2013-11-06 00:54:14.338 | ERROR:
glance.tests.unit.test_policy.TestTaskPolicy.test_get_task_allowed
2013-11-06 00:54:14.339 |
----------------------------------------------------------------------
2013-11-06 00:54:14.339 | _StringException: Traceback (most recent call last):
2013-11-06 00:54:14.339 | File
"/home/jenkins/workspace/gate-glance-python27/glance/tests/unit/test_policy.py",
line 362, in setUp
2013-11-06 00:54:14.339 | self.policy =
unit_test_utils.FakePolicyEnforcer()
2013-11-06 00:54:14.340 | NameError: global name 'unit_test_utils' is not
defined
2013-11-06 00:54:14.340 |
2013-11-06 00:54:14.340 |
2013-11-06 00:54:14.341 |
======================================================================
2013-11-06 00:54:14.341 | ERROR:
glance.tests.unit.test_policy.TestTaskPolicy.test_get_task_not_allowed
2013-11-06 00:54:14.341 |
----------------------------------------------------------------------
2013-11-06 00:54:14.342 | _StringException: Traceback (most recent call last):
2013-11-06 00:54:14.342 | File
"/home/jenkins/workspace/gate-glance-python27/glance/tests/unit/test_policy.py",
line 362, in setUp
2013-11-06 00:54:14.342 | self.policy =
unit_test_utils.FakePolicyEnforcer()
2013-11-06 00:54:14.342 | NameError: global name 'unit_test_utils' is not
defined
2013-11-06 00:54:14.343 |
2013-11-06 00:54:14.343 |
2013-11-06 00:54:14.343 |
======================================================================
2013-11-06 00:54:14.343 | ERROR:
glance.tests.unit.test_policy.TestTaskPolicy.test_get_tasks_allowed
2013-11-06 00:54:14.344 |
----------------------------------------------------------------------
2013-11-06 00:54:14.344 | _StringException: Traceback (most recent call last):
2013-11-06 00:54:14.344 | File
"/home/jenkins/workspace/gate-glance-python27/glance/tests/unit/test_policy.py",
line 362, in setUp
2013-11-06 00:54:14.345 | self.policy =
unit_test_utils.FakePolicyEnforcer()
2013-11-06 00:54:14.345 | NameError: global name 'unit_test_utils' is not
defined
2013-11-06 00:54:14.345 |
2013-11-06 00:54:14.346 |
2013-11-06 00:54:14.346 |
======================================================================
2013-11-06 00:54:14.346 | ERROR:
glance.tests.unit.test_policy.TestTaskPolicy.test_get_tasks_not_allowed
2013-11-06 00:54:14.346 |
----------------------------------------------------------------------
2013-11-06 00:54:14.347 | _StringException: Traceback (most recent call last):
2013-11-06 00:54:14.347 | File
"/home/jenkins/workspace/gate-glance-python27/glance/tests/unit/test_policy.py",
line 362, in setUp
2013-11-06 00:54:14.347 | self.policy =
unit_test_utils.FakePolicyEnforcer()
2013-11-06 00:54:14.348 | NameError: global name 'unit_test_utils' is not
defined
2013-11-06 00:54:14.348 |
2013-11-06 00:54:14.348 |
2013-11-06 00:54:14.348 |
----------------------------------------------------------------------
2013-11-06 00:54:14.349 | XML: nosetests.xml
2013-11-06 00:54:14.349 | Slowest 5 tests took 138.89 secs:
2013-11-06 00:54:14.349 | [31m 63.27
TestGlanceAPI.test_add_copy_from_image_authorized[0m
2013-11-06 00:54:14.350 | [31m 22.83 TestScrubber.test_scrubber_app[0m
2013-11-06 00:54:14.350 | [31m 22.82
TestScrubber.test_scrubber_delete_handles_exception[0m
2013-11-06 00:54:14.350 | [31m 17.20
TestScrubber.test_delayed_delete[0m
2013-11-06 00:54:14.350 | [31m 12.76
TestBinGlanceCacheManage.test_queue[0m
2013-11-06 00:54:14.351 |
----------------------------------------------------------------------
2013-11-06 00:54:14.351 | Ran 1889 tests in 518.383s
2013-11-06 00:54:14.351 |
2013-11-06 00:54:14.352 | FAILED (SKIP=26, errors=6)
To manage notifications about this bug go to:
https://bugs.launchpad.net/glance/+bug/1248739/+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