mozilla / mozilla/bugbot

[file_crash_bug] HTTPError: 502 Server Error: Bad Gateway for url: https://bugzilla.mozilla.org/rest/bug

Open
#2,913 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Python
Stars
68
Forks
92
Avg merge
2d 2h
Merged PRs (30d)
16

Description

2026-06-11 06:41:05,288 - ERROR - Rule file_crash_bug
Traceback (most recent call last):
  File "/home/rm_bot/bugbot/bugbot/bzcleaner.py", line 883, in run
    self.send_email(date=date)
  File "/home/rm_bot/bugbot/bugbot/bzcleaner.py", line 796, in send_email
    email_data = self.get_email_data(date)
  File "/home/rm_bot/bugbot/bugbot/bzcleaner.py", line 712, in get_email_data
    bugs = self.get_bugs(date=date)
  File "/home/rm_bot/bugbot/bugbot/rules/file_crash_bug.py", line 121, in get_bugs
    signatures = data_fetcher.analyze()
  File "/home/rm_bot/bugbot/bugbot/crash/analyzer.py", line 1007, in analyze
    bugs = self.fetch_bugs()
  File "/home/rm_bot/bugbot/bugbot/crash/analyzer.py", line 997, in fetch_bugs
    ).wait()
  File "/home/rm_bot/bugbot/.venv/lib/python3.10/site-packages/libmozdata/bugzilla.py", line 177, in wait
    super(Bugzilla, self).wait()
  File "/home/rm_bot/bugbot/.venv/lib/python3.10/site-packages/libmozdata/connection.py", line 138, in wait
    r.result()
  File "/home/rm_bot/.local/share/uv/python/cpython-3.10.19-linux-x86_64-gnu/lib/python3.10/concurrent/futures/_base.py", line 451, in result
    return self.__get_result()
  File "/home/rm_bot/.local/share/uv/python/cpython-3.10.19-linux-x86_64-gnu/lib/python3.10/concurrent/futures/_base.py", line 403, in __get_result
    raise self._exception
  File "/home/rm_bot/.local/share/uv/python/cpython-3.10.19-linux-x86_64-gnu/lib/python3.10/concurrent/futures/thread.py", line 58, in run
    result = self.fn(*self.args, **self.kwargs)
  File "/home/rm_bot/bugbot/.venv/lib/python3.10/site-packages/sentry_sdk/integrations/threading.py", line 179, in wrapped_fn
    return fn(*args, **kwargs)
  File "/home/rm_bot/bugbot/.venv/lib/python3.10/site-packages/requests/sessions.py", line 592, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/rm_bot/bugbot/.venv/lib/python3.10/site-packages/requests/sessions.py", line 713, in send
    r = dispatch_hook("response", hooks, r, **kwargs)
  File "/home/rm_bot/bugbot/.venv/lib/python3.10/site-packages/requests/hooks.py", line 31, in dispatch_hook
    _hook_data = hook(hook_data, **kwargs)
  File "/home/rm_bot/bugbot/.venv/lib/python3.10/site-packages/libmozdata/connection.py", line 127, in cb
    res.raise_for_status()
  File "/home/rm_bot/bugbot/.venv/lib/python3.10/site-packages/requests/models.py", line 1028, in raise_for_status
    raise HTTPError(http_error_msg, response=self)
requests.exceptions.HTTPError: 502 Server Error: Bad Gateway for url: https://bugzilla.mozilla.org/rest/bug?include_fields=cf_crash_signature&f1=OP&j1=OR&f2=cf_crash_signature&o2=regexp&v2=%5C%5B%28%40+%7C%40%29wgpu_hal%3A%3Adx12%3A%3Aimpl%5C%2479%3A%3Await_for_idle%28+%5C%5D%7C%5C%5D%29&f3=cf_crash_signature&o3=regexp&v3=%5C%5B%28%40+%7C%40%29amdxx64%5C.dll%5C+%5C%7C%5C+delete%28+%5C%5D%7C%5C%5D%29&f4=cf_crash_signature&o4=regexp&v4=%5C%5B%28%40+%7C%40%29nsTArray_Impl%3CT%3E%3A%3AElementAt%5C+%5C%7C%5C+std%3A%3A_Merge_move_unchecked%28+%5C%5D%7C%5C%5D%29&f5=cf_crash_signature&o5=regexp&v5=%5C%5B%28%40+%7C%40%29%3Cunknown%5C+in%5C+nvwgf2umx%5C.dll%3E%5C+%5C%7C%5C+CVideoProcessorInputView%3A%3ACLS%3A%3AFinalConstruct%28+%5C%5D%7C%5C%5D%29&f6=cf_crash_signature&o6=regexp&v6=%5C%5B%28%40+%7C%40%29AutoClearTracingSource%3A%3A%5C~AutoClearTracingSource%28+%5C%5D%7C%5C%5D%29&f7=cf_crash_signature&o7=regexp&v7=%5C%5B%28%40+%7C%40%29nsIContent%3A%3AnsContentSlots%3A%3AGetExtendedContentSlots%28+%5C%5D%7C%5C%5D%29&f8=cf_crash_signature&o8=regexp&v8=%5C%5B%28%40+%7C%40%29js%3A%3Agc%3A%3ACell%3A%3Achunk%28+%5C%5D%7C%5C%5D%29&f9=cf_crash_signature&o9=regexp&v9=%5C%5B%28%40+%7C%40%29core%3A%3Aoption%3A%3Aexpect_failed%5C+%5C%7C%5C+geckoservo%3A%3Aglue%3A%3AServo_ResolveStyle%28+%5C%5D%7C%5C%5D%29&f10=cf_crash_signature&o10=regexp&v10=%5C%5B%28%40+%7C%40%29vk_queue_to_handle%28+%5C%5D%7C%5C%5D%29&f11=cf_crash_signature&o11=regexp&v11=%5C%5B%28%40+%7C%40%29VAD3ConfigurationInterface_DecodeFull%28+%5C%5D%7C%5C%5D%29&f12=cf_crash_signature&o12=regexp&v12=%5C%5B%28%40+%7C%40%29mozilla%3A%3Alayers%3A%3AImageBridgeChild%3A%3AInitForContent%28+%5C%5D%7C%5C%5D%29&f13=cf_crash_signature&o13=regexp&v13=%5C%5B%28%40+%7C%40%29webrender%3A%3Aspatial_node%3A%3ASpatialNode%3A%3Aupdate_transform%28+%5C%5D%7C%5C%5D%29&f14=cf_crash_signature&o14=regexp&v14=%5C%5B%28%40+%7C%40%29mozilla%3A%3AnsDisplayList%3A%3AAppendToTop%28+%5C%5D%7C%5C%5D%29&f15=cf_crash_signature&o15=regexp&v15=%5C%5B%28%40+%7C%40%29nvwgf2umx%5C.dll%5C+%5C%7C%5C+%3CT%3E%28+%5C%5D%7C%5C%5D%29&f16=cf_crash_signature&o16=regexp&v16=%5C%5B%28%40+%7C%40%29mozilla%3A%3Aimage%3A%3ADecodePool%3A%3ADecodePool%28+%5C%5D%7C%5C%5D%29&f17=cf_crash_signature&o17=regexp&v17=%5C%5B%28%40+%7C%40%29mozilla%3A%3Anet%3A%3AHttpChannelChild%3A%3AConnectParent%28+%5C%5D%7C%5C%5D%29&f18=cf_crash_signature&o18=regexp&v18=%5C%5B%28%40+%7C%40%29mozilla%3A%3ARemoteDecoderInfoIPDL%3A%3AAssertSanity%28+%5C%5D%7C%5C%5D%29&f19=cf_crash_signature&o19=regexp&v19=%5C%5B%28%40+%7C%40%29stackoverflow%5C+%5C%7C%5C+TimerThread%3A%3AAddTimer%28+%5C%5D%7C%5C%5D%29&f20=CP

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start at bugbot/bugbot/crash/analyzer.py:997 and bugbot/bugbot/rules/file_crash_bug.py:121, following the traceback into the Bugzilla request. Reproduce or inspect the 502 failure path and determine the expected handling for this external response. Done means the file_crash_bug run no longer fails unhandled and coverage verifies the behavior.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
api, backend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Quiet
Clarity
Needs clarification
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.