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

RESOLVED FIXED

Status

Firefox OS
Gaia
RESOLVED FIXED
5 years ago
4 years ago

People

(Reporter: davehunt, Unassigned)

Tracking

Firefox Tracking Flags

(Not tracked)

Details

(Whiteboard: [qa-automation-blocked])

Attachments

(1 attachment)

(Reporter)

Description

5 years ago
Created attachment 717537 [details]
Log from failing Travis-CI build

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.
(Reporter)

Updated

5 years ago
OS: Mac OS X → All
Hardware: x86 → All
Whiteboard: [qa-automation-blocked]
(Reporter)

Updated

4 years ago
Blocks: 857622
(Reporter)

Comment 1

4 years ago
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.
(Reporter)

Comment 2

4 years ago
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
Last Resolved: 4 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.