)]}'
{"octavia/tests/contrib/post_test_hook.sh":[{"author":{"_account_id":5196,"name":"Matthew Treinish","email":"mtreinish@kortar.org","username":"treinish"},"change_message_id":"25cc947db4a74910a5368d232d017ef8056caefd","unresolved":false,"context_lines":[{"line_number":3,"context_line":"set -xe"},{"line_number":4,"context_line":""},{"line_number":5,"context_line":"TEMPEST_CONFIG_DIR\u003d\"$BASE/new/tempest/etc\""},{"line_number":6,"context_line":"SCRIPTS_DIR\u003d\"/usr/os-stestr-env/bin\""},{"line_number":7,"context_line":"OCTAVIA_DIR\u003d\"$BASE/new/octavia\""},{"line_number":8,"context_line":""},{"line_number":9,"context_line":"# Sort out our gate args"}],"source_content_type":"text/x-sh","patch_set":3,"id":"5f2577a7_27a51805","line":6,"updated":"2017-09-12 22:32:34.000000000","message":"This probably isn\u0027t what you want. This path shouldn\u0027t need to be changed","commit_id":"1216842d51fd198f95f214e65e1971bf329c4b76"},{"author":{"_account_id":10273,"name":"Adam Harwell","email":"flux.adam@gmail.com","username":"rm_you"},"change_message_id":"06b700e1f222f40264811b55fb04272b1d3b3a07","unresolved":false,"context_lines":[{"line_number":3,"context_line":"set -xe"},{"line_number":4,"context_line":""},{"line_number":5,"context_line":"TEMPEST_CONFIG_DIR\u003d\"$BASE/new/tempest/etc\""},{"line_number":6,"context_line":"SCRIPTS_DIR\u003d\"/usr/os-stestr-env/bin\""},{"line_number":7,"context_line":"OCTAVIA_DIR\u003d\"$BASE/new/octavia\""},{"line_number":8,"context_line":""},{"line_number":9,"context_line":"# Sort out our gate args"}],"source_content_type":"text/x-sh","patch_set":3,"id":"5f2577a7_2dddf741","line":6,"in_reply_to":"5f2577a7_27a51805","updated":"2017-09-13 00:02:16.000000000","message":"Done","commit_id":"1216842d51fd198f95f214e65e1971bf329c4b76"},{"author":{"_account_id":5196,"name":"Matthew Treinish","email":"mtreinish@kortar.org","username":"treinish"},"change_message_id":"25cc947db4a74910a5368d232d017ef8056caefd","unresolved":false,"context_lines":[{"line_number":45,"context_line":"function generate_stestr_results {"},{"line_number":46,"context_line":"    # Give job user rights to access tox logs"},{"line_number":47,"context_line":"    sudo -H -u \"$owner\" chmod o+rw ."},{"line_number":48,"context_line":"    sudo -H -u \"$owner\" chmod o+rw -R .stestr"},{"line_number":49,"context_line":"    if [ -f \".stestr/0\" ] ; then"},{"line_number":50,"context_line":"        # Archive the raw stestr file to debug subunit-1to2"},{"line_number":51,"context_line":"        # ValueError: Length too long: 7341892 errors"}],"source_content_type":"text/x-sh","patch_set":3,"id":"5f2577a7_87b3ac4d","line":48,"updated":"2017-09-12 22:32:34.000000000","message":"This still has the potential to break if stestr fails before it writes data. You should probably do this after the existence check","commit_id":"1216842d51fd198f95f214e65e1971bf329c4b76"},{"author":{"_account_id":10273,"name":"Adam Harwell","email":"flux.adam@gmail.com","username":"rm_you"},"change_message_id":"06b700e1f222f40264811b55fb04272b1d3b3a07","unresolved":false,"context_lines":[{"line_number":45,"context_line":"function generate_stestr_results {"},{"line_number":46,"context_line":"    # Give job user rights to access tox logs"},{"line_number":47,"context_line":"    sudo -H -u \"$owner\" chmod o+rw ."},{"line_number":48,"context_line":"    sudo -H -u \"$owner\" chmod o+rw -R .stestr"},{"line_number":49,"context_line":"    if [ -f \".stestr/0\" ] ; then"},{"line_number":50,"context_line":"        # Archive the raw stestr file to debug subunit-1to2"},{"line_number":51,"context_line":"        # ValueError: Length too long: 7341892 errors"}],"source_content_type":"text/x-sh","patch_set":3,"id":"5f2577a7_0de0fbf9","line":48,"in_reply_to":"5f2577a7_87b3ac4d","updated":"2017-09-13 00:02:16.000000000","message":"Done","commit_id":"1216842d51fd198f95f214e65e1971bf329c4b76"},{"author":{"_account_id":5196,"name":"Matthew Treinish","email":"mtreinish@kortar.org","username":"treinish"},"change_message_id":"25cc947db4a74910a5368d232d017ef8056caefd","unresolved":false,"context_lines":[{"line_number":49,"context_line":"    if [ -f \".stestr/0\" ] ; then"},{"line_number":50,"context_line":"        # Archive the raw stestr file to debug subunit-1to2"},{"line_number":51,"context_line":"        # ValueError: Length too long: 7341892 errors"},{"line_number":52,"context_line":"        cp .stestr/0 ./stestr.0"},{"line_number":53,"context_line":"        gzip -9 ./stestr.0"},{"line_number":54,"context_line":"        sudo mv stestr.0.gz /opt/stack/logs/"},{"line_number":55,"context_line":""}],"source_content_type":"text/x-sh","patch_set":3,"id":"5f2577a7_0781fc4a","line":52,"updated":"2017-09-12 22:32:34.000000000","message":"Instead of doing this you should just do stestr last \u003e stestr.0 Also if you do this you don\u0027t need to run subunit-1to2","commit_id":"1216842d51fd198f95f214e65e1971bf329c4b76"},{"author":{"_account_id":10273,"name":"Adam Harwell","email":"flux.adam@gmail.com","username":"rm_you"},"change_message_id":"06b700e1f222f40264811b55fb04272b1d3b3a07","unresolved":false,"context_lines":[{"line_number":49,"context_line":"    if [ -f \".stestr/0\" ] ; then"},{"line_number":50,"context_line":"        # Archive the raw stestr file to debug subunit-1to2"},{"line_number":51,"context_line":"        # ValueError: Length too long: 7341892 errors"},{"line_number":52,"context_line":"        cp .stestr/0 ./stestr.0"},{"line_number":53,"context_line":"        gzip -9 ./stestr.0"},{"line_number":54,"context_line":"        sudo mv stestr.0.gz /opt/stack/logs/"},{"line_number":55,"context_line":""}],"source_content_type":"text/x-sh","patch_set":3,"id":"5f2577a7_cde1d3fe","line":52,"in_reply_to":"5f2577a7_0781fc4a","updated":"2017-09-13 00:02:16.000000000","message":"Done","commit_id":"1216842d51fd198f95f214e65e1971bf329c4b76"},{"author":{"_account_id":5196,"name":"Matthew Treinish","email":"mtreinish@kortar.org","username":"treinish"},"change_message_id":"b3bd30bb02eb9612cd3b9b3b96d467d21fabdd7c","unresolved":false,"context_lines":[{"line_number":48,"context_line":"    if [ -d \".stestr\" ] ; then"},{"line_number":49,"context_line":"        sudo -H -u \"$owner\" chmod o+rw -R .stestr"},{"line_number":50,"context_line":"        if [ -f \".stestr/0\" ] ; then"},{"line_number":51,"context_line":"            stestr last --subunit \u003e ./stestr.subunit"},{"line_number":52,"context_line":"            $SCRIPTS_DIR/subunit2html ./stestr.subunit stestr_results.html"},{"line_number":53,"context_line":"            gzip -9 ./stestr.subunit"},{"line_number":54,"context_line":"            gzip -9 ./stestr_results.html"}],"source_content_type":"text/x-sh","patch_set":5,"id":"5f2577a7_3ec07150","line":51,"updated":"2017-09-13 15:44:30.000000000","message":"So this needs to be testrepository.subunit for data collection. We have the subunit2sql processing that does data aggregation only looks for the file name testrepository.subunit","commit_id":"d91fd9732428e1244ee07344b9137912a489a098"},{"author":{"_account_id":10273,"name":"Adam Harwell","email":"flux.adam@gmail.com","username":"rm_you"},"change_message_id":"1ea6b791fa54204f3701963fcb12475114c76399","unresolved":false,"context_lines":[{"line_number":48,"context_line":"    if [ -d \".stestr\" ] ; then"},{"line_number":49,"context_line":"        sudo -H -u \"$owner\" chmod o+rw -R .stestr"},{"line_number":50,"context_line":"        if [ -f \".stestr/0\" ] ; then"},{"line_number":51,"context_line":"            stestr last --subunit \u003e ./stestr.subunit"},{"line_number":52,"context_line":"            $SCRIPTS_DIR/subunit2html ./stestr.subunit stestr_results.html"},{"line_number":53,"context_line":"            gzip -9 ./stestr.subunit"},{"line_number":54,"context_line":"            gzip -9 ./stestr_results.html"}],"source_content_type":"text/x-sh","patch_set":5,"id":"5f2577a7_88684621","line":51,"in_reply_to":"5f2577a7_3ec07150","updated":"2017-09-13 17:06:31.000000000","message":"Done","commit_id":"d91fd9732428e1244ee07344b9137912a489a098"}],"test-requirements.txt":[{"author":{"_account_id":5196,"name":"Matthew Treinish","email":"mtreinish@kortar.org","username":"treinish"},"change_message_id":"25cc947db4a74910a5368d232d017ef8056caefd","unresolved":false,"context_lines":[{"line_number":8,"context_line":"python-subunit\u003e\u003d0.0.18 # Apache-2.0/BSD"},{"line_number":9,"context_line":"os-api-ref\u003e\u003d1.0.0 # Apache-2.0"},{"line_number":10,"context_line":"oslotest\u003e\u003d1.10.0 # Apache-2.0"},{"line_number":11,"context_line":"testrepository\u003e\u003d0.0.18 # Apache-2.0/BSD"},{"line_number":12,"context_line":"testtools\u003e\u003d1.4.0 # MIT"},{"line_number":13,"context_line":"testresources\u003e\u003d0.2.4 # Apache-2.0/BSD"},{"line_number":14,"context_line":"testscenarios\u003e\u003d0.4 # Apache-2.0/BSD"}],"source_content_type":"text/plain","patch_set":3,"id":"5f2577a7_a791089c","side":"PARENT","line":11,"updated":"2017-09-12 22:32:34.000000000","message":"You might still need this for the coverage job","commit_id":"08bb17abeb6003d9f3c4714aca895d7771a531af"},{"author":{"_account_id":10273,"name":"Adam Harwell","email":"flux.adam@gmail.com","username":"rm_you"},"change_message_id":"06b700e1f222f40264811b55fb04272b1d3b3a07","unresolved":false,"context_lines":[{"line_number":8,"context_line":"python-subunit\u003e\u003d0.0.18 # Apache-2.0/BSD"},{"line_number":9,"context_line":"os-api-ref\u003e\u003d1.0.0 # Apache-2.0"},{"line_number":10,"context_line":"oslotest\u003e\u003d1.10.0 # Apache-2.0"},{"line_number":11,"context_line":"testrepository\u003e\u003d0.0.18 # Apache-2.0/BSD"},{"line_number":12,"context_line":"testtools\u003e\u003d1.4.0 # MIT"},{"line_number":13,"context_line":"testresources\u003e\u003d0.2.4 # Apache-2.0/BSD"},{"line_number":14,"context_line":"testscenarios\u003e\u003d0.4 # Apache-2.0/BSD"}],"source_content_type":"text/plain","patch_set":3,"id":"5f2577a7_4dd6032a","side":"PARENT","line":11,"in_reply_to":"5f2577a7_a791089c","updated":"2017-09-13 00:02:16.000000000","message":"Done","commit_id":"08bb17abeb6003d9f3c4714aca895d7771a531af"}],"tox.ini":[{"author":{"_account_id":5196,"name":"Matthew Treinish","email":"mtreinish@kortar.org","username":"treinish"},"change_message_id":"b3bd30bb02eb9612cd3b9b3b96d467d21fabdd7c","unresolved":false,"context_lines":[{"line_number":103,"context_line":"  find"},{"line_number":104,"context_line":"commands \u003d"},{"line_number":105,"context_line":"    find . -type f -name \"*.pyc\" -delete"},{"line_number":106,"context_line":"    rm -f .stestr/times.dbm"},{"line_number":107,"context_line":"    python -m unittest specs-tests.test_titles"},{"line_number":108,"context_line":""},{"line_number":109,"context_line":""}],"source_content_type":"text/x-properties","patch_set":5,"id":"5f2577a7_5ea21db0","line":106,"updated":"2017-09-13 15:44:30.000000000","message":"This line is actually no long needed. One of the advantages of stestr is that it works between py2 and py3 without a dbm error. So you can just remove this line.","commit_id":"d91fd9732428e1244ee07344b9137912a489a098"},{"author":{"_account_id":10273,"name":"Adam Harwell","email":"flux.adam@gmail.com","username":"rm_you"},"change_message_id":"1ea6b791fa54204f3701963fcb12475114c76399","unresolved":false,"context_lines":[{"line_number":103,"context_line":"  find"},{"line_number":104,"context_line":"commands \u003d"},{"line_number":105,"context_line":"    find . -type f -name \"*.pyc\" -delete"},{"line_number":106,"context_line":"    rm -f .stestr/times.dbm"},{"line_number":107,"context_line":"    python -m unittest specs-tests.test_titles"},{"line_number":108,"context_line":""},{"line_number":109,"context_line":""}],"source_content_type":"text/x-properties","patch_set":5,"id":"5f2577a7_88d606c3","line":106,"in_reply_to":"5f2577a7_5ea21db0","updated":"2017-09-13 17:06:31.000000000","message":"Done","commit_id":"d91fd9732428e1244ee07344b9137912a489a098"}]}
