Landings for Stack Containing D338678

Successfully landed

Landing requested on , by dmeehan@mozilla.com.

Landing Job: 113206

Revisions: D338678 diff 1424481

Last update:

Result: 9a3864dd2794dcde5316553c8647ad846ffea94d on firefox-beta@beta (git)

Links: Treeherder

Failed to land

Landing requested on , by dmeehan@mozilla.com.

Landing Job: 113197

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.

Uplifts

D338678 is approved for uplift Bug 2087354 · Assessment #5860

Assessment #5860

, by ealvarez@mozilla.com. Requested for uplift from D338425

User impact: perf improvement on high profile website. Risk: Low

Show all answers
User impact if declined/Reason for urgency perf improvement on high profile website.
Code covered by automated testing? Yes
Fix verified in Nightly? Yes
Needs manual QE testing? Yes
Steps to reproduce for manual QE testing comment 0
Risk associated with taking this patch Low
Explanation of risk level Targetted change.
String changes made/needed? none
Is Android affected? Yes
Train Stack tip Status
firefox-beta D338678 Created by Lando View job
Raw error output:
`Temporary error (<class 'lando.main.scm.exceptions.SCMInternalServerError'>) encountered while pulling from tree: firefox-beta, pull path: https://github.com/mozilla-firefox/firefox.git: Error running git command; sanitised_command=['git', 'checkout', '--force', '-B', 'lando-2026-11-02T112853', 'origin/beta'], path='/files/repos/firefox-beta', error: cannot lock ref 'HEAD': Unable to create '/files/repos/firefox-beta/.git/HEAD.lock': File exists.

Another git process seems to be running in this repository, e.g.
an editor opened by 'git commit'. Please make sure all processes
are terminated then try again. If it still fails, a git process
may have crashed in this repository earlier:
remove the file manually to continue.
fatal: unable to update HEAD

To manually resolve conflicts and submit your uplift:

git fetch origin
git switch -c uplift-firefox-beta-D338425 origin/beta
git cherry-pick 841a4a9a9fdcc707e3bd4889918fca7001303875
moz-phab uplift --train firefox-beta --assessment-id 5860

Run these commands from your Firefox checkout. Resolve any merge conflicts during the patch application process, then submit with moz-phab uplift.

Note: These commands assume your official Firefox remote is named origin. If you use a different remote name, adjust the commands accordingly.

firefox-release D338679 Created by Lando View job
1 other assessment for bug 2087354
#5866 comment 0 linked to D338954

Stack containing revision D338678

Land Bug Status Revision Reviewers
2087354
Blocked
Revision is closed.
Closed
D338678: Bug 2087354: For :has, try to detect change in the potentially-changed compound.
  • @release-managers accepted a prior diff
  • @dmeehan accepted a prior diff