[horizon] [*client] WAS Build failed in Jenkins: periodic-horizon-python27-stable-folsom #178
Hi all, horizon stable/folsom started failing after keystoneclient 0.2.3 last good was https://jenkins.openstack.org/job/periodic-horizon-python27-stable-folsom/16... with keystoneclient 0.2.2. All OpenStack clients are supposed to be backward compatible, so I'm not sure if the solution here is to lock all client version on stable/* or is Horizon using keystoneclient internals which aren't part of stable API? Cheers, Alan 2013/3/28 OpenStack Jenkins <jenkins@openstack.org>:
See https://jenkins.openstack.org/job/periodic-horizon-python27-stable-folsom/17...
...snip... 2013-03-28 06:04:01.567 | FAIL: test_get_default_role (horizon.tests.api_tests.keystone_tests.RoleAPITests) 2013-03-28 06:04:01.567 | ---------------------------------------------------------------------- 2013-03-28 06:04:01.567 | Traceback (most recent call last): 2013-03-28 06:04:01.568 | File "/home/jenkins/workspace/periodic-horizon-python27-stable-folsom/horizon/tests/api_tests/keystone_tests.py", line 76, in test_get_default_role 2013-03-28 06:04:01.568 | keystoneclient = self.stub_keystoneclient() 2013-03-28 06:04:01.568 | File "/home/jenkins/workspace/periodic-horizon-python27-stable-folsom/horizon/test.py", line 329, in stub_keystoneclient 2013-03-28 06:04:01.568 | self.keystoneclient = self.mox.CreateMock(keystone_client.Client) 2013-03-28 06:04:01.568 | File "/home/jenkins/workspace/periodic-horizon-python27-stable-folsom/.tox/py27/local/lib/python2.7/site-packages/mox.py", line 258, in CreateMock 2013-03-28 06:04:01.568 | new_mock = MockObject(class_to_mock, attrs=attrs) 2013-03-28 06:04:01.568 | File "/home/jenkins/workspace/periodic-horizon-python27-stable-folsom/.tox/py27/local/lib/python2.7/site-packages/mox.py", line 556, in __init__ 2013-03-28 06:04:01.568 | attr = getattr(class_to_mock, method) 2013-03-28 06:04:01.568 | File "/home/jenkins/workspace/periodic-horizon-python27-stable-folsom/.tox/py27/local/lib/python2.7/site-packages/mox.py", line 608, in __getattr__ 2013-03-28 06:04:01.568 | raise UnknownMethodCallError(name) 2013-03-28 06:04:01.568 | UnknownMethodCallError: Method called is not a member of the object: Method called is not a member of the object: auth_token 2013-03-28 06:04:01.568 | >> raise UnknownMethodCallError('auth_token') ...snip... 2013-03-28 06:04:03.188 | python-keystoneclient==0.2.3
Hi Alan, On Thu, 2013-03-28 at 12:56 +0100, Alan Pevec wrote:
Hi all,
horizon stable/folsom started failing after keystoneclient 0.2.3 last good was https://jenkins.openstack.org/job/periodic-horizon-python27-stable-folsom/16... with keystoneclient 0.2.2.
All OpenStack clients are supposed to be backward compatible, so I'm not sure if the solution here is to lock all client version on stable/* or is Horizon using keystoneclient internals which aren't part of stable API?
Thanks for finding this. The client libraries definitely aren't supposed to be breaking their APIs. Maybe we can get the backwards incompatible API change reverted and a new release made? Thanks, Mark.
2013/3/28 OpenStack Jenkins <jenkins@openstack.org>:
See https://jenkins.openstack.org/job/periodic-horizon-python27-stable-folsom/17...
...snip...
2013-03-28 06:04:01.567 | FAIL: test_get_default_role (horizon.tests.api_tests.keystone_tests.RoleAPITests) 2013-03-28 06:04:01.567 | ---------------------------------------------------------------------- 2013-03-28 06:04:01.567 | Traceback (most recent call last): 2013-03-28 06:04:01.568 | File "/home/jenkins/workspace/periodic-horizon-python27-stable-folsom/horizon/tests/api_tests/keystone_tests.py", line 76, in test_get_default_role 2013-03-28 06:04:01.568 | keystoneclient = self.stub_keystoneclient() 2013-03-28 06:04:01.568 | File "/home/jenkins/workspace/periodic-horizon-python27-stable-folsom/horizon/test.py", line 329, in stub_keystoneclient 2013-03-28 06:04:01.568 | self.keystoneclient = self.mox.CreateMock(keystone_client.Client) 2013-03-28 06:04:01.568 | File "/home/jenkins/workspace/periodic-horizon-python27-stable-folsom/.tox/py27/local/lib/python2.7/site-packages/mox.py", line 258, in CreateMock 2013-03-28 06:04:01.568 | new_mock = MockObject(class_to_mock, attrs=attrs) 2013-03-28 06:04:01.568 | File "/home/jenkins/workspace/periodic-horizon-python27-stable-folsom/.tox/py27/local/lib/python2.7/site-packages/mox.py", line 556, in __init__ 2013-03-28 06:04:01.568 | attr = getattr(class_to_mock, method) 2013-03-28 06:04:01.568 | File "/home/jenkins/workspace/periodic-horizon-python27-stable-folsom/.tox/py27/local/lib/python2.7/site-packages/mox.py", line 608, in __getattr__ 2013-03-28 06:04:01.568 | raise UnknownMethodCallError(name) 2013-03-28 06:04:01.568 | UnknownMethodCallError: Method called is not a member of the object: Method called is not a member of the object: auth_token 2013-03-28 06:04:01.568 | >> raise UnknownMethodCallError('auth_token')
...snip...
2013-03-28 06:04:03.188 | python-keystoneclient==0.2.3
_______________________________________________ OpenStack-dev mailing list OpenStack-dev@lists.openstack.org http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
participants (2)
-
Alan Pevec
-
Mark McLoughlin