)]}'
{"gate/post_test_hook.sh":[{"author":{"_account_id":6873,"name":"Matt Riedemann","email":"mriedem.os@gmail.com","username":"mriedem"},"change_message_id":"d85f14e26088253f3a0a32bbfca1793d069e0afb","unresolved":false,"context_lines":[{"line_number":96,"context_line":""},{"line_number":97,"context_line":"echo \"Healing allocations\""},{"line_number":98,"context_line":"# First test with the --dry-run over all instances in all cells."},{"line_number":99,"context_line":"rc\u003d$(nova-manage placement heal_allocations --verbose --dry-run)"},{"line_number":100,"context_line":"# Since we did not create allocations because of --dry-run the rc should be 4."},{"line_number":101,"context_line":"if [[ ${rc} -ne 4 ]]; then"},{"line_number":102,"context_line":"    echo \"Expected return code 4 from heal_allocations with --dry-run\""}],"source_content_type":"text/x-sh","patch_set":1,"id":"9fb8cfa7_d37a3c22","line":99,"range":{"start_line":99,"start_character":0,"end_line":99,"end_character":2},"updated":"2019-06-27 18:07:05.000000000","message":"This needs to be:\n\nrc\u003d$?","commit_id":"6e1edc1fc17360741ee1b1f467fe10897ce87cc5"},{"author":{"_account_id":6873,"name":"Matt Riedemann","email":"mriedem.os@gmail.com","username":"mriedem"},"change_message_id":"a73bdb9264c939ee41bc90bd7f5f5923e1be32b1","unresolved":false,"context_lines":[{"line_number":103,"context_line":"    exit 2"},{"line_number":104,"context_line":"fi"},{"line_number":105,"context_line":"# Now test with just the single instance and actually perform the heal."},{"line_number":106,"context_line":"nova-manage placement heal_allocations --verbose --instance ${server_id}"},{"line_number":107,"context_line":""},{"line_number":108,"context_line":"# Make sure there are allocations for the consumer."},{"line_number":109,"context_line":"allocations\u003d$(openstack resource provider allocation show ${server_id} \\"}],"source_content_type":"text/x-sh","patch_set":1,"id":"9fb8cfa7_73eef0ed","line":106,"updated":"2019-06-27 17:30:20.000000000","message":"If this returns a non-0 return code we want to fail (note set -e on L49).","commit_id":"6e1edc1fc17360741ee1b1f467fe10897ce87cc5"},{"author":{"_account_id":6873,"name":"Matt Riedemann","email":"mriedem.os@gmail.com","username":"mriedem"},"change_message_id":"aad05463903ffef4076123be15a04cfcb3b06026","unresolved":false,"context_lines":[{"line_number":89,"context_line":"echo \"Creating server for heal_allocations testing\""},{"line_number":90,"context_line":"openstack server create --image ${image_id} --flavor ${flavor_id} \\"},{"line_number":91,"context_line":"--nic net-id\u003d${network_id} --wait heal-allocations-test"},{"line_number":92,"context_line":"server_id\u003d$(openstack server show heal-allocations-test -f value -c ID)"},{"line_number":93,"context_line":""},{"line_number":94,"context_line":"echo \"Deleting allocations in placement for the server\""},{"line_number":95,"context_line":"openstack resource provider allocation delete ${server_id}"}],"source_content_type":"text/x-sh","patch_set":2,"id":"9fb8cfa7_f022bfa2","line":92,"range":{"start_line":92,"start_character":68,"end_line":92,"end_character":70},"updated":"2019-06-28 19:21:23.000000000","message":"needs to be \"id\"\n\nhttp://logs.openstack.org/94/667994/2/check/nova-next/1519821/logs/devstack-gate-post_test_hook.txt.gz#_2019-06-28_01_50_02_145","commit_id":"c7d4898ab1107894bf2fb358300d218a60ff5189"},{"author":{"_account_id":6873,"name":"Matt Riedemann","email":"mriedem.os@gmail.com","username":"mriedem"},"change_message_id":"cc094e269762b9e440e45391dcce5ba3515e97e6","unresolved":false,"context_lines":[{"line_number":89,"context_line":"echo \"Creating server for heal_allocations testing\""},{"line_number":90,"context_line":"openstack server create --image ${image_id} --flavor ${flavor_id} \\"},{"line_number":91,"context_line":"--nic net-id\u003d${network_id} --wait heal-allocations-test"},{"line_number":92,"context_line":"server_id\u003d$(openstack server show heal-allocations-test -f value -c ID)"},{"line_number":93,"context_line":""},{"line_number":94,"context_line":"echo \"Deleting allocations in placement for the server\""},{"line_number":95,"context_line":"openstack resource provider allocation delete ${server_id}"}],"source_content_type":"text/x-sh","patch_set":2,"id":"9fb8cfa7_10ebd312","line":92,"range":{"start_line":92,"start_character":68,"end_line":92,"end_character":70},"in_reply_to":"9fb8cfa7_f022bfa2","updated":"2019-06-28 19:29:05.000000000","message":"Done","commit_id":"c7d4898ab1107894bf2fb358300d218a60ff5189"},{"author":{"_account_id":14070,"name":"Eric Fried","email":"openstack@fried.cc","username":"efried"},"change_message_id":"c56b7066de5ddf0b9dcb936c07492bd112f53390","unresolved":false,"context_lines":[{"line_number":90,"context_line":"openstack server create --image ${image_id} --flavor ${flavor_id} \\"},{"line_number":91,"context_line":"--nic net-id\u003d${network_id} --wait heal-allocations-test"},{"line_number":92,"context_line":"server_id\u003d$(openstack server show heal-allocations-test -f value -c ID)"},{"line_number":93,"context_line":""},{"line_number":94,"context_line":"echo \"Deleting allocations in placement for the server\""},{"line_number":95,"context_line":"openstack resource provider allocation delete ${server_id}"},{"line_number":96,"context_line":""}],"source_content_type":"text/x-sh","patch_set":2,"id":"9fb8cfa7_d9525b67","line":93,"updated":"2019-06-27 19:25:10.000000000","message":"do we want to get the allocations and assert they\u0027re nonempty here...","commit_id":"c7d4898ab1107894bf2fb358300d218a60ff5189"},{"author":{"_account_id":6873,"name":"Matt Riedemann","email":"mriedem.os@gmail.com","username":"mriedem"},"change_message_id":"cc094e269762b9e440e45391dcce5ba3515e97e6","unresolved":false,"context_lines":[{"line_number":90,"context_line":"openstack server create --image ${image_id} --flavor ${flavor_id} \\"},{"line_number":91,"context_line":"--nic net-id\u003d${network_id} --wait heal-allocations-test"},{"line_number":92,"context_line":"server_id\u003d$(openstack server show heal-allocations-test -f value -c ID)"},{"line_number":93,"context_line":""},{"line_number":94,"context_line":"echo \"Deleting allocations in placement for the server\""},{"line_number":95,"context_line":"openstack resource provider allocation delete ${server_id}"},{"line_number":96,"context_line":""}],"source_content_type":"text/x-sh","patch_set":2,"id":"9fb8cfa7_708a4f64","line":93,"in_reply_to":"9fb8cfa7_10019305","updated":"2019-06-28 19:29:05.000000000","message":"Done","commit_id":"c7d4898ab1107894bf2fb358300d218a60ff5189"},{"author":{"_account_id":6873,"name":"Matt Riedemann","email":"mriedem.os@gmail.com","username":"mriedem"},"change_message_id":"58f8a5f2861ca6b360b7ddc0bc3f1e48c51cae37","unresolved":false,"context_lines":[{"line_number":90,"context_line":"openstack server create --image ${image_id} --flavor ${flavor_id} \\"},{"line_number":91,"context_line":"--nic net-id\u003d${network_id} --wait heal-allocations-test"},{"line_number":92,"context_line":"server_id\u003d$(openstack server show heal-allocations-test -f value -c ID)"},{"line_number":93,"context_line":""},{"line_number":94,"context_line":"echo \"Deleting allocations in placement for the server\""},{"line_number":95,"context_line":"openstack resource provider allocation delete ${server_id}"},{"line_number":96,"context_line":""}],"source_content_type":"text/x-sh","patch_set":2,"id":"9fb8cfa7_10019305","line":93,"in_reply_to":"9fb8cfa7_d9525b67","updated":"2019-06-28 19:19:44.000000000","message":"I thought about that, and could do it.","commit_id":"c7d4898ab1107894bf2fb358300d218a60ff5189"},{"author":{"_account_id":14070,"name":"Eric Fried","email":"openstack@fried.cc","username":"efried"},"change_message_id":"c56b7066de5ddf0b9dcb936c07492bd112f53390","unresolved":false,"context_lines":[{"line_number":93,"context_line":""},{"line_number":94,"context_line":"echo \"Deleting allocations in placement for the server\""},{"line_number":95,"context_line":"openstack resource provider allocation delete ${server_id}"},{"line_number":96,"context_line":""},{"line_number":97,"context_line":"echo \"Healing allocations\""},{"line_number":98,"context_line":"# First test with the --dry-run over all instances in all cells."},{"line_number":99,"context_line":"set +e"}],"source_content_type":"text/x-sh","patch_set":2,"id":"9fb8cfa7_794d6fc2","line":96,"updated":"2019-06-27 19:25:10.000000000","message":"...and empty here?","commit_id":"c7d4898ab1107894bf2fb358300d218a60ff5189"},{"author":{"_account_id":6873,"name":"Matt Riedemann","email":"mriedem.os@gmail.com","username":"mriedem"},"change_message_id":"58f8a5f2861ca6b360b7ddc0bc3f1e48c51cae37","unresolved":false,"context_lines":[{"line_number":93,"context_line":""},{"line_number":94,"context_line":"echo \"Deleting allocations in placement for the server\""},{"line_number":95,"context_line":"openstack resource provider allocation delete ${server_id}"},{"line_number":96,"context_line":""},{"line_number":97,"context_line":"echo \"Healing allocations\""},{"line_number":98,"context_line":"# First test with the --dry-run over all instances in all cells."},{"line_number":99,"context_line":"set +e"}],"source_content_type":"text/x-sh","patch_set":2,"id":"9fb8cfa7_9014a345","line":96,"in_reply_to":"9fb8cfa7_794d6fc2","updated":"2019-06-28 19:19:44.000000000","message":"Could...","commit_id":"c7d4898ab1107894bf2fb358300d218a60ff5189"},{"author":{"_account_id":6873,"name":"Matt Riedemann","email":"mriedem.os@gmail.com","username":"mriedem"},"change_message_id":"cc094e269762b9e440e45391dcce5ba3515e97e6","unresolved":false,"context_lines":[{"line_number":93,"context_line":""},{"line_number":94,"context_line":"echo \"Deleting allocations in placement for the server\""},{"line_number":95,"context_line":"openstack resource provider allocation delete ${server_id}"},{"line_number":96,"context_line":""},{"line_number":97,"context_line":"echo \"Healing allocations\""},{"line_number":98,"context_line":"# First test with the --dry-run over all instances in all cells."},{"line_number":99,"context_line":"set +e"}],"source_content_type":"text/x-sh","patch_set":2,"id":"9fb8cfa7_508f0b74","line":96,"in_reply_to":"9fb8cfa7_9014a345","updated":"2019-06-28 19:29:05.000000000","message":"Done","commit_id":"c7d4898ab1107894bf2fb358300d218a60ff5189"},{"author":{"_account_id":6873,"name":"Matt Riedemann","email":"mriedem.os@gmail.com","username":"mriedem"},"change_message_id":"671c5a8aff7f837cfe6fa15627afc305521be3f2","unresolved":false,"context_lines":[{"line_number":93,"context_line":""},{"line_number":94,"context_line":"# Make sure there are allocations for the consumer."},{"line_number":95,"context_line":"allocations\u003d$(openstack resource provider allocation show ${server_id} \\"},{"line_number":96,"context_line":"              -c allocations -f value)"},{"line_number":97,"context_line":"if [[ \"$allocations\" \u003d\u003d \"{}\" ]]; then"},{"line_number":98,"context_line":"    echo \"No allocations found for the server.\""},{"line_number":99,"context_line":"    exit 2"}],"source_content_type":"text/x-sh","patch_set":3,"id":"9fb8cfa7_2967924f","line":96,"updated":"2019-06-29 02:39:02.000000000","message":"Bah:\n\nhttp://logs.openstack.org/94/667994/3/check/nova-next/6454bb3/logs/devstack-gate-post_test_hook.txt.gz#_2019-06-28_21_24_05_902\n\nNo recognized column names in [\u0027allocations\u0027]. Recognized columns are (\u0027resource_provider\u0027, \u0027generation\u0027, \u0027resources\u0027).","commit_id":"795383c283ab4f0e48b9d8957730b5350f316974"}]}
