[openstack-dev] [ironic] Problem When Have Test In Master Branch

Devananda van der Veen devananda.vdv at gmail.com
Tue Jul 23 18:04:02 UTC 2013


The tests are working for me, and for Jenkins.

Several versions of packages in requirements.txt and test-requirements.txt
were updated yesterday -- try to update your dev environment with "source
.tox/venv/bin/activate & pip install --upgrade -r requirements.txt -r
test-requirements.txt" and then run testr again.


On Tue, Jul 23, 2013 at 10:22 AM, Wentian Jiang <wentian at unitedstack.com>wrote:

> stdout: {{{
> GET: /v1/nodes/1be26c0b-03f2-4d2e-ae87-c02d7f33c123 {}
> GOT:Response: 401 Unauthorized
> Content-Type: text/plain; charset=UTF-8
> Www-Authenticate: Keystone uri='https://127.0.0.1:35357'
> 401 Unauthorized
> This server could not verify that you are authorized to access the
> document you requested. Either you supplied the wrong credentials (e.g.,
> bad password), or your browser does not understand how to supply the
> credentials required.
>  Authentication required
> }}}
>
> Traceback (most recent call last):
>   File "ironic/tests/api/test_acl.py", line 70, in test_non_admin
>     self.assertEqual(response.status_int, 403)
>   File
> "/home/jiangwt100/WorkingProject/ironic/.tox/venv/local/lib/python2.7/site-packages/testtools/testcase.py",
> line 322, in assertEqual
>     self.assertThat(observed, matcher, message)
>   File
> "/home/jiangwt100/WorkingProject/ironic/.tox/venv/local/lib/python2.7/site-packages/testtools/testcase.py",
> line 417, in assertThat
>     raise MismatchError(matchee, matcher, mismatch, verbose)
> MismatchError: 401 != 403
>
>
> --
> Wentian Jiang
> UnitedStack Inc.
>
> _______________________________________________
> OpenStack-dev mailing list
> OpenStack-dev at lists.openstack.org
> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack-dev/attachments/20130723/5f14bb0f/attachment.html>


More information about the OpenStack-dev mailing list