[Openstack-operators] [puppet] TelemetryAlarming api.baremetal.admin.test_drivers test failed
Rayson Ho
raysonlogin at gmail.com
Tue Apr 12 21:18:44 UTC 2016
Hi,
I am getting the following error when I was installing using the Puppet
manifest.
==============================
Failed 1 tests - output below:
==============================
tempest.scenario.test_dashboard_basic_ops.TestDashboardBasicOps.test_basic_scenario[dashboard,id-4f8851b1-0e69-482b-b63b-84c6e76f6c80]
--------------------------------------------------------------------------------------------------------------------------------------
Captured traceback:
~~~~~~~~~~~~~~~~~~~
Traceback (most recent call last):
File "tempest/test.py", line 113, in wrapper
return f(self, *func_args, **func_kwargs)
File "tempest/scenario/test_dashboard_basic_ops.py", line 118, in
test_basic_scenario
self.check_login_page()
File "tempest/scenario/test_dashboard_basic_ops.py", line 82, in
check_login_page
self.assertIn("id_username", response.read())
File
"/tmp/openstack/tempest/.tox/all-plugin/lib/python2.7/site-packages/testtools/testcase.py",
line 368, in assertIn
self.assertThat(haystack, Contains(needle), message)
File
"/tmp/openstack/tempest/.tox/all-plugin/lib/python2.7/site-packages/testtools/testcase.py",
line 447, in assertThat
raise mismatch_error
testtools.matchers._impl.MismatchError: 'id_username' not in '<!DOCTYPE
HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">\n<html>\n <head>\n
<title>Index of /</title>\n </head>\n <body>\n<h1>Index of /</h1>\n
<table>\n <tr><th valign="top"><img src="/icons/blank.gif"
alt="[ICO]"></th><th><a href="?C=N;O=D">Name</a></th><th><a
href="?C=M;O=A">Last modified</a></th><th><a
href="?C=S;O=A">Size</a></th><th><a
href="?C=D;O=A">Description</a></th></tr>\n <tr><th
colspan="5"><hr></th></tr>\n <tr><th
colspan="5"><hr></th></tr>\n</table>\n</body></html>\n'
Seems like the test case is trying to find id_username from the dashboard
page, which on the machine is:
[root at node0 puppet-openstack-integration]# wget 127.0.0.1
--2016-04-12 18:19:52-- http://127.0.0.1/
Connecting to 127.0.0.1:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 481 [text/html]
Saving to: ‘index.html’
100%[============================================================================================================================================================>]
481 --.-K/s in 0s
2016-04-12 18:19:52 (15.1 MB/s) - ‘index.html’ saved [481/481]
[root at node0 puppet-openstack-integration]# cat index.html
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
<html>
<head>
<title>Index of /</title>
</head>
<body>
<h1>Index of /</h1>
<table>
<tr><th valign="top"><img src="/icons/blank.gif" alt="[ICO]"></th><th><a
href="?C=N;O=D">Name</a></th><th><a href="?C=M;O=A">Last
modified</a></th><th><a href="?C=S;O=A">Size</a></th><th><a
href="?C=D;O=A">Description</a></th></tr>
<tr><th colspan="5"><hr></th></tr>
<tr><th colspan="5"><hr></th></tr>
</table>
</body></html>
So is it an issue with Horizon as it is not up yet?
Rayson
==================================================
Open Grid Scheduler - The Official Open Source Grid Engine
http://gridscheduler.sourceforge.net/
http://gridscheduler.sourceforge.net/GridEngine/GridEngineCloud.html
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack-operators/attachments/20160412/f818a05b/attachment.html>
More information about the OpenStack-operators
mailing list