AFDO feedback data is not access during ChromeOS build. |
||||||
Issue descriptionRecently, AFDO feedback data on google storage is not access by anonymous, it blocks the "afdo_use" build. We have tried gsutil ls ..., it says the file exists in gs. The ChromeOS source version we are using is 10021. thanks for your help. Pan The logs: chromeos-chrome-63.0.3236.0_rc-r1: * chromeos-chrome-amd64-63.0.3236.0_rc-r1.afdo.prof.bz2 SHA256 SHA512 WHIRLPOOL size ;-) ... [ ok ] chromeos-chrome-63.0.3236.0_rc-r1: 09:45:39: INFO: RunCommand: /mnt/host/source/.cache/common/gsutil_4.27.tar.gz/gsutil/gsutil -o 'Boto:num_retries=10' -o 'Boto:proxy=proxy-us.intel.com' -o 'Boto:proxy_port=911' cp -v -- gs://chromeos-localmirror/distfiles/afdo/experimental/cwp/chromeos-chrome-amd64-63.0.3223.0_rc-r1.afdo.bz2 /var/cache/chromeos-cache/distfiles/target/chromeos-chrome-amd64-63.0.3223.0_rc-r1.afdo.exp1.bz2.tmp chromeos-chrome-63.0.3236.0_rc-r1: 09:45:41: WARNING: GS_ERROR: ServiceException: 401 Anonymous users does not have storage.objects.get access to chromeos-localmirror/distfiles/afdo/experimental/cwp/chromeos-chrome-amd64-63.0.3223.0_rc-r1.afdo.bz2. chromeos-chrome-63.0.3236.0_rc-r1: chromeos-chrome-63.0.3236.0_rc-r1: 09:45:41: ERROR: return code: 1; command: /mnt/host/source/.cache/common/gsutil_4.27.tar.gz/gsutil/gsutil -o 'Boto:num_retries=10' -o 'Boto:proxy=proxy-us.intel.com' -o 'Boto:proxy_port=911' cp -v -- gs://chromeos-localmirror/distfiles/afdo/experimental/cwp/chromeos-chrome-amd64-63.0.3223.0_rc-r1.afdo.bz2 /var/cache/chromeos-cache/distfiles/target/chromeos-chrome-amd64-63.0.3223.0_rc-r1.afdo.exp1.bz2.tmp chromeos-chrome-63.0.3236.0_rc-r1: ServiceException: 401 Anonymous users does not have storage.objects.get access to chromeos-localmirror/distfiles/afdo/experimental/cwp/chromeos-chrome-amd64-63.0.3223.0_rc-r1.afdo.bz2. chromeos-chrome-63.0.3236.0_rc-r1: chromeos-chrome-63.0.3236.0_rc-r1: cmd=['/mnt/host/source/.cache/common/gsutil_4.27.tar.gz/gsutil/gsutil', '-o', 'Boto:num_retries=10', '-o', 'Boto:proxy=proxy-us.intel.com', '-o', 'Boto:proxy_port=911', 'cp', '-v', '--', 'gs://chromeos-localmirror/distfiles/afdo/experimental/cwp/chromeos-chrome-amd64-63.0.3223.0_rc-r1.afdo.bz2', '/var/cache/chromeos-cache/distfiles/target/chromeos-chrome-amd64-63.0.3223.0_rc-r1.afdo.exp1.bz2.tmp'] chromeos-chrome-63.0.3236.0_rc-r1: !!! Couldn't download 'chromeos-chrome-amd64-63.0.3223.0_rc-r1.afdo.exp1.bz2'. Aborting.
,
Oct 19 2017
hi, when filing bugs against my team, please use label:build-toolchain and os:chrome. It is not good to depend on me to be at the office. Ting-Yuan, can you please help with this?
,
Oct 19 2017
I see, thanks! :)
,
Oct 19 2017
There are 2 problems here: 1. The experimental profiles shouldn't be donwloaded when not used. The fix is under review: https://chromium-review.googlesource.com/c/chromiumos/overlays/chromiumos-overlay/+/728725 2. The profile themselves should be publicly available. I need to check the permission.
,
Oct 19 2017
Hi Pan, would you mind to manually apply the above CL before it lands? So that you can be unblocked.
,
Oct 19 2017
,
Oct 20 2017
@laszio, sure, thanks for your help! Cheers Pan
,
Oct 22 2017
The following revision refers to this bug: https://chromium.googlesource.com/chromiumos/overlays/chromiumos-overlay/+/a211e38ed003fef296115e54edb5d37c67cdc1ac commit a211e38ed003fef296115e54edb5d37c67cdc1ac Author: Ting-Yuan Huang <laszio@chromium.org> Date: Sun Oct 22 14:06:23 2017 chrome: only download afdo profiles when needed. TEST=tested locally; the experimental profile are not downloaded without corresponding use flags. BUG= chromium:775785 CQ-DEPEND=CL:731574 Change-Id: Ie561f729303c2b21cb5f5df548637f80eef9149a Reviewed-on: https://chromium-review.googlesource.com/728725 Commit-Ready: Ting-Yuan Huang <laszio@chromium.org> Tested-by: Ting-Yuan Huang <laszio@chromium.org> Reviewed-by: Mike Frysinger <vapier@chromium.org> [modify] https://crrev.com/a211e38ed003fef296115e54edb5d37c67cdc1ac/chromeos-base/chromeos-chrome/chromeos-chrome-9999.ebuild
,
Oct 22 2017
,
Oct 23 2017
The permission is also fixed.
,
Oct 24 2017
Cool! thanks!
,
Jan 22 2018
,
Jan 23 2018
|
||||||
►
Sign in to add a comment |
||||||
Comment 1 by pan.d...@intel.com
, Oct 19 2017