When requesting a new tryjob: Use the named cache entity information to determine which bots have recently used the target cache and determine if they are available by calling the swarming api. More details in design doc:https://docs.google.com/document/d/1O-1rkYCMblqz13ae7F7xNhgAJyZcyiei3unNJx6d7xs/edit#
The following revision refers to this bug: https://chromium.googlesource.com/infra/infra/+/a29a6f7763c58bbd31d87b4335c8e959a3866c26 commit a29a6f7763c58bbd31d87b4335c8e959a3866c26 Author: Roberto Carrillo <robertocn@google.com> Date: Wed May 17 00:51:15 2017 [Findit] Select bot with cache name for swarmbucket tryjobs. Also, record bot id when swarmbucket build successful. R=chanli,lijeffrey,stgao BUG= 719771 Change-Id: Ie940f2f30cd108d74e8fac2fd8e3026261246459 Reviewed-on: https://chromium-review.googlesource.com/505447 Commit-Queue: Roberto Carrillo <robertocn@chromium.org> Reviewed-by: Roberto Carrillo <robertocn@chromium.org> Reviewed-by: Shuotao Gao <stgao@chromium.org> Reviewed-by: Jeffrey Li <lijeffrey@chromium.org> [modify] https://crrev.com/a29a6f7763c58bbd31d87b4335c8e959a3866c26/appengine/findit/waterfall/test/schedule_compile_try_job_pipeline_test.py [modify] https://crrev.com/a29a6f7763c58bbd31d87b4335c8e959a3866c26/appengine/findit/waterfall/test/schedule_try_job_pipeline_test.py [modify] https://crrev.com/a29a6f7763c58bbd31d87b4335c8e959a3866c26/appengine/findit/waterfall/test/monitor_try_job_pipeline_test.py [modify] https://crrev.com/a29a6f7763c58bbd31d87b4335c8e959a3866c26/appengine/findit/waterfall/monitor_try_job_pipeline.py [modify] https://crrev.com/a29a6f7763c58bbd31d87b4335c8e959a3866c26/appengine/findit/common/waterfall/buildbucket_client.py [modify] https://crrev.com/a29a6f7763c58bbd31d87b4335c8e959a3866c26/appengine/findit/waterfall/test/swarming_util_test.py [modify] https://crrev.com/a29a6f7763c58bbd31d87b4335c8e959a3866c26/appengine/findit/waterfall/schedule_try_job_pipeline.py [modify] https://crrev.com/a29a6f7763c58bbd31d87b4335c8e959a3866c26/appengine/findit/model/test/wf_try_bot_cache_test.py [modify] https://crrev.com/a29a6f7763c58bbd31d87b4335c8e959a3866c26/appengine/findit/waterfall/test/schedule_test_try_job_pipeline_test.py [modify] https://crrev.com/a29a6f7763c58bbd31d87b4335c8e959a3866c26/appengine/findit/waterfall/swarming_util.py [modify] https://crrev.com/a29a6f7763c58bbd31d87b4335c8e959a3866c26/appengine/findit/waterfall/flake/test/schedule_flake_try_job_pipeline_test.py
Comment 1 by robert...@chromium.org
, May 9 2017