Generate Tempest test report 61/1561/1
authorJuha Kosonen <juha.kosonen@nokia.com>
Tue, 10 Sep 2019 13:04:29 +0000 (16:04 +0300)
committerJuha Kosonen <juha.kosonen@nokia.com>
Tue, 10 Sep 2019 13:04:29 +0000 (16:04 +0300)
Store generated HTML report to results. Save also tempest configuration
file since this may be useful when debugging failed cases.

Change-Id: I5fefb093da8adc39ff0441b20c4e75dd8635c79b
Signed-off-by: Juha Kosonen <juha.kosonen@nokia.com>
docker/openstack/pip-requirements.txt
tests/openstack/tempest/tempest.resource

index 301c618..97147d9 100644 (file)
@@ -1,3 +1,4 @@
+os-testr
 python-tempestconf
 robotframework
 tempest
index d5720f0..ac0501d 100644 (file)
@@ -73,4 +73,6 @@ Run Tempest Refstack Tests
    ...                   stdout=${WORKDIR}/logs/tempest_run.log
    ...                   stderr=STDOUT
    Copy Files          ${WORKDIR}/logs/*  ${REPORTDIR}/
+   Copy Files          ${WORKDIR}/etc/tempest.conf  ${REPORTDIR}/
+   Run Process         subunit2html  ${WORKDIR}/.stestr/0  ${REPORTDIR}/tempest_report.html
    Should Contain      ${result.stdout}  - Failed: 0