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)
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.
Comment 1•9 years ago
|
||
dave/punam/david: any ideas why we see this error on device
Flags: needinfo?(pdahiya)
Flags: needinfo?(dhylands)
Flags: needinfo?(dflanagan)
Comment 2•9 years ago
|
||
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)
Comment 3•9 years ago
|
||
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)
Updated•9 years ago
|
feature-b2g: --- → 2.6+
Updated•9 years ago
|
Whiteboard: [MJS]
Updated•9 years ago
|
Whiteboard: [MJS] → [FOD]
Comment 4•9 years ago
|
||
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)
Comment 5•9 years ago
|
||
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
Updated•9 years ago
|
feature-b2g: 2.6+ → ---
Component: Gaia::Gallery → JSMarionette
Product: Firefox OS → Testing
Version: unspecified → Trunk
Updated•9 years ago
|
Flags: needinfo?(jmccracken)
Reporter | ||
Comment 6•8 years ago
|
||
No longer relevant.
Status: NEW → RESOLVED
Closed: 8 years ago
Flags: needinfo?(gaye)
Flags: needinfo?(evan)
Resolution: --- → WONTFIX
Updated•7 years ago
|
Product: Testing → Testing Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•