Closed Bug 844498 Opened 12 years ago Closed 11 years ago

Gaia UI tests occasionally fail when running against B2G desktop client builds with call to setTimeout blocked by CSP

Categories

(Firefox OS Graveyard :: Gaia, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: davehunt, Unassigned)

References

Details

(Whiteboard: [qa-automation-blocked])

Attachments

(1 file)

Attached file Log from failing Travis-CI build (deleted) —
When running the Gaia UI tests against a B2G desktop client I occasionally see a failure due to "call to setTimeout blocked by CSP", which causes all the following tests to also fail. You can see this Travis-CI build for an example: https://travis-ci.org/davehunt/gaia-ui-tests/builds/5005711/#L832 Log is attached.
OS: Mac OS X → All
Hardware: x86 → All
Whiteboard: [qa-automation-blocked]
Blocks: 857622
With the next release of Marionette we will be able to restart the B2G desktop client between tests. This means although this will most likely still occur, we will be able to recover from it.
I have been able to narrow this down to a specific unit test that was failing 1 in every 5 runs. It was attempting to kill an application that wasn't currently in view, so I simply added a launch for the application before killing it to bring it into view and now it passes every time.
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: