Closed Bug 1835067 Opened 1 years ago Closed 1 year ago

mozregression doesn't work for GeckoViewExample

Categories

(Testing :: mozregression, defect)

Default
defect

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: m_kato, Assigned: zeid)

References

Details

(Whiteboard: workaround in 5.4.1.dev1)

Attachments

(1 file)

(deleted), text/x-github-pull-request
Details

I use version 5.3.2.

When running mozgression for GeckoViewExample, the following error is thrown. It seems to be that https://firefoxci.taskcluster-artifacts.net/ URL is access denied.

makoto > mozregression -n gve --arch x86_64
**********
You should use a config file. Please use the --write-config command line flag to help you create one.
**********

 0:00.13 INFO: No 'bad' option specified, using 2023-05-25
 0:00.13 INFO: No 'good' option specified, using 2022-05-25
 0:00.15 INFO: Getting mozilla-central builds between 2022-05-25 and 2023-05-25
 0:00.15 INFO: TaskCluster only keeps builds for one year. Using 2022-05-25 23:51:25.109679 instead of 2022-05-25.
 0:03.18 INFO: Using e758f99cfd50274790c68853e7e43601dfc5cc03 (pushed on 2022-05-25 03:42:54) for date 2022-05-25 23:51:25.109679
 0:03.18 INFO: Using eaba732ce0aba94186e6e881a23502053168cfdf (pushed on 2023-05-25 09:52:50) for date 2023-05-25
 0:03.62 WARNING: Skipping build e758f99cfd50: Unable to find build info using the taskcluster route 'gecko.v2.mozilla-central.revision.e758f99cfd50274790c68853e7e43601dfc5cc03.mobile.android-x86_64-opt'
 0:04.40 WARNING: Skipping build 3399ecb2fc4c: Unable to find build info using the taskcluster route 'gecko.v2.mozilla-central.revision.3399ecb2fc4c375cd0110ffdf18a04e04395cbd5.mobile.android-x86_64-opt'
 0:04.77 WARNING: Skipping build aee55da05180: Unable to find build info using the taskcluster route 'gecko.v2.mozilla-central.revision.aee55da05180a837afcefb572b8b531c9ee9b6f3.mobile.android-x86_64-opt'
 0:05.81 INFO: Testing good and bad builds to ensure that they are really good and bad...
 0:05.81 INFO: Downloading build from: https://firefox-ci-tc.services.mozilla.com/api/queue/v1/task/LG6N19dNQTKeKHXXc_u46g/runs/0/artifacts/public%2Fbuild%2Fgeckoview_example.apk

Traceback (most recent call last):
  File "/home/makoto/.local/bin/mozregression", line 8, in <module>
    sys.exit(main())
             ^^^^^^
  File "/home/makoto/.local/lib/python3.11/site-packages/mozregression/main.py", line 346, in main
    sys.exit(method())
             ^^^^^^^^
  File "/home/makoto/.local/lib/python3.11/site-packages/mozregression/main.py", line 155, in bisect_integration
    return self._bisect_integration(
           ^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/makoto/.local/lib/python3.11/site-packages/mozregression/main.py", line 169, in _bisect_integration
    result = self._do_bisect(handler, good_rev, bad_rev, expand=expand)
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/makoto/.local/lib/python3.11/site-packages/mozregression/main.py", line 227, in _do_bisect
    return self.bisector.bisect(handler, good, bad, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/makoto/.local/lib/python3.11/site-packages/mozregression/bisector.py", line 614, in bisect
    return self._bisect(handler, build_range)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/makoto/.local/lib/python3.11/site-packages/mozregression/bisector.py", line 638, in _bisect
    if bisection.ensure_good_and_bad():
       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/makoto/.local/lib/python3.11/site-packages/mozregression/bisector.py", line 519, in ensure_good_and_bad
    self.download_manager.focus_download(good)
  File "/home/makoto/.local/lib/python3.11/site-packages/mozregression/download_manager.py", line 388, in focus_download
    dl.wait()
  File "/home/makoto/.local/lib/python3.11/site-packages/mozregression/download_manager.py", line 109, in wait
    self.raise_if_error()
  File "/home/makoto/.local/lib/python3.11/site-packages/mozregression/download_manager.py", line 124, in raise_if_error
    raise self.__error[1]
  File "/home/makoto/.local/lib/python3.11/site-packages/mozregression/download_manager.py", line 166, in _download
    total_size = int(response.headers["Content-length"].strip())
                     ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/requests/structures.py", line 52, in __getitem__
    return self._store[key.lower()][1]
           ~~~~~~~~~~~^^^^^^^^^^^^^
KeyError: 'content-length'

The severity field is not set for this bug.
:zeid, could you have a look please?

For more information, please visit BugBot documentation.

Flags: needinfo?(zeid)
Duplicate of this bug: 1841685
Assignee: nobody → zeid
Flags: needinfo?(zeid)
Attached file GitHub Pull Request (deleted) —
Whiteboard: workaround in 5.4.1.dev1

The fix was just released in mozregression 5.5.0.

Status: NEW → RESOLVED
Closed: 1 year ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: