)]}'
{"/COMMIT_MSG":[{"author":{"_account_id":7725,"name":"David Stanek","email":"dstanek@dstanek.com","username":"dstanek"},"change_message_id":"16cef1e88c854de9b06640971d13d77f4a4ff5fb","unresolved":false,"context_lines":[{"line_number":8,"context_line":""},{"line_number":9,"context_line":"Tempest results are currently written to stdout as part of a test run."},{"line_number":10,"context_line":"This output is difficult to parse. This patch adds steps to generate an"},{"line_number":11,"context_line":"xml report, and make this report available in /tmp on a physical host."},{"line_number":12,"context_line":""},{"line_number":13,"context_line":"The report is copied to a physical host so that external systems that do"},{"line_number":14,"context_line":"not have knowledge of the container inventory can retrieve the report,"}],"source_content_type":"text/x-gerrit-commit-message","patch_set":8,"id":"fa32b979_d6717277","line":11,"updated":"2015-06-17 19:54:11.000000000","message":"(nit) XML","commit_id":"4b6aa05debbb450dc5717aecdfac2589a12377b8"},{"author":{"_account_id":7725,"name":"David Stanek","email":"dstanek@dstanek.com","username":"dstanek"},"change_message_id":"16cef1e88c854de9b06640971d13d77f4a4ff5fb","unresolved":false,"context_lines":[{"line_number":12,"context_line":""},{"line_number":13,"context_line":"The report is copied to a physical host so that external systems that do"},{"line_number":14,"context_line":"not have knowledge of the container inventory can retrieve the report,"},{"line_number":15,"context_line":"for example jenkins."},{"line_number":16,"context_line":""},{"line_number":17,"context_line":"* Add pip packages python-subunit and junitxml to tempest venv, needed"},{"line_number":18,"context_line":"  to convert the subunit stream stored in testrepository to junit xml."}],"source_content_type":"text/x-gerrit-commit-message","patch_set":8,"id":"fa32b979_36077ecb","line":15,"updated":"2015-06-17 19:54:11.000000000","message":"(nit) Jenkins","commit_id":"4b6aa05debbb450dc5717aecdfac2589a12377b8"}],"playbooks/roles/os_tempest/templates/openstack_tempest_gate.sh.j2":[{"author":{"_account_id":6816,"name":"Jesse Pretorius","email":"jesse@odyssey4.me","username":"jesse-pretorius"},"change_message_id":"3ef1294c1fc1303742ee4435fb2bd55537dc7ad4","unresolved":false,"context_lines":[{"line_number":187,"context_line":"result\u003d$?"},{"line_number":188,"context_line":""},{"line_number":189,"context_line":"# Create junit xml report from test results"},{"line_number":190,"context_line":"subunit-1to2 \u003c .testrepository/0 | subunit2junitxml \u003e tempest_results.xml"},{"line_number":191,"context_line":"cp tempest_results.xml /tmp"},{"line_number":192,"context_line":"popd"},{"line_number":193,"context_line":""}],"source_content_type":"text/x-jinja2","patch_set":8,"id":"fa32b979_f4537237","line":190,"updated":"2015-06-17 09:30:43.000000000","message":"I assume that this process expects some sort of results from the tempest run to be available. What happens if the run_tempest script failed without actually running the stuff that produces the data? Should there perhaps be an error check of some sort here?","commit_id":"4b6aa05debbb450dc5717aecdfac2589a12377b8"},{"author":{"_account_id":7217,"name":"Hugh Saunders","email":"hugh@wherenow.org","username":"hughsaunders"},"change_message_id":"0645ff8e1a3d285da400ee4fca045b50a37c478a","unresolved":false,"context_lines":[{"line_number":187,"context_line":"result\u003d$?"},{"line_number":188,"context_line":""},{"line_number":189,"context_line":"# Create junit xml report from test results"},{"line_number":190,"context_line":"subunit-1to2 \u003c .testrepository/0 | subunit2junitxml \u003e tempest_results.xml"},{"line_number":191,"context_line":"cp tempest_results.xml /tmp"},{"line_number":192,"context_line":"popd"},{"line_number":193,"context_line":""}],"source_content_type":"text/x-jinja2","patch_set":8,"id":"ba3cc151_3272c3e6","line":190,"in_reply_to":"fa32b979_368a1e1c","updated":"2015-06-29 15:06:56.000000000","message":"The test repository is new each run. In infra gates a clean VM is used each time, and in 3rd party CI machines are rekicked between runs. \n\nCould have a check for error, but if there is no entry in testrepository, then some previous step has already failed so its not crucial if this test step fails or not.","commit_id":"4b6aa05debbb450dc5717aecdfac2589a12377b8"},{"author":{"_account_id":7725,"name":"David Stanek","email":"dstanek@dstanek.com","username":"dstanek"},"change_message_id":"16cef1e88c854de9b06640971d13d77f4a4ff5fb","unresolved":false,"context_lines":[{"line_number":187,"context_line":"result\u003d$?"},{"line_number":188,"context_line":""},{"line_number":189,"context_line":"# Create junit xml report from test results"},{"line_number":190,"context_line":"subunit-1to2 \u003c .testrepository/0 | subunit2junitxml \u003e tempest_results.xml"},{"line_number":191,"context_line":"cp tempest_results.xml /tmp"},{"line_number":192,"context_line":"popd"},{"line_number":193,"context_line":""}],"source_content_type":"text/x-jinja2","patch_set":8,"id":"fa32b979_368a1e1c","line":190,"in_reply_to":"fa32b979_f4537237","updated":"2015-06-17 19:54:11.000000000","message":"Also is this assuming that .testrepository is wiped out after each test? Otherwise you\u0027ll always get the first test results even if you run this more than once.","commit_id":"4b6aa05debbb450dc5717aecdfac2589a12377b8"}]}
