Closed Bug 1947242 Opened 1 month ago Closed 1 month ago

`mozregression --profile-persistence clone-first` reuses the same profile like `mozregression --profile-persistence reuse`

Categories

(Testing :: mozregression, defect)

defect

Tracking

(Not tracked)

RESOLVED INVALID

People

(Reporter: cpeterson, Unassigned)

Details

IIUC mozregression --profile-persistence clone-first should use a fresh copy of first run's profile for subsequent bisection steps, but mozregression --profile-persistence clone-first currently reuse the same profile for each bisection step. If I make profile changes (e.g. adding new bookmarks to the bookmarks toolbar) in any bisection step, the profile used in the next step still has those recent changes.

I've reproduced this bug in mozregression-gui version 6.3.0 on Windows and mach mozregression on macOS.

The observed behaviour matches the documentation, the profile is only cloned once at the start then reused. clone appears to be the behaviour you are after.

  --profile-persistence {clone,clone-first,reuse}
                        Persistence of the used profile. Before each tested build, a profile is used.
                        If the value of this option is 'clone', each test uses a fresh clone. If the
                        value is 'clone-first', the profile is cloned once then reused for all builds
                        during the bisection. If the value is 'reuse', the given profile is directly
                        used. Note that the profile might be modified by mozregression. Defaults to
                        clone.
Status: NEW → RESOLVED
Closed: 1 month ago
Resolution: --- → INVALID
You need to log in before you can comment on or make changes to this bug.