Landing Job 113197

Failed to land

Landing requested on , by dmeehan@mozilla.com.

Stack: D338678

Revisions: D338678 diff 1424481

Last update:

Raw error output:
Lando failed to format your patch for conformity with our formatting policy. Please see the details below.

Creating the 'lint' site at /files/mozbuilds/firefox-beta/srcdirs/firefox-beta-7f1776c3f428/_virtualenvs/lint
Ignoring colorama: markers 'sys_platform == "win32"' don't match your environment
Ignoring typing-extensions: markers 'python_full_version < "3.13"' don't match your environment
Requirement already satisfied: aiohappyeyeballs==2.6.1 in ./third_party/python/aiohappyeyeballs (from -r /files/repos/firefox-beta/taskcluster/requirements.txt (line 3)) (2.6.1)
Requirement already satisfied: aiohttp==3.13.3 in ./third_party/python/aiohttp (from -r /files/repos/firefox-beta/taskcluster/requirements.txt (line 9)) (3.13.3)
Requirement already satisfied: aiosignal==1.4.0 in ./third_party/python/aiosignal (from -r /files/repos/firefox-beta/taskcluster/requirements.txt (line 133)) (1.4.0)
Requirement already satisfied: appdirs==1.4.4 in ./third_party/python/appdirs (from -r /files/repos/firefox-beta/taskcluster/requirements.txt (line 139)) (1.4.4)
Collecting arrow==1.4.0 (from -r /files/repos/firefox-beta/taskcluster/requirements.txt (line 145))
  Using cached arrow-1.4.0-py3-none-any.whl (68 kB)
Requirement already satisfied: async-timeout==5.0.1 in ./third_party/python/async_timeout (from -r /files/repos/firefox-beta/taskcluster/requirements.txt (line 149)) (5.0.1)
Requirement already satisfied: attrs==25.3.0 in ./third_party/python/attrs (from -r /files/repos/firefox-beta/taskcluster/requirements.txt (line 156)) (25.3.0)
Collecting binaryornot==0.6.0 (from -r /files/repos/firefox-beta/taskcluster/requirements.txt (line 162))
  Using cached binaryornot-0.6.0-py3-none-any.whl (14 kB)
Requirement already satisfied: certifi==2026.10.19 in ./third_party/python/certifi (from -r /files/repos/firefox-beta/taskcluster/requirements.txt (line 166)) (2026.10.19)
Requirement already satisfied: charset-normalizer==3.4.2 in ./third_party/python/charset_normalizer (from -r /files/repos/firefox-beta/taskcluster/requirements.txt (line 172)) (3.4.2)
Requirement already satisfied: click==8.1.7 in ./third_party/python/click (from -r /files/repos/firefox-beta/taskcluster/requirements.txt (line 268)) (8.1.7)
Collecting cookiecutter==2.7.1 (from -r /files/repos/firefox-beta/taskcluster/requirements.txt (line 280))
  Using cached cookiecutter-2.7.1-py3-none-any.whl (41 kB)
Requirement already satisfied: frozenlist==1.7.0 in ./third_party/python/frozenlist (from -r /files/repos/firefox-beta/taskcluster/requirements.txt (line 284)) (1.7.0)
Requirement already satisfied: giturlparse==0.12.0 in ./third_party/python/giturlparse (from -r /files/repos/firefox-beta/taskcluster/requirements.txt (line 393)) (0.12.0)
Requirement already satisfied: idna==3.10 in ./third_party/python/idna (from -r /files/repos/firefox-beta/taskcluster/requirements.txt (line 399)) (3.10)
Requirement already satisfied: jinja2==3.1.6 in ./third_party/python/jinja2 (from -r /files/repos/firefox-beta/taskcluster/requirements.txt (line 406)) (3.1.6)
Requirement already satisfied: json-e==4.8.0 in ./third_party/python/json_e (from -r /files/repos/firefox-beta/taskcluster/requirements.txt (line 412)) (4.8.0)
Collecting markdown-it-py==4.2.0 (from -r /files/repos/firefox-beta/taskcluster/requirements.txt (line 418))
  Using cached markdown_it_py-4.2.0-py3-none-any.whl (91 kB)
Requirement already satisfied: markupsafe==3.0.2 in ./third_party/python/markupsafe/src (from -r /files/repos/firefox-beta/taskcluster/requirements.txt (line 424)) (3.0.2)
Collecting mdurl==0.1.2 (from -r /files/repos/firefox-beta/taskcluster/requirements.txt (line 489))
  Using cached mdurl-0.1.2-py3-none-any.whl (10.0 kB)
Requirement already satisfied: mohawk==1.1.0 in ./third_party/python/mohawk (from -r /files/repos/firefox-beta/taskcluster/requirements.txt (line 495)) (1.1.0)
Requirement already satisfied: mozilla-repo-urls==0.1.1 in ./third_party/python/mozilla_repo_urls (from -r /files/repos/firefox-beta/taskcluster/requirements.txt (line 501)) (0.1.1)
Collecting mozilla-taskgraph==5.0.0 (from -r /files/repos/firefox-beta/taskcluster/requirements.txt (line 507))
  Using cached mozilla_taskgraph-5.0.0-py3-none-any.whl (24 kB)
Collecting msgspec==0.21.1 (from -r /files/repos/firefox-beta/taskcluster/requirements.txt (line 511))
  Using cached msgspec-0.21.1-cp315-cp315-linux_x86_64.whl
Requirement already satisfied: multidict==6.7.0 in ./third_party/python/multidict (from -r /files/repos/firefox-beta/taskcluster/requirements.txt (line 562)) (6.7.0)
Collecting orjson==3.11.9 (from -r /files/repos/firefox-beta/taskcluster/requirements.txt (line 713))
  Using cached orjson-3.11.9.tar.gz (5.6 MB)
  Installing build dependencies: started
  Installing build dependencies: finished with status 'done'
  Getting requirements to build wheel: started
  Getting requirements to build wheel: finished with status 'done'
  Preparing metadata (pyproject.toml): started
  Preparing metadata (pyproject.toml): finished with status 'error'

Error running mach:

    mach format --fix --outgoing --verbose --skip-android

The error occurred in code that was called by the mach command. This is either
a bug in the called code itself or in the way that mach is calling it.
You can invoke ``./mach busted`` to check if this issue is already on file. If it
isn't, please use ``./mach busted file format`` to report it. If ``./mach busted`` is
misbehaving, you can also inspect the dependencies of bug 1543241.

If filing a bug, please include the full output of mach, including this error
message.

The details of the failure are as follows:

Traceback (most recent call last):
  File "/files/repos/firefox-beta/python/mach/mach/main.py", line 435, in _run
    return Registrar._run_command_handler(
           ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
        handler,
        ^^^^^^^^
    ...<4 lines>...
        **vars(args.command_args),
        ^^^^^^^^^^^^^^^^^^^^^^^^^^
    )
    ^
  File "/files/repos/firefox-beta/python/mach/mach/registrar.py", line 124, in _run_command_handler
    result = fn(instance, **kwargs)
  File "/files/repos/firefox-beta/tools/lint/mach_commands.py", line 258, in format_files
    command_context._mach_context.commands.dispatch(
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
        "lint", command_context._mach_context, paths=paths, argv=extra_args, **kwargs
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    )
    ^
  File "/files/repos/firefox-beta/python/mach/mach/registrar.py", line 206, in dispatch
    return self._run_command_handler(handler, context, **kwargs)
           ~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/files/repos/firefox-beta/python/mach/mach/registrar.py", line 110, in _run_command_handler
    instance.activate_virtualenv()
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^
  File "/files/repos/firefox-beta/python/mozbuild/mozbuild/base.py", line 961, in activate_virtualenv
    self.virtualenv_manager.activate()
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^
  File "/files/repos/firefox-beta/python/mach/mach/site.py", line 717, in activate
    self.ensure()
    ~~~~~~~~~~~^^
  File "/files/repos/firefox-beta/python/mach/mach/site.py", line 688, in ensure
    _create_venv_with_pthfile(
    ~~~~~~~~~~~~~~~~~~~~~~~~~^
        self._virtualenv,
        ^^^^^^^^^^^^^^^^^
    ...<3 lines>...
        self._metadata,
        ^^^^^^^^^^^^^^^
    )
    ^
  File "/files/repos/firefox-beta/python/mach/mach/site.py", line 1563, in _create_venv_with_pthfile
    target_venv.pip_install([
    ~~~~~~~~~~~~~~~~~~~~~~~^^
        "--requirement",
        ^^^^^^^^^^^^^^^^
        requirements_txt_file.path,
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^
        "--require-hashes",
        ^^^^^^^^^^^^^^^^^^^
    ])
    ^^
  File "/files/repos/firefox-beta/python/mach/mach/site.py", line 1114, in pip_install
    raise cpe
  File "/files/repos/firefox-beta/python/mach/mach/site.py", line 1096, in pip_install
    install_result = subprocess.run(  # noqa PLW1510
        pip_command(
    ...<5 lines>...
        **kwargs,
    )
  File "/usr/local/lib/python3.15/subprocess.py", line 692, in run
    raise CalledProcessError(retcode, process.args,
                             output=stdout, stderr=stderr)
subprocess.CalledProcessError: Command ['/files/mozbuilds/firefox-beta/srcdirs/firefox-beta-7f1776c3f428/_virtualenvs/lint/bin/python', '-m', 'pip', 'install', '--requirement', '/files/repos/firefox-beta/taskcluster/requirements.txt', '--require-hashes'] returned non-zero exit status 1.