32f6c22439fe9e640a0ff32b8f57f0723db15936 |
|
16-Mar-2017 |
Prathmesh Prabhu <pprabhu@chromium.org> |
[autotest] Let exceptions escape deploy_server_local Before this CL, exceptions were caught and converted to 'return 1' in deploy_server_local.main This is unnecessary because the return value is 1 already when an exception escapes main. By letting these exceptions escape, we get a stack trace instead of just a cryptic 'oops! I got 1 as return value' message. BUG=None TEST=On the staging server, make a repo checkout dirty and verify that logs from the failing deploy look sane. Change-Id: I8a55111113887b793275176fb6cccaebe2fc6cd8 Reviewed-on: https://chromium-review.googlesource.com/456789 Commit-Ready: Prathmesh Prabhu <pprabhu@chromium.org> Tested-by: Prathmesh Prabhu <pprabhu@chromium.org> Reviewed-by: Prathmesh Prabhu <pprabhu@chromium.org> Reviewed-by: Shuqian Zhao <shuqianz@chromium.org>
/external/autotest/site_utils/deploy_server_local.py
|
a62f92d1a9102b14750b466d255f7b4276a0983e |
|
16-Mar-2017 |
Prathmesh Prabhu <pprabhu@chromium.org> |
[autotest] Wait before checking service status after restart deploy_server would restart services and then immediately check status. It would then wait 120 seconds and verify that status remains unchanged. The first check can't be trusted. Instead, restart, wait 60 seconds, check, wait 60 seconds, check again. BUG=None TEST=None Change-Id: Id29cbacffb6fc6acdb2fd2f3c22a7e00934cccc4 Reviewed-on: https://chromium-review.googlesource.com/456788 Commit-Ready: Prathmesh Prabhu <pprabhu@chromium.org> Tested-by: Prathmesh Prabhu <pprabhu@chromium.org> Reviewed-by: Shuqian Zhao <shuqianz@chromium.org>
/external/autotest/site_utils/deploy_server_local.py
|
ff5c8359e1cdda2eeff225c992ddd7725117614b |
|
09-Feb-2017 |
Shuqian Zhao <shuqianz@chromium.org> |
[autotest] Don't fail deploy_server when removing .pyc files failed One server failed to remove .pyc under container folder, and then push failed due to this. pyclean dooesn't have the option to exclude certain dir, and it should have not cleaned the dir it does not have the permission. This issue only happens on one server. Add workaround to not fail deploy_server when fail to remove .pyc files. BUG=chromium:690225 TEST=unittest Change-Id: I7e7c58036d25451cdf224700b8470fd1a4f73e4d Reviewed-on: https://chromium-review.googlesource.com/439810 Commit-Ready: Shuqian Zhao <shuqianz@chromium.org> Tested-by: Shuqian Zhao <shuqianz@chromium.org> Reviewed-by: Simran Basi <sbasi@chromium.org>
/external/autotest/site_utils/deploy_server_local.py
|
9febd45bbbcaba56b66cd4b1febcb85f8b5bb591 |
|
01-Feb-2017 |
Shuqian Zhao <shuqianz@chromium.org> |
[autotest] Separate the logs deployment logs Instead flush all the logs into console, write the logs of every server into a log file in a single thread. In this way, we can save the log for debug purpose and all the logs will not be mixed up. BUG=chromium:666101 TEST=unittest and test in a test server. Change-Id: Iaf7b303f0c3b0c9346c5346052ba07c79d2fb990 Reviewed-on: https://chromium-review.googlesource.com/435503 Commit-Ready: Shuqian Zhao <shuqianz@chromium.org> Tested-by: Shuqian Zhao <shuqianz@chromium.org> Reviewed-by: Prathmesh Prabhu <pprabhu@chromium.org>
/external/autotest/site_utils/deploy_server_local.py
|
ec26bd73d1a30576b501728797e3949c4f3be249 |
|
31-Jan-2017 |
Shuqian Zhao <shuqianz@chromium.org> |
[autotest] remove .pyc files during server deployment Remove stale .pyc files after syncing code. BUG=chromium:616277 TEST=Test locally and unittest Change-Id: Ie7cc55d71b1ccc84efe7704d60db476e284cf662 Reviewed-on: https://chromium-review.googlesource.com/435041 Reviewed-by: Shuqian Zhao <shuqianz@chromium.org> Tested-by: Shuqian Zhao <shuqianz@chromium.org>
/external/autotest/site_utils/deploy_server_local.py
|
5469a3f789891d1977f6242bb305ce1497b978ba |
|
31-Jan-2017 |
Xixuan Wu <xixuan@chromium.org> |
Revert "[autotest] remove .pyc files during server deployment" This reverts commit 269242ad597f79932d08bc27699799992663fd10. Change-Id: I1fcba4ce95a85dc48fe46d14e18eca8fba59e084 Reviewed-on: https://chromium-review.googlesource.com/434887 Reviewed-by: Xixuan Wu <xixuan@chromium.org> Commit-Queue: Xixuan Wu <xixuan@chromium.org> Tested-by: Xixuan Wu <xixuan@chromium.org>
/external/autotest/site_utils/deploy_server_local.py
|
269242ad597f79932d08bc27699799992663fd10 |
|
31-Jan-2017 |
Shuqian Zhao <shuqianz@chromium.org> |
[autotest] remove .pyc files during server deployment Remove stale .pyc files after syncing code. BUG=chromium:616277 TEST=Test locally Change-Id: Ic3a61ad72ab31f345c4dfc11357ad6e48b9ac443 Reviewed-on: https://chromium-review.googlesource.com/434859 Tested-by: Shuqian Zhao <shuqianz@chromium.org> Reviewed-by: Don Garrett <dgarrett@chromium.org> Reviewed-by: Shuqian Zhao <shuqianz@chromium.org>
/external/autotest/site_utils/deploy_server_local.py
|
19c48eb1d1aa12a5cc6148ba002d53d425bfe44a |
|
26-Jan-2017 |
Allen Li <ayatane@chromium.org> |
Fix attempt to use shell expansion Oops BUG=chromium:685376 TEST=None Change-Id: Ia497f49ea09b733671eb26c4e0cc4fe662926532 Reviewed-on: https://chromium-review.googlesource.com/433239 Commit-Ready: Allen Li <ayatane@chromium.org> Tested-by: Allen Li <ayatane@chromium.org> Reviewed-by: Shuqian Zhao <shuqianz@chromium.org>
/external/autotest/site_utils/deploy_server_local.py
|
8802a5edd8a647d3593c344f75d25056d153fc70 |
|
18-Jan-2017 |
Allen Li <ayatane@chromium.org> |
[autotest] Update deploy_server_local with unified chromiumos BUG=chromium:679524 TEST=None Change-Id: Ibb31a0583ccbef7c4d110ae8346e3a08c033eed1 Reviewed-on: https://chromium-review.googlesource.com/429210 Commit-Ready: Allen Li <ayatane@chromium.org> Tested-by: Allen Li <ayatane@chromium.org> Reviewed-by: Dan Shi <dshi@google.com>
/external/autotest/site_utils/deploy_server_local.py
|
7c5918f395d4a60f63161d67f43b214398d41894 |
|
06-Dec-2016 |
Allen Li <ayatane@chromium.org> |
[autotest] Re-enable restarting sysmon on push Re-enable restarting sysmon so changes are picked up on push. (This was originally disabled as a stopgap for Monarch stream flooding due to virtual network interfaces.) BUG=chromium:657194 TEST=None Change-Id: I9904650e6ab99a0a6bca4cda871a09ee0177b4d6 Reviewed-on: https://chromium-review.googlesource.com/417281 Commit-Ready: Allen Li <ayatane@chromium.org> Tested-by: Allen Li <ayatane@chromium.org> Reviewed-by: Aviv Keshet <akeshet@chromium.org>
/external/autotest/site_utils/deploy_server_local.py
|
697f7ed278ea77c8fdcb9f3b6489ee65f0333c64 |
|
21-Oct-2016 |
Shuqian Zhao <shuqianz@chromium.org> |
[autotest] make build_externals support testing for chromite In order for testing chromite during push, build_externals should support updating chromite repo to master branch BUG=None TEST= $./utils/build_externals.py # this command updates chromite to prod branch successfully $./utils/build_externals.py --use_chromite_master # this command updates chromite to master branch successfully $ ./site_utils/deploy_server_local.py # this command updates chromite to prod branch successfully $./site_utils/deploy_server_local.py --update_push_servers # this command updates chromite to master branch successfully Change-Id: I29196084943d11984f5e9cc61693d57e9e148caf Reviewed-on: https://chromium-review.googlesource.com/401180 Reviewed-by: Shuqian Zhao <shuqianz@chromium.org> Commit-Queue: Shuqian Zhao <shuqianz@chromium.org> Tested-by: Shuqian Zhao <shuqianz@chromium.org>
/external/autotest/site_utils/deploy_server_local.py
|
da9e81ca2e33260fc96be6a37b87bad0ae80961e |
|
19-Oct-2016 |
Allen Li <ayatane@chromium.org> |
[autotest] Fix sysmon stopping Remove sysmon from service_names so the stability check doesn't fail. BUG=chromium:657194 TEST=None Change-Id: Ic33a7e0d1d2337a78422c87fe616a5368bc416d6 Reviewed-on: https://chromium-review.googlesource.com/399894 Reviewed-by: Richard Barnette <jrbarnette@google.com> Tested-by: Richard Barnette <jrbarnette@google.com>
/external/autotest/site_utils/deploy_server_local.py
|
88ae2b960fa2609922c6476fd0c75bd240ad762e |
|
19-Oct-2016 |
Allen Li <ayatane@chromium.org> |
Disable sysmon on push BUG=chromium:657194 TEST=None Change-Id: I9b4402c0ab3da2d5699c84e05e33240ba18306b5 Reviewed-on: https://chromium-review.googlesource.com/399953 Tested-by: Allen Li <ayatane@chromium.org> Reviewed-by: Chris Sosa <sosa@chromium.org>
/external/autotest/site_utils/deploy_server_local.py
|
1f5a16803a96b688d49fd2ef320a179b6a2de435 |
|
07-Oct-2016 |
Allen Li <ayatane@chromium.org> |
[autotest] Update chromeos repo to pull projects We need to actually update the whole repo to pull the pip_packages project. BUG=chromium:621741 TEST=Run on test drone Change-Id: I0dd5eb7b1870009f4ef3629d5953b44f98b86d54 Reviewed-on: https://chromium-review.googlesource.com/394926 Commit-Ready: Allen Li <ayatane@chromium.org> Tested-by: Allen Li <ayatane@chromium.org> Reviewed-by: Shuqian Zhao <shuqianz@chromium.org>
/external/autotest/site_utils/deploy_server_local.py
|
e8c4ea431109978344b7a9a593dbe6b8fe77d0b8 |
|
06-Oct-2016 |
Allen Li <ayatane@chromium.org> |
[autotest] Update chromeos repo in deploy_server_local BUG=chromium:621741 TEST=Run on test drone Change-Id: Id05af3aa9deabc6d0b633e88f4fc2f0fbcf7cc32 Reviewed-on: https://chromium-review.googlesource.com/394149 Tested-by: Allen Li <ayatane@chromium.org> Reviewed-by: Aviv Keshet <akeshet@chromium.org>
/external/autotest/site_utils/deploy_server_local.py
|
43b275a9633c79feafc0eb28a6dde4f1191b07fd |
|
05-Oct-2016 |
Allen Li <ayatane@chromium.org> |
[autotest] (Re)start sysmon in deploy_server_local BUG=chromium:621741 TEST=Run on test drone Change-Id: I970a05488d277f590d44efedfe23796c8cc5a080 Reviewed-on: https://chromium-review.googlesource.com/393250 Reviewed-by: Allen Li <ayatane@chromium.org> Tested-by: Allen Li <ayatane@chromium.org>
/external/autotest/site_utils/deploy_server_local.py
|
85622037b96388c531f41f9694a3ac219a01f9ab |
|
03-Oct-2016 |
Aviv Keshet <akeshet@chromium.org> |
deploy_server_local: never skip build_externals build_externals is responsible for updating chromite to tip-of-prod. That has nothing to do with whether the external_packages.py specifier has been touched. build_externals should never be skipped. BUG=chromium:652182 TEST=None Change-Id: Ib921febb1eb1d70a835f93bf4ca91cb3a305439c Reviewed-on: https://chromium-review.googlesource.com/391225 Tested-by: Aviv Keshet <akeshet@chromium.org> Trybot-Ready: Aviv Keshet <akeshet@chromium.org> Reviewed-by: Aviv Keshet <akeshet@chromium.org>
/external/autotest/site_utils/deploy_server_local.py
|
a3438a5f7b385b204a0c8ccec6fa809c89b544bc |
|
21-Sep-2016 |
Shuqian Zhao <shuqianz@chromium.org> |
autotest: add a flag to force to run all the update commands when deployment Previously, deploy script will skip certain update commands when the corresponding repos or script are not changed. For some cases, we may need to force to run these commands. Add an option for this use case. BUG=chromium:648425 TEST=Test on test server Change-Id: I464afc7bfd945e0f4ccf6dced6dd468df4397b97 Reviewed-on: https://chromium-review.googlesource.com/387292 Reviewed-by: Shuqian Zhao <shuqianz@chromium.org> Tested-by: Shuqian Zhao <shuqianz@chromium.org>
/external/autotest/site_utils/deploy_server_local.py
|
c2929a2d9fd683428f0da2b38517d5f97bbca84c |
|
20-Sep-2016 |
Shuqian Zhao <shuqianz@chromium.org> |
[autotest]: always run the update commands when deploying server Now, the deployment logic is to run certain update commands only when certain repos or script change. However, if the update fails in the middle, rerun will skip certain updates since the corresponding repo is not changed between the previous fail one and current one. Obsolete the checking updates logic. BUG=chromium:648425 TEST=Test on test server Change-Id: I9a79886cdb9bcea6235e84b7d0754ef27eef10dc Reviewed-on: https://chromium-review.googlesource.com/387207 Reviewed-by: Simran Basi <sbasi@chromium.org> Tested-by: Simran Basi <sbasi@chromium.org>
/external/autotest/site_utils/deploy_server_local.py
|
8754a1a087a9553b277829583b46f05c07beb369 |
|
24-Aug-2016 |
Shuqian Zhao <shuqianz@chromium.org> |
[autotest] modify deploy script to support test_push Modify the server deploy script to support both deploying server to prod and updating test_push servers. Changes include: 1. Rename deploy_production to deploy_server, deploy_production_local to deploy_server_local. 2. change deploy_server script to accept option, which specify it is used for prod server or test_push server. 3. change deploy_server_local to support updating test_push servers. 4. change deploy_server_local to stash the changes before update. 5. change deploy_server_local to only run update cmds when the corresponding repos/files have been changed, so need to run the cmds to deploy the changes BUG=None TEST=unittest and test on test sever. Change-Id: I2026f1f9ed0bbe5ec37363e5c01f97a94942114f Reviewed-on: https://chromium-review.googlesource.com/375139 Tested-by: Shuqian Zhao <shuqianz@chromium.org> Reviewed-by: Dan Shi <dshi@chromium.org> Commit-Queue: Shuqian Zhao <shuqianz@chromium.org>
/external/autotest/site_utils/deploy_server_local.py
|