Closed Bug 1333065 Opened 3 years ago Closed 3 years ago

Intermittent test_capabilities.py TestCapabilities.test_additional_capabilities | AssertionError: u'/storage/sdcard/tests/profile' != '/tmp/tmpIqMQt9.mozrunner'

Categories

(Testing :: Marionette, defect)

Version 3
defect
Not set

Tracking

(firefox52 fixed, firefox53 fixed, firefox54 fixed)

RESOLVED FIXED
mozilla54
Tracking Status
firefox52 --- fixed
firefox53 --- fixed
firefox54 --- fixed

People

(Reporter: intermittent-bug-filer, Assigned: whimboo)

Details

(Keywords: intermittent-failure)

Attachments

(1 file)

Andrew, do you know why mozrunner reports the local temp directory for the profile location but not the one from the device/emulator? I don't think that the current behavior is expected.

> current_profile = self.marionette.instance.runner.profile.profile
> self.assertEqual(self.caps["moz:profile"], current_profile)

which results in:

> test_capabilities.py TestCapabilities.test_additional_capabilities | AssertionError: u'/storage/sdcard/tests/profile' != '/tmp/tmpIqMQt9.mozrunner'
Flags: needinfo?(ahalberstadt)
It keeps track of both. 

You want to use something like `self.marionette.instance.runner.device.app_ctx.remote_profile` in the Fennec case.
Flags: needinfo?(ahalberstadt)
Assignee: nobody → hskupin
Status: NEW → ASSIGNED
Thanks Maja. I will try that.
Attachment #8829631 - Flags: review?(ato)
Attachment #8829631 - Flags: review?(mjzffr)
Comment on attachment 8829631 [details]
Bug 1333065 - Fix test_additional_capabilities to use the remote profile path for Fennec.

https://reviewboard.mozilla.org/r/106650/#review107836
Attachment #8829631 - Flags: review?(mjzffr) → review+
Pushed by hskupin@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/cef9cfc92fec
Fix test_additional_capabilities to use the remote profile path for Fennec. r=maja_zf
Attachment #8829631 - Flags: review?(ato)
https://hg.mozilla.org/mozilla-central/rev/cef9cfc92fec
Status: ASSIGNED → RESOLVED
Closed: 3 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla54
Please also uplift this test-only patch to aurora. Thanks.
Whiteboard: [checkin-needed-aurora]
https://hg.mozilla.org/releases/mozilla-aurora/rev/e0aa7e76bdc5
Flags: in-testsuite+
Whiteboard: [checkin-needed-aurora]
You need to log in before you can comment on or make changes to this bug.