Build failed in Jenkins: periodic-horizon-python27-stable-folsom #305
See <https://jenkins.openstack.org/job/periodic-horizon-python27-stable-folsom/305/> ------------------------------------------ [...truncated 8952 lines...] AttributeError: 'str' object has no attribute 'tzinfo' ====================================================================== ERROR: test_has_permissions (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 239, in test_has_permissions flow = TestWorkflow(self.request) File "<https://jenkins.openstack.org/job/periodic-horizon-python27-stable-folsom/ws/horizon/workflows/base.py",> line 569, in __init__ self._gather_steps() File "<https://jenkins.openstack.org/job/periodic-horizon-python27-stable-folsom/ws/horizon/workflows/base.py",> line 617, in _gather_steps self._registry[step_class])] File "<https://jenkins.openstack.org/job/periodic-horizon-python27-stable-folsom/ws/horizon/templatetags/horizon.py",> line 36, in has_permissions return user.has_perms(getattr(component, 'permissions', set())) 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 319, in has_perms if not self.has_perm(perm, obj): File "<https://jenkins.openstack.org/job/periodic-horizon-python27-stable-folsom/ws/.tox/py27/local/lib/python2.7/site-packages/django/contrib/auth/models.py",> line 461, in has_perm return _user_has_perm(self, perm, obj=obj) File "<https://jenkins.openstack.org/job/periodic-horizon-python27-stable-folsom/ws/.tox/py27/local/lib/python2.7/site-packages/django/contrib/auth/models.py",> line 200, in _user_has_perm anon = user.is_anonymous() 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 195, in is_anonymous return not self.is_authenticated() 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_finalization (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 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' Slowest 5 tests took 0.61 secs: [31m 0.17 HorizonTests.test_lazy_urls[0m [31m 0.14 DataTableTests.test_summation_row[0m [31m 0.12 DataTableTests.test_table_action_attributes[0m [31m 0.09 NetworkTests.test_subnet_create_post[0m [31m 0.09 NetworkTests.test_subnet_create_post[0m ---------------------------------------------------------------------- Ran 350 tests in 4.401s FAILED (SKIP=2, errors=455) nosetests horizon --nocapture --nologcapture --exclude-dir=horizon/conf/ --cover-package=horizon --cover-inclusive --verbosity=1 Creating test database for alias 'default'... Destroying test database for alias 'default'... Running openstack_dashboard tests ---------------------------------------------------------------------- Ran 0 tests in 0.000s OK nosetests openstack_dashboard --nocapture --nologcapture --exclude-dir=horizon/conf/ --cover-package=horizon --cover-inclusive --verbosity=1 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.1.3 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.2 django-openstack-auth==1.1.1 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.20 pep8==1.4.6 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.cjcyUt2oVK 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/305 [SCP] uploading file: '/srv/static/logs/periodic/periodic-horizon-python27-stable-folsom/305/dashboard_nose_results.html' [SCP] uploading file: '/srv/static/logs/periodic/periodic-horizon-python27-stable-folsom/305/horizon_nose_results.html' [SCP] Connecting to static.openstack.org [SCP] Trying to create /srv/static/logs/periodic/periodic-horizon-python27-stable-folsom/precise5 [SCP] Trying to create /srv/static/logs/periodic/periodic-horizon-python27-stable-folsom/precise5/305 [SCP] Copying console log.
participants (1)
-
OpenStack Jenkins