/usr/local/bin/tox:5: UserWarning: Module paste was already imported from None, but /usr/lib/python2.6/dist-packages is being added to sys.path from pkg_resources import load_entry_point _________________________________ [tox sdist] __________________________________ [TOX] ***creating sdist package [TOX] /home/klmitch/devel/src/keystone$ /usr/bin/python setup.py sdist --formats=zip --dist-dir .tox/dist >.tox/log/0.log [TOX] ***copying new sdistfile to '/home/klmitch/.tox/distshare/keystone-2012.2.zip' ______________________________ [tox testenv:py26] ______________________________ [TOX] ***reusing existing matching virtualenv py26 [TOX] ***upgrade-installing sdist [TOX] /home/klmitch/devel/src/keystone/.tox/py26/log$ ../bin/pip install --download-cache=/home/klmitch/devel/src/keystone/.tox/_download /home/klmitch/devel/src/keystone/.tox/dist/keystone-2012.2.zip -U --no-deps >3.log [TOX] WARNING:test command found but not installed in testenv cmd: /bin/bash env: /home/klmitch/devel/src/keystone/.tox/py26 Maybe forgot to specify a dependency? [TOX] /home/klmitch/devel/src/keystone$ /bin/bash run_tests.sh -N --no-pep8 AuthTokenMiddlewareTest test_default_tenant_signed_token FAIL 0.04 test_default_tenant_uuid_token OK  0.01 test_fetch_revocation_list ERROR 0.03 test_get_revocation_list_returns_current_list_from_disk OK  0.01 test_get_revocation_list_returns_current_list_from_memory OK  0.01 test_get_revocation_list_returns_fetched_list ERROR 0.03 test_get_token_revocation_list_fetched_time_returns_min OK  0.01 test_get_token_revocation_list_fetched_time_returns_mtime OK  0.01 test_get_token_revocation_list_fetched_time_returns_value OK  0.01 test_invalid_revocation_list_raises_service_error OK  0.01 test_is_signed_token_revoked_returns_false OK  0.01 test_is_signed_token_revoked_returns_true OK  0.01 test_memcache OK  0.01 test_memcache_set_expired FAIL 0.03 test_memcache_set_invalid OK  0.01 test_nomemcache OK  0.01 test_request_blank_token OK  0.01 test_request_invalid_signed_token OK  0.03 test_request_invalid_uuid_token OK  0.01 test_request_no_token OK  0.01 test_request_prevent_service_catalog_injection OK  0.01 test_revoked_token_receives_401 OK  0.01 test_unscoped_pki_token_receives_401 OK  0.03 test_unscoped_uuid_token_receives_401 OK  0.01 test_valid_signed_request FAIL 0.03 test_valid_uuid_request OK  0.01 test_verify_signed_token_raises_exception_for_revoked_token OK  0.01 test_verify_signed_token_succeeds_for_unrevoked_token OK  0.03 DiabloAuthTokenMiddlewareTest test_valid_diablo_response OK  0.01 KvsCatalog test_create_endpoint_404 OK  0.01 test_delete_endpoint_404 OK  0.00 test_delete_service_404 OK  0.01 test_get_catalog OK  0.00 test_get_catalog_404 OK  0.01 test_get_endpoint_404 OK  0.00 test_get_service_404 OK  0.01 test_service_crud OK  0.00 test_service_list OK  0.01 KvsIdentity test_add_duplicate_role_grant OK  0.03 test_add_role_to_user_and_tenant_404 OK  0.01 test_add_user_to_tenant OK  0.01 test_add_user_to_tenant_404 OK  0.01 test_authenticate OK  0.01 test_authenticate_bad_password OK  0.01 test_authenticate_bad_tenant OK  0.01 test_authenticate_bad_user OK  0.01 test_authenticate_no_metadata OK  0.01 test_authenticate_no_tenant OK  0.01 test_authenticate_role_return OK  0.01 test_create_duplicate_role_name_fails OK  0.01 test_create_duplicate_tenant_id_fails OK  0.01 test_create_duplicate_tenant_name_fails OK  0.01 test_create_duplicate_user_id_fails OK  0.01 test_create_duplicate_user_name_fails OK  0.01 test_create_tenant_blank_name_fails OK  0.01 test_create_tenant_invalid_name_fails OK  0.01 test_create_tenant_long_name_fails OK  0.01 test_create_user_blank_name_fails OK  0.01 test_create_user_invalid_name_fails OK  0.01 test_create_user_long_name_fails OK  0.01 test_delete_role_404 OK  0.01 test_delete_tenant_404 OK  0.01 test_delete_user_404 OK  0.01 test_delete_user_with_tenant_association OK  0.01 test_get_metadata OK  0.01 test_get_metadata_404 OK  0.01 test_get_role OK  0.01 test_get_role_404 OK  0.01 test_get_role_by_user_and_tenant OK  0.01 test_get_roles_for_user_and_tenant_404 OK  0.01 test_get_tenant OK  0.01 test_get_tenant_404 OK  0.01 test_get_tenant_by_name OK  0.01 test_get_tenant_by_name_404 OK  0.01 test_get_tenant_users_404 OK  0.01 test_get_tenants_for_user_404 OK  0.01 test_get_user OK  0.01 test_get_user_404 OK  0.01 test_get_user_by_name OK  0.01 test_get_user_by_name_404 OK  0.01 test_password_hashed OK  0.01 test_remove_role_from_user_and_tenant OK  0.01 test_remove_user_from_tenant OK  0.01 test_remove_user_from_tenant_404 OK  0.01 test_rename_duplicate_role_name_fails OK  0.01 test_rename_duplicate_tenant_name_fails OK  0.01 test_rename_duplicate_user_name_fails OK  0.01 test_role_crud OK  0.01 test_update_role_404 OK  0.01 test_update_tenant_404 OK  0.01 test_update_tenant_blank_name_fails OK  0.01 test_update_tenant_id_does_nothing OK  0.01 test_update_tenant_invalid_name_fails OK  0.01 test_update_tenant_long_name_fails OK  0.01 test_update_user_404 OK  0.01 test_update_user_blank_name_fails OK  0.01 test_update_user_id_fails OK  0.01 test_update_user_invalid_name_fails OK  0.01 test_update_user_long_name_fails OK  0.01 KvsToken test_delete_token_404 OK  0.00 test_expired_token OK  0.00 test_get_token_404 OK  0.00 test_list_revoked_tokens_for_multiple_tokens OK  0.00 test_list_revoked_tokens_for_single_token OK  0.00 test_list_revoked_tokens_returns_empty_list OK  0.00 test_null_expires_token OK  0.00 test_token_crud OK  0.00 LDAPIdentity test_add_duplicate_role_grant OK  0.09 test_add_role_to_user_and_tenant_404 OK  0.02 test_add_user_to_tenant OK  0.02 test_add_user_to_tenant_404 OK  0.02 test_authenticate OK  0.02 test_authenticate_bad_password OK  0.02 test_authenticate_bad_tenant OK  0.02 test_authenticate_bad_user OK  0.02 test_authenticate_no_metadata OK  0.02 test_authenticate_no_tenant OK  0.02 test_authenticate_role_return OK  0.03 test_build_tree OK  0.03 test_create_duplicate_role_name_fails OK  0.02 test_create_duplicate_tenant_id_fails OK  0.02 test_create_duplicate_tenant_name_fails OK  0.02 test_create_duplicate_user_id_fails OK  0.02 test_create_duplicate_user_name_fails OK  0.02 test_create_tenant_blank_name_fails OK  0.02 test_create_tenant_invalid_name_fails OK  0.02 test_create_tenant_long_name_fails OK  0.02 test_create_user_blank_name_fails OK  0.02 test_create_user_invalid_name_fails OK  0.02 test_create_user_long_name_fails OK  0.02 test_delete_role_404 OK  0.02 test_delete_tenant_404 OK  0.02 test_delete_user_404 OK  0.02 test_delete_user_with_tenant_association OK  0.02 test_get_metadata OK  0.02 test_get_metadata_404 OK  0.02 test_get_role OK  0.02 test_get_role_404 OK  0.02 test_get_role_by_user_and_tenant OK  0.03 test_get_roles_for_user_and_tenant_404 OK  0.02 test_get_tenant OK  0.02 test_get_tenant_404 OK  0.02 test_get_tenant_by_name OK  0.02 test_get_tenant_by_name_404 OK  0.02 test_get_tenant_users_404 OK  0.02 test_get_tenants_for_user_404 OK  0.02 test_get_user OK  0.02 test_get_user_404 OK  0.02 test_get_user_by_name OK  0.02 test_get_user_by_name_404 OK  0.02 test_password_hashed OK  0.02 test_remove_role_from_user_and_tenant OK  0.02 test_remove_user_from_tenant OK  0.02 test_remove_user_from_tenant_404 OK  0.02 test_rename_duplicate_role_name_fails OK  0.02 test_rename_duplicate_tenant_name_fails OK  0.02 test_rename_duplicate_user_name_fails OK  0.02 test_role_crud OK  0.02 test_update_role_404 OK  0.02 test_update_tenant_404 OK  0.02 test_update_tenant_blank_name_fails OK  0.02 test_update_tenant_id_does_nothing OK  0.02 test_update_tenant_invalid_name_fails OK  0.02 test_update_tenant_long_name_fails OK  0.02 test_update_user_404 OK  0.02 test_update_user_blank_name_fails OK  0.02 test_update_user_id_fails OK  0.02 test_update_user_invalid_name_fails OK  0.02 test_update_user_long_name_fails OK  0.02 MemcacheToken test_delete_token_404 OK  0.01 test_expired_token OK  0.01 test_get_token_404 OK  0.01 test_get_unicode OK  0.01 test_list_revoked_tokens_for_multiple_tokens OK  0.01 test_list_revoked_tokens_for_single_token OK  0.01 test_list_revoked_tokens_returns_empty_list OK  0.00 test_null_expires_token OK  0.00 test_token_crud OK  0.01 PamIdentity test_get_metadata_for_non_root OK  0.01 test_get_metadata_for_root OK  0.01 test_get_tenant OK  0.02 test_get_tenant_by_name OK  0.01 test_get_user OK  0.01 test_get_user_by_name OK  0.01 SqlCatalog test_create_endpoint_404 OK  0.61 test_delete_endpoint_404 OK  0.07 test_delete_service_404 OK  0.06 test_get_endpoint_404 OK  0.04 test_get_service_404 OK  0.06 test_service_crud OK  0.09 test_service_list OK  0.06 SqlIdentity test_add_duplicate_role_grant OK  0.27 test_add_role_to_user_and_tenant_404 OK  0.29 test_add_user_to_tenant OK  0.28 test_add_user_to_tenant_404 OK  0.23 test_authenticate OK  0.25 test_authenticate_bad_password OK  0.22 test_authenticate_bad_tenant OK  0.25 test_authenticate_bad_user OK  0.20 test_authenticate_no_metadata OK  0.25 test_authenticate_no_tenant OK  0.26 test_authenticate_role_return OK  0.28 test_create_duplicate_role_name_fails OK  0.24 test_create_duplicate_tenant_id_fails OK  0.25 test_create_duplicate_tenant_name_fails OK  0.23 test_create_duplicate_user_id_fails OK  0.25 test_create_duplicate_user_name_fails OK  0.27 test_create_null_role_name OK  0.24 test_create_null_tenant_name OK  0.21 test_create_null_user_name OK  0.20 test_create_tenant_blank_name_fails OK  0.21 test_create_tenant_invalid_name_fails OK  0.25 test_create_tenant_long_name_fails OK  0.24 test_create_user_blank_name_fails OK  0.22 test_create_user_invalid_name_fails OK  0.24 test_create_user_long_name_fails OK  0.24 test_delete_role_404 OK  0.25 test_delete_tenant_404 OK  0.20 test_delete_tenant_with_metadata OK  0.28 test_delete_tenant_with_user_association OK  0.32 test_delete_user_404 OK  0.25 test_delete_user_with_metadata OK  0.33 test_delete_user_with_tenant_association OK  0.27 test_get_metadata OK  0.24 test_get_metadata_404 OK  0.21 test_get_role OK  0.23 test_get_role_404 OK  0.22 test_get_role_by_user_and_tenant OK  0.31 test_get_roles_for_user_and_tenant_404 OK  0.23 test_get_tenant OK  0.21 test_get_tenant_404 OK  0.24 test_get_tenant_by_name OK  0.29 test_get_tenant_by_name_404 OK  0.22 test_get_tenant_users_404 OK  0.25 test_get_tenants_for_user_404 OK  0.45 test_get_user OK  0.28 test_get_user_404 OK  0.22 test_get_user_by_name OK  0.27 test_get_user_by_name_404 OK  0.26 test_password_hashed OK  0.22 test_remove_role_from_user_and_tenant OK  0.25 test_remove_user_from_tenant OK  0.22 test_remove_user_from_tenant_404 OK  0.25 test_rename_duplicate_role_name_fails OK  0.23 test_rename_duplicate_tenant_name_fails OK  0.24 test_rename_duplicate_user_name_fails OK  0.38 test_role_crud OK  0.29 test_update_role_404 OK  0.24 test_update_tenant_404 OK  0.29 test_update_tenant_blank_name_fails OK  0.21 test_update_tenant_id_does_nothing OK  0.26 test_update_tenant_invalid_name_fails OK  0.25 test_update_tenant_long_name_fails OK  0.27 test_update_user_404 OK  0.26 test_update_user_blank_name_fails OK  0.27 test_update_user_id_fails OK  0.23 test_update_user_invalid_name_fails OK  0.25 test_update_user_long_name_fails OK  0.23 SqlToken test_delete_token_404 OK  0.02 test_expired_token OK  0.03 test_get_token_404 OK  0.02 test_list_revoked_tokens_for_multiple_tokens OK  0.06 test_list_revoked_tokens_for_single_token OK  0.07 test_list_revoked_tokens_returns_empty_list OK  0.03 test_null_expires_token OK  0.03 test_token_crud OK  0.04 TestTemplatedCatalog test_create_endpoint_404 OK  0.01 test_delete_endpoint_404 OK  0.00 test_delete_service_404 OK  0.01 test_get_catalog OK  0.01 test_get_endpoint_404 OK  0.00 test_get_service_404 OK  0.01 test_service_crud OK  0.00 test_service_list OK  0.00 CertSetupTestCase test_create_certs OK  0.24 JsonTestCase test_admin_extensions OK  0.24 test_admin_extensions_404 OK  0.07 test_admin_multiple_choice OK  0.04 test_admin_osksadm_extension OK  0.04 test_admin_version OK  0.04 test_authenticate OK  0.05 test_endpoints SKIP test_error_response OK  0.04 test_fetch_revocation_list_admin_200 OK  0.10 test_fetch_revocation_list_nonadmin_fails OK  0.07 test_get_tenant OK  0.06 test_get_tenants_for_token OK  0.05 test_get_user OK  0.06 test_get_user_roles SKIP test_get_user_roles_with_tenant OK  0.06 test_public_extensions OK  0.05 test_public_multiple_choice OK  0.04 test_public_osksadm_extension_404 OK  0.04 test_public_version OK  0.04 test_service_crud_requires_auth OK  0.07 test_user_role_list_requires_auth OK  0.04 test_validate_token OK  0.06 test_validate_token_belongs_to OK  0.06 test_validate_token_head OK  0.20 test_validate_token_no_belongs_to_still_returns_catalog OK  0.06 XmlTestCase test_admin_extensions OK  0.04 test_admin_extensions_404 OK  0.05 test_admin_multiple_choice OK  0.04 test_admin_osksadm_extension OK  0.04 test_admin_version OK  0.05 test_authenticate OK  0.04 test_endpoints SKIP test_error_response OK  0.04 test_get_tenant OK  0.06 test_get_tenants_for_token OK  0.05 test_get_user OK  0.06 test_get_user_roles SKIP test_get_user_roles_with_tenant OK  0.06 test_public_extensions OK  0.04 test_public_multiple_choice OK  0.04 test_public_osksadm_extension_404 OK  0.05 test_public_version OK  0.04 test_validate_token OK  0.06 test_validate_token_belongs_to OK  0.06 test_validate_token_head OK  0.06 test_validate_token_no_belongs_to_still_returns_catalog OK  0.06 ExceptionTestCase test_all_json_renderings OK  0.01 test_forbidden_action OK  0.00 test_not_found OK  0.00 test_validation_error OK  0.00 ImportLegacy test_import_d5 OK  0.43 test_import_diablo OK  0.52 test_import_essex OK  0.55 Kc11TestCase test_admin_requires_adminness OK  10.92 test_authenticate_and_delete_token OK  0.11 test_authenticate_disabled_tenant OK  0.13 test_authenticate_invalid_tenant_id OK  0.06 test_authenticate_no_password OK  0.04 test_authenticate_no_username OK  0.20 test_authenticate_tenant_id_and_tenants OK  0.06 test_authenticate_tenant_name_and_tenants OK  0.06 test_authenticate_token_invalid_tenant_id OK  0.07 test_authenticate_token_no_tenant OK  0.07 test_authenticate_token_tenant_id OK  0.07 test_authenticate_token_tenant_name OK  0.07 test_change_password_invalidates_token OK  0.13 test_disable_user_invalidates_token OK  0.12 test_ec2_credential_crud OK  0.10 test_ec2_credentials_create_404 OK  0.07 test_ec2_credentials_delete_404 OK  0.06 test_ec2_credentials_delete_user_forbidden OK  0.09 test_ec2_credentials_get_404 OK  0.06 test_ec2_credentials_get_user_forbidden OK  0.08 test_ec2_credentials_list_404 OK  0.06 test_ec2_credentials_list_user_forbidden OK  0.06 test_endpoint_delete_404 OK  0.06 test_invalid_password OK  0.09 test_invalid_user_and_password OK  0.05 test_role_create_no_name OK  0.06 test_role_crud OK  0.10 test_role_delete_404 OK  0.06 test_role_get OK  0.07 test_role_get_404 OK  0.06 test_role_list OK  0.06 test_role_list_404 OK  0.09 test_service_crud OK  0.10 test_service_delete_404 OK  0.06 test_service_get_404 OK  0.25 test_tenant_create_no_name OK  0.06 test_tenant_create_update_and_delete OK  0.14 test_tenant_delete_404 OK  0.06 test_tenant_get_404 OK  0.06 test_tenant_list OK  0.09 test_tenant_update_404 OK  0.06 test_token_expiry_maintained OK  1.09 test_user_create_404 OK  0.06 test_user_create_no_name OK  0.06 test_user_create_update_delete OK  0.22 test_user_delete_404 OK  0.06 test_user_get OK  0.07 test_user_get_404 OK  0.06 test_user_list OK  0.06 test_user_list_404 OK  0.07 test_user_update_404 OK  0.06 test_user_update_password_404 OK  0.07 test_user_update_tenant_404 SKIP KcEssex3TestCase test_admin_requires_adminness OK  11.09 test_authenticate_and_delete_token SKIP test_authenticate_disabled_tenant OK  0.13 test_authenticate_invalid_tenant_id OK  0.06 test_authenticate_no_password OK  0.04 test_authenticate_no_username OK  0.04 test_authenticate_tenant_id_and_tenants OK  0.06 test_authenticate_tenant_name_and_tenants OK  0.06 test_authenticate_token_invalid_tenant_id OK  0.07 test_authenticate_token_no_tenant OK  0.08 test_authenticate_token_tenant_id OK  0.33 test_authenticate_token_tenant_name OK  0.07 test_change_password_invalidates_token OK  0.13 test_disable_user_invalidates_token OK  0.11 test_ec2_credential_crud OK  0.10 test_ec2_credentials_create_404 OK  0.06 test_ec2_credentials_delete_404 OK  0.06 test_ec2_credentials_delete_user_forbidden OK  0.09 test_ec2_credentials_get_404 OK  0.06 test_ec2_credentials_get_user_forbidden OK  0.09 test_ec2_credentials_list_404 OK  0.06 test_ec2_credentials_list_user_forbidden OK  0.06 test_endpoint_create_404 SKIP test_endpoint_delete_404 SKIP test_invalid_password OK  0.08 test_invalid_user_and_password OK  0.05 test_role_create_no_name OK  0.07 test_role_crud OK  0.09 test_role_delete_404 OK  0.07 test_role_get OK  0.06 test_role_get_404 OK  0.06 test_role_list OK  0.07 test_role_list_404 SKIP test_roles_get_by_user OK  0.07 test_service_crud OK  0.11 test_service_delete_404 OK  0.06 test_service_get_404 OK  0.06 test_tenant_add_and_remove_user OK  0.10 test_tenant_create_no_name OK  0.06 test_tenant_create_update_and_delete OK  0.36 test_tenant_delete_404 OK  0.06 test_tenant_get_404 OK  0.06 test_tenant_list OK  0.09 test_tenant_update_404 OK  0.06 test_token_expiry_maintained OK  1.09 test_user_create_404 OK  0.07 test_user_create_no_name OK  0.06 test_user_create_update_delete OK  0.22 test_user_delete_404 OK  0.09 test_user_get OK  0.08 test_user_get_404 OK  0.06 test_user_list OK  0.06 test_user_list_404 OK  0.07 test_user_update_404 SKIP test_user_update_password_404 OK  0.06 test_user_update_tenant_404 SKIP KcMasterTestCase test_admin_requires_adminness OK  11.05 test_authenticate_and_delete_token OK  0.11 test_authenticate_disabled_tenant OK  0.13 test_authenticate_invalid_tenant_id OK  0.06 test_authenticate_no_password OK  0.04 test_authenticate_no_username OK  0.04 test_authenticate_tenant_id_and_tenants OK  0.06 test_authenticate_tenant_name_and_tenants OK  0.07 test_authenticate_token_invalid_tenant_id OK  0.07 test_authenticate_token_no_tenant OK  0.07 test_authenticate_token_tenant_id OK  0.07 test_authenticate_token_tenant_name OK  0.07 test_change_password_invalidates_token OK  0.40 test_disable_user_invalidates_token OK  0.11 test_ec2_credential_crud OK  0.09 test_ec2_credentials_create_404 OK  0.07 test_ec2_credentials_delete_404 OK  0.06 test_ec2_credentials_delete_user_forbidden OK  0.09 test_ec2_credentials_get_404 OK  0.06 test_ec2_credentials_get_user_forbidden OK  0.08 test_ec2_credentials_list_404 OK  0.06 test_ec2_credentials_list_user_forbidden OK  0.06 test_endpoint_delete_404 OK  0.06 test_invalid_password OK  0.08 test_invalid_user_and_password OK  0.05 test_role_create_no_name OK  0.06 test_role_crud OK  0.10 test_role_delete_404 OK  0.06 test_role_get OK  0.06 test_role_get_404 OK  0.07 test_role_list OK  0.06 test_role_list_404 OK  0.09 test_roles_get_by_user OK  0.06 test_service_crud OK  0.10 test_service_delete_404 OK  0.07 test_service_get_404 OK  0.06 test_tenant_add_and_remove_user OK  0.09 test_tenant_create_no_name OK  0.06 test_tenant_create_update_and_delete OK  0.13 test_tenant_delete_404 OK  0.07 test_tenant_get_404 OK  0.06 test_tenant_list OK  0.09 test_tenant_list_limit OK  0.30 test_tenant_list_limit_bad_value OK  0.06 test_tenant_list_marker OK  0.07 test_tenant_list_marker_not_found OK  0.06 test_tenant_update_404 OK  0.06 test_token_expiry_maintained OK  1.09 test_tokens_after_user_update_passwd OK  0.08 test_user_can_update_passwd OK  0.07 test_user_cant_update_other_users_passwd OK  0.08 test_user_create_404 OK  0.06 test_user_create_no_name OK  0.06 test_user_create_update_delete OK  0.22 test_user_delete_404 OK  0.06 test_user_get OK  0.08 test_user_get_404 OK  0.06 test_user_list OK  0.07 test_user_list_404 OK  0.06 test_user_role_add_404 OK  0.08 test_user_role_remove_404 OK  0.09 test_user_update_404 OK  0.08 test_user_update_password_404 OK  0.07 test_user_update_tenant_404 SKIP KcMasterSqlTestCase test_admin_requires_adminness OK  0.52 test_authenticate_and_delete_token OK  0.50 test_authenticate_disabled_tenant OK  0.71 test_authenticate_invalid_tenant_id OK  0.36 test_authenticate_no_password OK  0.32 test_authenticate_no_username OK  0.36 test_authenticate_tenant_id_and_tenants OK  0.42 test_authenticate_tenant_name_and_tenants OK  0.40 test_authenticate_token_invalid_tenant_id OK  0.41 test_authenticate_token_no_tenant OK  0.42 test_authenticate_token_tenant_id OK  0.47 test_authenticate_token_tenant_name OK  0.46 test_change_password_invalidates_token OK  0.58 test_disable_user_invalidates_token OK  0.54 test_ec2_credential_crud OK  0.51 test_ec2_credentials_create_404 OK  0.39 test_ec2_credentials_delete_404 OK  0.44 test_ec2_credentials_delete_user_forbidden OK  0.52 test_ec2_credentials_get_404 OK  0.34 test_ec2_credentials_get_user_forbidden OK  0.74 test_ec2_credentials_list_404 OK  0.44 test_ec2_credentials_list_user_forbidden OK  0.38 test_endpoint_create_404 OK  0.45 test_endpoint_crud OK  0.49 test_endpoint_delete_404 OK  0.42 test_invalid_password OK  0.40 test_invalid_user_and_password OK  0.34 test_role_create_no_name OK  0.38 test_role_crud OK  0.46 test_role_delete_404 OK  0.35 test_role_get OK  0.41 test_role_get_404 OK  0.39 test_role_list OK  0.39 test_role_list_404 OK  0.42 test_roles_get_by_user OK  0.43 test_service_crud OK  0.52 test_service_delete_404 OK  0.63 test_service_get_404 OK  0.42 test_tenant_add_and_remove_user OK  0.51 test_tenant_create_no_name OK  0.37 test_tenant_create_update_and_delete OK  0.56 test_tenant_delete_404 OK  0.45 test_tenant_get_404 OK  0.41 test_tenant_list OK  0.47 test_tenant_list_limit OK  0.51 test_tenant_list_limit_bad_value OK  0.40 test_tenant_list_marker OK  0.54 test_tenant_list_marker_not_found OK  0.43 test_tenant_update_404 OK  0.36 test_token_expiry_maintained OK  1.46 test_tokens_after_user_update_passwd OK  0.46 test_user_can_update_passwd OK  0.50 test_user_cant_update_other_users_passwd OK  0.67 test_user_create_404 OK  0.41 test_user_create_no_name OK  0.38 test_user_create_update_delete OK  0.88 test_user_delete_404 OK  0.33 test_user_get OK  0.46 test_user_get_404 OK  0.45 test_user_list OK  0.37 test_user_list_404 OK  0.98 test_user_role_add_404 OK  0.49 test_user_role_remove_404 OK  0.44 test_user_update_404 OK  0.42 test_user_update_password_404 OK  0.41 test_user_update_tenant_404 SKIP AdminTokenAuthMiddlewareTest test_request_admin OK  0.00 test_request_non_admin OK  0.00 JsonBodyMiddlewareTest test_malformed_json OK  0.00 test_no_content_type OK  0.01 test_request_with_params OK  0.00 test_unrecognized_content_type OK  0.01 test_unrecognized_content_type_without_body OK  0.00 PostParamsMiddlewareTest test_request_with_params OK  0.01 TokenAuthMiddlewareTest test_request OK  0.00 XmlBodyMiddlewareTest test_client_fails_to_specify_accept OK  0.01 test_client_wants_json_back OK  0.00 test_client_wants_xml_back OK  0.01 test_json_unnaffected OK  0.00 test_xml_replaced_by_json OK  0.01 MigrateNovaAuth test_import OK  0.74 DefaultPolicyTestCase test_default_not_found OK  0.27 test_not_found_policy_calls_default OK  0.01 test_policy_called OK  0.01 PolicyFileTestCase test_modified_policy_reloads OK  0.01 PolicyTestCase test_early_AND_enforcement OK  0.00 test_early_OR_enforcement OK  0.01 test_enforce_bad_action_throws OK  0.00 test_enforce_good_action OK  0.01 test_enforce_http_false OK  0.00 test_enforce_http_true OK  0.01 test_enforce_nonexistent_action_throws OK  0.00 test_ignore_case_role_check OK  0.01 test_templatized_enforcement OK  0.00 S3TokenMiddlewareTest test_authorization_nova_toconnect OK  0.00 test_authorized OK  0.00 test_bad_token OK  0.00 test_fail_to_connect_to_keystone OK  0.00 test_no_path_request OK  0.00 test_with_bogus_authorization OK  0.00 test_without_auth_storage_token OK  0.00 test_without_authorization OK  0.00 XmlSerializerTestCase test_auth_request OK  0.01 test_none OK  0.01 test_role_crud OK  0.01 test_service_crud OK  0.01 test_tenant_crud OK  0.01 test_values_list OK  0.01 SetupTest test_mailmap_with_firstname OK  0.00 test_mailmap_with_fullname OK  0.00 test_mailmap_with_noname OK  0.00 test_str_dict_replace OK  0.00 SSLTestCase test_1way_ssl_ok OK  0.07 test_2way_ssl_fail OK  0.04 test_2way_ssl_ok OK  0.05 SwiftAuth test_anonymous_is_authorized_for_permitted_referrer OK  0.00 test_anonymous_is_not_authorized_for_unknown_reseller_prefix OK  0.00 test_blank_reseller_prefix OK  0.00 test_confirmed_identity_is_authorized OK  0.00 test_confirmed_identity_is_not_authorized OK  0.00 test_override_asked_for_and_allowed OK  0.00 test_override_asked_for_but_not_allowed OK  0.00 test_override_default_allowed OK  0.00 TestAuthorize test_authorize_fails_as_owner_for_tenant_owner_match OK  0.00 test_authorize_fails_for_invalid_referrer OK  0.00 test_authorize_fails_for_invalid_reseller_prefix OK  0.00 test_authorize_fails_for_referrer_without_rlistings OK  0.00 test_authorize_fails_for_unauthorized_user OK  0.00 test_authorize_succeeds_as_owner_for_operator_role OK  0.00 test_authorize_succeeds_as_owner_for_tenant_owner_match OK  0.00 test_authorize_succeeds_for_container_sync OK  0.00 test_authorize_succeeds_for_referrer_with_obj OK  0.00 test_authorize_succeeds_for_referrer_with_rlistings OK  0.00 test_authorize_succeeds_for_reseller_admin OK  0.00 test_authorize_succeeds_for_tenant_id_user_in_roles OK  0.00 test_authorize_succeeds_for_tenant_name_user_in_roles OK  0.00 test_authorize_succeeds_for_user_role_in_roles OK  0.00 UrlMiddlewareTest test_rewrite_empty_path OK  0.00 test_trailing_slash_normalization OK  0.01 UtilsTestCase test_auth_str_equal OK  0.00 test_hash OK  0.01 test_hash_edge_cases OK  0.01 test_hash_long_password OK  0.36 test_hash_unicode OK  0.01 VersionTestCase test_admin_versions OK  0.05 test_public_versions OK  0.05 ApplicationTest test_query_string_available OK  0.01 test_render_response OK  0.01 test_render_response_custom_headers OK  0.00 test_render_response_custom_status OK  0.00 test_render_response_no_body OK  0.00 test_response_content_type OK  0.01 ====================================================================== ERROR: test_fetch_revocation_list (test_auth_token_middleware.AuthTokenMiddlewareTest) ---------------------------------------------------------------------- Traceback (most recent call last): File "/home/klmitch/devel/src/keystone/tests/test_auth_token_middleware.py", line 490, in test_fetch_revocation_list fetched_list = jsonutils.loads(self.middleware.fetch_revocation_list()) File "/home/klmitch/devel/src/keystone/keystone/middleware/auth_token.py", line 782, in fetch_revocation_list return self.cms_verify(data['signed']) File "/home/klmitch/devel/src/keystone/keystone/middleware/auth_token.py", line 711, in cms_verify self.ca_file_name) File "/home/klmitch/devel/src/keystone/keystone/common/cms.py", line 23, in cms_verify output, err = process.communicate(formatted) File "/usr/lib/python2.6/subprocess.py", line 691, in communicate return self._communicate(input) File "/usr/lib/python2.6/subprocess.py", line 1222, in _communicate bytes_written = os.write(self.stdin.fileno(), chunk) OSError: [Errno 32] Broken pipe -------------------- >> begin captured logging << -------------------- keystone.middleware.auth_token: INFO: Starting keystone auth_token middleware keystone.middleware.auth_token: INFO: Using signing as cache directory for signing certificate --------------------- >> end captured logging << --------------------- ====================================================================== ERROR: test_get_revocation_list_returns_fetched_list (test_auth_token_middleware.AuthTokenMiddlewareTest) ---------------------------------------------------------------------- Traceback (most recent call last): File "/home/klmitch/devel/src/keystone/tests/test_auth_token_middleware.py", line 472, in test_get_revocation_list_returns_fetched_list self.assertEqual(self.middleware.token_revocation_list, File "/home/klmitch/devel/src/keystone/keystone/middleware/auth_token.py", line 759, in token_revocation_list self.token_revocation_list = self.fetch_revocation_list() File "/home/klmitch/devel/src/keystone/keystone/middleware/auth_token.py", line 769, in token_revocation_list self._token_revocation_list = jsonutils.loads(value) File "/home/klmitch/devel/src/keystone/keystone/openstack/common/jsonutils.py", line 132, in loads return json.loads(s) File "/usr/lib/python2.6/json/__init__.py", line 307, in loads return _default_decoder.decode(s) File "/usr/lib/python2.6/json/decoder.py", line 319, in decode obj, end = self.raw_decode(s, idx=_w(s, 0).end()) File "/usr/lib/python2.6/json/decoder.py", line 338, in raw_decode raise ValueError("No JSON object could be decoded") ValueError: No JSON object could be decoded -------------------- >> begin captured logging << -------------------- keystone.middleware.auth_token: INFO: Starting keystone auth_token middleware keystone.middleware.auth_token: INFO: Using signing as cache directory for signing certificate --------------------- >> end captured logging << --------------------- ====================================================================== FAIL: test_default_tenant_signed_token (test_auth_token_middleware.AuthTokenMiddlewareTest) ---------------------------------------------------------------------- Traceback (most recent call last): File "/home/klmitch/devel/src/keystone/tests/test_auth_token_middleware.py", line 399, in test_default_tenant_signed_token self.assert_unscoped_default_tenant_auto_scopes(SIGNED_TOKEN_SCOPED) File "/home/klmitch/devel/src/keystone/tests/test_auth_token_middleware.py", line 392, in assert_unscoped_default_tenant_auto_scopes self.assertEqual(self.response_status, 200) AssertionError: 401 != 200 -------------------- >> begin captured logging << -------------------- keystone.middleware.auth_token: INFO: Starting keystone auth_token middleware keystone.middleware.auth_token: INFO: Using signing as cache directory for signing certificate keystone.middleware.auth_token: DEBUG: Authenticating user token keystone.middleware.auth_token: DEBUG: Removing headers from request environment: X-Identity-Status,X-Tenant-Id,X-Tenant-Name,X-User-Id,X-User-Name,X-Roles,X-Service-Catalog,X-User,X-Tenant,X-Role keystone.middleware.auth_token: DEBUG: Token validation failure. Traceback (most recent call last): File "/home/klmitch/devel/src/keystone/keystone/middleware/auth_token.py", line 479, in _validate_user_token verified = self.verify_signed_token(user_token) File "/home/klmitch/devel/src/keystone/keystone/middleware/auth_token.py", line 728, in verify_signed_token return self.cms_verify(formatted) File "/home/klmitch/devel/src/keystone/keystone/middleware/auth_token.py", line 711, in cms_verify self.ca_file_name) File "/home/klmitch/devel/src/keystone/keystone/common/cms.py", line 23, in cms_verify output, err = process.communicate(formatted) File "/usr/lib/python2.6/subprocess.py", line 691, in communicate return self._communicate(input) File "/usr/lib/python2.6/subprocess.py", line 1222, in _communicate bytes_written = os.write(self.stdin.fileno(), chunk) OSError: [Errno 32] Broken pipe keystone.middleware.auth_token: WARNING: Authorization failed for token MIIG7QYJKoZIhvcNAQcCoIIG3jCCBtoCAQExCTAHBgUrDgMCGjCCBc4GCSqGSIb3DQEHAaCCBb8EggW7eyJhY2Nlc3MiOiB7InNlcnZpY2VDYXRhbG9nIjogW3siZW5kcG9pbnRzIjogW3siYWRtaW5VUkwiOiAiaHR0cDovLzEyNy4wLjAuMTo4Nzc2L3YxLzY0YjZmM2ZiY2M1MzQzNWU4YTYwZmNmODliYjY2MTdhIiwgInJlZ2lvbiI6ICJyZWdpb25PbmUiLCAiaW50ZXJuYWxVUkwiOiAiaHR0cDovLzEyNy4wLjAuMTo4Nzc2L3YxLzY0YjZmM2ZiY2M1MzQzNWU4YTYwZmNmODliYjY2MTdhIiwgInB1YmxpY1VSTCI6ICJodHRwOi8vMTI3LjAuMC4xOjg3NzYvdjEvNjRiNmYzZmJjYzUzN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ICJlbmRwb2ludHNfbGlua3MiOiBbXSwgInR5cGUiOiAiaWRlbnRpdHkiLCAibmFtZSI6ICJrZXlzdG9uZSJ9XSwidG9rZW4iOiB7ImV4cGlyZXMiOiAiMjAxMi0wNi0wMlQxNDo0NzozNFoiLCAiaWQiOiAicGxhY2Vob2xkZXIiLCAidGVuYW50IjogeyJlbmFibGVkIjogdHJ1ZSwgImRlc2NyaXB0aW9uIjogbnVsbCwgIm5hbWUiOiAidGVuYW50X25hbWUxIiwgImlkIjogInRlbmFudF9pZDEifX0sICJ1c2VyIjogeyJ1c2VybmFtZSI6ICJ1c2VyX25hbWUxIiwgInJvbGVzX2xpbmtzIjogWyJyb2xlMSIsInJvbGUyIl0sICJpZCI6ICJ1c2VyX2lkMSIsICJyb2xlcyI6IFt7Im5hbWUiOiAicm9sZTEifSwgeyJuYW1lIjogInJvbGUyIn1dLCAibmFtZSI6ICJ1c2VyX25hbWUxIn19fQ0KMYH3MIH0AgEBMFQwTzEVMBMGA1UEChMMUmVkIEhhdCwgSW5jMREwDwYDVQQHEwhXZXN0Zm9yZDEWMBQGA1UECBMNTWFzc2FjaHVzZXR0czELMAkGA1UEBhMCVVMCAQEwBwYFKw4DAhowDQYJKoZIhvcNAQEBBQAEgYAD6hPEpc-0wHe3rYDBFec52h7gxdbrTNEN7jmwdFtoxw0QnucmCREh9IUikJ2ob0c0uUC6cmNPajD9aFkGWhvNswNH2W2BYzUiC3CHM7U07nsIe3OOatqyUAyoQUhHZnIAx1tOgdPBVflnrtdIV1vkdqxednlJZ52Hxob2PP3hxg== keystone.middleware.auth_token: INFO: Invalid user token - rejecting request --------------------- >> end captured logging << --------------------- ====================================================================== FAIL: test_memcache_set_expired (test_auth_token_middleware.AuthTokenMiddlewareTest) ---------------------------------------------------------------------- Traceback (most recent call last): File "/home/klmitch/devel/src/keystone/tests/test_auth_token_middleware.py", line 545, in test_memcache_set_expired self.assertEqual(len(self.middleware._cache.set_value), 2) AssertionError: 7 != 2 -------------------- >> begin captured logging << -------------------- keystone.middleware.auth_token: INFO: Starting keystone auth_token middleware keystone.middleware.auth_token: INFO: Using signing as cache directory for signing certificate keystone.middleware.auth_token: DEBUG: Authenticating user token keystone.middleware.auth_token: DEBUG: Removing headers from request environment: X-Identity-Status,X-Tenant-Id,X-Tenant-Name,X-User-Id,X-User-Name,X-Roles,X-Service-Catalog,X-User,X-Tenant,X-Role keystone.middleware.auth_token: DEBUG: Cached Token MIIG7QYJKoZIhvcNAQcCoIIG3jCCBtoCAQExCTAHBgUrDgMCGjCCBc4GCSqGSIb3DQEHAaCCBb8EggW7eyJhY2Nlc3MiOiB7InNlcnZpY2VDYXRhbG9nIjogW3siZW5kcG9pbnRzIjogW3siYWRtaW5VUkwiOiAiaHR0cDovLzEyNy4wLjAuMTo4Nzc2L3YxLzY0YjZmM2ZiY2M1MzQzNWU4YTYwZmNmODliYjY2MTdhIiwgInJlZ2lvbiI6ICJyZWdpb25PbmUiLCAiaW50ZXJuYWxVUkwiOiAiaHR0cDovLzEyNy4wLjAuMTo4Nzc2L3YxLzY0YjZmM2ZiY2M1MzQzNWU4YTYwZmNmODliYjY2MTdhIiwgInB1YmxpY1VSTCI6ICJodHRwOi8vMTI3LjAuMC4xOjg3NzYvdjEvNjRiNmYzZmJjYzUzNDM1ZThhNjBmY2Y4OWJiNjYxN2EifV0sICJlbmRwb2ludHNfbGlua3MiOiBbXSwgInR5cGUiOiAidm9sdW1lIiwgIm5hbWUiOiAidm9sdW1lIn0sIHsiZW5kcG9pbnRzIjogW3siYWRtaW5VUkwiOiAiaHR0cDovLzEyNy4wLjAuMTo5MjkyL3YxIiwgInJlZ2lvbiI6ICJyZWdpb25PbmUiLCAiaW50ZXJuYWxVUkwiOiAiaHR0cDovLzEyNy4wLjAuMTo5MjkyL3YxIiwgInB1YmxpY1VSTCI6ICJodHRwOi8vMTI3LjAuMC4xOjkyOTIvdjEifV0sICJlbmRwb2ludHNfbGlua3MiOiBbXSwgInR5cGUiOiAiaW1hZ2UiLCA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JpZCI6ICJ1c2VyX2lkMSIsICJyb2xlcyI6IFt7Im5hbWUiOiAicm9sZTEifSwgeyJuYW1lIjogInJvbGUyIn1dLCAibmFtZSI6ICJ1c2VyX25hbWUxIn19fQ0KMYH3MIH0AgEBMFQwTzEVMBMGA1UEChMMUmVkIEhhdCwgSW5jMREwDwYDVQQHEwhXZXN0Zm9yZDEWMBQGA1UECBMNTWFzc2FjaHVzZXR0czELMAkGA1UEBhMCVVMCAQEwBwYFKw4DAhowDQYJKoZIhvcNAQEBBQAEgYAD6hPEpc-0wHe3rYDBFec52h7gxdbrTNEN7jmwdFtoxw0QnucmCREh9IUikJ2ob0c0uUC6cmNPajD9aFkGWhvNswNH2W2BYzUiC3CHM7U07nsIe3OOatqyUAyoQUhHZnIAx1tOgdPBVflnrtdIV1vkdqxednlJZ52Hxob2PP3hxg== seems expired keystone.middleware.auth_token: DEBUG: Token validation failure. Traceback (most recent call last): File "/home/klmitch/devel/src/keystone/keystone/middleware/auth_token.py", line 480, in _validate_user_token data = json.loads(verified) File "/usr/lib/python2.6/json/__init__.py", line 307, in loads return _default_decoder.decode(s) File "/usr/lib/python2.6/json/decoder.py", line 319, in decode obj, end = self.raw_decode(s, idx=_w(s, 0).end()) File "/usr/lib/python2.6/json/decoder.py", line 338, in raw_decode raise ValueError("No JSON object could be decoded") ValueError: No JSON object could be decoded keystone.middleware.auth_token: DEBUG: Marking token MIIG7QYJKoZIhvcNAQcCoIIG3jCCBtoCAQExCTAHBgUrDgMCGjCCBc4GCSqGSIb3DQEHAaCCBb8EggW7eyJhY2Nlc3MiOiB7InNlcnZpY2VDYXRhbG9nIjogW3siZW5kcG9pbnRzIjogW3siYWRtaW5VUkwiOiAiaHR0cDovLzEyNy4wLjAuMTo4Nzc2L3YxLzY0YjZmM2ZiY2M1MzQzNWU4YTYwZmNmODliYjY2MTdhIiwgInJlZ2lvbiI6ICJyZWdpb25PbmUiLCAiaW50ZXJuYWxVUkwiOiAiaHR0cDovLzEyNy4wLjAu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UmVnaW9uT25lIiwgImludGVybmFsVVJMIjogImh0dHA6Ly8xMjcuMC4wLjE6MzUzNTcvdjIuMCIsICJwdWJsaWNVUkwiOiAiaHR0cDovLzEyNy4wLjAuMTo1MDAwL3YyLjAifV0sICJlbmRwb2ludHNfbGlua3MiOiBbXSwgInR5cGUiOiAiaWRlbnRpdHkiLCAibmFtZSI6ICJrZXlzdG9uZSJ9XSwidG9rZW4iOiB7ImV4cGlyZXMiOiAiMjAxMi0wNi0wMlQxNDo0NzozNFoiLCAiaWQiOiAicGxhY2Vob2xkZXIiLCAidGVuYW50IjogeyJlbmFibGVkIjogdHJ1ZSwgImRlc2NyaXB0aW9uIjogbnVsbCwgIm5hbWUiOiAidGVuYW50X25hbWUxIiwgImlkIjogInRlbmFudF9pZDEifX0sICJ1c2VyIjogeyJ1c2VybmFtZSI6ICJ1c2VyX25hbWUxIiwgInJvbGVzX2xpbmtzIjogWyJyb2xlMSIsInJvbGUyIl0sICJpZCI6ICJ1c2VyX2lkMSIsICJyb2xlcyI6IFt7Im5hbWUiOiAicm9sZTEifSwgeyJuYW1lIjogInJvbGUyIn1dLCAibmFtZSI6ICJ1c2VyX25hbWUxIn19fQ0KMYH3MIH0AgEBMFQwTzEVMBMGA1UEChMMUmVkIEhhdCwgSW5jMREwDwYDVQQHEwhXZXN0Zm9yZDEWMBQGA1UECBMNTWFzc2FjaHVzZXR0czELMAkGA1UEBhMCVVMCAQEwBwYFKw4DAhowDQYJKoZIhvcNAQEBBQAEgYAD6hPEpc-0wHe3rYDBFec52h7gxdbrTNEN7jmwdFtoxw0QnucmCREh9IUikJ2ob0c0uUC6cmNPajD9aFkGWhvNswNH2W2BYzUiC3CHM7U07nsIe3OOatqyUAyoQUhHZnIAx1tOgdPBVflnrtdIV1vkdqxednlJZ52Hxob2PP3hxg== as unauthorized in memcache keystone.middleware.auth_token: WARNING: Authorization failed for token MIIG7QYJKoZIhvcNAQcCoIIG3jCCBtoCAQExCTAHBgUrDgMCGjCCBc4GC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c-0wHe3rYDBFec52h7gxdbrTNEN7jmwdFtoxw0QnucmCREh9IUikJ2ob0c0uUC6cmNPajD9aFkGWhvNswNH2W2BYzUiC3CHM7U07nsIe3OOatqyUAyoQUhHZnIAx1tOgdPBVflnrtdIV1vkdqxednlJZ52Hxob2PP3hxg== keystone.middleware.auth_token: INFO: Invalid user token - rejecting request --------------------- >> end captured logging << --------------------- ====================================================================== FAIL: test_valid_signed_request (test_auth_token_middleware.AuthTokenMiddlewareTest) ---------------------------------------------------------------------- Traceback (most recent call last): File "/home/klmitch/devel/src/keystone/tests/test_auth_token_middleware.py", line 377, in test_valid_signed_request self.assert_valid_request_200(SIGNED_TOKEN_SCOPED) File "/home/klmitch/devel/src/keystone/tests/test_auth_token_middleware.py", line 366, in assert_valid_request_200 self.assertEqual(self.response_status, 200) AssertionError: 401 != 200 -------------------- >> begin captured logging << -------------------- keystone.middleware.auth_token: INFO: Starting keystone auth_token middleware keystone.middleware.auth_token: INFO: Using signing as cache directory for signing certificate keystone.middleware.auth_token: DEBUG: Authenticating user token keystone.middleware.auth_token: DEBUG: Removing headers from request environment: X-Identity-Status,X-Tenant-Id,X-Tenant-Name,X-User-Id,X-User-Name,X-Roles,X-Service-Catalog,X-User,X-Tenant,X-Role keystone.middleware.auth_token: DEBUG: Token validation failure. Traceback (most recent call last): File "/home/klmitch/devel/src/keystone/keystone/middleware/auth_token.py", line 479, in _validate_user_token verified = self.verify_signed_token(user_token) File "/home/klmitch/devel/src/keystone/keystone/middleware/auth_token.py", line 728, in verify_signed_token return self.cms_verify(formatted) File "/home/klmitch/devel/src/keystone/keystone/middleware/auth_token.py", line 711, in cms_verify self.ca_file_name) File "/home/klmitch/devel/src/keystone/keystone/common/cms.py", line 23, in cms_verify output, err = process.communicate(formatted) File "/usr/lib/python2.6/subprocess.py", line 691, in communicate return self._communicate(input) File "/usr/lib/python2.6/subprocess.py", line 1222, in _communicate bytes_written = os.write(self.stdin.fileno(), chunk) OSError: [Errno 32] Broken pipe keystone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NTWFzc2FjaHVzZXR0czELMAkGA1UEBhMCVVMCAQEwBwYFKw4DAhowDQYJKoZIhvcNAQEBBQAEgYAD6hPEpc-0wHe3rYDBFec52h7gxdbrTNEN7jmwdFtoxw0QnucmCREh9IUikJ2ob0c0uUC6cmNPajD9aFkGWhvNswNH2W2BYzUiC3CHM7U07nsIe3OOatqyUAyoQUhHZnIAx1tOgdPBVflnrtdIV1vkdqxednlJZ52Hxob2PP3hxg== keystone.middleware.auth_token: INFO: Invalid user token - rejecting request --------------------- >> end captured logging << --------------------- Slowest 5 tests took 35.61 secs:  11.09 KcEssex3TestCase.test_admin_requires_adminness  11.05 KcMasterTestCase.test_admin_requires_adminness  10.92 Kc11TestCase.test_admin_requires_adminness  1.46 KcMasterSqlTestCase.test_token_expiry_maintained  1.09 Kc11TestCase.test_token_expiry_maintained ---------------------------------------------------------------------- Ran 653 tests in 111.518s FAILED (SKIP=13, errors=2, failures=3) [TOX] ERROR: InvocationError: '/bin/bash run_tests.sh -N --no-pep8' ______________________________ [tox testenv:pep8] ______________________________ [TOX] ***reusing existing matching virtualenv pep8 [TOX] ***upgrade-installing sdist [TOX] /home/klmitch/devel/src/keystone/.tox/pep8/log$ ../bin/pip install --download-cache=/home/klmitch/devel/src/keystone/.tox/_download /home/klmitch/devel/src/keystone/.tox/dist/keystone-2012.2.zip -U --no-deps >3.log [TOX] /home/klmitch/devel/src/keystone$ .tox/pep8/bin/pep8 --exclude=vcsversion.py,*.pyc --repeat --show-source bin doc httpd keystone setup.py tests ________________________________ [tox summary] _________________________________ [TOX] ERROR: py26: commands failed [TOX] pep8: commands succeeded