From: Juha Kosonen Date: Tue, 10 Sep 2019 13:04:29 +0000 (+0300) Subject: Generate Tempest test report X-Git-Tag: 2.0.0~37^2 X-Git-Url: https://gerrit.akraino.org/r/gitweb?a=commitdiff_plain;h=81372ecf4a83aa3a133a615f39b281f0d59ace37;p=validation.git Generate Tempest test report 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 --- diff --git a/docker/openstack/pip-requirements.txt b/docker/openstack/pip-requirements.txt index 301c618..97147d9 100644 --- a/docker/openstack/pip-requirements.txt +++ b/docker/openstack/pip-requirements.txt @@ -1,3 +1,4 @@ +os-testr python-tempestconf robotframework tempest diff --git a/tests/openstack/tempest/tempest.resource b/tests/openstack/tempest/tempest.resource index d5720f0..ac0501d 100644 --- a/tests/openstack/tempest/tempest.resource +++ b/tests/openstack/tempest/tempest.resource @@ -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