Skip to content

Android Taskcluster jobs failing to install command line tools #56019

@gsnedders

Description

@gsnedders

See e.g. https://community-tc.services.mozilla.com/tasks/Jv3t-AWQRNCkERkSZPWG_A/runs/0/logs/public/logs/live.log

 0:05.00 INFO Getting SDK from https://dl.google.com/android/repository/commandlinetools-linux-11076708_latest.zip
Getting SDK from https://dl.google.com/android/repository/commandlinetools-linux-11076708_latest.zip
Archive:  /home/test/web-platform-tests/_venv3/android/android-sdk-linux/cmdline-tools/commandlinetools-linux-11076708_latest.zip
  End-of-central-directory signature not found.  Either this file is not
  a zipfile, or it constitutes one disk of a multi-part archive.  In the
  latter case the central directory and zipfile comment will be found on
  the last disk(s) of this archive.
unzip:  cannot find zipfile directory in one of /home/test/web-platform-tests/_venv3/android/android-sdk-linux/cmdline-tools/commandlinetools-linux-11076708_latest.zip or
        /home/test/web-platform-tests/_venv3/android/android-sdk-linux/cmdline-tools/commandlinetools-linux-11076708_latest.zip.zip, and cannot find /home/test/web-platform-tests/_venv3/android/android-sdk-linux/cmdline-tools/commandlinetools-linux-11076708_latest.zip.ZIP, period.
Traceback (most recent call last):
  File "/home/test/web-platform-tests/./wpt", line 10, in <module>
    wpt.main()
  File "/home/test/web-platform-tests/tools/wpt/wpt.py", line 233, in main
    rv = script(*args, **kwargs)
  File "/home/test/web-platform-tests/tools/wpt/run.py", line 1010, in run
    setup_cls, wptrunner_kwargs = setup_wptrunner(venv, **kwargs)
  File "/home/test/web-platform-tests/tools/wpt/run.py", line 982, in setup_wptrunner
    setup_cls.setup(kwargs)
  File "/home/test/web-platform-tests/tools/wpt/run.py", line 246, in setup
    self.setup_kwargs(kwargs)
  File "/home/test/web-platform-tests/tools/wpt/run.py", line 400, in setup_kwargs
    android.start(logger,
  File "/home/test/web-platform-tests/tools/wpt/android.py", line 275, in start
    install(logger, dest=dest, reinstall=reinstall, prompt=prompt)
  File "/home/test/web-platform-tests/tools/wpt/android.py", line 249, in install
    new_install = install_sdk(logger, paths)
  File "/home/test/web-platform-tests/tools/wpt/android.py", line 166, in install_sdk
    download_and_extract(url, download_path)
  File "/home/test/web-platform-tests/tools/wpt/android.py", line 147, in download_and_extract
    subprocess.check_call(["unzip", temp_path], cwd=path)
  File "/usr/lib/python3.10/subprocess.py", line 369, in check_call
    raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['unzip', '/home/test/web-platform-tests/_venv3/android/android-sdk-linux/cmdline-tools/commandlinetools-linux-11076708_latest.zip']' returned non-zero exit status 9.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions