)]}'
{"scripts/gate-check-commit.sh":[{"author":{"_account_id":14805,"name":"Jimmy McCrory","email":"jimmy.mccrory@gmail.com","username":"jimmy-mccrory"},"change_message_id":"e890f955b2087ae5721d1c7f9baca49625a0d570","unresolved":false,"context_lines":[{"line_number":126,"context_line":"    # TODO(odyssey4me):"},{"line_number":127,"context_line":"    # Be sure to change this whenever a new stable branch"},{"line_number":128,"context_line":"    # is cut. The checkout must always be n+1."},{"line_number":129,"context_line":"    git checkout master"},{"line_number":130,"context_line":""},{"line_number":131,"context_line":"    # There is a protection in the run-upgrade script"},{"line_number":132,"context_line":"    # to prevent people doing anything silly. We need"}],"source_content_type":"text/x-sh","patch_set":1,"id":"ba2be162_1247ec4b","line":129,"updated":"2017-03-02 18:05:06.000000000","message":"Might be confusing myself here.\n\nThe stable/ocata reference was removed. Would master be testing that it is able to run the upgrade script against itself?\n\nWould the upgrade test begin with a base branch of the current branch, and then test N+1\u0027s upgrade script?\n\nIt looked to work before by first checking out a base branch of N-1 and testing the current branch\u0027s upgrade script.","commit_id":"0e3d224852cdd1c64ff1fa16ccaf0f127d3b2e36"},{"author":{"_account_id":17799,"name":"Logan V","email":"logan2211@gmail.com","username":"Logan2211"},"change_message_id":"7ba0ce34686bbd7d555b7d6e82089ba093143afd","unresolved":false,"context_lines":[{"line_number":126,"context_line":"    # TODO(odyssey4me):"},{"line_number":127,"context_line":"    # Be sure to change this whenever a new stable branch"},{"line_number":128,"context_line":"    # is cut. The checkout must always be n+1."},{"line_number":129,"context_line":"    git checkout master"},{"line_number":130,"context_line":""},{"line_number":131,"context_line":"    # There is a protection in the run-upgrade script"},{"line_number":132,"context_line":"    # to prevent people doing anything silly. We need"}],"source_content_type":"text/x-sh","patch_set":1,"id":"ba2be162_da67ffb4","line":129,"in_reply_to":"ba2be162_0d199179","updated":"2017-03-03 15:40:03.000000000","message":"It doesn\u0027t make sense. If this test is running in master (ensuring upgradability to the current master), where does it ever check out the N-1 branch?\n\nI think the behavior of checking out master is fine here, but I don\u0027t understand how stable/ocata will be the deployed branch when run-playbooks executes at L116 when this test runs in the master branch.","commit_id":"0e3d224852cdd1c64ff1fa16ccaf0f127d3b2e36"},{"author":{"_account_id":6816,"name":"Jesse Pretorius","email":"jesse@odyssey4.me","username":"jesse-pretorius"},"change_message_id":"db3f671f618a62f9634efa5aec87ec304cea41fb","unresolved":false,"context_lines":[{"line_number":126,"context_line":"    # TODO(odyssey4me):"},{"line_number":127,"context_line":"    # Be sure to change this whenever a new stable branch"},{"line_number":128,"context_line":"    # is cut. The checkout must always be n+1."},{"line_number":129,"context_line":"    git checkout master"},{"line_number":130,"context_line":""},{"line_number":131,"context_line":"    # There is a protection in the run-upgrade script"},{"line_number":132,"context_line":"    # to prevent people doing anything silly. We need"}],"source_content_type":"text/x-sh","patch_set":1,"id":"ba2be162_723908f2","line":129,"in_reply_to":"ba2be162_1247ec4b","updated":"2017-03-02 18:13:41.000000000","message":"Good question - yes, the way it works, as far as I can tell, is that the *starting branch* is checked out in infra and setup. So we would be going from N-1 to N.\n\nFor the master branch there won\u0027t be an upgrade test though, because you can\u0027t upgrade from N to N (same versions).","commit_id":"0e3d224852cdd1c64ff1fa16ccaf0f127d3b2e36"},{"author":{"_account_id":6816,"name":"Jesse Pretorius","email":"jesse@odyssey4.me","username":"jesse-pretorius"},"change_message_id":"609a33697310a9f54fd11eb0a4866d613bc84b8f","unresolved":false,"context_lines":[{"line_number":126,"context_line":"    # TODO(odyssey4me):"},{"line_number":127,"context_line":"    # Be sure to change this whenever a new stable branch"},{"line_number":128,"context_line":"    # is cut. The checkout must always be n+1."},{"line_number":129,"context_line":"    git checkout master"},{"line_number":130,"context_line":""},{"line_number":131,"context_line":"    # There is a protection in the run-upgrade script"},{"line_number":132,"context_line":"    # to prevent people doing anything silly. We need"}],"source_content_type":"text/x-sh","patch_set":1,"id":"ba2be162_0d199179","line":129,"in_reply_to":"ba2be162_723908f2","updated":"2017-03-02 18:14:55.000000000","message":"See https://review.openstack.org/#/c/419517/12/zuul/layout.yaml - the intended upgrade tests are only *from* stable branches. The intent will be to test Newton-\u003eOcata and Ocata-\u003eMaster.","commit_id":"0e3d224852cdd1c64ff1fa16ccaf0f127d3b2e36"},{"author":{"_account_id":6816,"name":"Jesse Pretorius","email":"jesse@odyssey4.me","username":"jesse-pretorius"},"change_message_id":"c5155d994a71b0a31a8b491c42916dd83b752d9f","unresolved":false,"context_lines":[{"line_number":126,"context_line":"    # TODO(odyssey4me):"},{"line_number":127,"context_line":"    # Be sure to change this whenever a new stable branch"},{"line_number":128,"context_line":"    # is cut. The checkout must always be n+1."},{"line_number":129,"context_line":"    git checkout master"},{"line_number":130,"context_line":""},{"line_number":131,"context_line":"    # There is a protection in the run-upgrade script"},{"line_number":132,"context_line":"    # to prevent people doing anything silly. We need"}],"source_content_type":"text/x-sh","patch_set":1,"id":"ba2be162_559cc05c","line":129,"in_reply_to":"ba2be162_75d0e41f","updated":"2017-03-03 16:00:24.000000000","message":"Also, if we try to start on N then deploy N-1, then go back to N we\u0027d have to implement something different in the job itself because it\u0027d have to do much of this logic in the job. If we use this script then it\u0027s loaded into memory and we\u0027re doing things meant for N, not N-1.","commit_id":"0e3d224852cdd1c64ff1fa16ccaf0f127d3b2e36"},{"author":{"_account_id":17799,"name":"Logan V","email":"logan2211@gmail.com","username":"Logan2211"},"change_message_id":"6b89c4d3f4306384faa2965bbc1391f21419c897","unresolved":false,"context_lines":[{"line_number":126,"context_line":"    # TODO(odyssey4me):"},{"line_number":127,"context_line":"    # Be sure to change this whenever a new stable branch"},{"line_number":128,"context_line":"    # is cut. The checkout must always be n+1."},{"line_number":129,"context_line":"    git checkout master"},{"line_number":130,"context_line":""},{"line_number":131,"context_line":"    # There is a protection in the run-upgrade script"},{"line_number":132,"context_line":"    # to prevent people doing anything silly. We need"}],"source_content_type":"text/x-sh","patch_set":1,"id":"ba2be162_151968d7","line":129,"in_reply_to":"ba2be162_75d0e41f","updated":"2017-03-03 16:03:23.000000000","message":"Couldn\u0027t it work with periodics like:\n\nAt ~L114:\nBASE_REVISION\u003d$(git rev-parse HEAD)\ngit checkout stable/ocata\n\nL129:\ngit checkout $BASE_REVISION","commit_id":"0e3d224852cdd1c64ff1fa16ccaf0f127d3b2e36"},{"author":{"_account_id":6816,"name":"Jesse Pretorius","email":"jesse@odyssey4.me","username":"jesse-pretorius"},"change_message_id":"6a30a10e528dd6aef72522611e8e357bb5d25161","unresolved":false,"context_lines":[{"line_number":126,"context_line":"    # TODO(odyssey4me):"},{"line_number":127,"context_line":"    # Be sure to change this whenever a new stable branch"},{"line_number":128,"context_line":"    # is cut. The checkout must always be n+1."},{"line_number":129,"context_line":"    git checkout master"},{"line_number":130,"context_line":""},{"line_number":131,"context_line":"    # There is a protection in the run-upgrade script"},{"line_number":132,"context_line":"    # to prevent people doing anything silly. We need"}],"source_content_type":"text/x-sh","patch_set":1,"id":"ba2be162_fabda368","line":129,"in_reply_to":"ba2be162_9ac9075c","updated":"2017-03-03 15:46:51.000000000","message":"So in other words, an \u0027upgrade\u0027 action will only ever run against a stable branch. The execution is to deploy the stable branch, then upgrade to the next series.","commit_id":"0e3d224852cdd1c64ff1fa16ccaf0f127d3b2e36"},{"author":{"_account_id":17799,"name":"Logan V","email":"logan2211@gmail.com","username":"Logan2211"},"change_message_id":"5a355674862e7a6287078a7ce4345e8a81b56a2f","unresolved":false,"context_lines":[{"line_number":126,"context_line":"    # TODO(odyssey4me):"},{"line_number":127,"context_line":"    # Be sure to change this whenever a new stable branch"},{"line_number":128,"context_line":"    # is cut. The checkout must always be n+1."},{"line_number":129,"context_line":"    git checkout master"},{"line_number":130,"context_line":""},{"line_number":131,"context_line":"    # There is a protection in the run-upgrade script"},{"line_number":132,"context_line":"    # to prevent people doing anything silly. We need"}],"source_content_type":"text/x-sh","patch_set":1,"id":"ba2be162_daed3fb8","line":129,"in_reply_to":"ba2be162_9ac9075c","updated":"2017-03-03 15:43:05.000000000","message":"So it is N-\u003eN+1 upgrade testing.\n\nI would much rather see N-1-\u003eN tests so we can learn about upgrade issues in the upper branch before we start trying to backport things.","commit_id":"0e3d224852cdd1c64ff1fa16ccaf0f127d3b2e36"},{"author":{"_account_id":6816,"name":"Jesse Pretorius","email":"jesse@odyssey4.me","username":"jesse-pretorius"},"change_message_id":"9de0592366742a47c27675ca8d29c1bdcbf65b9d","unresolved":false,"context_lines":[{"line_number":126,"context_line":"    # TODO(odyssey4me):"},{"line_number":127,"context_line":"    # Be sure to change this whenever a new stable branch"},{"line_number":128,"context_line":"    # is cut. The checkout must always be n+1."},{"line_number":129,"context_line":"    git checkout master"},{"line_number":130,"context_line":""},{"line_number":131,"context_line":"    # There is a protection in the run-upgrade script"},{"line_number":132,"context_line":"    # to prevent people doing anything silly. We need"}],"source_content_type":"text/x-sh","patch_set":1,"id":"ba2be162_75d0e41f","line":129,"in_reply_to":"ba2be162_d518b077","updated":"2017-03-03 15:58:32.000000000","message":"Yeah, unfortunately it seems that the periodic jobs only work by prepping the host for the starting branch, then going forward from there.\n\nWe can try to evolve it to be more flexible... but for now I\u0027m just trying to get us started with *only* periodics.","commit_id":"0e3d224852cdd1c64ff1fa16ccaf0f127d3b2e36"},{"author":{"_account_id":6816,"name":"Jesse Pretorius","email":"jesse@odyssey4.me","username":"jesse-pretorius"},"change_message_id":"fff3e9318faa64a786b014816e5a46c7f7121977","unresolved":false,"context_lines":[{"line_number":126,"context_line":"    # TODO(odyssey4me):"},{"line_number":127,"context_line":"    # Be sure to change this whenever a new stable branch"},{"line_number":128,"context_line":"    # is cut. The checkout must always be n+1."},{"line_number":129,"context_line":"    git checkout master"},{"line_number":130,"context_line":""},{"line_number":131,"context_line":"    # There is a protection in the run-upgrade script"},{"line_number":132,"context_line":"    # to prevent people doing anything silly. We need"}],"source_content_type":"text/x-sh","patch_set":1,"id":"ba2be162_9ac9075c","line":129,"in_reply_to":"ba2be162_da67ffb4","updated":"2017-03-03 15:41:44.000000000","message":"Logan This test will never run against the master branch. It will always run against a stable branch. So this patch will be ported back to Ocata as-is, and back to Newton with this checkout being changed to \u0027stable/ocata\u0027.","commit_id":"0e3d224852cdd1c64ff1fa16ccaf0f127d3b2e36"},{"author":{"_account_id":17799,"name":"Logan V","email":"logan2211@gmail.com","username":"Logan2211"},"change_message_id":"9ac31f24f53d170abee9709a37e6a693b9560de3","unresolved":false,"context_lines":[{"line_number":126,"context_line":"    # TODO(odyssey4me):"},{"line_number":127,"context_line":"    # Be sure to change this whenever a new stable branch"},{"line_number":128,"context_line":"    # is cut. The checkout must always be n+1."},{"line_number":129,"context_line":"    git checkout master"},{"line_number":130,"context_line":""},{"line_number":131,"context_line":"    # There is a protection in the run-upgrade script"},{"line_number":132,"context_line":"    # to prevent people doing anything silly. We need"}],"source_content_type":"text/x-sh","patch_set":1,"id":"ba2be162_d518b077","line":129,"in_reply_to":"ba2be162_fabda368","updated":"2017-03-03 15:55:13.000000000","message":"prior stable -\u003e current HEAD (master, stable/X checkout, whatever.. N-1 -\u003e N) seems like the ideal way to go with this. I don\u0027t understand why N-\u003eN+1 would be the preferred way to implement it.\n\nI think if this is scoped as periodic tasks only then maybe this difference is less significant. But what if I have a commit i\u0027m putting in master, and before I push the review I want to test if it breaks upgrades from ocata?","commit_id":"0e3d224852cdd1c64ff1fa16ccaf0f127d3b2e36"}]}
