cloudkitty's py27 test randomly fails

Bug #1671130 reported by Jeremy Liu
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
cloudkitty
Won't Fix
Undecided
Jeremy Liu

Bug Description

When running py27 test for cloudkitty, the test randomly fails on two gabbi testcases.

Logs are below:

2017-03-08 11:06:43.334244 | FAIL: gabbi.suitemaker.test_gabbi_v1-info_get_services_info.test_request
2017-03-08 11:06:43.334253 | tags: worker-1
2017-03-08 11:06:43.334275 | ----------------------------------------------------------------------
2017-03-08 11:06:43.334289 | Traceback (most recent call last):
2017-03-08 11:06:43.334328 | File "/home/jenkins/workspace/gate-cloudkitty-python27-ubuntu-xenial/.tox/py27/local/lib/python2.7/site-packages/gabbi/case.py", line 93, in wrapper
2017-03-08 11:06:43.334342 | func(self)
2017-03-08 11:06:43.334383 | File "/home/jenkins/workspace/gate-cloudkitty-python27-ubuntu-xenial/.tox/py27/local/lib/python2.7/site-packages/gabbi/case.py", line 140, in test_request
2017-03-08 11:06:43.334396 | self._run_test()
2017-03-08 11:06:43.334435 | File "/home/jenkins/workspace/gate-cloudkitty-python27-ubuntu-xenial/.tox/py27/local/lib/python2.7/site-packages/gabbi/case.py", line 399, in _run_test
2017-03-08 11:06:43.334447 | self._assert_response()
2017-03-08 11:06:43.334489 | File "/home/jenkins/workspace/gate-cloudkitty-python27-ubuntu-xenial/.tox/py27/local/lib/python2.7/site-packages/gabbi/case.py", line 171, in _assert_response
2017-03-08 11:06:43.334499 | handler(self)
2017-03-08 11:06:43.334539 | File "/home/jenkins/workspace/gate-cloudkitty-python27-ubuntu-xenial/.tox/py27/local/lib/python2.7/site-packages/gabbi/handlers.py", line 47, in __call__
2017-03-08 11:06:43.334809 | self.action(test, item, value=value)
2017-03-08 11:06:43.334864 | File "/home/jenkins/workspace/gate-cloudkitty-python27-ubuntu-xenial/.tox/py27/local/lib/python2.7/site-packages/gabbi/handlers.py", line 122, in action
2017-03-08 11:06:43.334878 | (path, expected, match))
2017-03-08 11:06:43.334899 | File "/usr/lib/python2.7/unittest/case.py", line 513, in assertEqual
2017-03-08 11:06:43.334923 | assertion_func(first, second, msg=msg)
2017-03-08 11:06:43.334946 | File "/usr/lib/python2.7/unittest/case.py", line 506, in _baseAssertEqual
2017-03-08 11:06:43.334960 | raise self.failureException(msg)
2017-03-08 11:06:43.334984 | AssertionError: Unable to match $.services[/service_id][2].unit as MB, got undefined
2017-03-08 11:06:43.335005 | ======================================================================
2017-03-08 11:06:43.335028 | FAIL: gabbi.suitemaker.test_gabbi_v1-info_get_compute_service_info.test_request
2017-03-08 11:06:43.335037 | tags: worker-1
2017-03-08 11:06:43.335058 | ----------------------------------------------------------------------
2017-03-08 11:06:43.335071 | Traceback (most recent call last):
2017-03-08 11:06:43.335110 | File "/home/jenkins/workspace/gate-cloudkitty-python27-ubuntu-xenial/.tox/py27/local/lib/python2.7/site-packages/gabbi/case.py", line 93, in wrapper
2017-03-08 11:06:43.335119 | func(self)
2017-03-08 11:06:43.335159 | File "/home/jenkins/workspace/gate-cloudkitty-python27-ubuntu-xenial/.tox/py27/local/lib/python2.7/site-packages/gabbi/case.py", line 140, in test_request
2017-03-08 11:06:43.335170 | self._run_test()
2017-03-08 11:06:43.335209 | File "/home/jenkins/workspace/gate-cloudkitty-python27-ubuntu-xenial/.tox/py27/local/lib/python2.7/site-packages/gabbi/case.py", line 399, in _run_test
2017-03-08 11:06:43.335221 | self._assert_response()
2017-03-08 11:06:43.335262 | File "/home/jenkins/workspace/gate-cloudkitty-python27-ubuntu-xenial/.tox/py27/local/lib/python2.7/site-packages/gabbi/case.py", line 171, in _assert_response
2017-03-08 11:06:43.335272 | handler(self)
2017-03-08 11:06:43.335312 | File "/home/jenkins/workspace/gate-cloudkitty-python27-ubuntu-xenial/.tox/py27/local/lib/python2.7/site-packages/gabbi/handlers.py", line 47, in __call__
2017-03-08 11:06:43.335326 | self.action(test, item, value=value)
2017-03-08 11:06:43.335366 | File "/home/jenkins/workspace/gate-cloudkitty-python27-ubuntu-xenial/.tox/py27/local/lib/python2.7/site-packages/gabbi/handlers.py", line 122, in action
2017-03-08 11:06:43.335378 | (path, expected, match))
2017-03-08 11:06:43.335399 | File "/usr/lib/python2.7/unittest/case.py", line 513, in assertEqual
2017-03-08 11:06:43.335414 | assertion_func(first, second, msg=msg)
2017-03-08 11:06:43.335436 | File "/usr/lib/python2.7/unittest/case.py", line 506, in _baseAssertEqual
2017-03-08 11:06:43.335450 | raise self.failureException(msg)
2017-03-08 11:06:43.335470 | AssertionError: Unable to match $.unit as instance, got undefined

Jeremy Liu (liujiong)
Changed in cloudkitty:
assignee: nobody → Jeremy Liu (liujiong)
Revision history for this message
Jeremy Liu (liujiong) wrote :

I've tested a few times and cannot reproduce this error now.

Revision history for this message
Pierre Riteau (priteau) wrote :

Python 2.7 isn't supported anymore, closing.

Changed in cloudkitty:
status: New → Won't Fix
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.