Closed Bug 1223908 Opened 9 years ago Closed 8 years ago

[GIJ_FAILS_ON_DEVICE] All integration tests fail to run on device

Categories

(Testing Graveyard :: JSMarionette, defect)

ARM
Gonk (Firefox OS)
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED WONTFIX

People

(Reporter: Silne30, Unassigned)

References

Details

(Whiteboard: [FOD])

This suite of tests works on Mulet but fails on device. Error: ENOENT, no such file or directory '/data/local/tmp/device-storage-testing' prevents all tests from running. Only the first fails on Mulet.
Blocks: 1223837
dave/punam/david: any ideas why we see this error on device
Flags: needinfo?(pdahiya)
Flags: needinfo?(dhylands)
Flags: needinfo?(dflanagan)
We are using marionette-file-manager plugin to add and remove files from temp device storage. Its possible this plugin only supports desktop client and fails to create temp device storage testing directory on device. https://github.com/mozilla-b2g/gaia/blob/master/tests/jsmarionette/plugins/marionette-file-manager/lib/desktop_client_device_storage.js#L11 Setting NI flag for Evan to confirm and provide his input.
Flags: needinfo?(pdahiya) → needinfo?(evan)
I wonder if this is related to bug 1222522 ? That particular directory is only created if the device.storage.testing preference is set to true.
Flags: needinfo?(dhylands)
feature-b2g: --- → 2.6+
Whiteboard: [MJS]
Whiteboard: [MJS] → [FOD]
This seems like a marionette bug, not a bug in Gallery or any specific app. Looking at apps/gallery/test/marionette/delete_image_test.js (just as an example) all we are doing is calling client.fileManager.add() to initialize device storage for the test. I'm assuming (but have not tested) that that is where the test is failing. It looks to me as if client.fileManager simply does not work on the device. I think that Punam is right on in comment #2. Let's ask Gareth about this as well. Gareth: is our analysis correct that this is shortcoming of js marionette and not something wrong with the tests? Julie: if this is indeed a bug in the test infrastructure rather than in specific tests, do you have someone who can work on it?
Flags: needinfo?(jmccracken)
Flags: needinfo?(gaye)
Flags: needinfo?(dflanagan)
I don't know what the right product/component is for js marionette bugs, or I'd change it, since this is probably not a gallery bug
feature-b2g: 2.6+ → ---
Component: Gaia::Gallery → JSMarionette
Product: Firefox OS → Testing
Version: unspecified → Trunk
Flags: needinfo?(jmccracken)
No longer relevant.
Status: NEW → RESOLVED
Closed: 8 years ago
Flags: needinfo?(gaye)
Flags: needinfo?(evan)
Resolution: --- → WONTFIX
Product: Testing → Testing Graveyard
You need to log in before you can comment on or make changes to this bug.