stderr: {{{
INFO [alembic.migration] Context impl SQLiteImpl.
INFO [alembic.migration] Will assume non-transactional DDL.
INFO [alembic.migration] Running stamp_revision -> 2fb93ffd2af1
/home/lucasagomes/Projects/ironic/.tox/venv/lib/python2.7/site-packages/pecan/__init__.py:125: RuntimeWarning: `static_root` is only used when `debug` is True, ignoring
RuntimeWarning
}}}
Traceback (most recent call last):
File "ironic/tests/api/test_acl.py", line 62, in test_authenticated
self.node_path, headers={'X-Auth-Token': utils.ADMIN_TOKEN})
File "ironic/tests/api/test_acl.py", line 45, in get_json
**param)
File "ironic/tests/api/base.py", line 219, in get_json
expect_errors=expect_errors)
File "/home/lucasagomes/Projects/ironic/.tox/venv/lib/python2.7/site-packages/webtest/app.py", line 322, in get
expect_errors=expect_errors)
File "/home/lucasagomes/Projects/ironic/.tox/venv/lib/python2.7/site-packages/webtest/app.py", line 631, in do_request
self._check_status(status, res)
File "/home/lucasagomes/Projects/ironic/.tox/venv/lib/python2.7/site-packages/webtest/app.py", line 663, in _check_status
res)
webtest.app.AppError: Bad response: 401 Unauthorized (not 200 OK or 3xx redirect for http://localhost/v1/nodes/1be26c0b-03f2-4d2e-ae87-c02d7f33c123)
Authentication required
======================================================================
FAIL: ironic.tests.api.test_acl.TestACL.test_non_admin
tags: worker-1
----------------------------------------------------------------------
pythonlogging:'': {{{
Context impl SQLiteImpl.
Will assume non-transactional DDL.
}}}
stderr: {{{
INFO [alembic.migration] Context impl SQLiteImpl.
INFO [alembic.migration] Will assume non-transactional DDL.
INFO [alembic.migration] Running stamp_revision -> 2fb93ffd2af1
/home/lucasagomes/Projects/ironic/.tox/venv/lib/python2.7/site-packages/pecan/__init__.py:125: RuntimeWarning: `static_root` is only used when `debug` is True, ignoring
RuntimeWarning
}}}
Traceback (most recent call last):
File "ironic/tests/api/test_acl.py", line 72, in test_non_admin
self.assertEqual(403, response.status_int)
File "/home/lucasagomes/Projects/ironic/.tox/venv/lib/python2.7/site-packages/testtools/testcase.py", line 350, in assertEqual
self.assertThat(observed, matcher, message)
File "/home/lucasagomes/Projects/ironic/.tox/venv/lib/python2.7/site-packages/testtools/testcase.py", line 435, in assertThat
raise mismatch_error
testtools.matchers._impl.MismatchError: 403 != 401
======================================================================
FAIL: ironic.tests.api.test_acl.TestACL.test_non_admin_with_admin_header
tags: worker-5
----------------------------------------------------------------------
pythonlogging:'': {{{
Context impl SQLiteImpl.
Will assume non-transactional DDL.
}}}
stderr: {{{
INFO [alembic.migration] Context impl SQLiteImpl.
INFO [alembic.migration] Will assume non-transactional DDL.
INFO [alembic.migration] Running stamp_revision -> 2fb93ffd2af1
/home/lucasagomes/Projects/ironic/.tox/venv/lib/python2.7/site-packages/pecan/__init__.py:125: RuntimeWarning: `static_root` is only used when `debug` is True, ignoring
RuntimeWarning
}}}
When running the unittests I'm getting, this is also failing on gate:
======= ======= ======= ======= ======= ======= ======= ======= ======= ======= tests.api. test_acl. TestACL. test_authentica ted ------- ------- ------- ------- ------- ------- ------- ------- -------
FAIL: ironic.
tags: worker-4
-------
pythonlogging:'': {{{
Context impl SQLiteImpl.
Will assume non-transactional DDL.
}}}
stderr: {{{ es/Projects/ ironic/ .tox/venv/ lib/python2. 7/site- packages/ pecan/_ _init__ .py:125: RuntimeWarning: `static_root` is only used when `debug` is True, ignoring
INFO [alembic.migration] Context impl SQLiteImpl.
INFO [alembic.migration] Will assume non-transactional DDL.
INFO [alembic.migration] Running stamp_revision -> 2fb93ffd2af1
/home/lucasagom
RuntimeWarning
}}}
stdout: {{{GET: /v1/nodes/ 1be26c0b- 03f2-4d2e- ae87-c02d7f33c1 23 {}}}}
Traceback (most recent call last): tests/api/ test_acl. py", line 62, in test_authenticated {'X-Auth- Token': utils.ADMIN_TOKEN}) tests/api/ test_acl. py", line 45, in get_json tests/api/ base.py" , line 219, in get_json errors= expect_ errors) lucasagomes/ Projects/ ironic/ .tox/venv/ lib/python2. 7/site- packages/ webtest/ app.py" , line 322, in get errors= expect_ errors) lucasagomes/ Projects/ ironic/ .tox/venv/ lib/python2. 7/site- packages/ webtest/ app.py" , line 631, in do_request _check_ status( status, res) lucasagomes/ Projects/ ironic/ .tox/venv/ lib/python2. 7/site- packages/ webtest/ app.py" , line 663, in _check_status app.AppError: Bad response: 401 Unauthorized (not 200 OK or 3xx redirect for http:// localhost/ v1/nodes/ 1be26c0b- 03f2-4d2e- ae87-c02d7f33c1 23) ======= ======= ======= ======= ======= ======= ======= ======= ======= tests.api. test_acl. TestACL. test_non_ admin ------- ------- ------- ------- ------- ------- ------- ------- -------
File "ironic/
self.node_path, headers=
File "ironic/
**param)
File "ironic/
expect_
File "/home/
expect_
File "/home/
self.
File "/home/
res)
webtest.
Authentication required
=======
FAIL: ironic.
tags: worker-1
-------
pythonlogging:'': {{{
Context impl SQLiteImpl.
Will assume non-transactional DDL.
}}}
stderr: {{{ es/Projects/ ironic/ .tox/venv/ lib/python2. 7/site- packages/ pecan/_ _init__ .py:125: RuntimeWarning: `static_root` is only used when `debug` is True, ignoring
INFO [alembic.migration] Context impl SQLiteImpl.
INFO [alembic.migration] Will assume non-transactional DDL.
INFO [alembic.migration] Running stamp_revision -> 2fb93ffd2af1
/home/lucasagom
RuntimeWarning
}}}
stdout: {{{ 1be26c0b- 03f2-4d2e- ae87-c02d7f33c1 23 {} /127.0. 0.1:35357'
GET: /v1/nodes/
GOT:Response: 401 Unauthorized
Content-Type: text/html; charset=UTF-8
Www-Authenticate: Keystone uri='https:/
Authentication required
}}}
Traceback (most recent call last): tests/api/ test_acl. py", line 72, in test_non_admin assertEqual( 403, response. status_ int) lucasagomes/ Projects/ ironic/ .tox/venv/ lib/python2. 7/site- packages/ testtools/ testcase. py", line 350, in assertEqual assertThat( observed, matcher, message) lucasagomes/ Projects/ ironic/ .tox/venv/ lib/python2. 7/site- packages/ testtools/ testcase. py", line 435, in assertThat matchers. _impl.MismatchE rror: 403 != 401 ======= ======= ======= ======= ======= ======= ======= ======= ======= tests.api. test_acl. TestACL. test_non_ admin_with_ admin_header ------- ------- ------- ------- ------- ------- ------- ------- -------
File "ironic/
self.
File "/home/
self.
File "/home/
raise mismatch_error
testtools.
=======
FAIL: ironic.
tags: worker-5
-------
pythonlogging:'': {{{
Context impl SQLiteImpl.
Will assume non-transactional DDL.
}}}
stderr: {{{ es/Projects/ ironic/ .tox/venv/ lib/python2. 7/site- packages/ pecan/_ _init__ .py:125: RuntimeWarning: `static_root` is only used when `debug` is True, ignoring
INFO [alembic.migration] Context impl SQLiteImpl.
INFO [alembic.migration] Will assume non-transactional DDL.
INFO [alembic.migration] Running stamp_revision -> 2fb93ffd2af1
/home/lucasagom
RuntimeWarning
}}}
stdout: {{{ 1be26c0b- 03f2-4d2e- ae87-c02d7f33c1 23 {} /127.0. 0.1:35357'
GET: /v1/nodes/
GOT:Response: 401 Unauthorized
Content-Type: text/html; charset=UTF-8
Www-Authenticate: Keystone uri='https:/
Authentication required
}}}
Traceback (most recent call last): tests/api/ test_acl. py", line 80, in test_non_ admin_with_ admin_header assertEqual( 403, response. status_ int) lucasagomes/ Projects/ ironic/ .tox/venv/ lib/python2. 7/site- packages/ testtools/ testcase. py", line 350, in assertEqual assertThat( observed, matcher, message) lucasagomes/ Projects/ ironic/ .tox/venv/ lib/python2. 7/site- packages/ testtools/ testcase. py", line 435, in assertThat matchers. _impl.MismatchE rror: 403 != 401
File "ironic/
self.
File "/home/
self.
File "/home/
raise mismatch_error
testtools.
Ran 2291 (-7) tests in 9.045s (-0.577s)
FAILED (id=456, failures=3 (+3), skips=15)