[Openstack-stable-maint] Build failed in Jenkins: periodic-horizon-python27-stable-folsom #287

OpenStack Jenkins jenkins at openstack.org
Mon Jul 15 06:07:46 UTC 2013


See <https://jenkins.openstack.org/job/periodic-horizon-python27-stable-folsom/287/>

------------------------------------------
[...truncated 8993 lines...]
  File "<https://jenkins.openstack.org/job/periodic-horizon-python27-stable-folsom/ws/horizon/tests/workflows_tests.py",> line 204, in test_workflow_finalization
    self.assertTrue(flow.finalize())
  File "<https://jenkins.openstack.org/job/periodic-horizon-python27-stable-folsom/ws/horizon/workflows/base.py",> line 747, in finalize
    exceptions.handle(self.request)
  File "<https://jenkins.openstack.org/job/periodic-horizon-python27-stable-folsom/ws/horizon/workflows/base.py",> line 738, in finalize
    data = step.action.handle(self.request, self.context)
  File "<https://jenkins.openstack.org/job/periodic-horizon-python27-stable-folsom/ws/horizon/workflows/base.py",> line 361, in action
    context)
  File "<https://jenkins.openstack.org/job/periodic-horizon-python27-stable-folsom/ws/horizon/workflows/base.py",> line 141, in __init__
    self._populate_choices(request, context)
  File "<https://jenkins.openstack.org/job/periodic-horizon-python27-stable-folsom/ws/horizon/workflows/base.py",> line 153, in _populate_choices
    bound_field.choices = meth(request, context)
  File "<https://jenkins.openstack.org/job/periodic-horizon-python27-stable-folsom/ws/horizon/tests/workflows_tests.py",> line 48, in populate_project_id_choices
    request.user.authorized_tenants]
  File "<https://jenkins.openstack.org/job/periodic-horizon-python27-stable-folsom/ws/.tox/py27/local/lib/python2.7/site-packages/django/utils/functional.py",> line 185, in inner
    return func(self._wrapped, *args)
  File "<https://jenkins.openstack.org/job/periodic-horizon-python27-stable-folsom/ws/.tox/py27/local/lib/python2.7/site-packages/openstack_auth/user.py",> line 214, in authorized_tenants
    if self.is_authenticated() and self._authorized_tenants is None:
  File "<https://jenkins.openstack.org/job/periodic-horizon-python27-stable-folsom/ws/.tox/py27/local/lib/python2.7/site-packages/openstack_auth/user.py",> line 189, in is_authenticated
    return self.token is not None and check_token_expiration(self.token)
  File "<https://jenkins.openstack.org/job/periodic-horizon-python27-stable-folsom/ws/.tox/py27/local/lib/python2.7/site-packages/openstack_auth/utils.py",> line 55, in check_token_expiration
    if settings.USE_TZ and timezone.is_naive(expiration):
  File "<https://jenkins.openstack.org/job/periodic-horizon-python27-stable-folsom/ws/.tox/py27/local/lib/python2.7/site-packages/django/utils/timezone.py",> line 261, in is_naive
    return value.tzinfo is None or value.tzinfo.utcoffset(value) is None
AttributeError: 'str' object has no attribute 'tzinfo'

======================================================================
ERROR: test_workflow_render (horizon.tests.workflows_tests.WorkflowsTests)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "<https://jenkins.openstack.org/job/periodic-horizon-python27-stable-folsom/ws/horizon/tests/workflows_tests.py",> line 230, in test_workflow_render
    output = http.HttpResponse(flow.render())
  File "<https://jenkins.openstack.org/job/periodic-horizon-python27-stable-folsom/ws/horizon/workflows/base.py",> line 791, in render
    return workflow_template.render(context)
  File "<https://jenkins.openstack.org/job/periodic-horizon-python27-stable-folsom/ws/.tox/py27/local/lib/python2.7/site-packages/django/template/base.py",> line 140, in render
    return self._render(context)
  File "<https://jenkins.openstack.org/job/periodic-horizon-python27-stable-folsom/ws/.tox/py27/local/lib/python2.7/site-packages/django/test/utils.py",> line 62, in instrumented_test_render
    return self.nodelist.render(context)
  File "<https://jenkins.openstack.org/job/periodic-horizon-python27-stable-folsom/ws/.tox/py27/local/lib/python2.7/site-packages/django/template/base.py",> line 823, in render
    bit = self.render_node(node, context)
  File "<https://jenkins.openstack.org/job/periodic-horizon-python27-stable-folsom/ws/.tox/py27/local/lib/python2.7/site-packages/django/template/base.py",> line 837, in render_node
    return node.render(context)
  File "<https://jenkins.openstack.org/job/periodic-horizon-python27-stable-folsom/ws/.tox/py27/local/lib/python2.7/site-packages/django/template/defaulttags.py",> line 474, in render
    self.extra_context.iteritems()])
  File "<https://jenkins.openstack.org/job/periodic-horizon-python27-stable-folsom/ws/.tox/py27/local/lib/python2.7/site-packages/django/template/base.py",> line 571, in resolve
    obj = self.var.resolve(context)
  File "<https://jenkins.openstack.org/job/periodic-horizon-python27-stable-folsom/ws/.tox/py27/local/lib/python2.7/site-packages/django/template/base.py",> line 721, in resolve
    value = self._resolve_lookup(context)
  File "<https://jenkins.openstack.org/job/periodic-horizon-python27-stable-folsom/ws/.tox/py27/local/lib/python2.7/site-packages/django/template/base.py",> line 772, in _resolve_lookup
    current = current()
  File "<https://jenkins.openstack.org/job/periodic-horizon-python27-stable-folsom/ws/horizon/workflows/base.py",> line 659, in get_entry_point
    step._verify_contributions(self.context)
  File "<https://jenkins.openstack.org/job/periodic-horizon-python27-stable-folsom/ws/horizon/workflows/base.py",> line 386, in _verify_contributions
    field = self.action.fields.get(key, None)
  File "<https://jenkins.openstack.org/job/periodic-horizon-python27-stable-folsom/ws/horizon/workflows/base.py",> line 361, in action
    context)
  File "<https://jenkins.openstack.org/job/periodic-horizon-python27-stable-folsom/ws/horizon/workflows/base.py",> line 141, in __init__
    self._populate_choices(request, context)
  File "<https://jenkins.openstack.org/job/periodic-horizon-python27-stable-folsom/ws/horizon/workflows/base.py",> line 153, in _populate_choices
    bound_field.choices = meth(request, context)
  File "<https://jenkins.openstack.org/job/periodic-horizon-python27-stable-folsom/ws/horizon/tests/workflows_tests.py",> line 48, in populate_project_id_choices
    request.user.authorized_tenants]
  File "<https://jenkins.openstack.org/job/periodic-horizon-python27-stable-folsom/ws/.tox/py27/local/lib/python2.7/site-packages/openstack_auth/user.py",> line 214, in authorized_tenants
    if self.is_authenticated() and self._authorized_tenants is None:
  File "<https://jenkins.openstack.org/job/periodic-horizon-python27-stable-folsom/ws/.tox/py27/local/lib/python2.7/site-packages/openstack_auth/user.py",> line 189, in is_authenticated
    return self.token is not None and check_token_expiration(self.token)
  File "<https://jenkins.openstack.org/job/periodic-horizon-python27-stable-folsom/ws/.tox/py27/local/lib/python2.7/site-packages/openstack_auth/utils.py",> line 55, in check_token_expiration
    if settings.USE_TZ and timezone.is_naive(expiration):
  File "<https://jenkins.openstack.org/job/periodic-horizon-python27-stable-folsom/ws/.tox/py27/local/lib/python2.7/site-packages/django/utils/timezone.py",> line 261, in is_naive
    return value.tzinfo is None or value.tzinfo.utcoffset(value) is None
AttributeError: 'str' object has no attribute 'tzinfo'

======================================================================
ERROR: test_workflow_validation (horizon.tests.workflows_tests.WorkflowsTests)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "<https://jenkins.openstack.org/job/periodic-horizon-python27-stable-folsom/ws/horizon/tests/workflows_tests.py",> line 191, in test_workflow_validation
    flow = TestWorkflow(req, context_seed={"project_id": self.tenant.id})
  File "<https://jenkins.openstack.org/job/periodic-horizon-python27-stable-folsom/ws/horizon/workflows/base.py",> line 589, in __init__
    valid = step.action.is_valid()
  File "<https://jenkins.openstack.org/job/periodic-horizon-python27-stable-folsom/ws/horizon/workflows/base.py",> line 361, in action
    context)
  File "<https://jenkins.openstack.org/job/periodic-horizon-python27-stable-folsom/ws/horizon/workflows/base.py",> line 141, in __init__
    self._populate_choices(request, context)
  File "<https://jenkins.openstack.org/job/periodic-horizon-python27-stable-folsom/ws/horizon/workflows/base.py",> line 153, in _populate_choices
    bound_field.choices = meth(request, context)
  File "<https://jenkins.openstack.org/job/periodic-horizon-python27-stable-folsom/ws/horizon/tests/workflows_tests.py",> line 48, in populate_project_id_choices
    request.user.authorized_tenants]
  File "<https://jenkins.openstack.org/job/periodic-horizon-python27-stable-folsom/ws/.tox/py27/local/lib/python2.7/site-packages/openstack_auth/user.py",> line 214, in authorized_tenants
    if self.is_authenticated() and self._authorized_tenants is None:
  File "<https://jenkins.openstack.org/job/periodic-horizon-python27-stable-folsom/ws/.tox/py27/local/lib/python2.7/site-packages/openstack_auth/user.py",> line 189, in is_authenticated
    return self.token is not None and check_token_expiration(self.token)
  File "<https://jenkins.openstack.org/job/periodic-horizon-python27-stable-folsom/ws/.tox/py27/local/lib/python2.7/site-packages/openstack_auth/utils.py",> line 55, in check_token_expiration
    if settings.USE_TZ and timezone.is_naive(expiration):
  File "<https://jenkins.openstack.org/job/periodic-horizon-python27-stable-folsom/ws/.tox/py27/local/lib/python2.7/site-packages/django/utils/timezone.py",> line 261, in is_naive
    return value.tzinfo is None or value.tzinfo.utcoffset(value) is None
AttributeError: 'str' object has no attribute 'tzinfo'

======================================================================
FAIL: test_get_default_role (horizon.tests.api_tests.keystone_tests.RoleAPITests)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "<https://jenkins.openstack.org/job/periodic-horizon-python27-stable-folsom/ws/horizon/tests/api_tests/keystone_tests.py",> line 76, in test_get_default_role
    keystoneclient = self.stub_keystoneclient()
  File "<https://jenkins.openstack.org/job/periodic-horizon-python27-stable-folsom/ws/horizon/test.py",> line 332, in stub_keystoneclient
    self.keystoneclient = self.mox.CreateMock(keystone_client.Client)
  File "<https://jenkins.openstack.org/job/periodic-horizon-python27-stable-folsom/ws/.tox/py27/local/lib/python2.7/site-packages/mox.py",> line 258, in CreateMock
    new_mock = MockObject(class_to_mock, attrs=attrs)
  File "<https://jenkins.openstack.org/job/periodic-horizon-python27-stable-folsom/ws/.tox/py27/local/lib/python2.7/site-packages/mox.py",> line 556, in __init__
    attr = getattr(class_to_mock, method)
  File "<https://jenkins.openstack.org/job/periodic-horizon-python27-stable-folsom/ws/.tox/py27/local/lib/python2.7/site-packages/mox.py",> line 608, in __getattr__
    raise UnknownMethodCallError(name)
UnknownMethodCallError: Method called is not a member of the object: service_catalog
>>  raise UnknownMethodCallError('service_catalog')
    

======================================================================
FAIL: Tests api.keystone.remove_tenant_user
----------------------------------------------------------------------
Traceback (most recent call last):
  File "<https://jenkins.openstack.org/job/periodic-horizon-python27-stable-folsom/ws/horizon/tests/api_tests/keystone_tests.py",> line 62, in test_remove_tenant_user
    keystoneclient = self.stub_keystoneclient()
  File "<https://jenkins.openstack.org/job/periodic-horizon-python27-stable-folsom/ws/horizon/test.py",> line 332, in stub_keystoneclient
    self.keystoneclient = self.mox.CreateMock(keystone_client.Client)
  File "<https://jenkins.openstack.org/job/periodic-horizon-python27-stable-folsom/ws/.tox/py27/local/lib/python2.7/site-packages/mox.py",> line 258, in CreateMock
    new_mock = MockObject(class_to_mock, attrs=attrs)
  File "<https://jenkins.openstack.org/job/periodic-horizon-python27-stable-folsom/ws/.tox/py27/local/lib/python2.7/site-packages/mox.py",> line 556, in __init__
    attr = getattr(class_to_mock, method)
  File "<https://jenkins.openstack.org/job/periodic-horizon-python27-stable-folsom/ws/.tox/py27/local/lib/python2.7/site-packages/mox.py",> line 608, in __getattr__
    raise UnknownMethodCallError(name)
UnknownMethodCallError: Method called is not a member of the object: service_catalog
>>  raise UnknownMethodCallError('service_catalog')
    

Slowest 5 tests took 0.90 secs:
    0.37    RoleAPITests.test_get_default_role
    0.16    HorizonTests.test_lazy_urls
    0.14    DataTableTests.test_summation_row
    0.12    DataTableTests.test_table_action_attributes
    0.10    NetworkTests.test_subnet_create_post
----------------------------------------------------------------------
Ran 350 tests in 4.977s

FAILED (SKIP=2, errors=455, failures=2)
nosetests --verbosity 1 horizon --nocapture --nologcapture --exclude-dir=horizon/conf/ --cover-package=horizon --cover-inclusive
Creating test database for alias 'default'...
Destroying test database for alias 'default'...
Running openstack_dashboard tests


----------------------------------------------------------------------
Ran 0 tests in 0.000s

OK
nosetests --verbosity 1 openstack_dashboard --nocapture --nologcapture --exclude-dir=horizon/conf/ --cover-package=horizon --cover-inclusive
Creating test database for alias 'default'...
Destroying test database for alias 'default'...
Tests failed.
ERROR: InvocationError: '/bin/bash run_tests.sh -N'
___________________________________ 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
Django==1.4.5
Jinja2==2.7
MarkupSafe==0.18
Pygments==1.6
Sphinx==1.2b1
argparse==1.2.1
cliff==1.4
cmd2==0.6.5.1
colorama==0.2.5
coverage==3.6
d2to1==0.2.10
distribute==0.7.3
django-appconf==0.6
django-compressor==1.3
django-nose==1.1
django-openstack-auth==1.1.0
docutils==0.9.1
horizon==2012.2.5
httplib2==0.8
iso8601==0.1.4
jsonpatch==1.1
jsonpointer==1.0
jsonschema==2.0.0
lockfile==0.9.1
logilab-astng==0.24.3
logilab-common==0.59.1
mox==0.5.3
netaddr==0.7.10
nose==1.3.0
nose-exclude==0.1.9
nosehtmloutput==0.0.4
nosexcover==1.0.8
openstack.nose-plugin==0.11
oslo.config==1.1.1
pbr==0.5.18
pep8==1.4.5
prettytable==0.7.2
pyOpenSSL==0.13
pylint==0.27.0
pyparsing==1.5.7
python-cinderclient==1.0.4
python-glanceclient==0.9.0
python-keystoneclient==0.3.1
python-novaclient==2.13.0
python-quantumclient==2.2.3
python-swiftclient==1.5.0
pytz==2013b
requests==1.2.3
selenium==2.33.0
setuptools-git==1.0
simplejson==3.3.0
six==1.3.0
termcolor==1.1.0
warlock==1.0.1
wsgiref==0.1.2
+ echo ======================================================================
======================================================================
+ '[' -d .testrepository ']'
+ 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
+ rm -rf /tmp/tmp.FQrS4Gx3B4
Build step 'Execute shell' marked build as failure
[SCP] Connecting to static.openstack.org
[SCP] Trying to create /srv/static/logs/periodic/periodic-horizon-python27-stable-folsom/287
[SCP] uploading file: '/srv/static/logs/periodic/periodic-horizon-python27-stable-folsom/287/dashboard_nose_results.html'
[SCP] uploading file: '/srv/static/logs/periodic/periodic-horizon-python27-stable-folsom/287/horizon_nose_results.html'
[SCP] Connecting to static.openstack.org
[SCP] Copying console log.



More information about the Openstack-stable-maint mailing list