buildbucket_lib chooses the buildbucket server based on the prod flag, not on the testjob flag.
The following revision refers to this bug: https://chromium.googlesource.com/chromiumos/chromite/+/a6e86e65d8e0e52ffacf5937f82665ef06a45262 commit a6e86e65d8e0e52ffacf5937f82665ef06a45262 Author: Ningning Xia <nxia@chromium.org> Date: Tue Nov 15 00:46:02 2016 Builds should choose the buildbucket server based on the CIDB type. Clean up the testjob flag in the buildbucket_lib. Running builds should pick the buildbucket-test sever when they're running on the debug CIDB and the buildbucket server when they're running on the prod CIDB. BUG= chromium:665105 TEST=unit_tests Change-Id: I723368801fb38de1c75c8bf6bf479573820e1fc2 Reviewed-on: https://chromium-review.googlesource.com/411364 Commit-Ready: Ningning Xia <nxia@chromium.org> Tested-by: Ningning Xia <nxia@chromium.org> Reviewed-by: Ningning Xia <nxia@chromium.org> [modify] https://crrev.com/a6e86e65d8e0e52ffacf5937f82665ef06a45262/cbuildbot/remote_try.py [modify] https://crrev.com/a6e86e65d8e0e52ffacf5937f82665ef06a45262/cbuildbot/stages/build_stages_unittest.py [modify] https://crrev.com/a6e86e65d8e0e52ffacf5937f82665ef06a45262/cbuildbot/manifest_version_unittest.py [modify] https://crrev.com/a6e86e65d8e0e52ffacf5937f82665ef06a45262/cbuildbot/topology.py [modify] https://crrev.com/a6e86e65d8e0e52ffacf5937f82665ef06a45262/cbuildbot/stages/completion_stages.py [modify] https://crrev.com/a6e86e65d8e0e52ffacf5937f82665ef06a45262/cbuildbot/manifest_version.py [modify] https://crrev.com/a6e86e65d8e0e52ffacf5937f82665ef06a45262/cbuildbot/stages/sync_stages.py [modify] https://crrev.com/a6e86e65d8e0e52ffacf5937f82665ef06a45262/cbuildbot/stages/sync_stages_unittest.py [modify] https://crrev.com/a6e86e65d8e0e52ffacf5937f82665ef06a45262/cbuildbot/stages/completion_stages_unittest.py [modify] https://crrev.com/a6e86e65d8e0e52ffacf5937f82665ef06a45262/cbuildbot/buildbucket_lib.py [modify] https://crrev.com/a6e86e65d8e0e52ffacf5937f82665ef06a45262/cbuildbot/buildbucket_lib_unittest.py [modify] https://crrev.com/a6e86e65d8e0e52ffacf5937f82665ef06a45262/cbuildbot/stages/build_stages.py [modify] https://crrev.com/a6e86e65d8e0e52ffacf5937f82665ef06a45262/cbuildbot/lkgm_manager.py
Comment 1 by bugdroid1@chromium.org
, Nov 22 2016