← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1643767] [NEW] horizon jenkins failed:tempest_horizon.tests.scenario.test_dashboard_basic_ops.TestDashboardBasicOps.test_basic_scenario

 

You have been subscribed to a public bug:

You can see the full failure at
http://logs.openstack.org/12/399812/4/check/gate-horizon-dsvm-tempest-
plugin-ubuntu-xenial/e827ee0/console.html

Captured traceback:
2016-11-22 03:49:21.316333 | ~~~~~~~~~~~~~~~~~~~
2016-11-22 03:49:21.316348 |     Traceback (most recent call last):
2016-11-22 03:49:21.316392 |       File "/opt/stack/new/tempest/.tox/tempest/local/lib/python2.7/site-packages/tempest_horizon/tests/scenario/test_dashboard_basic_ops.py", line 139, in test_basic_scenario
2016-11-22 03:49:21.316405 |         self.check_login_page()
2016-11-22 03:49:21.316447 |       File "/opt/stack/new/tempest/.tox/tempest/local/lib/python2.7/site-packages/tempest_horizon/tests/scenario/test_dashboard_basic_ops.py", line 85, in check_login_page
2016-11-22 03:49:21.316470 |         response = self._get_opener().open(CONF.dashboard.dashboard_url).read()
2016-11-22 03:49:21.316490 |       File "/usr/lib/python2.7/urllib2.py", line 435, in open
2016-11-22 03:49:21.316504 |         response = meth(req, response)
2016-11-22 03:49:21.316524 |       File "/usr/lib/python2.7/urllib2.py", line 548, in http_response
2016-11-22 03:49:21.316541 |         'http', request, response, code, msg, hdrs)
2016-11-22 03:49:21.316572 |       File "/usr/lib/python2.7/urllib2.py", line 467, in error
2016-11-22 03:49:21.316586 |         result = self._call_chain(*args)
2016-11-22 03:49:21.316607 |       File "/usr/lib/python2.7/urllib2.py", line 407, in _call_chain
2016-11-22 03:49:21.316619 |         result = func(*args)
2016-11-22 03:49:21.316640 |       File "/usr/lib/python2.7/urllib2.py", line 654, in http_error_302
2016-11-22 03:49:21.316658 |         return self.parent.open(new, timeout=req.timeout)
2016-11-22 03:49:21.316676 |       File "/usr/lib/python2.7/urllib2.py", line 435, in open
2016-11-22 03:49:21.316690 |         response = meth(req, response)
2016-11-22 03:49:21.316711 |       File "/usr/lib/python2.7/urllib2.py", line 548, in http_response
2016-11-22 03:49:21.316728 |         'http', request, response, code, msg, hdrs)
2016-11-22 03:49:21.316747 |       File "/usr/lib/python2.7/urllib2.py", line 473, in error
2016-11-22 03:49:21.316761 |         return self._call_chain(*args)
2016-11-22 03:49:21.316781 |       File "/usr/lib/python2.7/urllib2.py", line 407, in _call_chain
2016-11-22 03:49:21.316793 |         result = func(*args)
2016-11-22 03:49:21.316815 |       File "/usr/lib/python2.7/urllib2.py", line 556, in http_error_default
2016-11-22 03:49:21.316835 |         raise HTTPError(req.get_full_url(), code, msg, hdrs, fp)
2016-11-22 03:49:21.316853 |     urllib2.HTTPError: HTTP Error 500: Internal Server Error
2016-11-22 03:49:21.316860 |     


-------------------------------------------

Below is horizon_error.log,

2016-11-22 03:49:20.957173 Invalid HTTP_HOST header: '127.0.0.1'. You may need to add u'127.0.0.1' to ALLOWED_HOSTS.
2016-11-22 03:49:20.973949 mod_wsgi (pid=719): Exception occurred processing WSGI script '/opt/stack/new/horizon/openstack_dashboard/wsgi/django.wsgi'.
2016-11-22 03:49:20.973969 Traceback (most recent call last):
2016-11-22 03:49:20.973979   File "/usr/local/lib/python2.7/dist-packages/django/core/handlers/wsgi.py", line 189, in __call__
2016-11-22 03:49:20.974013     response = self.get_response(request)
2016-11-22 03:49:20.974018   File "/usr/local/lib/python2.7/dist-packages/django/core/handlers/base.py", line 207, in get_response
2016-11-22 03:49:20.974027     return debug.technical_500_response(request, *sys.exc_info(), status_code=400)
2016-11-22 03:49:20.974032   File "/usr/local/lib/python2.7/dist-packages/django/views/debug.py", line 97, in technical_500_response
2016-11-22 03:49:20.974245     html = reporter.get_traceback_html()
2016-11-22 03:49:20.974253   File "/usr/local/lib/python2.7/dist-packages/django/views/debug.py", line 384, in get_traceback_html
2016-11-22 03:49:20.974262     return t.render(c)
2016-11-22 03:49:20.974267   File "/usr/local/lib/python2.7/dist-packages/django/template/base.py", line 210, in render
2016-11-22 03:49:20.974505     return self._render(context)
2016-11-22 03:49:20.974512   File "/usr/local/lib/python2.7/dist-packages/django/template/base.py", line 202, in _render
2016-11-22 03:49:20.974520     return self.nodelist.render(context)
2016-11-22 03:49:20.974524   File "/usr/local/lib/python2.7/dist-packages/django/template/base.py", line 905, in render
2016-11-22 03:49:20.974529     bit = self.render_node(node, context)
2016-11-22 03:49:20.974533   File "/usr/local/lib/python2.7/dist-packages/django/template/debug.py", line 79, in render_node
2016-11-22 03:49:20.974570     return node.render(context)
2016-11-22 03:49:20.974577   File "/usr/local/lib/python2.7/dist-packages/django/template/defaulttags.py", line 329, in render
2016-11-22 03:49:20.974783     return nodelist.render(context)
2016-11-22 03:49:20.974789   File "/usr/local/lib/python2.7/dist-packages/django/template/base.py", line 905, in render
2016-11-22 03:49:20.974797     bit = self.render_node(node, context)
2016-11-22 03:49:20.974800   File "/usr/local/lib/python2.7/dist-packages/django/template/debug.py", line 79, in render_node
2016-11-22 03:49:20.974806     return node.render(context)
2016-11-22 03:49:20.974809   File "/usr/local/lib/python2.7/dist-packages/django/template/debug.py", line 89, in render
2016-11-22 03:49:20.974814     output = self.filter_expression.resolve(context)
2016-11-22 03:49:20.974818   File "/usr/local/lib/python2.7/dist-packages/django/template/base.py", line 648, in resolve
2016-11-22 03:49:20.974823     obj = self.var.resolve(context)
2016-11-22 03:49:20.974826   File "/usr/local/lib/python2.7/dist-packages/django/template/base.py", line 789, in resolve
2016-11-22 03:49:20.974831     value = self._resolve_lookup(context)
2016-11-22 03:49:20.974835   File "/usr/local/lib/python2.7/dist-packages/django/template/base.py", line 849, in _resolve_lookup
2016-11-22 03:49:20.974840     current = current()
2016-11-22 03:49:20.974843   File "/usr/local/lib/python2.7/dist-packages/django/http/request.py", line 152, in build_absolute_uri
2016-11-22 03:49:20.974941     host=self.get_host(),
2016-11-22 03:49:20.974947   File "/usr/local/lib/python2.7/dist-packages/django/http/request.py", line 102, in get_host
2016-11-22 03:49:20.974954     raise DisallowedHost(msg)
2016-11-22 03:49:20.974968 DisallowedHost: Invalid HTTP_HOST header: '127.0.0.1'. You may need to add u'127.0.0.1' to ALLOWED_HOSTS.

** Affects: horizon
     Importance: Undecided
         Status: New

-- 
horizon jenkins failed:tempest_horizon.tests.scenario.test_dashboard_basic_ops.TestDashboardBasicOps.test_basic_scenario 
https://bugs.launchpad.net/bugs/1643767
You received this bug notification because you are a member of Yahoo! Engineering Team, which is subscribed to OpenStack Dashboard (Horizon).