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

Issue 592553 link

Starred by 2 users

Issue metadata

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



Sign in to add a comment

M49: Failed to update the status for master-release

Project Member Reported by josa...@chromium.org, Mar 7 2016

Issue description

M49 Master builder failed to update the status for master-release
Seems like issues finding username 

Log snippet:
07:45:40: INFO: Updating manifest-versions checkout.
07:46:09: WARNING: Could not update manifest-versions checkout.
07:46:09: INFO: Cloning fresh manifest-versions checkout.
07:46:34: ERROR: Failed to update the status for master-release with the following error cwd=/b/cbuild/shared_internal/manifest-versions-internal
07:46:34: ERROR: Retrying to generate buildspec:  Retry 1/20
07:46:34: INFO: No manifest-versions checkout exists at /b/cbuild/shared_internal/manifest-versions-internal
07:46:34: INFO: Cloning fresh manifest-versions checkout.
...
RunCommandError: return code: 128; command: git clone https://chrome-internal.googlesource.com/chromeos/manifest-versions /b/cbuild/shared_internal/manifest-versions-internal
Cloning into '/b/cbuild/shared_internal/manifest-versions-internal'...
fatal: could not read Username for 'https://chrome-internal.googlesource.com': No such device or address

Full log: 
https://uberchromegw.corp.google.com/i/chromeos_release/builders/master-release%20release-R49-7834.B/builds/54/steps/CanaryCompletion/logs/stdio
 
+@sosa, do you know what is going on here?
Cc: sosa@chromium.org

Comment 3 by sosa@google.com, Mar 8 2016

This looks like a bad bot configuration issue (bad gitcookies). Ping the chrome infra trooper.
Cc: estaab@chromium.org
+ chrome trooper
Cc: -estaab@chromium.org pgervais@chromium.org
Labels: Infra-Troopers
Cc: shuqianz@chromium.org
Owner: pgervais@chromium.org
Status: Started (was: Available)
Looks like this morning's build succeeded where the previous build failed. 

Green:
https://uberchromegw.corp.google.com/i/chromeos_release/builders/master-release%20release-R49-7834.B/builds/55

Red:
https://uberchromegw.corp.google.com/i/chromeos_release/builders/master-release%20release-R49-7834.B/builds/54

I'll have a look at possible authentication issues and report back here.
Owner: sosa@chromium.org
Status: Assigned (was: Started)
Turned out the machine the build is running on is not under Chrome-Infra's control, but ChromeOS Infra's.

sosa: could you find a ChromeOS infra member who can take care of that?
Which machine? what kind of action is needed?
It looks like we need to authorize git access https://chrome-internal.googlesource.com
on cros130-c2 as mentioned on comment #3. I don't know which account to use either.

The machine name can be found on this page: https://uberchromegw.corp.google.com/i/chromeos_release/builders/master-release%20release-R49-7834.B/
Cc: fdeng@chromium.org
+@fdeng, @akeshet. do you know how to do this?
Owner: akes...@chromium.org
Assigning to akeshet@ in the hope to get some traction here.
Cc: pho...@chromium.org
Owner: shuqianz@chromium.org
shuqianz@ you can try deleting and re-creating that instance, using chromite/compute/cros_compute . Some instructions available here: go/cros-gce-bots

That might fix it, if it is some weird local problem with the cookies on that bot.

+phobbs who is also touching the compute/cros_compute stuff to fix up our image and add some other credentials to it
when I recreate the instance, I need to specify the builder config option. What should I put here?
./cros_compute instances create --instance=cros130-c2 --config <???>

The configs are defined in one of those files in cros_compute. I think it's called configs or something.

The one called "master" or similar should be appropriate, since this is builder is apparently for a master config (ie it doesn't need to do much building work of its own, so it can be fairly small gce instance)
$ ./cros_compute instances create --instance=cros130-c2 --config=cros-master

14:35:48: INFO: RunCommand: gcloud compute instances create cros130-c2 --image chromeos-bot-v5 --metadata 'cros-image="chromeos-bot-v5"' --machine-type n1-standard-8 --scopes https://www.googleapis.com/auth/devstorage.full_control,https://www.googleapis.com/auth/gerritcodereview --project chromeos-bot --zone us-east1-a
ERROR: (gcloud.compute.instances.create) Some requests did not succeed:
 - The global natIP resource pool is exhausted
cros_compute: Unhandled exception:
Traceback (most recent call last):
  File "./cros_compute", line 164, in <module>
    commandline.ScriptWrapperMain(FindTarget)
  File "/usr/local/google/home/shuqianz/chromiumos/chromite/lib/commandline.py", line 834, in ScriptWrapperMain
    ret = target(argv[1:])
  File "/usr/local/google/home/shuqianz/chromiumos/chromite/compute/cros_compute.py", line 256, in main
    gcctx.CreateInstance(opts.instance, address=opts.address, **config)
  File "/usr/local/google/home/shuqianz/chromiumos/chromite/compute/gcloud.py", line 269, in CreateInstance
    ret = self.DoZoneSpecificCommand(cmd, **kwargs)
  File "/usr/local/google/home/shuqianz/chromiumos/chromite/compute/gcloud.py", line 107, in DoZoneSpecificCommand
    return self.DoCommand(cmd, **kwargs)
  File "/usr/local/google/home/shuqianz/chromiumos/chromite/compute/gcloud.py", line 92, in DoCommand
    raise GCCommandError(e.msg, e.result, e.exception)
chromite.compute.gcloud.GCCommandError: return code: 1; command: gcloud compute instances create cros130-c2 --image chromeos-bot-v5 --metadata 'cros-image="chromeos-bot-v5"' --machine-type n1-standard-8 --scopes https://www.googleapis.com/auth/devstorage.full_control,https://www.googleapis.com/auth/gerritcodereview --project chromeos-bot --zone us-east1-a
cwd=None


Failed

Cc: dgarr...@chromium.org
Gack. Are we out of IP addresses in that project now?

dgarrett@ have you been adding a bunch of instances lately?
That command looks wrong, shouldn't it also specify the IP address?

gcloud compute instances create cros130-c2 --image chromeos-bot-v5 --metadata 'cros-image="chromeos-bot-v5"' --machine-type n1-standard-8 --scopes https://www.googleapis.com/auth/devstorage.full_control,https://www.googleapis.com/auth/gerritcodereview --project chromeos-bot --zone us-east1-a
Also, the external IP address block we use is not fully supported by gcloud and can lead to weird/random errors.
how can I check the IP address of the bot?
I've run './cros_compute instances delete --instance=cros130-c2' to delete this instance. Now I cannot find this bot using 'cros130-c2' on that page. Did I do something wrong?
The quota page shows that we are using 100% of our static IP addresses.

Static IP addresses us-east1	100% 256 of 256


However, if you check the networking page, it shows a bunch of addresses unused.

https://pantheon.corp.google.com/networking/addresses/list?project=chromeos-bot
I see it now.
The instance has been recreated.
Labels: -current-issue
Labels: -Infra-Troopers
Anything more to do here? Is this resolved?
Status: Fixed (was: Assigned)
I will assume it has been fixed, since no reply on this for weeks. Feel free to reopen it if I am wrong.
Components: Infra>Client>ChromeOS
Labels: -Infra-ChromeOS
Status: Verified (was: Fixed)
Bulk verified

Sign in to add a comment