Closed Bug 1640638 Opened 6 years ago Closed 5 years ago

Geckodriver cannot create session when launching gecko-based app without a content url

Categories

(Testing :: mozperftest, task)

Unspecified
Android
task

Tracking

(Not tracked)

RESOLVED WORKSFORME

People

(Reporter: acreskey, Assigned: tarek)

Details

I'm adding a perf test that measures the time from process start to the Fenix Home Activity.

However when launching Fenix through perftest and Browsertime, geckodriver::marionette connects to the android browser, however it does not proceed from there.

1590090505886	mozdevice	DEBUG	execute_host_command: >> "shell:am start -W -n org.mozilla.fennec_aurora/org.mozilla.fenix.HomeActivity --es args -marionette\\ -profile\\ /mnt/sdcard/org.mozilla.fennec_aurora-geckodriver-profile"
1590090507432	mozdevice	DEBUG	execute_host_command: << "Starting: Intent { cmp=org.mozilla.fennec_aurora/org.mozilla.fenix.HomeActivity (has extras) }\nStatus: ok\nActivity: org.mozilla.fennec_aurora/org.mozilla.fenix.HomeActivity\nThisTime: 1450\nTotalTime: 1450\nWaitTime: 1492\nComplete\n"
1590090507433	geckodriver::marionette	DEBUG	Waiting 60s to connect to browser on 127.0.0.1:61768
1590414392230	geckodriver::marionette	DEBUG	Connection to Marionette established on 127.0.0.1:61794.

And on the adb side:

05-25 09:46:31.759  8382  8417 I Gecko   : 1590414391759	Marionette	DEBUG	Accepted connection 0 from 127.0.0.1:37168

When launching with a content URL to view, geckodrive does connect to the remote browser.

Summary: Geckodriver cannot connect when launching gecko-based app without a content url → Geckodriver cannot create session when launching gecko-based app without a content url

:acreskey, I'm closing this bug since we have the tests now. If you think this is something we should have maybe it would be better to file this in geckodriver?

Status: NEW → RESOLVED
Closed: 5 years ago
Resolution: --- → WORKSFORME

Sounds fair!

You need to log in before you can comment on or make changes to this bug.