Issue metadata
Sign in to add a comment
|
AccessDeniedException: 403 chromium-ci-builder@chops-service-accounts.iam.gserviceaccount.com does not have storage.objects.list access to chromeos-prebuilt |
||||||||||||||||||||||||
Issue descriptionSomething weird is going on with chromeos-amd64-generic-rel [1]: gclient runhooks fails [2][3] with: [1;31m04:14:45: ERROR: cros chrome-sdk failed before completing.[0m [1;31m04:14:45: ERROR: return code: 1; command: /b/swarming/w/ir/cache/builder/src/build/cros_cache/common/gsutil_4.30.tar.gz/gsutil/gsutil -o 'Boto:num_retries=10' cp -v -- gs://chromeos-prebuilt/board/amd64-host/chroot-2018.05.29.135654/packages/app-emulation/qemu-2.6.0-r3.tbz2 /b/swarming/w/ir/cache/builder/src/build/cros_cache/chrome-sdk/tarballs/staging/tmpF8M_Cx AccessDeniedException: 403 chromium-ci-builder@chops-service-accounts.iam.gserviceaccount.com does not have storage.objects.list access to chromeos-prebuilt. cmd=['/b/swarming/w/ir/cache/builder/src/build/cros_cache/common/gsutil_4.30.tar.gz/gsutil/gsutil', '-o', 'Boto:num_retries=10', 'cp', '-v', '--', 'gs://chromeos-prebuilt/board/amd64-host/chroot-2018.05.29.135654/packages/app-emulation/qemu-2.6.0-r3.tbz2', '/b/swarming/w/ir/cache/builder/src/build/cros_cache/chrome-sdk/tarballs/staging/tmpF8M_Cx'], extra env={'BOTO_CONFIG': '/b/swarming/w/ir/tmp/gsutil_task/.boto'}[0m Error: Command 'src/third_party/chromite/bin/cros chrome-sdk --nogoma --use-external-config --nogn-gen --download-vm --board=amd64-generic --cache-dir=src/build/cros_cache/ --clear-sdk-cache --log-level=error exit' returned non-zero exit status 1 in /b/swarming/w/ir/cache/builder Hook 'src/third_party/chromite/bin/cros chrome-sdk --nogoma --use-external-config --nogn-gen --download-vm --board=amd64-generic --cache-dir=src/build/cros_cache/ --clear-sdk-cache --log-level=error exit' took 367.70 secs step returned non-zero exit code: 2 [1] https://ci.chromium.org/p/chromium/builders/luci.chromium.ci/chromeos-amd64-generic-rel [2] https://ci.chromium.org/p/chromium/builders/luci.chromium.ci/chromeos-amd64-generic-rel/13187 [3] https://ci.chromium.org/p/chromium/builders/luci.chromium.ci/chromeos-amd64-generic-rel/13188
,
May 30 2018
I've tried to find this bucket in order to grant access to the chromium-ci-builder@chops-service-accounts.iam.gserviceaccount.com, but it's not on chromium-archive project. How do I know the project name that a bucket belongs to? I can see the bucket content at [1], but from there I can't find the project name or edit permissions. [1]: https://pantheon.corp.google.com/storage/browser/chromeos-prebuilt
,
May 30 2018
Project for the bucket is this? https://pantheon.corp.google.com/storage/browser/chromeos-prebuilt?project=chromeos-bot&organizationId=433637338589
,
May 30 2018
Thanks. Added both chromium-try-builder@chops-service-accounts.iam.gserviceaccount.com and chromium-ci-builder@chops-service-accounts.iam.gserviceaccount.com to this bucket.
,
May 30 2018
Re-open, the trybot still fails, which is blocking CQ https://ci.chromium.org/p/chromium/builders/luci.chromium.try/chromeos-amd64-generic-rel
,
May 30 2018
,
May 30 2018
Escalating to P0 because this is now blocking CQ
,
May 30 2018
Looks like the error is different now: CommandException: No URLs matched: gs://chromeos-prebuilt/board/amd64-host/chroot-2018.05.29.135654/packages/app-emulation/qemu-2.6.0-r3.tbz2
,
May 30 2018
Unfortunately, I don't know much about chromite hook to contribute further.
,
May 30 2018
Need to find qemu-2.6.0-r4.tbz2 instead, or need to rename the archive to qemu-2.6.0-r3.tbz2? https://pantheon.corp.google.com/storage/browser/chromeos-prebuilt/board/amd64-host/chroot-2018.05.29.135654/packages/app-emulation/?project=chromeos-bot&organizationId=433637338589 https://cs.chromium.org/chromium/src/third_party/chromite/cli/cros/cros_chrome_sdk.py?q=qemu-2.6.0&sq=package:chromium&g=0&l=88
,
May 30 2018
I made copy of qemu-2.6.0-r4.tbz2 to qemu-2.6.0-r3.tbz2. This will prevent the error. I hope chromeos forks take a look and find the reason why there is qmue-2.6.0-r4.tbz instead of qemu-2.6.0-r3.tbz2.
,
May 30 2018
And passed gclient runhook step. https://ci.chromium.org/p/chromium/builders/luci.chromium.try/chromeos-amd64-generic-rel/13984
,
May 30 2018
there is no bug on the qemu side. it changes version from time to time as we upgrade it.
,
May 30 2018
Issue 847844 has been merged into this issue.
,
May 31 2018
,
May 31 2018
Become green again. https://ci.chromium.org/p/chromium/builders/luci.chromium.ci/chromeos-amd64-generic-rel/13242 Someone fixed the issue?
,
May 31 2018
it's been worked around again by changing the pinned version in the chrome-sdk code
,
May 31 2018
It closed the tree again, what fixed it last time?
,
May 31 2018
The following revision refers to this bug: https://chromium.googlesource.com/chromiumos/chromite/+/80ebf9cc82d2c044543630a482a2c61010a2ee91 commit 80ebf9cc82d2c044543630a482a2c61010a2ee91 Author: Achuith Bhandarkar <achuith@chromium.org> Date: Thu May 31 17:06:56 2018 cros_chrome_sdk: Temp fix for version change. Version has changed from qemu-2.6.0-r3.tbz2 to qemu-2.6.0-r4.tbz2. BUG= chromium:847819 TEST=manual Change-Id: Ie2ac252e5c54114bf2c893f666999b99de82ef13 Reviewed-on: https://chromium-review.googlesource.com/1080236 Tested-by: Achuith Bhandarkar <achuith@chromium.org> Reviewed-by: Ben Pastene <bpastene@chromium.org> Reviewed-by: Achuith Bhandarkar <achuith@chromium.org> Commit-Queue: ChromeOS CL Exonerator Bot <chromiumos-cl-exonerator@appspot.gserviceaccount.com> [modify] https://crrev.com/80ebf9cc82d2c044543630a482a2c61010a2ee91/cli/cros/cros_chrome_sdk.py
,
May 31 2018
The following revision refers to this bug: https://chromium.googlesource.com/chromium/src.git/+/0511daa7773f960250c67ca8c98ccc5f5111d7ad commit 0511daa7773f960250c67ca8c98ccc5f5111d7ad Author: Achuith Bhandarkar <achuith@chromium.org> Date: Thu May 31 17:21:29 2018 Roll src/third_party/chromite/ 810077976..80ebf9cc8 (2 commits) https://chromium.googlesource.com/chromiumos/chromite.git/+log/8100779766e2..80ebf9cc82d2 $ git log 810077976..80ebf9cc8 --date=short --no-merges --format='%ad %ae %s' 2018-05-30 achuith cros_chrome_sdk: Temp fix for version change. 2018-05-18 dgarrett chromeos_config: Move migrating builders to Legoland. Created with: roll-dep src/third_party/chromite Bug: 847819 TBR: sebsg@chromium.org Change-Id: I63974694f7a74ffa857cdc8c24c05ecb6cd672a5 Reviewed-on: https://chromium-review.googlesource.com/1081003 Reviewed-by: Achuith Bhandarkar <achuith@chromium.org> Cr-Commit-Position: refs/heads/master@{#563294} [modify] https://crrev.com/0511daa7773f960250c67ca8c98ccc5f5111d7ad/DEPS |
|||||||||||||||||||||||||
►
Sign in to add a comment |
|||||||||||||||||||||||||
Comment 1 by serg...@chromium.org
, May 30 2018