[Openstack-stable-maint] Build failed in Jenkins: periodic-keystone-python27-stable-essex #87

OpenStack Jenkins jenkins at openstack.org
Fri Nov 9 00:04:40 UTC 2012


See <https://jenkins.openstack.org/job/periodic-keystone-python27-stable-essex/87/>

------------------------------------------
[...truncated 328 lines...]
    test_xml_replaced_by_json                                   OK  0.00
Failure
    runTest                                                     ERROR
DefaultPolicyTestCase
    test_default_not_found                                      OK  0.00
    test_not_found_policy_calls_default                         OK  0.00
    test_policy_called                                          OK  0.00
PolicyFileTestCase
    test_modified_policy_reloads                                OK  0.00
PolicyTestCase
    test_early_AND_enforcement                                  OK  0.00
    test_early_OR_enforcement                                   OK  0.00
    test_enforce_bad_action_throws                              OK  0.00
    test_enforce_good_action                                    OK  0.00
    test_enforce_http_false                                     OK  0.00
    test_enforce_http_true                                      OK  0.00
    test_enforce_nonexistent_action_throws                      OK  0.00
    test_ignore_case_role_check                                 OK  0.00
    test_templatized_enforcement                                OK  0.00
S3TokenMiddlewareTest
    test_authorization_nova_toconnect                           OK  0.00
    test_authorized                                             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.00
    test_none                                                   OK  0.00
    test_role_crud                                              OK  0.00
    test_service_crud                                           OK  0.00
    test_tenant_crud                                            OK  0.00
    test_values_list                                            OK  0.00
SwiftAuth
    test_anonymous_is_authorized_for_permitted_referrer         OK  0.00
    test_anonymous_is_not_authorized_for_unknown_reseller_prefixOK  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
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_user_in_roles            OK  0.00
    test_authorize_succeeds_for_user_role_in_roles              OK  0.00
UtilsTestCase
    test_auth_str_equal                                         OK  0.00
    test_hash                                                   OK  0.01
    test_hash_edge_cases                                        OK  0.00
    test_hash_long_password                                     OK  0.35
    test_hash_unicode                                           OK  0.01
    test_isotime                                                OK  0.00
VersionTestCase
    test_admin_versions                                         OK  0.06
    test_public_versions                                        OK  0.06
ApplicationTest
    test_query_string_available                                 OK  0.00
    test_response_content_type                                  OK  0.00

======================================================================
ERROR: Failure: ImportError (cannot import name exceptions)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "<https://jenkins.openstack.org/job/periodic-keystone-python27-stable-essex/ws/.tox/py27/local/lib/python2.7/site-packages/nose/loader.py",> line 390, in loadTestsFromName
    addr.filename, addr.module)
  File "<https://jenkins.openstack.org/job/periodic-keystone-python27-stable-essex/ws/.tox/py27/local/lib/python2.7/site-packages/nose/importer.py",> line 39, in importFromPath
    return self.importFromDir(dir_path, fqname)
  File "<https://jenkins.openstack.org/job/periodic-keystone-python27-stable-essex/ws/.tox/py27/local/lib/python2.7/site-packages/nose/importer.py",> line 86, in importFromDir
    mod = load_module(part_fqname, fh, filename, desc)
  File "<https://jenkins.openstack.org/job/periodic-keystone-python27-stable-essex/ws/tests/test_backend_sql.py",> line 19, in <module>
    from keystone.common.sql import util as sql_util
  File "<https://jenkins.openstack.org/job/periodic-keystone-python27-stable-essex/ws/keystone/common/sql/util.py",> line 20, in <module>
    from keystone.common.sql import migration
  File "<https://jenkins.openstack.org/job/periodic-keystone-python27-stable-essex/ws/keystone/common/sql/migration.py",> line 24, in <module>
    from migrate.versioning import api as versioning_api
  File "<https://jenkins.openstack.org/job/periodic-keystone-python27-stable-essex/ws/.tox/py27/local/lib/python2.7/site-packages/migrate/versioning/api.py",> line 33, in <module>
    from migrate.versioning import (repository, schema, version,
  File "<https://jenkins.openstack.org/job/periodic-keystone-python27-stable-essex/ws/.tox/py27/local/lib/python2.7/site-packages/migrate/versioning/schema.py",> line 10, in <module>
    from sqlalchemy import exceptions as sa_exceptions
ImportError: cannot import name exceptions

======================================================================
ERROR: Failure: ImportError (cannot import name exceptions)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "<https://jenkins.openstack.org/job/periodic-keystone-python27-stable-essex/ws/.tox/py27/local/lib/python2.7/site-packages/nose/loader.py",> line 390, in loadTestsFromName
    addr.filename, addr.module)
  File "<https://jenkins.openstack.org/job/periodic-keystone-python27-stable-essex/ws/.tox/py27/local/lib/python2.7/site-packages/nose/importer.py",> line 39, in importFromPath
    return self.importFromDir(dir_path, fqname)
  File "<https://jenkins.openstack.org/job/periodic-keystone-python27-stable-essex/ws/.tox/py27/local/lib/python2.7/site-packages/nose/importer.py",> line 86, in importFromDir
    mod = load_module(part_fqname, fh, filename, desc)
  File "<https://jenkins.openstack.org/job/periodic-keystone-python27-stable-essex/ws/tests/test_import_legacy.py",> line 24, in <module>
    from keystone.common.sql import legacy
  File "<https://jenkins.openstack.org/job/periodic-keystone-python27-stable-essex/ws/keystone/common/sql/legacy.py",> line 23, in <module>
    from keystone.contrib.ec2.backends import sql as ec2_sql
  File "<https://jenkins.openstack.org/job/periodic-keystone-python27-stable-essex/ws/keystone/contrib/ec2/backends/sql.py",> line 18, in <module>
    from keystone.common.sql import migration
  File "<https://jenkins.openstack.org/job/periodic-keystone-python27-stable-essex/ws/keystone/common/sql/migration.py",> line 24, in <module>
    from migrate.versioning import api as versioning_api
  File "<https://jenkins.openstack.org/job/periodic-keystone-python27-stable-essex/ws/.tox/py27/local/lib/python2.7/site-packages/migrate/versioning/api.py",> line 33, in <module>
    from migrate.versioning import (repository, schema, version,
  File "<https://jenkins.openstack.org/job/periodic-keystone-python27-stable-essex/ws/.tox/py27/local/lib/python2.7/site-packages/migrate/versioning/schema.py",> line 10, in <module>
    from sqlalchemy import exceptions as sa_exceptions
ImportError: cannot import name exceptions

======================================================================
ERROR: Failure: ImportError (cannot import name exceptions)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "<https://jenkins.openstack.org/job/periodic-keystone-python27-stable-essex/ws/.tox/py27/local/lib/python2.7/site-packages/nose/loader.py",> line 390, in loadTestsFromName
    addr.filename, addr.module)
  File "<https://jenkins.openstack.org/job/periodic-keystone-python27-stable-essex/ws/.tox/py27/local/lib/python2.7/site-packages/nose/importer.py",> line 39, in importFromPath
    return self.importFromDir(dir_path, fqname)
  File "<https://jenkins.openstack.org/job/periodic-keystone-python27-stable-essex/ws/.tox/py27/local/lib/python2.7/site-packages/nose/importer.py",> line 86, in importFromDir
    mod = load_module(part_fqname, fh, filename, desc)
  File "<https://jenkins.openstack.org/job/periodic-keystone-python27-stable-essex/ws/tests/test_keystoneclient_sql.py",> line 21, in <module>
    from keystone.common.sql import util as sql_util
  File "<https://jenkins.openstack.org/job/periodic-keystone-python27-stable-essex/ws/keystone/common/sql/util.py",> line 20, in <module>
    from keystone.common.sql import migration
  File "<https://jenkins.openstack.org/job/periodic-keystone-python27-stable-essex/ws/keystone/common/sql/migration.py",> line 24, in <module>
    from migrate.versioning import api as versioning_api
  File "<https://jenkins.openstack.org/job/periodic-keystone-python27-stable-essex/ws/.tox/py27/local/lib/python2.7/site-packages/migrate/versioning/api.py",> line 33, in <module>
    from migrate.versioning import (repository, schema, version,
  File "<https://jenkins.openstack.org/job/periodic-keystone-python27-stable-essex/ws/.tox/py27/local/lib/python2.7/site-packages/migrate/versioning/schema.py",> line 10, in <module>
    from sqlalchemy import exceptions as sa_exceptions
ImportError: cannot import name exceptions

======================================================================
ERROR: Failure: ImportError (cannot import name exceptions)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "<https://jenkins.openstack.org/job/periodic-keystone-python27-stable-essex/ws/.tox/py27/local/lib/python2.7/site-packages/nose/loader.py",> line 390, in loadTestsFromName
    addr.filename, addr.module)
  File "<https://jenkins.openstack.org/job/periodic-keystone-python27-stable-essex/ws/.tox/py27/local/lib/python2.7/site-packages/nose/importer.py",> line 39, in importFromPath
    return self.importFromDir(dir_path, fqname)
  File "<https://jenkins.openstack.org/job/periodic-keystone-python27-stable-essex/ws/.tox/py27/local/lib/python2.7/site-packages/nose/importer.py",> line 86, in importFromDir
    mod = load_module(part_fqname, fh, filename, desc)
  File "<https://jenkins.openstack.org/job/periodic-keystone-python27-stable-essex/ws/tests/test_migrate_nova_auth.py",> line 19, in <module>
    from keystone.common.sql import nova
  File "<https://jenkins.openstack.org/job/periodic-keystone-python27-stable-essex/ws/keystone/common/sql/nova.py",> line 22, in <module>
    from keystone.contrib.ec2.backends import sql as ec2_sql
  File "<https://jenkins.openstack.org/job/periodic-keystone-python27-stable-essex/ws/keystone/contrib/ec2/backends/sql.py",> line 18, in <module>
    from keystone.common.sql import migration
  File "<https://jenkins.openstack.org/job/periodic-keystone-python27-stable-essex/ws/keystone/common/sql/migration.py",> line 24, in <module>
    from migrate.versioning import api as versioning_api
  File "<https://jenkins.openstack.org/job/periodic-keystone-python27-stable-essex/ws/.tox/py27/local/lib/python2.7/site-packages/migrate/versioning/api.py",> line 33, in <module>
    from migrate.versioning import (repository, schema, version,
  File "<https://jenkins.openstack.org/job/periodic-keystone-python27-stable-essex/ws/.tox/py27/local/lib/python2.7/site-packages/migrate/versioning/schema.py",> line 10, in <module>
    from sqlalchemy import exceptions as sa_exceptions
ImportError: cannot import name exceptions

----------------------------------------------------------------------
XML: nosetests.xml
----------------------------------------------------------------------
Ran 324 tests in 18.250s

FAILED (SKIP=11, errors=4)
Slowest 5 tests took 6.86 secs:
    2.20       test_admin_requires_adminness (test_keystoneclient.KcMasterTestCase)
    2.17       test_admin_requires_adminness (test_keystoneclient.KcEssex3TestCase)
    1.07       test_token_expiry_maintained (test_keystoneclient.KcMasterTestCase)
    1.07       test_token_expiry_maintained (test_keystoneclient.KcEssex3TestCase)
    0.35       test_hash_long_password (test_utils.UtilsTestCase)
ERROR: InvocationError: '/bin/bash run_tests.sh -N --no-pep8'
___________________________________ summary ____________________________________
ERROR:   py27: commands failed
+ result=1
+ echo 'Begin pip freeze output from test virtualenv:'
Begin pip freeze output from test virtualenv:
+ echo ======================================================================
======================================================================
+ .tox/py27/bin/pip freeze
Jinja2==2.6
Paste==1.7.5.1
PasteDeploy==1.5.0
Pygments==1.5
Routes==1.13
SQLAlchemy==0.8.0b1
Sphinx==1.1.3
Tempita==0.5.1
WebOb==1.0.8
WebTest==1.4.0
argparse==1.2.1
colorama==0.2.4
coverage==3.5.3
decorator==3.4.0
distribute==0.6.28
docutils==0.9.1
eventlet==0.9.17
greenlet==0.4.0
httplib2==0.7.6
iso8601==0.1.4
keystone==2012.1.4
logilab-astng==0.24.1
logilab-common==0.58.1
lxml==3.0.1
mox==0.5.3
netifaces==0.8
nose==1.2.1
nosexcover==1.0.7
openstack.nose-plugin==0.11
pam==0.1.4
passlib==1.6.1
pep8==1.0.1
prettytable==0.6.1
pylint==0.26.0
-e git+https://github.com/openstack/python-keystoneclient.git@d471f65231427d54c329697982533e6868b7cdb1#egg=python_keystoneclient-dev
python-ldap==2.3.13
python-memcached==1.48
repoze.lru==0.6
simplejson==2.6.2
sqlalchemy-migrate==0.7.2
-e git+https://github.com/openstack/swift.git@65554ea32f0b35b7ba623dccb92489f556d89efa#egg=swift-dev
termcolor==1.1.0
unittest2==0.5.1
wsgiref==0.1.2
+ echo ======================================================================
======================================================================
+ sudo /usr/local/jenkins/slave_scripts/jenkins-sudo-grep.sh post
+ sudoresult=0
+ '[' 0 -ne 0 ']'
+ /usr/local/jenkins/slave_scripts/jenkins-oom-grep.sh post
+ oomresult=0
+ '[' 0 -ne 0 ']'
++ find . -name nose_results.html
+ htmlreport=
+ '[' -f '' ']'
+ echo

+ echo 'WARNING: Unable to find  to confirm results!'
WARNING: Unable to find  to confirm results!
+ echo

+ exit 1
Build step 'Execute shell' marked build as failure
[SCP] Connecting to static.openstack.org
[SCP] No file(s) found: **/*nose_results.html
[SCP] '**/*nose_results.html' doesn't match anything: '**' exists but not '**/*nose_results.html'
[SCP] Connecting to static.openstack.org
[SCP] Trying to create /srv/static/logs/periodic/periodic-keystone-python27-stable-essex/87
[SCP] Copying console log.



More information about the Openstack-stable-maint mailing list