yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #26100
[Bug 1344881] Re: test_basic_scenario failing in the gate with 500 error "ValueError: list modified during sort"
** Changed in: horizon
Status: Fix Committed => Fix Released
--
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Dashboard (Horizon).
https://bugs.launchpad.net/bugs/1344881
Title:
test_basic_scenario failing in the gate with 500 error "ValueError:
list modified during sort"
Status in OpenStack Dashboard (Horizon):
Fix Released
Bug description:
http://logs.openstack.org/25/86025/14/gate/gate-tempest-dsvm-postgres-
full/2018388/console.html
2014-07-19 11:16:11.091 | tempest.scenario.test_dashboard_basic_ops.TestDashboardBasicOps.test_basic_scenario[dashboard]
2014-07-19 11:16:11.091 | ----------------------------------------------------------------------------------------------
2014-07-19 11:16:11.091 |
2014-07-19 11:16:11.091 | Captured traceback:
2014-07-19 11:16:11.091 | ~~~~~~~~~~~~~~~~~~~
2014-07-19 11:16:11.091 | Traceback (most recent call last):
2014-07-19 11:16:11.091 | File "tempest/test.py", line 128, in wrapper
2014-07-19 11:16:11.091 | return f(self, *func_args, **func_kwargs)
2014-07-19 11:16:11.091 | File "tempest/scenario/test_dashboard_basic_ops.py", line 74, in test_basic_scenario
2014-07-19 11:16:11.092 | self.check_login_page()
2014-07-19 11:16:11.092 | File "tempest/scenario/test_dashboard_basic_ops.py", line 45, in check_login_page
2014-07-19 11:16:11.092 | response = urllib2.urlopen(CONF.dashboard.dashboard_url)
2014-07-19 11:16:11.092 | File "/usr/lib/python2.7/urllib2.py", line 127, in urlopen
2014-07-19 11:16:11.092 | return _opener.open(url, data, timeout)
2014-07-19 11:16:11.092 | File "/usr/lib/python2.7/urllib2.py", line 410, in open
2014-07-19 11:16:11.092 | response = meth(req, response)
2014-07-19 11:16:11.092 | File "/usr/lib/python2.7/urllib2.py", line 523, in http_response
2014-07-19 11:16:11.092 | 'http', request, response, code, msg, hdrs)
2014-07-19 11:16:11.092 | File "/usr/lib/python2.7/urllib2.py", line 448, in error
2014-07-19 11:16:11.092 | return self._call_chain(*args)
2014-07-19 11:16:11.092 | File "/usr/lib/python2.7/urllib2.py", line 382, in _call_chain
2014-07-19 11:16:11.093 | result = func(*args)
2014-07-19 11:16:11.093 | File "/usr/lib/python2.7/urllib2.py", line 531, in http_error_default
2014-07-19 11:16:11.093 | raise HTTPError(req.get_full_url(), code, msg, hdrs, fp)
2014-07-19 11:16:11.093 | HTTPError: HTTP Error 500: INTERNAL SERVER ERROR
Looks like this is the error (race):
http://logs.openstack.org/25/86025/14/gate/gate-tempest-dsvm-postgres-
full/2018388/logs/screen-horizon.txt.gz
[Sat Jul 19 11:09:46.786803 2014] [:error] [pid 16213:tid 139647243032320] Internal Server Error: /
[Sat Jul 19 11:09:46.786881 2014] [:error] [pid 16213:tid 139647243032320] Traceback (most recent call last):
[Sat Jul 19 11:09:46.787706 2014] [:error] [pid 16213:tid 139647243032320] File "/usr/local/lib/python2.7/dist-packages/django/core/handlers/base.py", line 112, in get_response
[Sat Jul 19 11:09:46.788209 2014] [:error] [pid 16213:tid 139647243032320] response = wrapped_callback(request, *callback_args, **callback_kwargs)
[Sat Jul 19 11:09:46.788253 2014] [:error] [pid 16213:tid 139647243032320] File "/usr/local/lib/python2.7/dist-packages/django/views/decorators/vary.py", line 36, in inner_func
[Sat Jul 19 11:09:46.788295 2014] [:error] [pid 16213:tid 139647243032320] response = func(*args, **kwargs)
[Sat Jul 19 11:09:46.788462 2014] [:error] [pid 16213:tid 139647243032320] File "/opt/stack/new/horizon/openstack_dashboard/wsgi/../../openstack_dashboard/views.py", line 45, in splash
[Sat Jul 19 11:09:46.788527 2014] [:error] [pid 16213:tid 139647243032320] return shortcuts.render(request, 'splash.html', {'form': form})
[Sat Jul 19 11:09:46.789167 2014] [:error] [pid 16213:tid 139647243032320] File "/usr/local/lib/python2.7/dist-packages/django/shortcuts/__init__.py", line 53, in render
[Sat Jul 19 11:09:46.789752 2014] [:error] [pid 16213:tid 139647243032320] return HttpResponse(loader.render_to_string(*args, **kwargs),
[Sat Jul 19 11:09:46.789795 2014] [:error] [pid 16213:tid 139647243032320] File "/usr/local/lib/python2.7/dist-packages/django/template/loader.py", line 169, in render_to_string
[Sat Jul 19 11:09:46.789913 2014] [:error] [pid 16213:tid 139647243032320] return t.render(context_instance)
[Sat Jul 19 11:09:46.789954 2014] [:error] [pid 16213:tid 139647243032320] File "/usr/local/lib/python2.7/dist-packages/django/template/base.py", line 140, in render
[Sat Jul 19 11:09:46.790007 2014] [:error] [pid 16213:tid 139647243032320] return self._render(context)
[Sat Jul 19 11:09:46.790538 2014] [:error] [pid 16213:tid 139647243032320] File "/usr/local/lib/python2.7/dist-packages/django/template/base.py", line 134, in _render
[Sat Jul 19 11:09:46.790731 2014] [:error] [pid 16213:tid 139647243032320] return self.nodelist.render(context)
[Sat Jul 19 11:09:46.791233 2014] [:error] [pid 16213:tid 139647243032320] File "/usr/local/lib/python2.7/dist-packages/django/template/base.py", line 840, in render
[Sat Jul 19 11:09:46.791341 2014] [:error] [pid 16213:tid 139647243032320] bit = self.render_node(node, context)
[Sat Jul 19 11:09:46.791381 2014] [:error] [pid 16213:tid 139647243032320] File "/usr/local/lib/python2.7/dist-packages/django/template/debug.py", line 78, in render_node
[Sat Jul 19 11:09:46.791422 2014] [:error] [pid 16213:tid 139647243032320] return node.render(context)
[Sat Jul 19 11:09:46.792170 2014] [:error] [pid 16213:tid 139647243032320] File "/usr/local/lib/python2.7/dist-packages/django/template/loader_tags.py", line 155, in render
[Sat Jul 19 11:09:46.792237 2014] [:error] [pid 16213:tid 139647243032320] return self.render_template(self.template, context)
[Sat Jul 19 11:09:46.792804 2014] [:error] [pid 16213:tid 139647243032320] File "/usr/local/lib/python2.7/dist-packages/django/template/loader_tags.py", line 137, in render_template
[Sat Jul 19 11:09:46.793394 2014] [:error] [pid 16213:tid 139647243032320] output = template.render(context)
[Sat Jul 19 11:09:46.793438 2014] [:error] [pid 16213:tid 139647243032320] File "/usr/local/lib/python2.7/dist-packages/django/template/base.py", line 140, in render
[Sat Jul 19 11:09:46.793524 2014] [:error] [pid 16213:tid 139647243032320] return self._render(context)
[Sat Jul 19 11:09:46.793567 2014] [:error] [pid 16213:tid 139647243032320] File "/usr/local/lib/python2.7/dist-packages/django/template/base.py", line 134, in _render
[Sat Jul 19 11:09:46.793636 2014] [:error] [pid 16213:tid 139647243032320] return self.nodelist.render(context)
[Sat Jul 19 11:09:46.794939 2014] [:error] [pid 16213:tid 139647243032320] File "/usr/local/lib/python2.7/dist-packages/django/template/base.py", line 840, in render
[Sat Jul 19 11:09:46.794983 2014] [:error] [pid 16213:tid 139647243032320] bit = self.render_node(node, context)
[Sat Jul 19 11:09:46.795024 2014] [:error] [pid 16213:tid 139647243032320] File "/usr/local/lib/python2.7/dist-packages/django/template/debug.py", line 78, in render_node
[Sat Jul 19 11:09:46.795645 2014] [:error] [pid 16213:tid 139647243032320] return node.render(context)
[Sat Jul 19 11:09:46.795790 2014] [:error] [pid 16213:tid 139647243032320] File "/usr/local/lib/python2.7/dist-packages/compressor/templatetags/compress.py", line 149, in render
[Sat Jul 19 11:09:46.796870 2014] [:error] [pid 16213:tid 139647243032320] return self.render_compressed(context, self.kind, self.mode, forced=forced)
[Sat Jul 19 11:09:46.797014 2014] [:error] [pid 16213:tid 139647243032320] File "/usr/local/lib/python2.7/dist-packages/compressor/templatetags/compress.py", line 108, in render_compressed
[Sat Jul 19 11:09:46.797056 2014] [:error] [pid 16213:tid 139647243032320] rendered_output = self.render_output(compressor, mode, forced=forced)
[Sat Jul 19 11:09:46.797662 2014] [:error] [pid 16213:tid 139647243032320] File "/usr/local/lib/python2.7/dist-packages/compressor/templatetags/compress.py", line 121, in render_output
[Sat Jul 19 11:09:46.797733 2014] [:error] [pid 16213:tid 139647243032320] return compressor.output(mode, forced=forced)
[Sat Jul 19 11:09:46.797773 2014] [:error] [pid 16213:tid 139647243032320] File "/usr/local/lib/python2.7/dist-packages/compressor/css.py", line 51, in output
[Sat Jul 19 11:09:46.797922 2014] [:error] [pid 16213:tid 139647243032320] ret.append(subnode.output(*args, **kwargs))
[Sat Jul 19 11:09:46.798393 2014] [:error] [pid 16213:tid 139647243032320] File "/usr/local/lib/python2.7/dist-packages/compressor/css.py", line 53, in output
[Sat Jul 19 11:09:46.799265 2014] [:error] [pid 16213:tid 139647243032320] return super(CssCompressor, self).output(*args, **kwargs)
[Sat Jul 19 11:09:46.799828 2014] [:error] [pid 16213:tid 139647243032320] File "/usr/local/lib/python2.7/dist-packages/compressor/base.py", line 285, in output
[Sat Jul 19 11:09:46.799882 2014] [:error] [pid 16213:tid 139647243032320] output = '\\n'.join(self.filter_input(forced))
[Sat Jul 19 11:09:46.799928 2014] [:error] [pid 16213:tid 139647243032320] File "/usr/local/lib/python2.7/dist-packages/compressor/base.py", line 224, in filter_input
[Sat Jul 19 11:09:46.799973 2014] [:error] [pid 16213:tid 139647243032320] for hunk in self.hunks(forced):
[Sat Jul 19 11:09:46.800017 2014] [:error] [pid 16213:tid 139647243032320] File "/usr/local/lib/python2.7/dist-packages/compressor/base.py", line 200, in hunks
[Sat Jul 19 11:09:46.800530 2014] [:error] [pid 16213:tid 139647243032320] precompiled, value = self.precompile(value, **options)
[Sat Jul 19 11:09:46.800703 2014] [:error] [pid 16213:tid 139647243032320] File "/usr/local/lib/python2.7/dist-packages/compressor/base.py", line 264, in precompile
[Sat Jul 19 11:09:46.800748 2014] [:error] [pid 16213:tid 139647243032320] return True, filter.input(**kwargs)
[Sat Jul 19 11:09:46.801432 2014] [:error] [pid 16213:tid 139647243032320] File "/usr/local/lib/python2.7/dist-packages/django_pyscss/compressor.py", line 30, in input
[Sat Jul 19 11:09:46.801480 2014] [:error] [pid 16213:tid 139647243032320] relative_to=self.relative_to)
[Sat Jul 19 11:09:46.802771 2014] [:error] [pid 16213:tid 139647243032320] File "/usr/local/lib/python2.7/dist-packages/scss/__init__.py", line 438, in compile
[Sat Jul 19 11:09:46.802818 2014] [:error] [pid 16213:tid 139647243032320] return self.Compilation(*args, **kwargs)
[Sat Jul 19 11:09:46.802864 2014] [:error] [pid 16213:tid 139647243032320] File "/usr/local/lib/python2.7/dist-packages/django_pyscss/scss.py", line 188, in Compilation
[Sat Jul 19 11:09:46.803459 2014] [:error] [pid 16213:tid 139647243032320] self.apply_extends()
[Sat Jul 19 11:09:46.803511 2014] [:error] [pid 16213:tid 139647243032320] File "/usr/local/lib/python2.7/dist-packages/scss/util.py", line 111, in wrapper
[Sat Jul 19 11:09:46.803579 2014] [:error] [pid 16213:tid 139647243032320] return func(*args, **kwargs)
[Sat Jul 19 11:09:46.803643 2014] [:error] [pid 16213:tid 139647243032320] File "/usr/local/lib/python2.7/dist-packages/scss/__init__.py", line 1398, in apply_extends
[Sat Jul 19 11:09:46.804765 2014] [:error] [pid 16213:tid 139647243032320] self.rules.sort(key=lambda rule: min(rule_dependencies[rule]))
[Sat Jul 19 11:09:46.804883 2014] [:error] [pid 16213:tid 139647243032320] ValueError: list modified during sort
To manage notifications about this bug go to:
https://bugs.launchpad.net/horizon/+bug/1344881/+subscriptions
References