Source: python-keystonemiddleware Version: 5.2.0-2 Severity: serious Tags: ftbfs Control: close -1 9.1.0-2
https://tests.reproducible-builds.org/debian/rb-pkg/buster/amd64/python-keystonemiddleware.html ... ====================================================================== FAIL: keystonemiddleware.tests.unit.auth_token.test_auth_token_middleware.DiabloAuthTokenMiddlewareTest.test_valid_diablo_response keystonemiddleware.tests.unit.auth_token.test_auth_token_middleware.DiabloAuthTokenMiddlewareTest.test_valid_diablo_response ---------------------------------------------------------------------- _StringException: pythonlogging:'': {{{ Starting Keystone auth_token middleware AuthToken middleware is set with keystone_authtoken.service_token_roles_required set to False. This is backwards compatible but deprecated behaviour. Please set this to True. Use of the auth_admin_prefix, auth_host, auth_port, auth_protocol, identity_uri, admin_token, admin_user, admin_password, and admin_tenant_name configuration options was deprecated in the Mitaka release in favor of an auth_plugin and its related options. This class may be removed in a future release. Using /tmp/tmpw1Tzc0/tmpwEj8yK as cache directory for signing certificate Using the in-process token cache is deprecated as of the 4.2.0 release and may be removed in the 5.0.0 release or the 'O' development cycle. The in-process cache causes inconsistent results and high memory usage. When the feature is removed the auth_token middleware will not cache tokens by default which may result in performance issues. It is recommended to use memcache for the auth_token token cache by setting the memcached_servers option. Authenticating user token REQ: curl -g -i -X GET https://keystone.example.com:1234/testadmin -H "Accept: application/json" -H "User-Agent: keystonemiddleware/5.2.0 keystonemiddleware.auth_token/5.2.0 keystoneauth1/3.10.0 python-requests/2.21.0 CPython/2.7.16" RESP: [300] RESP BODY: Omitted, Content-Type is set to None. Only application/json responses have their bodies logged. Auth Token confirmed use of None apis Making authentication request to https://keystone.example.com:1234/testadmin/v2.0/tokens REQ: curl -g -i -X GET https://keystone.example.com:1234/testadmin/v2.0/tokens/b0cf19b55dbb4f20a6ee18e6c6cf1726 -H "Accept: application/json" -H "User-Agent: python-keystoneclient" -H "X-Auth-Token: {SHA1}fa97196656baf1ad10f66098a8b7476ecd6ed8da" RESP: [200] RESP BODY: Omitted, Content-Type is set to None. Only application/json responses have their bodies logged. Invalid user token Rejecting request }}} Traceback (most recent call last): File "keystonemiddleware/tests/unit/auth_token/test_auth_token_middleware.py", line 396, in test_valid_diablo_response resp = self.call_middleware(headers={'X-Auth-Token': self.token_id}) File "keystonemiddleware/tests/unit/auth_token/test_auth_token_middleware.py", line 311, in call_middleware return self.call(self.middleware, **kwargs) File "keystonemiddleware/tests/unit/auth_token/base.py", line 61, in call self.assertEqual(expected_status, resp.status_int) File "/usr/lib/python2.7/dist-packages/testtools/testcase.py", line 411, in assertEqual self.assertThat(observed, matcher, message) File "/usr/lib/python2.7/dist-packages/testtools/testcase.py", line 498, in assertThat raise mismatch_error testtools.matchers._impl.MismatchError: 200 != 401 ---------------------------------------------------------------------- Ran 357 tests in 5.381s FAILED (failures=1, skipped=4) make[1]: *** [debian/rules:14: override_dh_auto_test] Error 1