[Openstack-stable-maint] Build failed in Jenkins: periodic-horizon-python26-stable-grizzly #92

OpenStack Jenkins jenkins at openstack.org
Thu Jul 11 06:20:00 UTC 2013


See <https://jenkins.openstack.org/job/periodic-horizon-python26-stable-grizzly/92/>

------------------------------------------
[...truncated 16272 lines...]
    mock_obj._Verify()
  File "<https://jenkins.openstack.org/job/periodic-horizon-python26-stable-grizzly/ws/.tox/py26/lib/python2.6/site-packages/mox.py",> line 506, in _Verify
    raise ExpectedMethodCallsError(self._expected_calls_queue)
ExpectedMethodCallsError: Verify: Expected methods never called:
  0.  volume_get.__call__(<class 'django.http.HttpRequest'>, '41023e92-8008-4c8b-8059-7f2293ff3775') -> <Volume: 41023e92-8008-4c8b-8059-7f2293ff3775>

======================================================================
ERROR: test_edit_attachments_cannot_set_mount_point (openstack_dashboard.dashboards.project.volumes.tests.VolumeViewTests)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "<https://jenkins.openstack.org/job/periodic-horizon-python26-stable-grizzly/ws/openstack_dashboard/test/helpers.py",> line 74, in instance_stub_out
    return fn(self)
  File "<https://jenkins.openstack.org/job/periodic-horizon-python26-stable-grizzly/ws/openstack_dashboard/dashboards/project/volumes/tests.py",> line 394, in test_edit_attachments_cannot_set_mount_point
    res = self.client.get(url)
  File "<https://jenkins.openstack.org/job/periodic-horizon-python26-stable-grizzly/ws/.tox/py26/lib/python2.6/site-packages/django/test/client.py",> line 439, in get
    response = super(Client, self).get(path, data=data, **extra)
  File "<https://jenkins.openstack.org/job/periodic-horizon-python26-stable-grizzly/ws/.tox/py26/lib/python2.6/site-packages/django/test/client.py",> line 244, in get
    return self.request(**r)
  File "<https://jenkins.openstack.org/job/periodic-horizon-python26-stable-grizzly/ws/.tox/py26/lib/python2.6/site-packages/django/core/handlers/base.py",> line 111, in get_response
    response = callback(request, *callback_args, **callback_kwargs)
  File "<https://jenkins.openstack.org/job/periodic-horizon-python26-stable-grizzly/ws/horizon/decorators.py",> line 38, in dec
    return view_func(request, *args, **kwargs)
  File "<https://jenkins.openstack.org/job/periodic-horizon-python26-stable-grizzly/ws/horizon/decorators.py",> line 53, in dec
    if request.user.is_authenticated():
  File "<https://jenkins.openstack.org/job/periodic-horizon-python26-stable-grizzly/ws/.tox/py26/lib/python2.6/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-python26-stable-grizzly/ws/.tox/py26/lib/python2.6/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-python26-stable-grizzly/ws/.tox/py26/lib/python2.6/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_edit_attachments_cannot_set_mount_point (openstack_dashboard.dashboards.project.volumes.tests.VolumeViewTests)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "<https://jenkins.openstack.org/job/periodic-horizon-python26-stable-grizzly/ws/openstack_dashboard/test/helpers.py",> line 151, in tearDown
    self.mox.VerifyAll()
  File "<https://jenkins.openstack.org/job/periodic-horizon-python26-stable-grizzly/ws/.tox/py26/lib/python2.6/site-packages/mox.py",> line 286, in VerifyAll
    mock_obj._Verify()
  File "<https://jenkins.openstack.org/job/periodic-horizon-python26-stable-grizzly/ws/.tox/py26/lib/python2.6/site-packages/mox.py",> line 506, in _Verify
    raise ExpectedMethodCallsError(self._expected_calls_queue)
ExpectedMethodCallsError: Verify: Expected methods never called:
  0.  volume_get.__call__(<class 'django.http.HttpRequest'>, '41023e92-8008-4c8b-8059-7f2293ff3775') -> <Volume: 41023e92-8008-4c8b-8059-7f2293ff3775>

======================================================================
ERROR: test_get_data (openstack_dashboard.dashboards.project.volumes.tests.VolumeViewTests)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "<https://jenkins.openstack.org/job/periodic-horizon-python26-stable-grizzly/ws/openstack_dashboard/test/helpers.py",> line 74, in instance_stub_out
    return fn(self)
  File "<https://jenkins.openstack.org/job/periodic-horizon-python26-stable-grizzly/ws/openstack_dashboard/dashboards/project/volumes/tests.py",> line 471, in test_get_data
    HTTP_X_REQUESTED_WITH='XMLHttpRequest')
  File "<https://jenkins.openstack.org/job/periodic-horizon-python26-stable-grizzly/ws/.tox/py26/lib/python2.6/site-packages/django/test/client.py",> line 439, in get
    response = super(Client, self).get(path, data=data, **extra)
  File "<https://jenkins.openstack.org/job/periodic-horizon-python26-stable-grizzly/ws/.tox/py26/lib/python2.6/site-packages/django/test/client.py",> line 244, in get
    return self.request(**r)
  File "<https://jenkins.openstack.org/job/periodic-horizon-python26-stable-grizzly/ws/.tox/py26/lib/python2.6/site-packages/django/core/handlers/base.py",> line 111, in get_response
    response = callback(request, *callback_args, **callback_kwargs)
  File "<https://jenkins.openstack.org/job/periodic-horizon-python26-stable-grizzly/ws/horizon/decorators.py",> line 38, in dec
    return view_func(request, *args, **kwargs)
  File "<https://jenkins.openstack.org/job/periodic-horizon-python26-stable-grizzly/ws/horizon/decorators.py",> line 53, in dec
    if request.user.is_authenticated():
  File "<https://jenkins.openstack.org/job/periodic-horizon-python26-stable-grizzly/ws/.tox/py26/lib/python2.6/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-python26-stable-grizzly/ws/.tox/py26/lib/python2.6/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-python26-stable-grizzly/ws/.tox/py26/lib/python2.6/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_get_data (openstack_dashboard.dashboards.project.volumes.tests.VolumeViewTests)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "<https://jenkins.openstack.org/job/periodic-horizon-python26-stable-grizzly/ws/openstack_dashboard/test/helpers.py",> line 151, in tearDown
    self.mox.VerifyAll()
  File "<https://jenkins.openstack.org/job/periodic-horizon-python26-stable-grizzly/ws/.tox/py26/lib/python2.6/site-packages/mox.py",> line 286, in VerifyAll
    mock_obj._Verify()
  File "<https://jenkins.openstack.org/job/periodic-horizon-python26-stable-grizzly/ws/.tox/py26/lib/python2.6/site-packages/mox.py",> line 506, in _Verify
    raise ExpectedMethodCallsError(self._expected_calls_queue)
ExpectedMethodCallsError: Verify: Expected methods never called:
  0.  volume_get.__call__(<class 'django.http.HttpRequest'>, '41023e92-8008-4c8b-8059-7f2293ff3775') -> <Volume: 41023e92-8008-4c8b-8059-7f2293ff3775>

======================================================================
ERROR: test_timezone_offset_is_displayed (openstack_dashboard.dashboards.settings.user.tests.UserSettingsTest)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "<https://jenkins.openstack.org/job/periodic-horizon-python26-stable-grizzly/ws/openstack_dashboard/dashboards/settings/user/tests.py",> line 28, in test_timezone_offset_is_displayed
    res = self.client.get(INDEX_URL)
  File "<https://jenkins.openstack.org/job/periodic-horizon-python26-stable-grizzly/ws/.tox/py26/lib/python2.6/site-packages/django/test/client.py",> line 439, in get
    response = super(Client, self).get(path, data=data, **extra)
  File "<https://jenkins.openstack.org/job/periodic-horizon-python26-stable-grizzly/ws/.tox/py26/lib/python2.6/site-packages/django/test/client.py",> line 244, in get
    return self.request(**r)
  File "<https://jenkins.openstack.org/job/periodic-horizon-python26-stable-grizzly/ws/.tox/py26/lib/python2.6/site-packages/django/core/handlers/base.py",> line 111, in get_response
    response = callback(request, *callback_args, **callback_kwargs)
  File "<https://jenkins.openstack.org/job/periodic-horizon-python26-stable-grizzly/ws/horizon/decorators.py",> line 38, in dec
    return view_func(request, *args, **kwargs)
  File "<https://jenkins.openstack.org/job/periodic-horizon-python26-stable-grizzly/ws/horizon/decorators.py",> line 53, in dec
    if request.user.is_authenticated():
  File "<https://jenkins.openstack.org/job/periodic-horizon-python26-stable-grizzly/ws/.tox/py26/lib/python2.6/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-python26-stable-grizzly/ws/.tox/py26/lib/python2.6/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-python26-stable-grizzly/ws/.tox/py26/lib/python2.6/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 (openstack_dashboard.test.api_tests.keystone_tests.RoleAPITests)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "<https://jenkins.openstack.org/job/periodic-horizon-python26-stable-grizzly/ws/openstack_dashboard/test/api_tests/keystone_tests.py",> line 76, in test_get_default_role
    keystoneclient = self.stub_keystoneclient()
  File "<https://jenkins.openstack.org/job/periodic-horizon-python26-stable-grizzly/ws/openstack_dashboard/test/helpers.py",> line 283, in stub_keystoneclient
    self.keystoneclient = self.mox.CreateMock(keystone_client.Client)
  File "<https://jenkins.openstack.org/job/periodic-horizon-python26-stable-grizzly/ws/.tox/py26/lib/python2.6/site-packages/mox.py",> line 258, in CreateMock
    new_mock = MockObject(class_to_mock, attrs=attrs)
  File "<https://jenkins.openstack.org/job/periodic-horizon-python26-stable-grizzly/ws/.tox/py26/lib/python2.6/site-packages/mox.py",> line 556, in __init__
    attr = getattr(class_to_mock, method)
  File "<https://jenkins.openstack.org/job/periodic-horizon-python26-stable-grizzly/ws/.tox/py26/lib/python2.6/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-python26-stable-grizzly/ws/openstack_dashboard/test/api_tests/keystone_tests.py",> line 62, in test_remove_tenant_user
    keystoneclient = self.stub_keystoneclient()
  File "<https://jenkins.openstack.org/job/periodic-horizon-python26-stable-grizzly/ws/openstack_dashboard/test/helpers.py",> line 283, in stub_keystoneclient
    self.keystoneclient = self.mox.CreateMock(keystone_client.Client)
  File "<https://jenkins.openstack.org/job/periodic-horizon-python26-stable-grizzly/ws/.tox/py26/lib/python2.6/site-packages/mox.py",> line 258, in CreateMock
    new_mock = MockObject(class_to_mock, attrs=attrs)
  File "<https://jenkins.openstack.org/job/periodic-horizon-python26-stable-grizzly/ws/.tox/py26/lib/python2.6/site-packages/mox.py",> line 556, in __init__
    attr = getattr(class_to_mock, method)
  File "<https://jenkins.openstack.org/job/periodic-horizon-python26-stable-grizzly/ws/.tox/py26/lib/python2.6/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 1.46 secs:
    0.38    RoleAPITests.test_get_default_role
    0.33    QuantumApiTests.test_subnet_modify
    0.27    NetworkTests.test_network_detail_port_exception
    0.27    NetworkTests.test_network_detail_port_exception
    0.21    ImagesAndSnapshotsTests.test_index_error
----------------------------------------------------------------------
Ran 425 tests in 11.978s

FAILED (SKIP=3, errors=598, failures=2)
nosetests --verbosity 1 openstack_dashboard --nocapture --nologcapture --cover-package=openstack_dashboard --cover-inclusive --all-modules
Creating test database for alias 'default'...
Destroying test database for alias 'default'...
Tests failed.
ERROR: InvocationError: '/bin/bash run_tests.sh -N'
___________________________________ summary ____________________________________
ERROR:   py26: commands failed
+ result=1
+ echo 'Begin pip freeze output from test virtualenv:'
Begin pip freeze output from test virtualenv:
+ echo ======================================================================
======================================================================
+ .tox/py26/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==jenkins.periodic.horizon.python26.stable.grizzly.92
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
unittest2==0.5.1
warlock==1.0.1
+ 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.ct6raWzs0H
Build step 'Execute shell' marked build as failure
[SCP] Connecting to static.openstack.org
[SCP] Trying to create /srv/static/logs/periodic/periodic-horizon-python26-stable-grizzly/92
[SCP] uploading file: '/srv/static/logs/periodic/periodic-horizon-python26-stable-grizzly/92/dashboard_nose_results.html'
[SCP] uploading file: '/srv/static/logs/periodic/periodic-horizon-python26-stable-grizzly/92/horizon_nose_results.html'
[SCP] Connecting to static.openstack.org
[SCP] Copying console log.



More information about the Openstack-stable-maint mailing list