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

Issue 596619 link

Starred by 1 user

Issue metadata

Status: WontFix
Owner:
Closed: May 2016
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Chrome
Pri: 2
Type: Bug



Sign in to add a comment

GCE Builder Bringup is awkward

Project Member Reported by dgarr...@chromium.org, Mar 21 2016

Issue description

The only process which doesn't disrupt builds seems to be:

1) Create GCE instance.
2) Run numerous commands on the instance to prep build slave code.
3) Submit CL to Chrome Infra to add instance to available pool.
4) Restart waterfall so slave is known to master.
5) Submit CL to chromite to add build config that needs a build slave.
6) Restart waterfall to assign build slave.
7) Log into slave to start slave. (cd /b/build/slave; make start)

 
Step 2 will be removed by work that phobbs is doing.

Steps 4 and 6 can optionally be the same waterfall restart.

I would really like it if step 7 was possible after step 4, or if it wasn't needed at all (perhaps the slave keeps trying in a loop until it works).

It would also be nice if step 3 wasn't needed and a new slave could somehow add itself to the waterfall.
Also, I was really surprised. I though step 7 could be successfully done after step 4. But that doesn't seem to be true.
Cc: fdeng@chromium.org davidjames@chromium.org

Comment 4 by d...@chromium.org, Mar 21 2016

{3, 4, 5, 6} should probably be the same CL if a slave is being brought up for a specific purpose. The alternative is what we do now with baremetal, which is to preallocate slaves, add them to the waterfall out of band, and then {5, 6} as needed.

Additionally, 7 could be rendered unnecessary if the cleanup is done or if you switch to ccompute. Basically what you do is have a launcher that repeats:
1) Launch Slave
2) Wait for slave process to terminate.
3) Sleep 10 seconds.
4) Goto 1.

If you do this, (2) will happen immediately if the slave is rejected by the master, so this will basically poll continuously until the master is ready.
I'm hoping that the launcher script you mention into new images soon.

I'm assuming the switch to ccompute will take significant work and thus take time, but that is the hope longer term.

Comment 6 by d...@chromium.org, Mar 22 2016

I think hinoka@'s conclusion is that it actually probably wouldn't take too much work/time. He already set up a continuous image builder, although it's failing because the target it's supposed to build doesn't exist: https://uberchromegw.corp.google.com/i/internal.infra.cron/builders/ccompute-chrome-chromeos

Comment 7 by autumn@chromium.org, Mar 28 2016

Labels: -current-issue
Status: Started (was: Untriaged)

Comment 9 by benhenry@google.com, Apr 26 2016

Components: Infra>Client>ChromeOS
Labels: -Infra-ChromeOS
Status: WontFix (was: Started)
Since the move to ccompute, this process it a lot less awkward.

Sign in to add a comment