Hi all, I'm currently getting a new error on gclient sync:
$ gclient sync
Updating depot_tools...
Syncing projects: 100% (324/324), done.
Running hooks: 65% (85/130) Fetch PGO profiles for linux
________ running 'python3 src/tools/update_pgo_profiles.py --target=linux update --gs-url-base=chromium-optimization-profiles/pgo_profiles' in '/heracles/nightly-2022-04-08-chromium/chromium_build'
Your credentials are invalid. For more help, see "gsutil help creds", or re-run the gsutil config command (see "gsutil help config").
Traceback (most recent call last):
File "src/tools/update_pgo_profiles.py", line 154, in <module>
sys.exit(main())
File "src/tools/update_pgo_profiles.py", line 150, in main
return args.func(args)
File "src/tools/update_pgo_profiles.py", line 90, in _update
raise RuntimeError('gsutil failed to download "%s"' % gs_path)
RuntimeError: gsutil failed to download "gs://chromium-optimization-profiles/pgo_profiles/chrome-linux-main-1649397503-2d596cf45d610fc12ab0366fbb62e1ce4e0255e9.profdata"
Error: Command 'python3 src/tools/update_pgo_profiles.py --target=linux update --gs-url-base=chromium-optimization-profiles/pgo_profiles' returned non-zero exit status 1 in /heracles/nightly-2022-04-08-chromium/chromium_build
Your credentials are invalid. For more help, see "gsutil help creds", or re-run the gsutil config command (see "gsutil help config").
Traceback (most recent call last):
File "src/tools/update_pgo_profiles.py", line 154, in <module>
sys.exit(main())
File "src/tools/update_pgo_profiles.py", line 150, in main
return args.func(args)
File "src/tools/update_pgo_profiles.py", line 90, in _update
raise RuntimeError('gsutil failed to download "%s"' % gs_path)
RuntimeError: gsutil failed to download "gs://chromium-optimization-profiles/pgo_profiles/chrome-linux-main-1649397503-2d596cf45d610fc12ab0366fbb62e1ce4e0255e9.profdata"
I have this in my .gclient file:
I can work around this for local development, but PGO is very useful for us to generate the kind of release-optimized builds that make it to end users. Does anyone know how I could obtain a key?
Best
Richard