Commit Graph

2 Commits

Author SHA1 Message Date
Arx Cruz 9db2de54ff Fix stackviz and subunit2html report generation
This is a better way to install and run stackviz, also removing some
tasks that's no longer necessary:
* Remove stackviz static files from the repo, since it's already in the
tarball
* Remove stackviz cloning, and using tarball
* Install stackviz directly from pip module
* Removing tempest-status.yml since we don't use to anything
* Move tempest-results.yml to run before stackviz, so we can take
advantage of the testrepository.subunit file to generate stackviz data
* Use testrepository.subunit to generate subunit2html report instead
of stestr/testr stream

Closes-Bug: 1779562
Change-Id: I918e5401b4f46e947bbaca99a48c2b21bce9a4bd
2018-10-12 17:02:00 +00:00
Arx Cruz 7e246e4cec Create tasks to install, run stackviz and collect logs
This patch add to tempest role, the generation of the report created by
stackviz from tempest results. Basically, what it does is:
- Download stackviz from git repository
- Copy static html and javascript stackviz files so we don't need
  to install npm, download the dependences, and build the static html
  (which would save some minutes)
- Install stackviz (only the processor)
- Run stackviz-export on tempest to collect the results

Also, add the code needed in the collect logs role to collect these
static files generated by stackviz.

Change-Id: Ia5ee717eaa9777bad265ecc338154e131021283f
2017-01-04 15:59:37 +01:00