Not all options are shown in the resume info

RESOLVED FIXED

Status

RESOLVED FIXED
3 years ago
3 years ago

People

(Reporter: parkouss, Assigned: parkouss)

Tracking

Trunk
Points:
---

Firefox Tracking Flags

(firefox41 affected)

Details

Attachments

(1 attachment)

(Assignee)

Description

3 years ago
If you start a command like:

mozregression --http-cache-dir /tmp/mozregcache -g 2015-01-02 -b 2015-01-04

Then stop it using CTRL-C after a while, this is printed:

 0:06.41 LOG: Dummy-8 Bisector INFO To resume, run:
 0:06.41 LOG: Dummy-8 Bisector INFO mozregression --good=2015-01-02 --bad=2015-01-04 --app=firefox  --bits=64 

The flag http-cache-dir is missing. There are others, look at mozregression -h to get a complete list.

Also, --bits=64 is printed but we don't need it, and there are two spaces between "--app=firefox  --bits=64 ".
(Assignee)

Updated

3 years ago
See Also: → bug 1176033
(Assignee)

Comment 1

3 years ago
Created attachment 8663386 [details] [review]
Not all options are shown in the resume info

So, this should work - instead of looking at each option and try to put that back in the printed command line, this remove the --good/--bad from sys.argv, add our --good/--bad then print out that.

Also it should show a usable command with mach. :)
Assignee: nobody → j.parkouss
Status: NEW → ASSIGNED
Attachment #8663386 - Flags: review?(wlachance)
Comment on attachment 8663386 [details] [review]
Not all options are shown in the resume info

Nice!
Attachment #8663386 - Flags: review?(wlachance) → review+
(Assignee)

Comment 3

3 years ago
Thanks!

Landed in https://github.com/mozilla/mozregression/commit/1886cb2138ca26a487c5ad7245c0c7712c824260.
Status: ASSIGNED → RESOLVED
Last Resolved: 3 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.