Use tempest totals

asked 2016-01-04 10:11:31 -0500

Vincent G gravatar image

Hi there,

How can I get the values of tempest output like number of tests ran, passed, skipped, and runtime ?

Ran: 1 tests in 121.0000 sec.
 - Passed: 1
 - Skipped: 0
 - Expected Fail: 0
 - Unexpected Success: 0
 - Failed: 0
Sum of execute time for each test: 116.2286 sec.

Are there some variables storing these elements ? How can I get these values from a script except filtering the output (grep/sed/awk) ?

Thanks in advance !

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted

answered 2016-01-06 07:20:09 -0500

Jagan Prakash gravatar image

Hi Vincent,

You can get this output while you are executing the command " testr run --parallel " . This command is used to test your whole openstack setup using the tempest service. So you are getting those above mentioned parameter.

edit flag offensive delete link more


I know that but how do I get these values from a script without using awk/sed/grep ?

Vincent G gravatar imageVincent G ( 2016-01-06 07:38:02 -0500 )edit

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower


Asked: 2016-01-04 10:11:31 -0500

Seen: 86 times

Last updated: Jan 06 '16