write tempest output to file to use as job artifact
[integration/test.git] / 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)