<div dir="ltr"><br><div class="gmail_extra"><br><br><div class="gmail_quote">On Wed, Aug 21, 2013 at 7:30 AM, Alan Pevec <span dir="ltr"><<a href="mailto:apevec@gmail.com" target="_blank">apevec@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">2013/8/21 Gary Kotton <<a href="mailto:gkotton@vmware.com">gkotton@vmware.com</a>>:<br>

<div class="im">> At the moment we have failures with keystone. I am not exactly sure what has<br>
> happened.<br>
><br>
> Does anyone know how we can address this?<br>
<br>
</div>Adding Pavel who wrote cli.output_parser according to git log.<br>
Tempest is using keystoneclient master, but I don't see any changes in<br>
cli output.<br>
Pavel, you can check Tempest logs from the last failure[1] but afaict<br>
the complete output from subprocess.check_output is not logged, so I'm<br>
not sure what happened and confused clii parser.<br></blockquote><div><br></div><div>The latest version of keystoneclient looks like it would still pass this test. Here's my attempt to reproduce manually:</div><div><br>
</div><div>  <a href="http://pasteraw.com/812w2wwnyhz6nf9b7o0kyzimpepfdo0">http://pasteraw.com/812w2wwnyhz6nf9b7o0kyzimpepfdo0</a></div><div><br></div><div>As Alan suggested, knowing what tempest is actually seeing from this command is critical to debugging it.</div>
<div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
<br>
Cheers,<br>
Alan<br>
<br>
[1]  <a href="http://logs.openstack.org/periodic/periodic-tempest-devstack-vm-stable-grizzly/devstack-precise-hpcloud-az1-144680/12/" target="_blank">http://logs.openstack.org/periodic/periodic-tempest-devstack-vm-stable-grizzly/devstack-precise-hpcloud-az1-144680/12/</a><br>

<div class="im"><br>
<br>
> 2013-08-20 16:04:09.321 | FAIL: cli.simple_read_only.test_keystone.SimpleReadOnlyKeystoneClientTest.test_admin_catalog_list<br>
</div><div class="im">> 2013-08-20 16:04:09.321 | _StringException: Traceback (most recent call last):<br>
> 2013-08-20 16:04:09.322 |   File "/opt/stack/new/tempest/cli/simple_read_only/test_keystone.py", line 45, in test_admin_catalog_list<br>
> 2013-08-20 16:04:09.322 |     self.assertTrue(svc['__label'].startswith('Service:'))<br>
> 2013-08-20 16:04:09.322 |   File "/usr/lib/python2.7/unittest/case.py", line 420, in assertTrue<br>
> 2013-08-20 16:04:09.322 |     raise self.failureException(msg)<br>
> 2013-08-20 16:04:09.322 | AssertionError: False is not true<br>
> 2013-08-20 16:04:09.322 | -------------------- >> begin captured logging << --------------------<br>
> 2013-08-20 16:04:09.323 | 2013-08-20 16:04:04,496 running:<br>
> '/usr/local/bin/keystone --os-username admin --os-tenant-name admin<br>
> --os-password secret --os-auth-url <a href="http://127.0.0.1:5000/v2.0/" target="_blank">http://127.0.0.1:5000/v2.0/</a>   catalog '<br>
> 2013-08-20 16:04:09.323 | 2013-08-20 16:04:04,909 Invalid line between tables: Service: compute<br>
> 2013-08-20 16:04:09.323 | --------------------- >> end captured logging << ---------------------<br>
</div><div class="im">> 2013-08-20 16:04:09.324 | FAIL:<br>
> cli.simple_read_only.test_keystone.SimpleReadOnlyKeystoneClientTest.test_admin_help<br>
</div><div class="im">> 2013-08-20 16:04:09.324 | _StringException: Traceback (most recent call last):<br>
> 2013-08-20 16:04:09.324 |   File "/opt/stack/new/tempest/cli/simple_read_only/test_keystone.py", line 93, in test_admin_help<br>
> 2013-08-20 16:04:09.324 |     self.assertTrue(lines[0].startswith('usage: keystone'))<br>
> 2013-08-20 16:04:09.324 |   File "/usr/lib/python2.7/unittest/case.py", line 420, in assertTrue<br>
> 2013-08-20 16:04:09.324 |     raise self.failureException(msg)<br>
> 2013-08-20 16:04:09.325 | AssertionError: False is not true<br>
> 2013-08-20 16:04:09.325 | -------------------- >> begin captured logging << --------------------<br>
> 2013-08-20 16:04:09.325 | 2013-08-20 16:04:06,870 running:<br>
> '/usr/local/bin/keystone --os-username admin --os-tenant-name admin<br>
> --os-password secret --os-auth-url <a href="http://127.0.0.1:5000/v2.0/" target="_blank">http://127.0.0.1:5000/v2.0/</a>   help '<br>
> 2013-08-20 16:04:09.325 | --------------------- >> end captured logging <<<br>
<br>
</div><div class=""><div class="h5">_______________________________________________<br>
Openstack-stable-maint mailing list<br>
<a href="mailto:Openstack-stable-maint@lists.openstack.org">Openstack-stable-maint@lists.openstack.org</a><br>
<a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-stable-maint" target="_blank">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-stable-maint</a><br>
</div></div></blockquote></div><br><br clear="all"><div><br></div>-- <br><div><br></div>-Dolph
</div></div>