)]}'
{"/COMMIT_MSG":[{"author":{"_account_id":8873,"name":"Assaf Muller","email":"amuller@redhat.com","username":"amuller"},"change_message_id":"8f45b344b0f6aea9edb33a47d2f882add074021b","unresolved":false,"context_lines":[{"line_number":3,"context_line":"AuthorDate: 2015-01-09 15:02:59 +0000"},{"line_number":4,"context_line":"Commit:     Maru Newby \u003cmarun@redhat.com\u003e"},{"line_number":5,"context_line":"CommitDate: 2015-02-06 18:43:48 +0000"},{"line_number":6,"context_line":""},{"line_number":7,"context_line":"Automate host configuration for functional testing"},{"line_number":8,"context_line":""},{"line_number":9,"context_line":"This change adds a new script, configure_for_func_testing.sh, that"}],"source_content_type":"text/x-gerrit-commit-message","patch_set":29,"id":"da86d52c_83e1d200","line":6,"updated":"2015-02-06 19:59:23.000000000","message":"I think that most people\u0027s flow (Well, at least my own) is to install devstack all in one on some VM so they have a working setup. Then, they run the functional tests on that setup. configure_for_func_testing.sh now runs stack.sh on the machine, destroying the existing setup, if I understand correctly. Is it possible to provide an additional script, that would only run post-stack.sh commands to set the machine up for functional testing, and assume that stack.sh was already run? The second script could make assumptions as to how stack.sh was run if those assumptions are documented.","commit_id":"e28983e4d00ba5188e647cc78a4eca4ef67d39dc"},{"author":{"_account_id":2035,"name":"Maru Newby","email":"marun@redhat.com","username":"maru"},"change_message_id":"bb6b21815904a5084fb11793bc2a776c5cdfc8a3","unresolved":false,"context_lines":[{"line_number":3,"context_line":"AuthorDate: 2015-01-09 15:02:59 +0000"},{"line_number":4,"context_line":"Commit:     Maru Newby \u003cmarun@redhat.com\u003e"},{"line_number":5,"context_line":"CommitDate: 2015-02-06 18:43:48 +0000"},{"line_number":6,"context_line":""},{"line_number":7,"context_line":"Automate host configuration for functional testing"},{"line_number":8,"context_line":""},{"line_number":9,"context_line":"This change adds a new script, configure_for_func_testing.sh, that"}],"source_content_type":"text/x-gerrit-commit-message","patch_set":29,"id":"da86d52c_f2f09993","line":6,"in_reply_to":"da86d52c_83e1d200","updated":"2015-02-06 21:02:26.000000000","message":"Fair point.  The existing script could be made configurable to assume that neutron os dependencies have already been installed (e.g. neutron and its services were enabled in a stack run).  I\u0027ll also need to rename the sudoers file so that it doesn\u0027t conflict with the one installed by devstack and make sure that the functioanl testing sudoers file gets invoked after the devstack-installed so that the secure_path setting can be a superset of what devstack expects.","commit_id":"e28983e4d00ba5188e647cc78a4eca4ef67d39dc"}],"TESTING.rst":[{"author":{"_account_id":6524,"name":"Henry Gessau","email":"HenryG@gessau.net","username":"gessau"},"change_message_id":"52a15a76e5658998e7692c4b8d2834ba35ce7f1f","unresolved":false,"context_lines":[{"line_number":128,"context_line":"modification to the underlying host.  It is recommended that the"},{"line_number":129,"context_line":"following commands be invoked only on a throw-away VM::"},{"line_number":130,"context_line":""},{"line_number":131,"context_line":"    git clone https://github.com/openstack-dev/devstack"},{"line_number":132,"context_line":"    IS_GATE\u003dFalse /bin/bash ./neutron/tests/contrib/gate_hook.sh"},{"line_number":133,"context_line":"    tox -e dsvm-functional"},{"line_number":134,"context_line":""}],"source_content_type":"text/x-rst","patch_set":20,"id":"da86d52c_0e0d8737","line":131,"updated":"2015-02-04 00:59:09.000000000","message":"github.com -\u003e git.openstack.org ?\n\nI think a little more info is needed about where to clone the devstack repo to (relative to neutron?).","commit_id":"9c1e54d4e6cfbc4e2ad9d69764f86efe6fc233d0"},{"author":{"_account_id":2035,"name":"Maru Newby","email":"marun@redhat.com","username":"maru"},"change_message_id":"9bc8000a255c3655838d7b205df78874860adc04","unresolved":false,"context_lines":[{"line_number":128,"context_line":"modification to the underlying host.  It is recommended that the"},{"line_number":129,"context_line":"following commands be invoked only on a throw-away VM::"},{"line_number":130,"context_line":""},{"line_number":131,"context_line":"    git clone https://github.com/openstack-dev/devstack"},{"line_number":132,"context_line":"    IS_GATE\u003dFalse /bin/bash ./neutron/tests/contrib/gate_hook.sh"},{"line_number":133,"context_line":"    tox -e dsvm-functional"},{"line_number":134,"context_line":""}],"source_content_type":"text/x-rst","patch_set":20,"id":"da86d52c_bee811e3","line":131,"in_reply_to":"da86d52c_0e0d8737","updated":"2015-02-04 20:08:04.000000000","message":"The instructions are as with everything else in this file - unless otherwise specified, PWD is assumed to be the root of the neutron repo.","commit_id":"9c1e54d4e6cfbc4e2ad9d69764f86efe6fc233d0"},{"author":{"_account_id":6524,"name":"Henry Gessau","email":"HenryG@gessau.net","username":"gessau"},"change_message_id":"52a15a76e5658998e7692c4b8d2834ba35ce7f1f","unresolved":false,"context_lines":[{"line_number":129,"context_line":"following commands be invoked only on a throw-away VM::"},{"line_number":130,"context_line":""},{"line_number":131,"context_line":"    git clone https://github.com/openstack-dev/devstack"},{"line_number":132,"context_line":"    IS_GATE\u003dFalse /bin/bash ./neutron/tests/contrib/gate_hook.sh"},{"line_number":133,"context_line":"    tox -e dsvm-functional"},{"line_number":134,"context_line":""},{"line_number":135,"context_line":"For more information on the standard Tox-based test infrastructure used by"}],"source_content_type":"text/x-rst","patch_set":20,"id":"da86d52c_2e15eb3f","line":132,"updated":"2015-02-04 00:59:09.000000000","message":"The above steps alone didn\u0027t work for me. Does something else need to be set up before this? $DEST?","commit_id":"9c1e54d4e6cfbc4e2ad9d69764f86efe6fc233d0"},{"author":{"_account_id":6524,"name":"Henry Gessau","email":"HenryG@gessau.net","username":"gessau"},"change_message_id":"076615ccf18cab5b9dccd88ce9176d1a316d4c97","unresolved":false,"context_lines":[{"line_number":129,"context_line":"following commands be invoked only on a throw-away VM::"},{"line_number":130,"context_line":""},{"line_number":131,"context_line":"    git clone https://github.com/openstack-dev/devstack"},{"line_number":132,"context_line":"    IS_GATE\u003dFalse /bin/bash ./neutron/tests/contrib/gate_hook.sh"},{"line_number":133,"context_line":"    tox -e dsvm-functional"},{"line_number":134,"context_line":""},{"line_number":135,"context_line":"For more information on the standard Tox-based test infrastructure used by"}],"source_content_type":"text/x-rst","patch_set":20,"id":"da86d52c_683972f1","line":132,"in_reply_to":"da86d52c_2e15eb3f","updated":"2015-02-04 21:06:59.000000000","message":"PBCAK. The steps work fine if I actually use this review\u0027s changes. Sorry.","commit_id":"9c1e54d4e6cfbc4e2ad9d69764f86efe6fc233d0"},{"author":{"_account_id":8873,"name":"Assaf Muller","email":"amuller@redhat.com","username":"amuller"},"change_message_id":"8f45b344b0f6aea9edb33a47d2f882add074021b","unresolved":false,"context_lines":[{"line_number":122,"context_line":"To run all the functional tests, including those requiring sudo"},{"line_number":123,"context_line":"privileges and system-specific dependencies, the procedure defined by"},{"line_number":124,"context_line":"tools/configure_for_func_testing.sh should be followed."},{"line_number":125,"context_line":""},{"line_number":126,"context_line":"WARNING: configure_for_func_testing.sh relies on devstack to perform"},{"line_number":127,"context_line":"extensive modification to the underlying host.  Execution of the"},{"line_number":128,"context_line":"script requires sudo privileges and it is recommended that the"}],"source_content_type":"text/x-rst","patch_set":29,"id":"da86d52c_43ba7ac1","line":125,"updated":"2015-02-06 19:59:23.000000000","message":"What user is expected to run this command? Any user with nopasswd sudo privileges?","commit_id":"e28983e4d00ba5188e647cc78a4eca4ef67d39dc"},{"author":{"_account_id":2035,"name":"Maru Newby","email":"marun@redhat.com","username":"maru"},"change_message_id":"bb6b21815904a5084fb11793bc2a776c5cdfc8a3","unresolved":false,"context_lines":[{"line_number":122,"context_line":"To run all the functional tests, including those requiring sudo"},{"line_number":123,"context_line":"privileges and system-specific dependencies, the procedure defined by"},{"line_number":124,"context_line":"tools/configure_for_func_testing.sh should be followed."},{"line_number":125,"context_line":""},{"line_number":126,"context_line":"WARNING: configure_for_func_testing.sh relies on devstack to perform"},{"line_number":127,"context_line":"extensive modification to the underlying host.  Execution of the"},{"line_number":128,"context_line":"script requires sudo privileges and it is recommended that the"}],"source_content_type":"text/x-rst","patch_set":29,"id":"da86d52c_d23c75c2","line":125,"in_reply_to":"da86d52c_43ba7ac1","updated":"2015-02-06 21:02:26.000000000","message":"See: line 128","commit_id":"e28983e4d00ba5188e647cc78a4eca4ef67d39dc"},{"author":{"_account_id":748,"name":"Armando Migliaccio","email":"armamig@gmail.com","username":"armando-migliaccio"},"change_message_id":"86cab35f3f10fc40485c8b85c9b1c1a97b02e86a","unresolved":false,"context_lines":[{"line_number":130,"context_line":""},{"line_number":131,"context_line":"    git clone https://git.openstack.org/openstack-dev/devstack"},{"line_number":132,"context_line":"    ./tools/configure_for_func_testing.sh ./devstack -i"},{"line_number":133,"context_line":"    tox -e dsvm-functional"},{"line_number":134,"context_line":""},{"line_number":135,"context_line":"The \u0027-i\u0027 option is optional and instructs the script to use devstack"},{"line_number":136,"context_line":"to install and configure all of Neutron\u0027s package dependencies.  It is"}],"source_content_type":"text/x-rst","patch_set":34,"id":"da86d52c_571a8ac6","line":133,"updated":"2015-02-11 20:34:14.000000000","message":"These instructions assume I am in the Neutron PATH.\n\nSo the git clone example above should be (cloning within the neutron repo is a bit naughty):\n\n git clone https://git.openstack.org/openstack-dev/devstack ../devstack\n ./tools/configure_for_func_testing.sh ../devstack -i\n\nShould be flip to absolute paths?","commit_id":"9b755450859936d8119ba84b2d8af48051f8af4b"},{"author":{"_account_id":2035,"name":"Maru Newby","email":"marun@redhat.com","username":"maru"},"change_message_id":"a6ee100d80421104d113836c3b2adb114f65b2f8","unresolved":false,"context_lines":[{"line_number":130,"context_line":""},{"line_number":131,"context_line":"    git clone https://git.openstack.org/openstack-dev/devstack"},{"line_number":132,"context_line":"    ./tools/configure_for_func_testing.sh ./devstack -i"},{"line_number":133,"context_line":"    tox -e dsvm-functional"},{"line_number":134,"context_line":""},{"line_number":135,"context_line":"The \u0027-i\u0027 option is optional and instructs the script to use devstack"},{"line_number":136,"context_line":"to install and configure all of Neutron\u0027s package dependencies.  It is"}],"source_content_type":"text/x-rst","patch_set":34,"id":"da86d52c_c2068d85","line":133,"in_reply_to":"da86d52c_571a8ac6","updated":"2015-02-13 22:25:53.000000000","message":"Done","commit_id":"9b755450859936d8119ba84b2d8af48051f8af4b"},{"author":{"_account_id":105,"name":"Kyle Mestery","email":"mestery@mestery.com","username":"mestery"},"change_message_id":"d1ae604c8e86055aff16db869764f7e376548e82","unresolved":false,"context_lines":[{"line_number":126,"context_line":"WARNING: configure_for_func_testing.sh relies on devstack to perform"},{"line_number":127,"context_line":"extensive modification to the underlying host.  Execution of the"},{"line_number":128,"context_line":"script requires sudo privileges and it is recommended that the"},{"line_number":129,"context_line":"following commands be invoked only on a throw-away VM::"},{"line_number":130,"context_line":""},{"line_number":131,"context_line":"    git clone https://git.openstack.org/openstack-dev/devstack"},{"line_number":132,"context_line":"    ./tools/configure_for_func_testing.sh ./devstack -i"}],"source_content_type":"text/x-rst","patch_set":35,"id":"da86d52c_a6b7b6f4","line":129,"updated":"2015-02-13 16:55:16.000000000","message":"Are we really saying the recommended way to run functional tests is on a throwaway VM (?!?!?!)? This seems like a really heavyweight requirement. Is it because of the modifications to the underlying system?","commit_id":"c079dd0b0cd24d2ec5405c333c57e260cbb227ae"},{"author":{"_account_id":2035,"name":"Maru Newby","email":"marun@redhat.com","username":"maru"},"change_message_id":"1931e2c47b9be0f2286d8d7634ecef2d8e341b45","unresolved":false,"context_lines":[{"line_number":126,"context_line":"WARNING: configure_for_func_testing.sh relies on devstack to perform"},{"line_number":127,"context_line":"extensive modification to the underlying host.  Execution of the"},{"line_number":128,"context_line":"script requires sudo privileges and it is recommended that the"},{"line_number":129,"context_line":"following commands be invoked only on a throw-away VM::"},{"line_number":130,"context_line":""},{"line_number":131,"context_line":"    git clone https://git.openstack.org/openstack-dev/devstack"},{"line_number":132,"context_line":"    ./tools/configure_for_func_testing.sh ./devstack -i"}],"source_content_type":"text/x-rst","patch_set":35,"id":"da86d52c_05ceaeb4","line":129,"in_reply_to":"da86d52c_a6b7b6f4","updated":"2015-02-13 22:25:35.000000000","message":"It\u0027s no different than devstack in this regard, and the same host that is used to run devstack can be reused for the functional job.  Is that not clear from the paragraph that starting on line 135?","commit_id":"c079dd0b0cd24d2ec5405c333c57e260cbb227ae"}],"neutron/tests/contrib/gate_hook.sh":[{"author":{"_account_id":12444,"name":"John Schwarz","email":"jschwarz@redhat.com","username":"jschwarz"},"change_message_id":"77abf54674e968b5f51f5072e98a71d70e82d567","unresolved":false,"context_lines":[{"line_number":25,"context_line":"        if [ -d devstack ]"},{"line_number":26,"context_line":"        then"},{"line_number":27,"context_line":"            # Use a local devstack path as a default"},{"line_number":28,"context_line":"            DEFAULT_DEVSTACK_PATH\u003d`pwd`/devstack"},{"line_number":29,"context_line":"        fi"},{"line_number":30,"context_line":"    fi"},{"line_number":31,"context_line":""}],"source_content_type":"text/x-sh","patch_set":3,"id":"3a961159_087231b0","line":28,"updated":"2015-01-12 16:39:42.000000000","message":"extra stupid-people safe: do we want \u0027pwd -P\u0027 here, in case someone runs this in a symlinked directory? :)","commit_id":"619cf516e25cfba734a0f169e40ee6a69bf85aa6"},{"author":{"_account_id":2035,"name":"Maru Newby","email":"marun@redhat.com","username":"maru"},"change_message_id":"2ae04bee0ced563dd40cd655f3f2738d84957d60","unresolved":false,"context_lines":[{"line_number":25,"context_line":"        if [ -d devstack ]"},{"line_number":26,"context_line":"        then"},{"line_number":27,"context_line":"            # Use a local devstack path as a default"},{"line_number":28,"context_line":"            DEFAULT_DEVSTACK_PATH\u003d`pwd`/devstack"},{"line_number":29,"context_line":"        fi"},{"line_number":30,"context_line":"    fi"},{"line_number":31,"context_line":""}],"source_content_type":"text/x-sh","patch_set":3,"id":"3a961159_aca76a4f","line":28,"in_reply_to":"3a961159_087231b0","updated":"2015-01-12 19:55:17.000000000","message":"I\u0027m going to suggest that this isn\u0027t worth worrying about unless you can think of an actual problem a symlinked dir is going to cause.","commit_id":"619cf516e25cfba734a0f169e40ee6a69bf85aa6"},{"author":{"_account_id":12444,"name":"John Schwarz","email":"jschwarz@redhat.com","username":"jschwarz"},"change_message_id":"77abf54674e968b5f51f5072e98a71d70e82d567","unresolved":false,"context_lines":[{"line_number":92,"context_line":"    start\u003d$(date +%s)"},{"line_number":93,"context_line":"    sudo -H -u stack stdbuf -oL -eL ./stack.sh \u003e /dev/null"},{"line_number":94,"context_line":"    end\u003d$(date +%s)"},{"line_number":95,"context_line":"    took\u003d$((($end - $start) / 60))"},{"line_number":96,"context_line":"    if [[ \"$took\" -gt 15 ]]; then"},{"line_number":97,"context_line":"        echo \"WARNING: devstack run took \u003e 15 minutes, this is a very slow node.\""},{"line_number":98,"context_line":"    fi"}],"source_content_type":"text/x-sh","patch_set":3,"id":"3a961159_687015dd","line":95,"updated":"2015-01-12 16:39:42.000000000","message":"Ahhh!! Brackets!! My eyes!!! :\u003c :\u003c","commit_id":"619cf516e25cfba734a0f169e40ee6a69bf85aa6"},{"author":{"_account_id":2035,"name":"Maru Newby","email":"marun@redhat.com","username":"maru"},"change_message_id":"2ae04bee0ced563dd40cd655f3f2738d84957d60","unresolved":false,"context_lines":[{"line_number":92,"context_line":"    start\u003d$(date +%s)"},{"line_number":93,"context_line":"    sudo -H -u stack stdbuf -oL -eL ./stack.sh \u003e /dev/null"},{"line_number":94,"context_line":"    end\u003d$(date +%s)"},{"line_number":95,"context_line":"    took\u003d$((($end - $start) / 60))"},{"line_number":96,"context_line":"    if [[ \"$took\" -gt 15 ]]; then"},{"line_number":97,"context_line":"        echo \"WARNING: devstack run took \u003e 15 minutes, this is a very slow node.\""},{"line_number":98,"context_line":"    fi"}],"source_content_type":"text/x-sh","patch_set":3,"id":"3a961159_6cd822f1","line":95,"in_reply_to":"3a961159_687015dd","updated":"2015-01-12 19:55:17.000000000","message":"I take no credit - I\u0027ve lifted this stuff from devstack-gate\u0027s wrapper script so that the output is familiar in both cases.","commit_id":"619cf516e25cfba734a0f169e40ee6a69bf85aa6"},{"author":{"_account_id":12444,"name":"John Schwarz","email":"jschwarz@redhat.com","username":"jschwarz"},"change_message_id":"77abf54674e968b5f51f5072e98a71d70e82d567","unresolved":false,"context_lines":[{"line_number":103,"context_line":"    # Install and configure mysql and psql servers"},{"line_number":104,"context_line":""},{"line_number":105,"context_line":"    DATABASE_PASSWORD\u003dsecretdatabase"},{"line_number":106,"context_line":"    MYSQL_PASSWORD\u003d$DATABASE_PASSWORD"},{"line_number":107,"context_line":"    source $DEVSTACK_PATH/lib/database"},{"line_number":108,"context_line":""},{"line_number":109,"context_line":"    disable_service postgresql"}],"source_content_type":"text/x-sh","patch_set":3,"id":"3a961159_08615111","line":106,"updated":"2015-01-12 16:39:42.000000000","message":"MYSQL_PASSWORD is unused throughout this code, and likewise DATABASE_PASSWORD isn\u0027t used.","commit_id":"619cf516e25cfba734a0f169e40ee6a69bf85aa6"},{"author":{"_account_id":2035,"name":"Maru Newby","email":"marun@redhat.com","username":"maru"},"change_message_id":"2ae04bee0ced563dd40cd655f3f2738d84957d60","unresolved":false,"context_lines":[{"line_number":103,"context_line":"    # Install and configure mysql and psql servers"},{"line_number":104,"context_line":""},{"line_number":105,"context_line":"    DATABASE_PASSWORD\u003dsecretdatabase"},{"line_number":106,"context_line":"    MYSQL_PASSWORD\u003d$DATABASE_PASSWORD"},{"line_number":107,"context_line":"    source $DEVSTACK_PATH/lib/database"},{"line_number":108,"context_line":""},{"line_number":109,"context_line":"    disable_service postgresql"}],"source_content_type":"text/x-sh","patch_set":3,"id":"3a961159_ecc41210","line":106,"in_reply_to":"3a961159_08615111","updated":"2015-01-12 19:55:17.000000000","message":"We have to configure the environment for the subsequent devstack function calls (initialize_*, install_*).  If we don\u0027t set these, then devstack asks for one via stdin (not awesome in a CI job) and returns non-zero for the other.","commit_id":"619cf516e25cfba734a0f169e40ee6a69bf85aa6"},{"author":{"_account_id":12444,"name":"John Schwarz","email":"jschwarz@redhat.com","username":"jschwarz"},"change_message_id":"77abf54674e968b5f51f5072e98a71d70e82d567","unresolved":false,"context_lines":[{"line_number":175,"context_line":"    _install_databases"},{"line_number":176,"context_line":"    _install_neutron"},{"line_number":177,"context_line":""},{"line_number":178,"context_line":"    # Need to retain sudo until after the neutron rootwrap"},{"line_number":179,"context_line":"    # configuration is installed."},{"line_number":180,"context_line":"    if [[ $IS_GATE \u003d \"True\" ]]; then"},{"line_number":181,"context_line":"        echo \"Removing sudo privileges for devstack user\""}],"source_content_type":"text/x-sh","patch_set":3,"id":"3a961159_28f1ad6a","line":178,"updated":"2015-01-12 16:39:42.000000000","message":"nit: \"Need to\" -\u003e \"Only need to\"","commit_id":"619cf516e25cfba734a0f169e40ee6a69bf85aa6"},{"author":{"_account_id":2035,"name":"Maru Newby","email":"marun@redhat.com","username":"maru"},"change_message_id":"2ae04bee0ced563dd40cd655f3f2738d84957d60","unresolved":false,"context_lines":[{"line_number":175,"context_line":"    _install_databases"},{"line_number":176,"context_line":"    _install_neutron"},{"line_number":177,"context_line":""},{"line_number":178,"context_line":"    # Need to retain sudo until after the neutron rootwrap"},{"line_number":179,"context_line":"    # configuration is installed."},{"line_number":180,"context_line":"    if [[ $IS_GATE \u003d \"True\" ]]; then"},{"line_number":181,"context_line":"        echo \"Removing sudo privileges for devstack user\""}],"source_content_type":"text/x-sh","patch_set":3,"id":"3a961159_0c4dde99","line":178,"in_reply_to":"3a961159_28f1ad6a","updated":"2015-01-12 19:55:17.000000000","message":"As a native english speaker, I\u0027m not sure I understand how adding \u0027Only\u0027 would improve the clarity of this comment.  What is your thinking?","commit_id":"619cf516e25cfba734a0f169e40ee6a69bf85aa6"},{"author":{"_account_id":8655,"name":"Jakub Libosvar","email":"libosvar@redhat.com","username":"jlibosva"},"change_message_id":"de4a83e33bf7aeefa1731a855ee403d9812c7a70","unresolved":false,"context_lines":[{"line_number":25,"context_line":"        if [ -d devstack ]"},{"line_number":26,"context_line":"        then"},{"line_number":27,"context_line":"            # Use a local devstack path as a default"},{"line_number":28,"context_line":"            DEFAULT_DEVSTACK_PATH\u003d`pwd`/devstack"},{"line_number":29,"context_line":"        fi"},{"line_number":30,"context_line":"    fi"},{"line_number":31,"context_line":""}],"source_content_type":"text/x-sh","patch_set":8,"id":"3a961159_df58c433","line":28,"updated":"2015-01-13 11:11:29.000000000","message":"I would recommend DEFAULT_DEVSTACK_PATH\u003d$PWD/devstack","commit_id":"742a61068ec0baad744050840113fa4c0cbb421e"},{"author":{"_account_id":2035,"name":"Maru Newby","email":"marun@redhat.com","username":"maru"},"change_message_id":"4c87da5f5b4f4e609e12304bb1bf596f7ed88109","unresolved":false,"context_lines":[{"line_number":25,"context_line":"        if [ -d devstack ]"},{"line_number":26,"context_line":"        then"},{"line_number":27,"context_line":"            # Use a local devstack path as a default"},{"line_number":28,"context_line":"            DEFAULT_DEVSTACK_PATH\u003d`pwd`/devstack"},{"line_number":29,"context_line":"        fi"},{"line_number":30,"context_line":"    fi"},{"line_number":31,"context_line":""}],"source_content_type":"text/x-sh","patch_set":8,"id":"1a930d6b_6bedebb6","line":28,"in_reply_to":"3a961159_df58c433","updated":"2015-01-26 18:38:07.000000000","message":"Done","commit_id":"742a61068ec0baad744050840113fa4c0cbb421e"},{"author":{"_account_id":8655,"name":"Jakub Libosvar","email":"libosvar@redhat.com","username":"jlibosva"},"change_message_id":"de4a83e33bf7aeefa1731a855ee403d9812c7a70","unresolved":false,"context_lines":[{"line_number":46,"context_line":""},{"line_number":47,"context_line":""},{"line_number":48,"context_line":"function _prepare_dev_env {"},{"line_number":49,"context_line":"    cd $DEVSTACK_PATH"},{"line_number":50,"context_line":""},{"line_number":51,"context_line":"    # This script relies on manipulating devstack\u0027s control variables"},{"line_number":52,"context_line":"    # and any existing localrc is likely to cause problems."}],"source_content_type":"text/x-sh","patch_set":8,"id":"3a961159_3f18e81d","line":49,"updated":"2015-01-13 11:11:29.000000000","message":"I would recommend to use \u0027pushd\u0027 and \u0027popd\u0027 at the end of function. Just to preserve cwd for the caller.\n\nfunction ... {\n pushd $DEVSTACK_PATH\n ....\n popd\n}","commit_id":"742a61068ec0baad744050840113fa4c0cbb421e"},{"author":{"_account_id":2035,"name":"Maru Newby","email":"marun@redhat.com","username":"maru"},"change_message_id":"4c87da5f5b4f4e609e12304bb1bf596f7ed88109","unresolved":false,"context_lines":[{"line_number":46,"context_line":""},{"line_number":47,"context_line":""},{"line_number":48,"context_line":"function _prepare_dev_env {"},{"line_number":49,"context_line":"    cd $DEVSTACK_PATH"},{"line_number":50,"context_line":""},{"line_number":51,"context_line":"    # This script relies on manipulating devstack\u0027s control variables"},{"line_number":52,"context_line":"    # and any existing localrc is likely to cause problems."}],"source_content_type":"text/x-sh","patch_set":8,"id":"1a930d6b_eb38fb3e","line":49,"in_reply_to":"3a961159_3f18e81d","updated":"2015-01-26 18:38:07.000000000","message":"Done","commit_id":"742a61068ec0baad744050840113fa4c0cbb421e"},{"author":{"_account_id":8655,"name":"Jakub Libosvar","email":"libosvar@redhat.com","username":"jlibosva"},"change_message_id":"de4a83e33bf7aeefa1731a855ee403d9812c7a70","unresolved":false,"context_lines":[{"line_number":75,"context_line":"    # Try to retain the behavior of devstack-gate\u0027s invocation of"},{"line_number":76,"context_line":"    # devstack but limit the scope to installation of rabbit."},{"line_number":77,"context_line":""},{"line_number":78,"context_line":"    cd $DEVSTACK_PATH"},{"line_number":79,"context_line":""},{"line_number":80,"context_line":"    # Devstack is run by sudo\u0027ing to the stack user so we can\u0027t rely"},{"line_number":81,"context_line":"    # on the stack.sh invocation inheriting environment variables."}],"source_content_type":"text/x-sh","patch_set":8,"id":"3a961159_5fea14d9","line":78,"updated":"2015-01-13 11:11:29.000000000","message":"Same as previous function - pushd, popd","commit_id":"742a61068ec0baad744050840113fa4c0cbb421e"},{"author":{"_account_id":2035,"name":"Maru Newby","email":"marun@redhat.com","username":"maru"},"change_message_id":"4c87da5f5b4f4e609e12304bb1bf596f7ed88109","unresolved":false,"context_lines":[{"line_number":75,"context_line":"    # Try to retain the behavior of devstack-gate\u0027s invocation of"},{"line_number":76,"context_line":"    # devstack but limit the scope to installation of rabbit."},{"line_number":77,"context_line":""},{"line_number":78,"context_line":"    cd $DEVSTACK_PATH"},{"line_number":79,"context_line":""},{"line_number":80,"context_line":"    # Devstack is run by sudo\u0027ing to the stack user so we can\u0027t rely"},{"line_number":81,"context_line":"    # on the stack.sh invocation inheriting environment variables."}],"source_content_type":"text/x-sh","patch_set":8,"id":"1a930d6b_6b440bb7","line":78,"in_reply_to":"3a961159_5fea14d9","updated":"2015-01-26 18:38:07.000000000","message":"Done","commit_id":"742a61068ec0baad744050840113fa4c0cbb421e"},{"author":{"_account_id":12444,"name":"John Schwarz","email":"jschwarz@redhat.com","username":"jschwarz"},"change_message_id":"8179ff6f6c0403ef107617380c5e97d6fdd2c1dd","unresolved":false,"context_lines":[{"line_number":128,"context_line":""},{"line_number":129,"context_line":""},{"line_number":130,"context_line":"function _install_databases {"},{"line_number":131,"context_line":"    # Install and configure mysql and psql servers"},{"line_number":132,"context_line":""},{"line_number":133,"context_line":"    DATABASE_PASSWORD\u003dsecretdatabase"},{"line_number":134,"context_line":"    MYSQL_PASSWORD\u003d$DATABASE_PASSWORD"}],"source_content_type":"text/x-sh","patch_set":8,"id":"3a961159_194c2fc8","line":131,"updated":"2015-01-13 05:28:38.000000000","message":"Is it possible to put a comment in explaining that the following calls (disable/enable_service, etc) depend on having these 2 variables set?\n\nI\u0027m thinking that we want to keep this thing at least a bit documented where logic is non trivial, so it will be easier to maintain later by more than one person :)\n\nNot suggesting to document every line, just key points.","commit_id":"742a61068ec0baad744050840113fa4c0cbb421e"},{"author":{"_account_id":2035,"name":"Maru Newby","email":"marun@redhat.com","username":"maru"},"change_message_id":"4c87da5f5b4f4e609e12304bb1bf596f7ed88109","unresolved":false,"context_lines":[{"line_number":128,"context_line":""},{"line_number":129,"context_line":""},{"line_number":130,"context_line":"function _install_databases {"},{"line_number":131,"context_line":"    # Install and configure mysql and psql servers"},{"line_number":132,"context_line":""},{"line_number":133,"context_line":"    DATABASE_PASSWORD\u003dsecretdatabase"},{"line_number":134,"context_line":"    MYSQL_PASSWORD\u003d$DATABASE_PASSWORD"}],"source_content_type":"text/x-sh","patch_set":8,"id":"1a930d6b_2b25a308","line":131,"in_reply_to":"3a961159_194c2fc8","updated":"2015-01-26 18:38:07.000000000","message":"Done","commit_id":"742a61068ec0baad744050840113fa4c0cbb421e"},{"author":{"_account_id":8655,"name":"Jakub Libosvar","email":"libosvar@redhat.com","username":"jlibosva"},"change_message_id":"de4a83e33bf7aeefa1731a855ee403d9812c7a70","unresolved":false,"context_lines":[{"line_number":200,"context_line":"    if [[ $IS_GATE \u003d \"True\" ]]; then"},{"line_number":201,"context_line":"        _prepare_gate_env"},{"line_number":202,"context_line":"   else"},{"line_number":203,"context_line":"        GetDistro"},{"line_number":204,"context_line":"       _prepare_dev_env"},{"line_number":205,"context_line":"    fi"},{"line_number":206,"context_line":""}],"source_content_type":"text/x-sh","patch_set":8,"id":"3a961159_560afa79","line":203,"updated":"2015-01-13 11:11:29.000000000","message":"Why is this needed?","commit_id":"742a61068ec0baad744050840113fa4c0cbb421e"},{"author":{"_account_id":2035,"name":"Maru Newby","email":"marun@redhat.com","username":"maru"},"change_message_id":"4c87da5f5b4f4e609e12304bb1bf596f7ed88109","unresolved":false,"context_lines":[{"line_number":200,"context_line":"    if [[ $IS_GATE \u003d \"True\" ]]; then"},{"line_number":201,"context_line":"        _prepare_gate_env"},{"line_number":202,"context_line":"   else"},{"line_number":203,"context_line":"        GetDistro"},{"line_number":204,"context_line":"       _prepare_dev_env"},{"line_number":205,"context_line":"    fi"},{"line_number":206,"context_line":""}],"source_content_type":"text/x-sh","patch_set":8,"id":"1a930d6b_6b496bb6","line":203,"in_reply_to":"3a961159_560afa79","updated":"2015-01-26 18:38:07.000000000","message":"It was a stop-gap until [1] merged.  I\u0027ll remove in the next patch.\n\n1: https://review.openstack.org/#/c/146084/","commit_id":"742a61068ec0baad744050840113fa4c0cbb421e"},{"author":{"_account_id":12444,"name":"John Schwarz","email":"jschwarz@redhat.com","username":"jschwarz"},"change_message_id":"8179ff6f6c0403ef107617380c5e97d6fdd2c1dd","unresolved":false,"context_lines":[{"line_number":207,"context_line":"    _install_databases"},{"line_number":208,"context_line":"    _install_neutron"},{"line_number":209,"context_line":""},{"line_number":210,"context_line":"    # Need to retain sudo until after the neutron rootwrap"},{"line_number":211,"context_line":"    # configuration is installed."},{"line_number":212,"context_line":"    if [[ $IS_GATE \u003d \"True\" ]]; then"},{"line_number":213,"context_line":"        echo \"Removing sudo privileges for devstack user\""}],"source_content_type":"text/x-sh","patch_set":8,"id":"3a961159_b95b1b85","line":210,"updated":"2015-01-13 05:28:38.000000000","message":"Re: \"what is your thinking\" from PS#3: Once we remove this file we don\u0027t have sudo anymore, but we did until now. Therefor, logic dictates that we only ned to retain sudo until this point, and now we can drop it. In other words, I expected the following if bracket to retain sudo somehow and that it will be dropped elsewhere.\n\n\"Only need to retain sudo until this point\" makes more sense in this context.","commit_id":"742a61068ec0baad744050840113fa4c0cbb421e"},{"author":{"_account_id":2035,"name":"Maru Newby","email":"marun@redhat.com","username":"maru"},"change_message_id":"4c87da5f5b4f4e609e12304bb1bf596f7ed88109","unresolved":false,"context_lines":[{"line_number":207,"context_line":"    _install_databases"},{"line_number":208,"context_line":"    _install_neutron"},{"line_number":209,"context_line":""},{"line_number":210,"context_line":"    # Need to retain sudo until after the neutron rootwrap"},{"line_number":211,"context_line":"    # configuration is installed."},{"line_number":212,"context_line":"    if [[ $IS_GATE \u003d \"True\" ]]; then"},{"line_number":213,"context_line":"        echo \"Removing sudo privileges for devstack user\""}],"source_content_type":"text/x-sh","patch_set":8,"id":"1a930d6b_8bc93728","line":210,"in_reply_to":"3a961159_b95b1b85","updated":"2015-01-26 18:38:07.000000000","message":"I\u0027ve updated the message to indicate why sudo can be removed here.","commit_id":"742a61068ec0baad744050840113fa4c0cbb421e"},{"author":{"_account_id":748,"name":"Armando Migliaccio","email":"armamig@gmail.com","username":"armando-migliaccio"},"change_message_id":"86cab35f3f10fc40485c8b85c9b1c1a97b02e86a","unresolved":false,"context_lines":[{"line_number":20,"context_line":"    echo \"Running devstack\""},{"line_number":21,"context_line":"    echo \"... this takes 5 - 8 minutes (logs in logs/devstacklog.txt.gz)\""},{"line_number":22,"context_line":"    start\u003d$(date +%s)"},{"line_number":23,"context_line":"    sudo -H -u $STACK_USER stdbuf -oL -eL ./stack.sh \u003e /dev/null"},{"line_number":24,"context_line":"    end\u003d$(date +%s)"},{"line_number":25,"context_line":"    took\u003d$((($end - $start) / 60))"},{"line_number":26,"context_line":"    if [[ \"$took\" -gt 15 ]]; then"}],"source_content_type":"text/x-sh","patch_set":34,"id":"da86d52c_b754a6fe","line":23,"updated":"2015-02-11 20:34:14.000000000","message":"is this code copied from d-g else?","commit_id":"9b755450859936d8119ba84b2d8af48051f8af4b"},{"author":{"_account_id":2035,"name":"Maru Newby","email":"marun@redhat.com","username":"maru"},"change_message_id":"a6ee100d80421104d113836c3b2adb114f65b2f8","unresolved":false,"context_lines":[{"line_number":20,"context_line":"    echo \"Running devstack\""},{"line_number":21,"context_line":"    echo \"... this takes 5 - 8 minutes (logs in logs/devstacklog.txt.gz)\""},{"line_number":22,"context_line":"    start\u003d$(date +%s)"},{"line_number":23,"context_line":"    sudo -H -u $STACK_USER stdbuf -oL -eL ./stack.sh \u003e /dev/null"},{"line_number":24,"context_line":"    end\u003d$(date +%s)"},{"line_number":25,"context_line":"    took\u003d$((($end - $start) / 60))"},{"line_number":26,"context_line":"    if [[ \"$took\" -gt 15 ]]; then"}],"source_content_type":"text/x-sh","patch_set":34,"id":"da86d52c_45d8a67f","line":23,"in_reply_to":"da86d52c_b754a6fe","updated":"2015-02-13 22:25:53.000000000","message":"In this patch, yes.  I\u0027m not sure there\u0027s value in calling stack.sh, though.","commit_id":"9b755450859936d8119ba84b2d8af48051f8af4b"},{"author":{"_account_id":105,"name":"Kyle Mestery","email":"mestery@mestery.com","username":"mestery"},"change_message_id":"d1ae604c8e86055aff16db869764f7e376548e82","unresolved":false,"context_lines":[{"line_number":24,"context_line":"    end\u003d$(date +%s)"},{"line_number":25,"context_line":"    took\u003d$((($end - $start) / 60))"},{"line_number":26,"context_line":"    if [[ \"$took\" -gt 15 ]]; then"},{"line_number":27,"context_line":"        echo \"WARNING: devstack run took \u003e 15 minutes, this is a very slow node.\""},{"line_number":28,"context_line":"    fi"},{"line_number":29,"context_line":""},{"line_number":30,"context_line":"    _install_prereqs $STACK_USER"}],"source_content_type":"text/x-sh","patch_set":35,"id":"da86d52c_4686fa17","line":27,"updated":"2015-02-13 16:55:16.000000000","message":"LOL","commit_id":"c079dd0b0cd24d2ec5405c333c57e260cbb227ae"}],"tools/configure_for_func_testing.sh":[{"author":{"_account_id":8873,"name":"Assaf Muller","email":"amuller@redhat.com","username":"amuller"},"change_message_id":"8f45b344b0f6aea9edb33a47d2f882add074021b","unresolved":false,"context_lines":[{"line_number":86,"context_line":"USE_SCREEN\u003dFalse"},{"line_number":87,"context_line":"DEST\u003d$DEST"},{"line_number":88,"context_line":"# move DATA_DIR outside of DEST to keep DEST a bit cleaner"},{"line_number":89,"context_line":"DATA_DIR\u003d$DATA_DIR"},{"line_number":90,"context_line":"MYSQL_PASSWORD\u003dsecretmysql"},{"line_number":91,"context_line":"DATABASE_PASSWORD\u003dsecretdatabase"},{"line_number":92,"context_line":"RABBIT_PASSWORD\u003dsecretrabbit"}],"source_content_type":"text/x-sh","patch_set":29,"id":"da86d52c_e347eeba","line":89,"updated":"2015-02-06 19:59:23.000000000","message":"Do these DB passwords have to match anything? What are the implications for full-stack testing, if any?","commit_id":"e28983e4d00ba5188e647cc78a4eca4ef67d39dc"},{"author":{"_account_id":2035,"name":"Maru Newby","email":"marun@redhat.com","username":"maru"},"change_message_id":"bb6b21815904a5084fb11793bc2a776c5cdfc8a3","unresolved":false,"context_lines":[{"line_number":86,"context_line":"USE_SCREEN\u003dFalse"},{"line_number":87,"context_line":"DEST\u003d$DEST"},{"line_number":88,"context_line":"# move DATA_DIR outside of DEST to keep DEST a bit cleaner"},{"line_number":89,"context_line":"DATA_DIR\u003d$DATA_DIR"},{"line_number":90,"context_line":"MYSQL_PASSWORD\u003dsecretmysql"},{"line_number":91,"context_line":"DATABASE_PASSWORD\u003dsecretdatabase"},{"line_number":92,"context_line":"RABBIT_PASSWORD\u003dsecretrabbit"}],"source_content_type":"text/x-sh","patch_set":29,"id":"da86d52c_12c44d5e","line":89,"in_reply_to":"da86d52c_e347eeba","updated":"2015-02-06 21:02:26.000000000","message":"The db password won\u0027t matter, since we configure the openstack_citest credentials that the oslo.db test infrastructure expects.  The rabbit password will matter, I\u0027m not sure how John is picking it up today.","commit_id":"e28983e4d00ba5188e647cc78a4eca4ef67d39dc"},{"author":{"_account_id":8873,"name":"Assaf Muller","email":"amuller@redhat.com","username":"amuller"},"change_message_id":"8f45b344b0f6aea9edb33a47d2f882add074021b","unresolved":false,"context_lines":[{"line_number":91,"context_line":"DATABASE_PASSWORD\u003dsecretdatabase"},{"line_number":92,"context_line":"RABBIT_PASSWORD\u003dsecretrabbit"},{"line_number":93,"context_line":"ADMIN_PASSWORD\u003dsecretadmin"},{"line_number":94,"context_line":"ERROR_ON_CLONE\u003d$ERROR_ON_CLONE"},{"line_number":95,"context_line":"ENABLED_SERVICES\u003dmysql,rabbit"},{"line_number":96,"context_line":"SKIP_EXERCISES\u003d1"},{"line_number":97,"context_line":"SERVICE_HOST\u003d127.0.0.1"}],"source_content_type":"text/x-sh","patch_set":29,"id":"da86d52c_c3f3ca9d","line":94,"updated":"2015-02-06 19:59:23.000000000","message":"You add mysql here for the rpm/deb installation? Why not postgres as well?","commit_id":"e28983e4d00ba5188e647cc78a4eca4ef67d39dc"},{"author":{"_account_id":2035,"name":"Maru Newby","email":"marun@redhat.com","username":"maru"},"change_message_id":"bb6b21815904a5084fb11793bc2a776c5cdfc8a3","unresolved":false,"context_lines":[{"line_number":91,"context_line":"DATABASE_PASSWORD\u003dsecretdatabase"},{"line_number":92,"context_line":"RABBIT_PASSWORD\u003dsecretrabbit"},{"line_number":93,"context_line":"ADMIN_PASSWORD\u003dsecretadmin"},{"line_number":94,"context_line":"ERROR_ON_CLONE\u003d$ERROR_ON_CLONE"},{"line_number":95,"context_line":"ENABLED_SERVICES\u003dmysql,rabbit"},{"line_number":96,"context_line":"SKIP_EXERCISES\u003d1"},{"line_number":97,"context_line":"SERVICE_HOST\u003d127.0.0.1"}],"source_content_type":"text/x-sh","patch_set":29,"id":"da86d52c_72aae986","line":94,"in_reply_to":"da86d52c_c3f3ca9d","updated":"2015-02-06 21:02:26.000000000","message":"Devstack can\u0027t install more than one db at a time, so we have to install posgresql manually.  Devstack also can\u0027t run without a db being configured, so we have to pick one.","commit_id":"e28983e4d00ba5188e647cc78a4eca4ef67d39dc"},{"author":{"_account_id":8873,"name":"Assaf Muller","email":"amuller@redhat.com","username":"amuller"},"change_message_id":"8f45b344b0f6aea9edb33a47d2f882add074021b","unresolved":false,"context_lines":[{"line_number":93,"context_line":"ADMIN_PASSWORD\u003dsecretadmin"},{"line_number":94,"context_line":"ERROR_ON_CLONE\u003d$ERROR_ON_CLONE"},{"line_number":95,"context_line":"ENABLED_SERVICES\u003dmysql,rabbit"},{"line_number":96,"context_line":"SKIP_EXERCISES\u003d1"},{"line_number":97,"context_line":"SERVICE_HOST\u003d127.0.0.1"},{"line_number":98,"context_line":"# Screen console logs will capture service logs."},{"line_number":99,"context_line":"SYSLOG\u003dFalse"}],"source_content_type":"text/x-sh","patch_set":29,"id":"da86d52c_4308ba91","line":96,"updated":"2015-02-06 19:59:23.000000000","message":"SERVICE_HOST shouldn\u0027t be needed.","commit_id":"e28983e4d00ba5188e647cc78a4eca4ef67d39dc"},{"author":{"_account_id":2035,"name":"Maru Newby","email":"marun@redhat.com","username":"maru"},"change_message_id":"bb6b21815904a5084fb11793bc2a776c5cdfc8a3","unresolved":false,"context_lines":[{"line_number":93,"context_line":"ADMIN_PASSWORD\u003dsecretadmin"},{"line_number":94,"context_line":"ERROR_ON_CLONE\u003d$ERROR_ON_CLONE"},{"line_number":95,"context_line":"ENABLED_SERVICES\u003dmysql,rabbit"},{"line_number":96,"context_line":"SKIP_EXERCISES\u003d1"},{"line_number":97,"context_line":"SERVICE_HOST\u003d127.0.0.1"},{"line_number":98,"context_line":"# Screen console logs will capture service logs."},{"line_number":99,"context_line":"SYSLOG\u003dFalse"}],"source_content_type":"text/x-sh","patch_set":29,"id":"da86d52c_d290f550","line":96,"in_reply_to":"da86d52c_4308ba91","updated":"2015-02-06 21:02:26.000000000","message":"In a perfect world, that would be the case.  But devstack does, in fact, require it in the mode that we are running it in.","commit_id":"e28983e4d00ba5188e647cc78a4eca4ef67d39dc"},{"author":{"_account_id":8873,"name":"Assaf Muller","email":"amuller@redhat.com","username":"amuller"},"change_message_id":"8f45b344b0f6aea9edb33a47d2f882add074021b","unresolved":false,"context_lines":[{"line_number":98,"context_line":"# Screen console logs will capture service logs."},{"line_number":99,"context_line":"SYSLOG\u003dFalse"},{"line_number":100,"context_line":"SCREEN_LOGDIR\u003d$DEST/screen-logs"},{"line_number":101,"context_line":"LOGFILE\u003d$DEST/devstacklog.txt"},{"line_number":102,"context_line":"VERBOSE\u003dTrue"},{"line_number":103,"context_line":"LOG_COLOR\u003dFalse"},{"line_number":104,"context_line":"PIP_USE_MIRRORS\u003dFalse"}],"source_content_type":"text/x-sh","patch_set":29,"id":"da86d52c_c3ccaa64","line":101,"updated":"2015-02-06 19:59:23.000000000","message":"Ditto.","commit_id":"e28983e4d00ba5188e647cc78a4eca4ef67d39dc"},{"author":{"_account_id":2035,"name":"Maru Newby","email":"marun@redhat.com","username":"maru"},"change_message_id":"bb6b21815904a5084fb11793bc2a776c5cdfc8a3","unresolved":false,"context_lines":[{"line_number":98,"context_line":"# Screen console logs will capture service logs."},{"line_number":99,"context_line":"SYSLOG\u003dFalse"},{"line_number":100,"context_line":"SCREEN_LOGDIR\u003d$DEST/screen-logs"},{"line_number":101,"context_line":"LOGFILE\u003d$DEST/devstacklog.txt"},{"line_number":102,"context_line":"VERBOSE\u003dTrue"},{"line_number":103,"context_line":"LOG_COLOR\u003dFalse"},{"line_number":104,"context_line":"PIP_USE_MIRRORS\u003dFalse"}],"source_content_type":"text/x-sh","patch_set":29,"id":"da86d52c_f2741938","line":101,"in_reply_to":"da86d52c_c3ccaa64","updated":"2015-02-06 21:02:26.000000000","message":"This script is intended to be used in the gate, which has certain expectations about how devstack is configured so it can properly save artifacts of a stack run.","commit_id":"e28983e4d00ba5188e647cc78a4eca4ef67d39dc"},{"author":{"_account_id":8873,"name":"Assaf Muller","email":"amuller@redhat.com","username":"amuller"},"change_message_id":"8f45b344b0f6aea9edb33a47d2f882add074021b","unresolved":false,"context_lines":[{"line_number":216,"context_line":""},{"line_number":217,"context_line":"    source $DEVSTACK_PATH/lib/neutron"},{"line_number":218,"context_line":""},{"line_number":219,"context_line":"    # Install os dependencies for the agents"},{"line_number":220,"context_line":"    ENABLED_SERVICES\u003dq-agt,q-dhcp,q-l3"},{"line_number":221,"context_line":"    install_neutron_agent_packages"},{"line_number":222,"context_line":"}"}],"source_content_type":"text/x-sh","patch_set":29,"id":"da86d52c_e3e36ea2","line":219,"updated":"2015-02-06 19:59:23.000000000","message":"Why are the services defined both here and in line 140? Also: People always forget the lonely metadata :(","commit_id":"e28983e4d00ba5188e647cc78a4eca4ef67d39dc"},{"author":{"_account_id":2035,"name":"Maru Newby","email":"marun@redhat.com","username":"maru"},"change_message_id":"bb6b21815904a5084fb11793bc2a776c5cdfc8a3","unresolved":false,"context_lines":[{"line_number":216,"context_line":""},{"line_number":217,"context_line":"    source $DEVSTACK_PATH/lib/neutron"},{"line_number":218,"context_line":""},{"line_number":219,"context_line":"    # Install os dependencies for the agents"},{"line_number":220,"context_line":"    ENABLED_SERVICES\u003dq-agt,q-dhcp,q-l3"},{"line_number":221,"context_line":"    install_neutron_agent_packages"},{"line_number":222,"context_line":"}"}],"source_content_type":"text/x-sh","patch_set":29,"id":"da86d52c_92ce7db3","line":219,"in_reply_to":"da86d52c_e3e36ea2","updated":"2015-02-06 21:02:26.000000000","message":"Installation of prerequisites is keyed to devstack/files/{apts,rpms,suse-rpms}/[service name].  There is no file specific to the metadata service, though, since it does not have its own os-level dependencies, and this means that enabling it is not required here.","commit_id":"e28983e4d00ba5188e647cc78a4eca4ef67d39dc"},{"author":{"_account_id":748,"name":"Armando Migliaccio","email":"armamig@gmail.com","username":"armando-migliaccio"},"change_message_id":"86cab35f3f10fc40485c8b85c9b1c1a97b02e86a","unresolved":false,"context_lines":[{"line_number":32,"context_line":"Warning: This script relies on devstack to perform extensive"},{"line_number":33,"context_line":"modification to the underlying host.  It is recommended that it be"},{"line_number":34,"context_line":"invoked only on a throw-away VM.\""},{"line_number":35,"context_line":"    exit"},{"line_number":36,"context_line":"fi"},{"line_number":37,"context_line":""},{"line_number":38,"context_line":""}],"source_content_type":"text/x-sh","patch_set":34,"id":"da86d52c_97888272","line":35,"updated":"2015-02-11 20:34:14.000000000","message":"exit 1?","commit_id":"9b755450859936d8119ba84b2d8af48051f8af4b"},{"author":{"_account_id":2035,"name":"Maru Newby","email":"marun@redhat.com","username":"maru"},"change_message_id":"a6ee100d80421104d113836c3b2adb114f65b2f8","unresolved":false,"context_lines":[{"line_number":32,"context_line":"Warning: This script relies on devstack to perform extensive"},{"line_number":33,"context_line":"modification to the underlying host.  It is recommended that it be"},{"line_number":34,"context_line":"invoked only on a throw-away VM.\""},{"line_number":35,"context_line":"    exit"},{"line_number":36,"context_line":"fi"},{"line_number":37,"context_line":""},{"line_number":38,"context_line":""}],"source_content_type":"text/x-sh","patch_set":34,"id":"da86d52c_a24279a8","line":35,"in_reply_to":"da86d52c_97888272","updated":"2015-02-13 22:25:53.000000000","message":"Done","commit_id":"9b755450859936d8119ba84b2d8af48051f8af4b"},{"author":{"_account_id":748,"name":"Armando Migliaccio","email":"armamig@gmail.com","username":"armando-migliaccio"},"change_message_id":"86cab35f3f10fc40485c8b85c9b1c1a97b02e86a","unresolved":false,"context_lines":[{"line_number":41,"context_line":"        i)"},{"line_number":42,"context_line":"            INSTALL_BASE_DEPENDENCIES\u003dTrue"},{"line_number":43,"context_line":"            ;;"},{"line_number":44,"context_line":"    esac"},{"line_number":45,"context_line":"done"},{"line_number":46,"context_line":""},{"line_number":47,"context_line":""}],"source_content_type":"text/x-sh","patch_set":34,"id":"da86d52c_574fea33","line":44,"updated":"2015-02-11 20:34:14.000000000","message":"*) INSTALL_BASE_DEPENDECIES\u003dFalse","commit_id":"9b755450859936d8119ba84b2d8af48051f8af4b"},{"author":{"_account_id":2035,"name":"Maru Newby","email":"marun@redhat.com","username":"maru"},"change_message_id":"a6ee100d80421104d113836c3b2adb114f65b2f8","unresolved":false,"context_lines":[{"line_number":41,"context_line":"        i)"},{"line_number":42,"context_line":"            INSTALL_BASE_DEPENDENCIES\u003dTrue"},{"line_number":43,"context_line":"            ;;"},{"line_number":44,"context_line":"    esac"},{"line_number":45,"context_line":"done"},{"line_number":46,"context_line":""},{"line_number":47,"context_line":""}],"source_content_type":"text/x-sh","patch_set":34,"id":"da86d52c_020b457d","line":44,"in_reply_to":"da86d52c_574fea33","updated":"2015-02-13 22:25:53.000000000","message":"Done","commit_id":"9b755450859936d8119ba84b2d8af48051f8af4b"},{"author":{"_account_id":748,"name":"Armando Migliaccio","email":"armamig@gmail.com","username":"armando-migliaccio"},"change_message_id":"86cab35f3f10fc40485c8b85c9b1c1a97b02e86a","unresolved":false,"context_lines":[{"line_number":48,"context_line":"# Default to environment variables to permit the gate_hook to override"},{"line_number":49,"context_line":"# when sourcing."},{"line_number":50,"context_line":"DEVSTACK_PATH\u003d${DEVSTACK_PATH:-$1}"},{"line_number":51,"context_line":"INSTALL_BASE_DEPENDENCIES\u003d${INSTALL_BASE_DEPENDENCIES:-False}"},{"line_number":52,"context_line":""},{"line_number":53,"context_line":""},{"line_number":54,"context_line":"if [ ! -f \"$DEVSTACK_PATH/stack.sh\" ]; then"}],"source_content_type":"text/x-sh","patch_set":34,"id":"da86d52c_b75586c3","line":51,"updated":"2015-02-11 20:34:14.000000000","message":"this won\u0027t be needed if you have a default on the switch case","commit_id":"9b755450859936d8119ba84b2d8af48051f8af4b"},{"author":{"_account_id":2035,"name":"Maru Newby","email":"marun@redhat.com","username":"maru"},"change_message_id":"a6ee100d80421104d113836c3b2adb114f65b2f8","unresolved":false,"context_lines":[{"line_number":48,"context_line":"# Default to environment variables to permit the gate_hook to override"},{"line_number":49,"context_line":"# when sourcing."},{"line_number":50,"context_line":"DEVSTACK_PATH\u003d${DEVSTACK_PATH:-$1}"},{"line_number":51,"context_line":"INSTALL_BASE_DEPENDENCIES\u003d${INSTALL_BASE_DEPENDENCIES:-False}"},{"line_number":52,"context_line":""},{"line_number":53,"context_line":""},{"line_number":54,"context_line":"if [ ! -f \"$DEVSTACK_PATH/stack.sh\" ]; then"}],"source_content_type":"text/x-sh","patch_set":34,"id":"da86d52c_62232105","line":51,"in_reply_to":"da86d52c_b75586c3","updated":"2015-02-13 22:25:53.000000000","message":"Done","commit_id":"9b755450859936d8119ba84b2d8af48051f8af4b"},{"author":{"_account_id":748,"name":"Armando Migliaccio","email":"armamig@gmail.com","username":"armando-migliaccio"},"change_message_id":"86cab35f3f10fc40485c8b85c9b1c1a97b02e86a","unresolved":false,"context_lines":[{"line_number":53,"context_line":""},{"line_number":54,"context_line":"if [ ! -f \"$DEVSTACK_PATH/stack.sh\" ]; then"},{"line_number":55,"context_line":"  \u003e\u00262 echo \"Unable to find devstack at \u0027$DEVSTACK_PATH\u0027.  Please verify that the specified path points to a valid devstack repo.\""},{"line_number":56,"context_line":"  exit"},{"line_number":57,"context_line":"fi"},{"line_number":58,"context_line":""},{"line_number":59,"context_line":""}],"source_content_type":"text/x-sh","patch_set":34,"id":"da86d52c_37aa7671","line":56,"updated":"2015-02-11 20:34:14.000000000","message":"exit 1","commit_id":"9b755450859936d8119ba84b2d8af48051f8af4b"},{"author":{"_account_id":2035,"name":"Maru Newby","email":"marun@redhat.com","username":"maru"},"change_message_id":"a6ee100d80421104d113836c3b2adb114f65b2f8","unresolved":false,"context_lines":[{"line_number":53,"context_line":""},{"line_number":54,"context_line":"if [ ! -f \"$DEVSTACK_PATH/stack.sh\" ]; then"},{"line_number":55,"context_line":"  \u003e\u00262 echo \"Unable to find devstack at \u0027$DEVSTACK_PATH\u0027.  Please verify that the specified path points to a valid devstack repo.\""},{"line_number":56,"context_line":"  exit"},{"line_number":57,"context_line":"fi"},{"line_number":58,"context_line":""},{"line_number":59,"context_line":""}],"source_content_type":"text/x-sh","patch_set":34,"id":"da86d52c_821e55b9","line":56,"in_reply_to":"da86d52c_37aa7671","updated":"2015-02-13 22:25:53.000000000","message":"Done","commit_id":"9b755450859936d8119ba84b2d8af48051f8af4b"},{"author":{"_account_id":748,"name":"Armando Migliaccio","email":"armamig@gmail.com","username":"armando-migliaccio"},"change_message_id":"86cab35f3f10fc40485c8b85c9b1c1a97b02e86a","unresolved":false,"context_lines":[{"line_number":57,"context_line":"fi"},{"line_number":58,"context_line":""},{"line_number":59,"context_line":""},{"line_number":60,"context_line":"set -ex"},{"line_number":61,"context_line":""},{"line_number":62,"context_line":""},{"line_number":63,"context_line":"function _init {"}],"source_content_type":"text/x-sh","patch_set":34,"id":"da86d52c_97bc02bd","line":60,"updated":"2015-02-11 20:34:14.000000000","message":"you did set -e already. Perhaps you mean set -x?","commit_id":"9b755450859936d8119ba84b2d8af48051f8af4b"},{"author":{"_account_id":2035,"name":"Maru Newby","email":"marun@redhat.com","username":"maru"},"change_message_id":"a6ee100d80421104d113836c3b2adb114f65b2f8","unresolved":false,"context_lines":[{"line_number":57,"context_line":"fi"},{"line_number":58,"context_line":""},{"line_number":59,"context_line":""},{"line_number":60,"context_line":"set -ex"},{"line_number":61,"context_line":""},{"line_number":62,"context_line":""},{"line_number":63,"context_line":"function _init {"}],"source_content_type":"text/x-sh","patch_set":34,"id":"da86d52c_0259858d","line":60,"in_reply_to":"da86d52c_97bc02bd","updated":"2015-02-13 22:25:53.000000000","message":"Done","commit_id":"9b755450859936d8119ba84b2d8af48051f8af4b"},{"author":{"_account_id":8655,"name":"Jakub Libosvar","email":"libosvar@redhat.com","username":"jlibosva"},"change_message_id":"c3bdcc59bfd6b22269d9dd6fab44dfca228c2c94","unresolved":false,"context_lines":[{"line_number":32,"context_line":"Warning: This script relies on devstack to perform extensive"},{"line_number":33,"context_line":"modification to the underlying host.  It is recommended that it be"},{"line_number":34,"context_line":"invoked only on a throw-away VM.\""},{"line_number":35,"context_line":"    exit"},{"line_number":36,"context_line":"fi"},{"line_number":37,"context_line":""},{"line_number":38,"context_line":""}],"source_content_type":"text/x-sh","patch_set":35,"id":"da86d52c_2153b93a","line":35,"updated":"2015-02-13 14:33:05.000000000","message":"Would it make sense to quit with some value in order to let know the caller script wasn\u0027t successful?","commit_id":"c079dd0b0cd24d2ec5405c333c57e260cbb227ae"},{"author":{"_account_id":2035,"name":"Maru Newby","email":"marun@redhat.com","username":"maru"},"change_message_id":"1931e2c47b9be0f2286d8d7634ecef2d8e341b45","unresolved":false,"context_lines":[{"line_number":32,"context_line":"Warning: This script relies on devstack to perform extensive"},{"line_number":33,"context_line":"modification to the underlying host.  It is recommended that it be"},{"line_number":34,"context_line":"invoked only on a throw-away VM.\""},{"line_number":35,"context_line":"    exit"},{"line_number":36,"context_line":"fi"},{"line_number":37,"context_line":""},{"line_number":38,"context_line":""}],"source_content_type":"text/x-sh","patch_set":35,"id":"da86d52c_45bfc6fc","line":35,"in_reply_to":"da86d52c_2153b93a","updated":"2015-02-13 22:25:35.000000000","message":"Done","commit_id":"c079dd0b0cd24d2ec5405c333c57e260cbb227ae"},{"author":{"_account_id":8655,"name":"Jakub Libosvar","email":"libosvar@redhat.com","username":"jlibosva"},"change_message_id":"c3bdcc59bfd6b22269d9dd6fab44dfca228c2c94","unresolved":false,"context_lines":[{"line_number":53,"context_line":""},{"line_number":54,"context_line":"if [ ! -f \"$DEVSTACK_PATH/stack.sh\" ]; then"},{"line_number":55,"context_line":"  \u003e\u00262 echo \"Unable to find devstack at \u0027$DEVSTACK_PATH\u0027.  Please verify that the specified path points to a valid devstack repo.\""},{"line_number":56,"context_line":"  exit"},{"line_number":57,"context_line":"fi"},{"line_number":58,"context_line":""},{"line_number":59,"context_line":""}],"source_content_type":"text/x-sh","patch_set":35,"id":"da86d52c_8b23a4a6","line":56,"updated":"2015-02-13 14:33:05.000000000","message":"Ditto","commit_id":"c079dd0b0cd24d2ec5405c333c57e260cbb227ae"},{"author":{"_account_id":2035,"name":"Maru Newby","email":"marun@redhat.com","username":"maru"},"change_message_id":"1931e2c47b9be0f2286d8d7634ecef2d8e341b45","unresolved":false,"context_lines":[{"line_number":53,"context_line":""},{"line_number":54,"context_line":"if [ ! -f \"$DEVSTACK_PATH/stack.sh\" ]; then"},{"line_number":55,"context_line":"  \u003e\u00262 echo \"Unable to find devstack at \u0027$DEVSTACK_PATH\u0027.  Please verify that the specified path points to a valid devstack repo.\""},{"line_number":56,"context_line":"  exit"},{"line_number":57,"context_line":"fi"},{"line_number":58,"context_line":""},{"line_number":59,"context_line":""}],"source_content_type":"text/x-sh","patch_set":35,"id":"da86d52c_65bcca07","line":56,"in_reply_to":"da86d52c_8b23a4a6","updated":"2015-02-13 22:25:35.000000000","message":"Done","commit_id":"c079dd0b0cd24d2ec5405c333c57e260cbb227ae"},{"author":{"_account_id":8655,"name":"Jakub Libosvar","email":"libosvar@redhat.com","username":"jlibosva"},"change_message_id":"c3bdcc59bfd6b22269d9dd6fab44dfca228c2c94","unresolved":false,"context_lines":[{"line_number":240,"context_line":"    VENV_NAME\u003d${venv:-dsvm-functional}"},{"line_number":241,"context_line":"    VENV_PATH\u003d$NEUTRON_PATH/.tox/$VENV_NAME"},{"line_number":242,"context_line":"    ROOTWRAP_SUDOER_CMD\u003d\"$VENV_PATH/bin/neutron-rootwrap $VENV_PATH/etc/neutron/rootwrap.conf *\""},{"line_number":243,"context_line":"    TEMPFILE\u003d`mktemp`"},{"line_number":244,"context_line":"    cat \u003c\u003c EOF \u003e $TEMPFILE"},{"line_number":245,"context_line":"# A bug in oslo.rootwrap [1] prevents commands executed with \u0027ip netns"},{"line_number":246,"context_line":"# exec\u0027 from being automatically qualified with a prefix from"}],"source_content_type":"text/x-sh","patch_set":35,"id":"da86d52c_a1f6c9f7","line":243,"updated":"2015-02-13 14:33:05.000000000","message":"Nit: `command` is legacy, I would recommend $(command) instead","commit_id":"c079dd0b0cd24d2ec5405c333c57e260cbb227ae"},{"author":{"_account_id":2035,"name":"Maru Newby","email":"marun@redhat.com","username":"maru"},"change_message_id":"1931e2c47b9be0f2286d8d7634ecef2d8e341b45","unresolved":false,"context_lines":[{"line_number":240,"context_line":"    VENV_NAME\u003d${venv:-dsvm-functional}"},{"line_number":241,"context_line":"    VENV_PATH\u003d$NEUTRON_PATH/.tox/$VENV_NAME"},{"line_number":242,"context_line":"    ROOTWRAP_SUDOER_CMD\u003d\"$VENV_PATH/bin/neutron-rootwrap $VENV_PATH/etc/neutron/rootwrap.conf *\""},{"line_number":243,"context_line":"    TEMPFILE\u003d`mktemp`"},{"line_number":244,"context_line":"    cat \u003c\u003c EOF \u003e $TEMPFILE"},{"line_number":245,"context_line":"# A bug in oslo.rootwrap [1] prevents commands executed with \u0027ip netns"},{"line_number":246,"context_line":"# exec\u0027 from being automatically qualified with a prefix from"}],"source_content_type":"text/x-sh","patch_set":35,"id":"da86d52c_2549f232","line":243,"in_reply_to":"da86d52c_a1f6c9f7","updated":"2015-02-13 22:25:35.000000000","message":"Serves me right for lifting from devstack :/\n\nDone","commit_id":"c079dd0b0cd24d2ec5405c333c57e260cbb227ae"},{"author":{"_account_id":5756,"name":"Terry Wilson","email":"twilson@redhat.com","username":"otherwiseguy"},"change_message_id":"77918f79d372c9b719995ad12daf0f15bad4aa06","unresolved":false,"context_lines":[{"line_number":288,"context_line":"    #"},{"line_number":289,"context_line":"    # NOTE: the package name \u0027python-openvswitch\u0027 is common across"},{"line_number":290,"context_line":"    # supported distros."},{"line_number":291,"context_line":"    install_package python-openvswitch"},{"line_number":292,"context_line":"}"},{"line_number":293,"context_line":""},{"line_number":294,"context_line":""}],"source_content_type":"text/x-sh","patch_set":35,"id":"da86d52c_2e166149","line":291,"updated":"2015-02-12 23:12:58.000000000","message":"I forgot to mention one other thing that this needs for the OVSDB patch:\n\n    sudo ovs-vsctl set-manager ptcp:6640:127.0.0.1\n\nto configure ovs-vsctl to be reachable via the standard ovsdb port. I could use the vsctl implementation from inside the native ovsdb implementation to run this, but that seems like a bad link to add.","commit_id":"c079dd0b0cd24d2ec5405c333c57e260cbb227ae"},{"author":{"_account_id":2035,"name":"Maru Newby","email":"marun@redhat.com","username":"maru"},"change_message_id":"1931e2c47b9be0f2286d8d7634ecef2d8e341b45","unresolved":false,"context_lines":[{"line_number":288,"context_line":"    #"},{"line_number":289,"context_line":"    # NOTE: the package name \u0027python-openvswitch\u0027 is common across"},{"line_number":290,"context_line":"    # supported distros."},{"line_number":291,"context_line":"    install_package python-openvswitch"},{"line_number":292,"context_line":"}"},{"line_number":293,"context_line":""},{"line_number":294,"context_line":""}],"source_content_type":"text/x-sh","patch_set":35,"id":"da86d52c_4546e622","line":291,"in_reply_to":"da86d52c_2e166149","updated":"2015-02-13 22:25:35.000000000","message":"Done","commit_id":"c079dd0b0cd24d2ec5405c333c57e260cbb227ae"},{"author":{"_account_id":2035,"name":"Maru Newby","email":"marun@redhat.com","username":"maru"},"change_message_id":"a6f4d36f03bee9e9820b7348444f6989fc9ebc46","unresolved":false,"context_lines":[{"line_number":245,"context_line":"    VENV_NAME\u003d${venv:-dsvm-functional}"},{"line_number":246,"context_line":"    VENV_PATH\u003d$NEUTRON_PATH/.tox/$VENV_NAME"},{"line_number":247,"context_line":"    ROOTWRAP_SUDOER_CMD\u003d\"$VENV_PATH/bin/neutron-rootwrap $VENV_PATH/etc/neutron/rootwrap.conf *\""},{"line_number":248,"context_line":"    TEMPFILE\u003d`mktemp`"},{"line_number":249,"context_line":"    cat \u003c\u003c EOF \u003e $TEMPFILE"},{"line_number":250,"context_line":"# A bug in oslo.rootwrap [1] prevents commands executed with \u0027ip netns"},{"line_number":251,"context_line":"# exec\u0027 from being automatically qualified with a prefix from"}],"source_content_type":"text/x-sh","patch_set":37,"id":"da86d52c_ab35b1a9","line":248,"updated":"2015-02-13 22:58:47.000000000","message":"Oop, will fix in the next revision.","commit_id":"d81de0bcf15a8ab1d13b9379196e05f107451345"}],"tools/deploy_rootwrap.sh":[{"author":{"_account_id":8655,"name":"Jakub Libosvar","email":"libosvar@redhat.com","username":"jlibosva"},"change_message_id":"c3bdcc59bfd6b22269d9dd6fab44dfca228c2c94","unresolved":false,"context_lines":[{"line_number":23,"context_line":""},{"line_number":24,"context_line":"Optional: set OS_SUDO_TESTING\u003d1 to deploy the filters required by"},{"line_number":25,"context_line":"Neutron\u0027s functional testing suite.\""},{"line_number":26,"context_line":"  exit"},{"line_number":27,"context_line":"fi"},{"line_number":28,"context_line":""},{"line_number":29,"context_line":"OS_SUDO_TESTING\u003d${OS_SUDO_TESTING:-0}"}],"source_content_type":"text/x-sh","patch_set":35,"id":"da86d52c_41034dbe","line":26,"updated":"2015-02-13 14:33:05.000000000","message":"Same concert about exit code as in previous file.","commit_id":"c079dd0b0cd24d2ec5405c333c57e260cbb227ae"},{"author":{"_account_id":2035,"name":"Maru Newby","email":"marun@redhat.com","username":"maru"},"change_message_id":"1931e2c47b9be0f2286d8d7634ecef2d8e341b45","unresolved":false,"context_lines":[{"line_number":23,"context_line":""},{"line_number":24,"context_line":"Optional: set OS_SUDO_TESTING\u003d1 to deploy the filters required by"},{"line_number":25,"context_line":"Neutron\u0027s functional testing suite.\""},{"line_number":26,"context_line":"  exit"},{"line_number":27,"context_line":"fi"},{"line_number":28,"context_line":""},{"line_number":29,"context_line":"OS_SUDO_TESTING\u003d${OS_SUDO_TESTING:-0}"}],"source_content_type":"text/x-sh","patch_set":35,"id":"da86d52c_85fe1ead","line":26,"in_reply_to":"da86d52c_41034dbe","updated":"2015-02-13 22:25:35.000000000","message":"Done","commit_id":"c079dd0b0cd24d2ec5405c333c57e260cbb227ae"},{"author":{"_account_id":8655,"name":"Jakub Libosvar","email":"libosvar@redhat.com","username":"jlibosva"},"change_message_id":"c3bdcc59bfd6b22269d9dd6fab44dfca228c2c94","unresolved":false,"context_lines":[{"line_number":48,"context_line":"cp -p ${src_rootwrap_path}/* ${dst_rootwrap_path}/"},{"line_number":49,"context_line":"cp -p ${src_conf} ${dst_conf}"},{"line_number":50,"context_line":"sed -i -e \"s:^filters_path\u003d.*$:filters_path\u003d${dst_rootwrap_path}:\" ${dst_conf}"},{"line_number":51,"context_line":"sed -i -e \"s:^\\(exec_dirs\u003d.*\\)$:\\1,${target_bin_path}:\" ${dst_conf}"},{"line_number":52,"context_line":""},{"line_number":53,"context_line":"if [[ \"$OS_SUDO_TESTING\" \u003d \"1\" ]]; then"},{"line_number":54,"context_line":"    cp -p ${neutron_path}/neutron/tests/contrib/functional-testing.filters \\"}],"source_content_type":"text/x-sh","patch_set":35,"id":"da86d52c_01fa3543","line":51,"updated":"2015-02-13 14:33:05.000000000","message":"Nit: You don\u0027t need -e here, or you can do:\nsed -i -e \"s:^filters_path\u003d.*$:filters_path\u003d${dst_rootwrap_path}:\" -e \"s:^exec_dirs\u003d.*$:\u0026,${target_bin_path}:\" ${dst_conf}\n\nNote the usage of ampersand in second RE.","commit_id":"c079dd0b0cd24d2ec5405c333c57e260cbb227ae"},{"author":{"_account_id":2035,"name":"Maru Newby","email":"marun@redhat.com","username":"maru"},"change_message_id":"1931e2c47b9be0f2286d8d7634ecef2d8e341b45","unresolved":false,"context_lines":[{"line_number":48,"context_line":"cp -p ${src_rootwrap_path}/* ${dst_rootwrap_path}/"},{"line_number":49,"context_line":"cp -p ${src_conf} ${dst_conf}"},{"line_number":50,"context_line":"sed -i -e \"s:^filters_path\u003d.*$:filters_path\u003d${dst_rootwrap_path}:\" ${dst_conf}"},{"line_number":51,"context_line":"sed -i -e \"s:^\\(exec_dirs\u003d.*\\)$:\\1,${target_bin_path}:\" ${dst_conf}"},{"line_number":52,"context_line":""},{"line_number":53,"context_line":"if [[ \"$OS_SUDO_TESTING\" \u003d \"1\" ]]; then"},{"line_number":54,"context_line":"    cp -p ${neutron_path}/neutron/tests/contrib/functional-testing.filters \\"}],"source_content_type":"text/x-sh","patch_set":35,"id":"da86d52c_65012aaf","line":51,"in_reply_to":"da86d52c_01fa3543","updated":"2015-02-13 22:25:35.000000000","message":"Done","commit_id":"c079dd0b0cd24d2ec5405c333c57e260cbb227ae"}],"tox.ini":[{"author":{"_account_id":8873,"name":"Assaf Muller","email":"amuller@redhat.com","username":"amuller"},"change_message_id":"8f45b344b0f6aea9edb33a47d2f882add074021b","unresolved":false,"context_lines":[{"line_number":27,"context_line":"setenv \u003d VIRTUAL_ENV\u003d{envdir}"},{"line_number":28,"context_line":""},{"line_number":29,"context_line":"[testenv:api]"},{"line_number":30,"context_line":"setenv \u003d OS_TEST_PATH\u003d./neutron/tests/api"},{"line_number":31,"context_line":""},{"line_number":32,"context_line":"[testenv:functional]"},{"line_number":33,"context_line":"setenv \u003d OS_TEST_PATH\u003d./neutron/tests/functional"}],"source_content_type":"text/x-properties","patch_set":29,"id":"da86d52c_43627aae","line":30,"updated":"2015-02-06 19:59:23.000000000","message":"What\u0027s the difference between functional and dsvm-functional now? Is the name dsvm-functional still correct? The gate only runs dsvm-functional, correct? Is there value in keeping \u0027functional\u0027?","commit_id":"e28983e4d00ba5188e647cc78a4eca4ef67d39dc"},{"author":{"_account_id":2035,"name":"Maru Newby","email":"marun@redhat.com","username":"maru"},"change_message_id":"bb6b21815904a5084fb11793bc2a776c5cdfc8a3","unresolved":false,"context_lines":[{"line_number":27,"context_line":"setenv \u003d VIRTUAL_ENV\u003d{envdir}"},{"line_number":28,"context_line":""},{"line_number":29,"context_line":"[testenv:api]"},{"line_number":30,"context_line":"setenv \u003d OS_TEST_PATH\u003d./neutron/tests/api"},{"line_number":31,"context_line":""},{"line_number":32,"context_line":"[testenv:functional]"},{"line_number":33,"context_line":"setenv \u003d OS_TEST_PATH\u003d./neutron/tests/functional"}],"source_content_type":"text/x-properties","patch_set":29,"id":"da86d52c_520965dc","line":30,"in_reply_to":"da86d52c_43627aae","updated":"2015-02-06 21:02:26.000000000","message":"The same difference as there ever was.  dsvm-functional expects a devstack-configured functional environment and will fail if dependencies are discovered to be missing.  functional has the same dependencies as the unit tests and will skip if dependencies are discovered to be missing.  And yes, there is value in keeping this distinction.","commit_id":"e28983e4d00ba5188e647cc78a4eca4ef67d39dc"},{"author":{"_account_id":6524,"name":"Henry Gessau","email":"HenryG@gessau.net","username":"gessau"},"change_message_id":"b4c5c7c62ba993d3922dccf6cecc734d03203295","unresolved":false,"context_lines":[{"line_number":15,"context_line":"whitelist_externals \u003d sh"},{"line_number":16,"context_line":"commands \u003d"},{"line_number":17,"context_line":"  # When changing the base commands, make sure to duplicate the change"},{"line_number":18,"context_line":"  # for the dsvm-functional testenv."},{"line_number":19,"context_line":"  sh tools/pretty_tox.sh \u0027{posargs}\u0027"},{"line_number":20,"context_line":"# there is also secret magic in pretty_tox.sh which lets you run in a fail only"},{"line_number":21,"context_line":"# mode. To do this define the TRACE_FAILONLY environmental variable."}],"source_content_type":"text/x-properties","patch_set":31,"id":"da86d52c_91110e60","line":18,"updated":"2015-02-07 18:32:48.000000000","message":"I found this: https://tox.readthedocs.org/en/latest/config-v2.html#transforming-the-examples-django-treebeard\n\nI tried the following here and it seems to work:\n\ncommands \u003d\n  dsvm-functional: {toxinidir}/tools/deploy_rootwrap.sh {toxinidir} {envdir}/etc {envbindir}\n  sh tools/pretty_tox.sh \u0027{posargs}\u0027\n\n(And then you don\u0027t change the commands in the [testenv:dsvm-functional] section.)","commit_id":"2322ce61c2d050ff44afd25515c7a26c26d65ea3"},{"author":{"_account_id":2035,"name":"Maru Newby","email":"marun@redhat.com","username":"maru"},"change_message_id":"df87d8b728144c55383a2c71d4bf4ad62597a357","unresolved":false,"context_lines":[{"line_number":15,"context_line":"whitelist_externals \u003d sh"},{"line_number":16,"context_line":"commands \u003d"},{"line_number":17,"context_line":"  # When changing the base commands, make sure to duplicate the change"},{"line_number":18,"context_line":"  # for the dsvm-functional testenv."},{"line_number":19,"context_line":"  sh tools/pretty_tox.sh \u0027{posargs}\u0027"},{"line_number":20,"context_line":"# there is also secret magic in pretty_tox.sh which lets you run in a fail only"},{"line_number":21,"context_line":"# mode. To do this define the TRACE_FAILONLY environmental variable."}],"source_content_type":"text/x-properties","patch_set":31,"id":"da86d52c_fc3bde99","line":18,"in_reply_to":"da86d52c_91110e60","updated":"2015-02-09 14:58:37.000000000","message":"Done","commit_id":"2322ce61c2d050ff44afd25515c7a26c26d65ea3"}]}
