)]}'
{"neutron/tests/contrib/post_test_hook.sh":[{"author":{"_account_id":2035,"name":"Maru Newby","email":"marun@redhat.com","username":"maru"},"change_message_id":"e07cc4195de3ce624388af94de43baf77f0bce1d","unresolved":false,"context_lines":[{"line_number":28,"context_line":"    owner\u003dtempest"},{"line_number":29,"context_line":"    TEMPEST_DIR\u003d\"$BASE/new/tempest\""},{"line_number":30,"context_line":"    sudo -H -u $owner tox -e $venv --notest"},{"line_number":31,"context_line":"    sudo -H -u $owner .tox/$venv/bin/pip install $TEMPEST_DIR"},{"line_number":32,"context_line":"fi"},{"line_number":33,"context_line":""},{"line_number":34,"context_line":"# Run tests as the stack user to allow sudo+rootwrap."}],"source_content_type":"text/x-sh","patch_set":4,"id":"3a961159_615d79ec","line":31,"updated":"2014-12-31 01:49:51.000000000","message":"I figured out what was preventing the job from passing.  Tempest was being installed in the venv non-editable, which meant that it was trying to load its configuration from $venv/lib/python2.7/site-packages/tempest/etc/tempest.conf (which didn\u0027t exist) instead of the devstack-populated file ($BASE/new/tempest/etc/tempest.conf.  Changing this line to do a dev installation (pip install -e $TEMPEST_DIR) allows the api job to run.","commit_id":"0277c8f2ba9578a524d5af249fcfa01d31a02e01"},{"author":{"_account_id":748,"name":"Armando Migliaccio","email":"armamig@gmail.com","username":"armando-migliaccio"},"change_message_id":"e2e95afc0997343f644befb0233aae3582ebe202","unresolved":false,"context_lines":[{"line_number":28,"context_line":"    owner\u003dtempest"},{"line_number":29,"context_line":"    TEMPEST_DIR\u003d\"$BASE/new/tempest\""},{"line_number":30,"context_line":"    sudo -H -u $owner tox -e $venv --notest"},{"line_number":31,"context_line":"    sudo -H -u $owner .tox/$venv/bin/pip install $TEMPEST_DIR"},{"line_number":32,"context_line":"fi"},{"line_number":33,"context_line":""},{"line_number":34,"context_line":"# Run tests as the stack user to allow sudo+rootwrap."}],"source_content_type":"text/x-sh","patch_set":4,"id":"3a961159_ffad80eb","line":31,"in_reply_to":"3a961159_615d79ec","updated":"2014-12-31 04:51:40.000000000","message":"if I understood you correctly, you want me to replace [1] with [2]?\n\n [1] sudo -H -u $owner .tox/$venv/bin/pip install $TEMPEST_DIR\n [2] sudo -H -u $owner .tox/$venv/bin/pip install -e $TEMPEST_DIR","commit_id":"0277c8f2ba9578a524d5af249fcfa01d31a02e01"},{"author":{"_account_id":2035,"name":"Maru Newby","email":"marun@redhat.com","username":"maru"},"change_message_id":"e07cc4195de3ce624388af94de43baf77f0bce1d","unresolved":false,"context_lines":[{"line_number":32,"context_line":"fi"},{"line_number":33,"context_line":""},{"line_number":34,"context_line":"# Run tests as the stack user to allow sudo+rootwrap."},{"line_number":35,"context_line":"sudo chown -R $owner:$group $NEUTRON_DIR"},{"line_number":36,"context_line":"cd $NEUTRON_DIR"},{"line_number":37,"context_line":""},{"line_number":38,"context_line":"echo \"Running neutron $venv test suite\""}],"source_content_type":"text/x-sh","patch_set":4,"id":"3a961159_e1708975","line":35,"updated":"2014-12-31 01:49:51.000000000","message":"These permissions need to be set before tox is invoked on lines 30 and 31.","commit_id":"0277c8f2ba9578a524d5af249fcfa01d31a02e01"},{"author":{"_account_id":748,"name":"Armando Migliaccio","email":"armamig@gmail.com","username":"armando-migliaccio"},"change_message_id":"e2e95afc0997343f644befb0233aae3582ebe202","unresolved":false,"context_lines":[{"line_number":32,"context_line":"fi"},{"line_number":33,"context_line":""},{"line_number":34,"context_line":"# Run tests as the stack user to allow sudo+rootwrap."},{"line_number":35,"context_line":"sudo chown -R $owner:$group $NEUTRON_DIR"},{"line_number":36,"context_line":"cd $NEUTRON_DIR"},{"line_number":37,"context_line":""},{"line_number":38,"context_line":"echo \"Running neutron $venv test suite\""}],"source_content_type":"text/x-sh","patch_set":4,"id":"3a961159_ff3f40b3","line":35,"in_reply_to":"3a961159_e1708975","updated":"2014-12-31 04:51:40.000000000","message":"Got it.","commit_id":"0277c8f2ba9578a524d5af249fcfa01d31a02e01"},{"author":{"_account_id":2035,"name":"Maru Newby","email":"marun@redhat.com","username":"maru"},"change_message_id":"50f35cd64246fa357d87683e2c0d689cc71456f3","unresolved":false,"context_lines":[{"line_number":28,"context_line":"function api_prep_func {"},{"line_number":29,"context_line":"    TEMPEST_DIR\u003d\"$BASE/new/tempest\""},{"line_number":30,"context_line":"    sudo -H -u $owner tox -e $venv --notest"},{"line_number":31,"context_line":"    sudo -H -u $owner .tox/$venv/bin/pip install -e $TEMPEST_DIR"},{"line_number":32,"context_line":"}"},{"line_number":33,"context_line":""},{"line_number":34,"context_line":""}],"source_content_type":"text/x-sh","patch_set":5,"id":"3a961159_059af6c4","line":31,"updated":"2014-12-31 20:06:21.000000000","message":"Yes, this should work.","commit_id":"0b19df1e7912dd762c5f7a41db0922ad43955d11"}]}
