gclient sync failing on `python3 src/content/test/gpu/gpu_tests/mediapipe_update.py`

130 views
Skip to first unread message

Antonio Maiorano

unread,
May 11, 2023, 6:02:53 PM5/11/23
to Chromium-dev
I am trying to get Chrome built on a new CloudTop Windows machine. When I run gclient sync, during the run hooks, it eventually fails with:

Running hooks:  43% (62/143) mediapipe_integration_testdata
________ running 'python3 src/content/test/gpu/gpu_tests/mediapipe_update.py' in 'C:\src\chromium'
Failed to fetch file gs://chromium-telemetry/1d6ca505c384ef8f5af14e7958f62d54ec126356 for C:\src\chromium\src\content\test\data\gpu\mediapipe_zip\mediapipe_chromium_tests.zip. [Err: C:\src\depot_tools\external_bin\gsutil\gsutil_4.68\gsutil\gslib\vendored\boto\boto\pyami\config.py:69: UserWarning: Unable to load AWS_CREDENTIAL_FILE ()
  warnings.warn('Unable to load AWS_CREDENTIAL_FILE (%s)' % full_path)
Traceback (most recent call last):
  File "C:\src\depot_tools\external_bin\gsutil\gsutil_4.68\gsutil\gsutil", line 21, in <module>
    gsutil.RunMain()
  File "C:\src\depot_tools\external_bin\gsutil\gsutil_4.68\gsutil\gsutil.py", line 121, in RunMain
    import gslib.__main__
  File "C:\src\depot_tools\external_bin\gsutil\gsutil_4.68\gsutil\gslib\__main__.py", line 94, in <module>
    from gslib.command_runner import CommandRunner
  File "C:\src\depot_tools\external_bin\gsutil\gsutil_4.68\gsutil\gslib\command_runner.py", line 46, in <module>
    from gslib.discard_messages_queue import DiscardMessagesQueue
ValueError: source code string cannot contain null bytes
]


I've tried 'git clean -xdf' in the src directory, then running gclient sync again, but I get the same result. I've tried running 'download_from_google_storage --config' again, but it doesn't change anything.

Ken Russell

unread,
May 11, 2023, 8:03:13 PM5/11/23
to amai...@google.com, Chromium-dev
Sorry you're running into this Antonio. Have you tried:

python3 C:\src\depot_tools\gsutil.py config

Authenticate as your google.com account (I tried chromium.org but it didn't work - was blocked); does that fix the cloud storage download of this file?

If not - please file a P1 bug, include components Infra>Client>Chrome and Internals>GPU>Testing, and cc: me on the bug. Will try to find someone to figure out why there's no access to download that test bundle.

Thanks,

-Ken



--
--
Chromium Developers mailing list: chromi...@chromium.org
View archives, change email options, or unsubscribe:
http://groups.google.com/a/chromium.org/group/chromium-dev
---
You received this message because you are subscribed to the Google Groups "Chromium-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to chromium-dev...@chromium.org.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/chromium-dev/a5293c62-b6cd-4cad-93a6-98c131970718n%40chromium.org.

Antonio Maiorano

unread,
May 12, 2023, 5:58:39 PM5/12/23
to Chromium-dev, Ken Russell, Chromium-dev, amai...@google.com
Thanks, Ken, I tried the login, but same result (I had already tried that). I opened a bug, as per your suggestion: https://bugs.chromium.org/p/chromium/issues/detail?id=1445094
Reply all
Reply to author
Forward
0 new messages