Ask Your Question
0

When I run tempest with >tempest run --parallel --concurrency --subunit --blacklist_file blacklist.txt, how come the output is not in subunit format?

asked 2016-09-23 07:50:45 -0500

tuannguyen gravatar image

updated 2016-09-23 08:03:40 -0500

I have tried with both --subunit and without the option. The goal was to get the output into subunit2sql so that we can see it in our health dashboard but the result comes out with the beginning and the end not conforming to subunit format as shown below. Wondering if anyone can shed some light on what I am doing wrong and how is it being run upstream?

stdout: running=OS_STDOUT_CAPTURE=${OS_STDOUT_CAPTURE:-1} \ 18:32:20 OS_STDERR_CAPTURE=${OS_STDERR_CAPTURE:-1} \ 18:32:20 OS_TEST_TIMEOUT=${OS_TEST_TIMEOUT:-500} \ 18:32:20 ${PYTHON:-python} -m subunit.run discover -t /opt/bbc/openstack-11.0-master/tempest/local/lib/python2.7/site-packages/tempest /opt/bbc/openstack-11.0-master/tempest/local/lib/python2.7/site-packages/tempest/test_discover --list 18:32:20 running=OS_STDOUT_CAPTURE=${OS_STDOUT_CAPTURE:-1} \ 18:32:20 OS_STDERR_CAPTURE=${OS_STDERR_CAPTURE:-1} \ 18:32:20 OS_TEST_TIMEOUT=${OS_TEST_TIMEOUT:-500} \ 18:32:20 ${PYTHON:-python} -m subunit.run discover -t /opt/bbc/openstack-11.0-master/tempest/local/lib/python2.7/site-packages/tempest /opt/bbc/openstack-11.0-master/tempest/local/lib/python2.7/site-packages/tempest/test_discover --load-list /tmp/tmpnsLG_3 18:32:20 running=OS_STDOUT_CAPTURE=${OS_STDOUT_CAPTURE:-1} \ 18:32:20 OS_STDERR_CAPTURE=${OS_STDERR_CAPTURE:-1} \ 18:32:20 OS_TEST_TIMEOUT=${OS_TEST_TIMEOUT:-500} \ 18:32:20 ${PYTHON:-python} -m subunit.run discover -t /opt/bbc/openstack-11.0-master/tempest/local/lib/python2.7/site-packages/tempest /opt/bbc/openstack-11.0-master/tempest/local/lib/python2.7/site-packages/tempest/test_discover --load-list /tmp/tmpXNqRd4 18:32:20 running=OS_STDOUT_CAPTURE=${OS_STDOUT_CAPTURE:-1} \ 18:32:20 OS_STDERR_CAPTURE=${OS_STDERR_CAPTURE:-1} \ 18:32:20 OS_TEST_TIMEOUT=${OS_TEST_TIMEOUT:-500} \ 18:32:20 ${PYTHON:-python} -m subunit.run discover -t /opt/bbc/openstack-11.0-master/tempest/local/lib/python2.7/site-packages/tempest /opt/bbc/openstack-11.0-master/tempest/local/lib/python2.7/site-packages/tempest/test_discover --load-list /tmp/tmpgzlYVR 18:32:20 running=OS_STDOUT_CAPTURE=${OS_STDOUT_CAPTURE:-1} \ 18:32:20 OS_STDERR_CAPTURE=${OS_STDERR_CAPTURE:-1} \ 18:32:20 OS_TEST_TIMEOUT=${OS_TEST_TIMEOUT:-500} \ 18:32:20 ${PYTHON:-python} -m subunit.run discover -t /opt/bbc/openstack-11.0-master/tempest/local/lib/python2.7/site-packages/tempest /opt/bbc/openstack-11.0-master/tempest/local/lib/python2.7/site-packages/tempest/test_discover --load-list /tmp/tmph3f6u8 18:32:20 running=OS_STDOUT_CAPTURE=${OS_STDOUT_CAPTURE:-1} \ 18:32:20 OS_STDERR_CAPTURE=${OS_STDERR_CAPTURE:-1} \ 18:32:20 OS_TEST_TIMEOUT=${OS_TEST_TIMEOUT:-500} \ 18:32:20 ${PYTHON:-python} -m subunit.run discover -t /opt/bbc/openstack-11.0-master/tempest/local/lib/python2.7/site-packages/tempest /opt/bbc/openstack-11.0-master/tempest/local/lib/python2.7/site-packages/tempest/test_discover --load-list /tmp/tmp43uhah 18:32:20 running=OS_STDOUT_CAPTURE=${OS_STDOUT_CAPTURE:-1} \ 18:32:20 OS_STDERR_CAPTURE=${OS_STDERR_CAPTURE:-1} \ 18:32:20 OS_TEST_TIMEOUT=${OS_TEST_TIMEOUT:-500} \ 18:32:20 ${PYTHON:-python} -m subunit.run discover -t /opt/bbc/openstack-11.0-master/tempest/local/lib/python2.7/site-packages/tempest /opt/bbc/openstack-11.0-master/tempest/local/lib/python2.7/site-packages/tempest/test_discover --load-list /tmp/tmpY69VxM 18:32:20 running=OS_STDOUT_CAPTURE=${OS_STDOUT_CAPTURE:-1} \ 18:32:20 OS_STDERR_CAPTURE=${OS_STDERR_CAPTURE:-1} \ 18:32:20 OS_TEST_TIMEOUT=${OS_TEST_TIMEOUT:-500} \ 18:32:20 ${PYTHON:-python} -m subunit.run discover -t /opt/bbc/openstack-11.0-master/tempest/local/lib/python2.7/site-packages/tempest /opt/bbc/openstack-11.0-master/tempest/local/lib/python2.7/site-packages/tempest ... (more)

edit retag flag offensive close merge delete

1 answer

Sort by » oldest newest most voted
0

answered 2018-03-01 05:08:51 -0500

timeu gravatar image

Did you find any solution to this ?

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower

Stats

Asked: 2016-09-23 07:50:45 -0500

Seen: 78 times

Last updated: Sep 23 '16