write tempest output to file to use as job artifact 90/38090/3
authorJamo Luhrsen <jluhrsen@redhat.com>
Tue, 26 Apr 2016 00:58:21 +0000 (17:58 -0700)
committerLuis Gomez <ecelgp@gmail.com>
Tue, 26 Apr 2016 17:36:52 +0000 (17:36 +0000)
Change-Id: Ifc350f89af870ed7c730616c5963ea50dc04763d
Signed-off-by: Jamo Luhrsen <jluhrsen@redhat.com>
csit/libraries/DevstackUtils.robot

index 61cc9850e0f042422b973a54ee38465149ba8d64..8b495c7d9e27c196585629cd54ecc048fc94202a 100644 (file)
@@ -29,6 +29,7 @@ Run Tempest Tests
     Write Commands Until Prompt    sudo rm -rf /opt/stack/new/tempest/.testrepository
     Write Commands Until Prompt    sudo testr init
     ${results}=    Write Commands Until Prompt    sudo -E testr run ${tempest_regex} --subunit | subunit-trace --no-failure-debug -f    timeout=${timeout}
+    Create File    ${WORKSPACE}/tempest_output.log    data=${results}
     Should Contain    ${results}    Failed: 0
     # TODO: also need to verify some non-zero pass count as well as other results are ok (e.g. skipped, etc)