Open Bug 1751278 Opened 2 years ago Updated 4 months ago

Using the "--profile" argument in "moz:firefoxOptions['args']" generates two profile entries in the geckoview config file

Categories

(Testing :: geckodriver, defect, P3)

defect

Tracking

(firefox-esr91 unaffected, firefox96 wontfix, firefox97 wontfix, firefox98 wontfix, firefox99 wontfix, firefox100 affected)

Tracking Status
firefox-esr91 --- unaffected
firefox96 --- wontfix
firefox97 --- wontfix
firefox98 --- wontfix
firefox99 --- wontfix
firefox100 --- affected

People

(Reporter: whimboo, Unassigned)

References

(Blocks 1 open bug, Regression)

Details

(Keywords: regression)

Specifying a Firefox profile via moz:firefoxOptions["args"] causes the geckoview config file on the Android device to contain two entries for--profile` like:

1642709641495	geckodriver::android	DEBUG	Content of generated GeckoView config file:
## GeckoView configuration YAML
##
## Auto-generated by geckodriver.
## See https://mozilla.github.io/geckoview/consumer/docs/automation.
---
env:
  MOZ_CRASHREPORTER: "1"
  MOZ_CRASHREPORTER_NO_REPORT: "1"
  MOZ_CRASHREPORTER_SHUTDOWN: "1"
args:
  - "--marionette"
  - "--remote-debugging-port"
  - "--profile"
  - /sdcard/Android/data/org.mozilla.geckoview.test_runner/files/test_root/org.mozilla.geckoview.test_runner-geckodriver-profile
  - "--profile"
  - /Users/henrik/code/gecko/_test-profile/

Note that the first entry is what we want. But the second entry is the source profile from the host.

This is a regression in geckodriver 0.30.0.

This is a regression from bug 1721447 since we use the application arguments from moz:firefoxOptions to start Firefox on Android.

To fix this we will have to ignore the --profile argument and the immediate successor.

Assignee: nobody → hskupin
Status: NEW → ASSIGNED
Regressed by: 1721447
Summary: Using the "--profile" argument generates two profile entries in the geckoview config file → Using the "--profile" argument in "moz:firefoxOptions['args']" generates two profile entries in the geckoview config file

Set release status flags based on info from the regressing bug 1721447

Has Regression Range: --- → yes

It's not a blocking issue and the GeckoView application is only considering the first profile as passed in. So it's not a regression we have to immediately work on. If time permits we could still try to get it into the 0.31.0 release.

Assignee: hskupin → nobody
Status: ASSIGNED → NEW

We should be safe to let this slip to the next 0.32.0 release.

Blocks: 1750691
No longer blocks: 1723202

There was no time for the 0.32.0 release. Lets keep it on the radar for 0.33.0.

Blocks: 1794560
No longer blocks: 1750691
No longer blocks: 1794560
No longer blocks: 1814050
No longer blocks: 1824713
Blocks: 1871543
You need to log in before you can comment on or make changes to this bug.