On Wed, Aug 21, 2013 at 7:30 AM, Alan Pevec <apevec@gmail.com> wrote:
2013/8/21 Gary Kotton <gkotton@vmware.com>:
At the moment we have failures with keystone. I am not exactly sure what has happened.
Does anyone know how we can address this?
Adding Pavel who wrote cli.output_parser according to git log. Tempest is using keystoneclient master, but I don't see any changes in cli output. Pavel, you can check Tempest logs from the last failure[1] but afaict the complete output from subprocess.check_output is not logged, so I'm not sure what happened and confused clii parser.
The latest version of keystoneclient looks like it would still pass this test. Here's my attempt to reproduce manually: http://pasteraw.com/812w2wwnyhz6nf9b7o0kyzimpepfdo0 As Alan suggested, knowing what tempest is actually seeing from this command is critical to debugging it.
Cheers, Alan
[1] http://logs.openstack.org/periodic/periodic-tempest-devstack-vm-stable-grizz...
2013-08-20 16:04:09.321 | FAIL: cli.simple_read_only.test_keystone.SimpleReadOnlyKeystoneClientTest.test_admin_catalog_list 2013-08-20 16:04:09.321 | _StringException: Traceback (most recent call last): 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 2013-08-20 16:04:09.322 | self.assertTrue(svc['__label'].startswith('Service:')) 2013-08-20 16:04:09.322 | File "/usr/lib/python2.7/unittest/case.py", line 420, in assertTrue 2013-08-20 16:04:09.322 | raise self.failureException(msg) 2013-08-20 16:04:09.322 | AssertionError: False is not true 2013-08-20 16:04:09.322 | -------------------- >> begin captured logging << -------------------- 2013-08-20 16:04:09.323 | 2013-08-20 16:04:04,496 running: '/usr/local/bin/keystone --os-username admin --os-tenant-name admin --os-password secret --os-auth-url http://127.0.0.1:5000/v2.0/ catalog ' 2013-08-20 16:04:09.323 | 2013-08-20 16:04:04,909 Invalid line between tables: Service: compute 2013-08-20 16:04:09.323 | --------------------- >> end captured logging << --------------------- 2013-08-20 16:04:09.324 | FAIL:
2013-08-20 16:04:09.324 | _StringException: Traceback (most recent call last): 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 2013-08-20 16:04:09.324 | self.assertTrue(lines[0].startswith('usage: keystone')) 2013-08-20 16:04:09.324 | File "/usr/lib/python2.7/unittest/case.py",
cli.simple_read_only.test_keystone.SimpleReadOnlyKeystoneClientTest.test_admin_help line 420, in assertTrue
2013-08-20 16:04:09.324 | raise self.failureException(msg) 2013-08-20 16:04:09.325 | AssertionError: False is not true 2013-08-20 16:04:09.325 | -------------------- >> begin captured logging << -------------------- 2013-08-20 16:04:09.325 | 2013-08-20 16:04:06,870 running: '/usr/local/bin/keystone --os-username admin --os-tenant-name admin --os-password secret --os-auth-url http://127.0.0.1:5000/v2.0/ help ' 2013-08-20 16:04:09.325 | --------------------- >> end captured logging <<
_______________________________________________ Openstack-stable-maint mailing list Openstack-stable-maint@lists.openstack.org http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-stable-maint
-- -Dolph