Open Bug 1771664 Opened 3 years ago Updated 3 months ago

[mozregression] "ERROR: Unable to install None" after retry

Categories

(Testing :: mozregression, defect, P3)

Default
defect

Tracking

(Not tracked)

UNCONFIRMED

People

(Reporter: kevin, Unassigned)

Details

Attachments

(1 file)

Using mozregression 4.0.18 or git main (4cef6a8), sometimes entering "retry" in response to the prompt causes mozregression to fail with the following output:

 1:26.67 INFO: Running mozilla-central build built on 2022-05-26 11:11:10.206000, revision e7aef329
 1:26.67 ERROR: Unable to install None (error: expected str, bytes or os.PathLike object, not NoneType)
 1:26.67 INFO: Error: Unable to install None (error: expected str, bytes or os.PathLike object, not NoneType). Skipping this build...
 1:26.67 INFO: Pushlog:
https://hg.mozilla.org/mozilla-central/pushloghtml?fromchange=fb0c469ac2fb9ed647bb174a047ea396f472adaf&tochange=f392452506ec9d23229240ca347a84bbf3ac1975

Build was skipped. You can manually choose a new build to test, to be able to get out of a broken build range.
Please type the index of the build you would like to try - the index is 0-based on the middle of the remaining build range.
You can choose a build index between [-1, 0]:
>

Steps to reproduce:

  1. Run mozregression --good 2022-05-24 --bad 2022-05-28 --mode no-first-check
  2. Enter bad when prompted for changeset f392452506ec9d23229240ca347a84bbf3ac1975
  3. Enter good when prompted for changeset aee55da05180a837afcefb572b8b531c9ee9b6f3
  4. Enter retry when prompted for changeset 67475e519671d620a79ab66b131beccdb07234b5

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

For more information, please visit auto_nag documentation.

Flags: needinfo?(zeid)
Severity: -- → S3
Flags: needinfo?(zeid)
Priority: -- → P3

Saw this error a few times today. For me it seems to happen when retry is entered for a build that was adjusted by approx-policy

$ mozregression --good 2024-05-10 --bad 2024-07-14 --mode no-first-check
 0:03.56 INFO: Pushlog:
https://hg.mozilla.org/mozilla-central/pushloghtml?fromchange=b09dd768d80e3ba321a5db4a0d534ea0c5385465&tochange=8e1eae15c143bf6c2167626306ce252b854a13b6

 0:04.07 INFO: Using `$HOME/.mozilla/mozregression/persist/2024-06-10--mozilla-central--firefox-129.0a1.en-US.linux-x86_64.tar.bz2` as an acceptable approximated build file instead of downloading https://archive.mozilla.org/pub/firefox/nightly/2024/06/2024-06-12-21-51-51-mozilla-central/firefox-129.0a1.en-US.linux-x86_64.tar.bz2
 0:04.07 INFO: Running mozilla-central build for 2024-06-10
 0:37.50 INFO: Launching /tmp/tmphl_kki0s/firefox/firefox
 0:37.50 INFO: Application command: /tmp/tmphl_kki0s/firefox/firefox -profile /tmp/tmpy6zkfmqz.mozrunner
 0:37.52 INFO: application_buildid: 20240610213024
 0:37.52 INFO: application_changeset: 9e49a1b86e40462117bddf9038736c1c3ee22092
 0:37.52 INFO: application_name: Firefox
 0:37.52 INFO: application_repository: https://hg.mozilla.org/mozilla-central
 0:37.52 INFO: application_version: 129.0a1
Was this nightly build good, bad, or broken? (type 'good', 'bad', 'skip', 'retry' or 'exit' and press Enter): retry
 1:06.55 INFO: Pushlog:
https://hg.mozilla.org/mozilla-central/pushloghtml?fromchange=b09dd768d80e3ba321a5db4a0d534ea0c5385465&tochange=8e1eae15c143bf6c2167626306ce252b854a13b6

 1:06.56 INFO: Running mozilla-central build for 2024-06-12
 1:06.56 ERROR: Unable to install None (error: expected str, bytes or os.PathLike object, not NoneType)
 1:06.56 INFO: Error: Unable to install None (error: expected str, bytes or os.PathLike object, not NoneType). Skipping this build...
 1:07.35 INFO: Pushlog:
https://hg.mozilla.org/mozilla-central/pushloghtml?fromchange=b09dd768d80e3ba321a5db4a0d534ea0c5385465&tochange=8e1eae15c143bf6c2167626306ce252b854a13b6

Build was skipped. You can manually choose a new build to test, to be able to get out of a broken build range.
Please type the index of the build you would like to try - the index is 0-based on the middle of the remaining build range.
You can choose a build index between [-31, 31]:
> 0
 1:10.92 INFO: Using `$HOME/.mozilla/mozregression/persist/2024-06-10--mozilla-central--firefox-129.0a1.en-US.linux-x86_64.tar.bz2` as an acceptable approximated build file instead of downloading https://archive.mozilla.org/pub/firefox/nightly/2024/06/2024-06-11-22-10-35-mozilla-central/firefox-129.0a1.en-US.linux-x86_64.tar.bz2
 1:10.92 INFO: Running mozilla-central build for 2024-06-10
 1:41.31 INFO: Launching /tmp/tmpawjrua4n/firefox/firefox
 1:41.31 INFO: Application command: /tmp/tmpawjrua4n/firefox/firefox -profile /tmp/tmp6ncpyf7b.mozrunner
 1:41.33 INFO: application_buildid: 20240610213024
 1:41.33 INFO: application_changeset: 9e49a1b86e40462117bddf9038736c1c3ee22092
 1:41.33 INFO: application_name: Firefox
 1:41.33 INFO: application_repository: https://hg.mozilla.org/mozilla-central
 1:41.33 INFO: application_version: 129.0a1
Was this nightly build good, bad, or broken? (type 'good', 'bad', 'skip', 'retry', 'back' or 'exit' and press Enter): exit
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: