Open Bug 1946783 Opened 1 month ago

mach try fails with 502 error

Categories

(Conduit :: Lando, defect)

defect

Tracking

(Not tracked)

People

(Reporter: gerard-majax, Unassigned)

Details

$ BUILD_DEBUG=1 ./mach try fuzzy --full --push-to-lando --env TEST_COLLECT_REFERENCE=1 -q "'snap 'qa 'test"
Task configuration changed, generating full task set
estimates: Runs 28 tasks (28 selected, 0 dependencies)
estimates: Total task duration 1:16:31
estimates: In the shortest 5% of durations
estimates: Should take about 0:06:04 (Finished around 2025-02-07 15:02)
Note: `--push-to-lando` is now the default behaviour of `mach try`.
Note: Use `--push-to-vcs` to push changes to try directly.
Auth0 token validated.
Using f53d61ffefac1a2b4273cc6c2422a9ba77cdd46b as the hg base commit.
Submitting stack of 3 nodes and the try commit.
Patches gathered for submission.
Submitting patches to Lando.
Error running mach:

    mach try fuzzy --full --push-to-lando --env TEST_COLLECT_REFERENCE=1 -q 'snap 'qa 'test

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 try`` 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:

requests.exceptions.HTTPError: 502 Server Error: Bad Gateway for url: https://api.lando.services.mozilla.com/try/patches

  File "/home/alex/codaz/Mozilla/gecko-cinnabar/tools/tryselect/mach_commands.py", line 332, in try_fuzzy
    return run(command_context, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/alex/codaz/Mozilla/gecko-cinnabar/tools/tryselect/mach_commands.py", line 174, in run
    return mod.run(**kwargs)
           ^^^^^^^^^^^^^^^^^
  File "/home/alex/codaz/Mozilla/gecko-cinnabar/tools/tryselect/selectors/fuzzy.py", line 285, in run
    return push_to_try(
           ^^^^^^^^^^^^
  File "/home/alex/codaz/Mozilla/gecko-cinnabar/tools/tryselect/push.py", line 267, in push_to_try
    push_to_lando_try(vcs, commit_message, changed_files)
  File "/home/alex/codaz/Mozilla/gecko-cinnabar/tools/tryselect/lando.py", line 434, in push_to_lando_try
    response_json = lando_api.post_try_push_patches(
                    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/alex/codaz/Mozilla/gecko-cinnabar/tools/tryselect/lando.py", line 391, in post_try_push_patches
    response_json = self.post(self.lando_try_api_url, request_json_body)
                    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/alex/codaz/Mozilla/gecko-cinnabar/tools/tryselect/lando.py", line 360, in post
    response.raise_for_status()
  File "/home/alex/codaz/Mozilla/gecko-cinnabar/third_party/python/requests/requests/models.py", line 1021, in raise_for_status
    raise HTTPError(http_error_msg, response=self)

Same push directly to VCS: https://treeherder.mozilla.org/jobs?repo=try&revision=3092fcd1444368ac087c92ceade05952f437a077

You need to log in before you can comment on or make changes to this bug.