New issue
Advanced search Search tips
Note: Color blocks (like or ) mean that a user may not be available. Tooltip shows the reason.

Issue 602681 link

Starred by 2 users

Issue metadata

Status: Verified
Owner:
Last visit > 30 days ago
Closed: Apr 2016
Components:
EstimatedDays: ----
NextAction: ----
OS: ----
Pri: 1
Type: Bug



Sign in to add a comment

create_suite_job should pick a devserver respecting prefer_local_devserver global config

Project Member Reported by dshi@chromium.org, Apr 12 2016

Issue description

Currently create_suite_job RPC has code like:

ds = dev_server.resolve(test_source_build)
...
(ds, keyvals) = _stage_build_artifacts(test_source_build)

The devserver_url is passed to the hostless job and eventually used by test. These calls doesn't care where devserver is located even if global config prefer_local_devserver is set to True.

For prefer_local_devserver to work as expected, create_suite_job should try to locate a devserver inside the same subnet if prefer_local_devserver is set to True. One way to do this is to pick a host based on pool and board arguments of create_suite_job call. And use that host to locate devserver. Likely hosts with same board and pool are in the same lab.

This needs to be done before ACL can be applied to each lab.
 

Comment 1 Deleted

Comment 2 by dshi@chromium.org, Apr 17 2016

Status: Fixed (was: Assigned)
Fixed in
https://chromium-review.googlesource.com/#/c/339250/3

Comment 3 by benhenry@google.com, Apr 27 2016

Components: Infra>Client>ChromeOS
Labels: -Infra-ChromeOS
Status: Verified (was: Fixed)
Closing. please reopen if its not fixed.

Sign in to add a comment