6 Commits

Author SHA1 Message Date
Matthew Treinish
16b6826b94 Fix slowest test output after test run
This commit fixes the output from pretty_tox.sh so that the testr
slowest output isn't gobbled up by the pipe into subunit-trace.

Change-Id: I11e8fe80c35a1d3a90a4d7c8bf2b36c4114b5cc6
2014-12-18 15:14:39 +00:00
Matthew Treinish
cdb7f549a9 Switch to using subunit-trace from tempest-lib
This commit removes the tempest copy of subunit-trace and uses the
entry-point from tempest-lib instead.

Partially implements bp tempest-library

Change-Id: Ic1aeddc2d0b217c41b6b9914ac3f269b80c4ec8e
2014-10-23 15:07:49 +00:00
Matthew Treinish
1d5f32b48e Change how tempest debug logs are displayed
This commit cleans up how tempest failure logs are displayed. We'll
no longer dump the failure information to the console as a test fails.
Instead all the failure logs will be printed after the tests are run.

Change-Id: I7ecdc349d913b43f4fb0505d5c17c66f811774b4
2014-06-10 15:19:49 +00:00
Sean Dague
50af5d5ecc Add in a concurrency aware subunit filter
A live filter for subunit stream that will let us display the
concurrency of the streams as we go.

* This includes the worker id as {#} at the beginning of the lines
* Dumps out stdout/stderr if they are found inline (makes for easier
  debug
* Dumps out pythonlogging on failures if found inline
* Prints skip reasons

Based on I1b529546e005f47aba56b451e1c0d8b0da09fca3, but because
that started as Robert's I couldn't un Abandon it.

Change-Id: Icc99b652e4e8ae85b73bb905a3b704447a63195f
Co-Authored-By: Robert Collins <rbtcollins@hp.com>
2014-05-06 10:59:00 -04:00
Matthew Treinish
1ee4398ade Set pipefail for wrapper scripts
Previously if the testr list command was failing subunit2py would
return a 0 making the test runs that use the pretty_tox scripts also
return 0 despite testr actually failing. This commit gets around this
condition by setting pipefail in the pretty_tox scripts to ensure that
we actually fail.

Change-Id: I9cbaf83cfea7c02133b27fe639e7ea12edb48f7e
2013-12-14 10:42:20 -05:00
Matthew Treinish
8551278461 Add unittest like output for testr-full in tox
This commit adds real time output similar to that when running with
nose so that it's possible to watch the status of the job when using
testr with tempest.

Change-Id: I7a65be714627692ad80b3640af0ee617fd4697a9
2013-07-18 16:46:59 -04:00