Closed Bug 1333065 Opened 9 years ago Closed 9 years ago

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

Categories

(Testing :: Marionette Client and Harness, defect)

Version 3
defect
Not set
normal

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)
Status: ASSIGNED → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla54
Please also uplift this test-only patch to aurora. Thanks.
Whiteboard: [checkin-needed-aurora]
Flags: in-testsuite+
Whiteboard: [checkin-needed-aurora]
Product: Testing → Remote Protocol
Moving bug to Testing::Marionette Client and Harness component per bug 1815831.
Component: Marionette → Marionette Client and Harness
Product: Remote Protocol → Testing
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: