Closed Bug 1456704 Opened 5 years ago Closed 5 years ago

Intermittent dom/security/test/csp/test_empty_directive.html | Must never see a console warning here

Categories

(Core :: DOM: Security, defect, P5)

defect

Tracking

()

RESOLVED FIXED
mozilla62
Tracking Status
firefox61 --- fixed
firefox62 --- fixed

People

(Reporter: intermittent-bug-filer, Assigned: jkt)

References

Details

(Keywords: intermittent-failure, Whiteboard: [domsecurity-intermittent][stockwell fixed:other])

Attachments

(1 file)

Filed by: nbeleuzu [at] mozilla.com

https://treeherder.mozilla.org/logviewer.html#?job_id=175465730&repo=autoland

https://queue.taskcluster.net/v1/task/CVlIRXdsRVGfPAAUnrPJLA/runs/0/artifacts/public/logs/live_backing.log

Relevant log info:

01:56:09     INFO -  67 INFO TEST-START | dom/security/test/csp/test_empty_directive.html
01:56:09     INFO -  GECKO(1824) | [Parent 1824, Gecko_IOThread] WARNING: pipe error: 109: file z:/build/build/src/ipc/chromium/src/chrome/common/ipc_channel_win.cc, line 346
01:56:09     INFO -  GECKO(1824) | [Parent 1824, Gecko_IOThread] WARNING: pipe error: 109: file z:/build/build/src/ipc/chromium/src/chrome/common/ipc_channel_win.cc, line 346
01:56:09     INFO -  GECKO(1824) | JavaScript error: , line 0: TypeError: NetworkError when attempting to fetch resource.
01:56:09     INFO -  GECKO(1824) | [Parent 1824, Gecko_IOThread] WARNING: pipe error: 109: file z:/build/build/src/ipc/chromium/src/chrome/common/ipc_channel_win.cc, line 346
01:56:09     INFO -  TEST-INFO | started process screenshot
01:56:09     INFO -  TEST-INFO | screenshot: exit 0
01:56:09    ERROR -  68 INFO TEST-UNEXPECTED-FAIL | dom/security/test/csp/test_empty_directive.html | Must never see a console warning here
01:56:09     INFO -      ConsoleMsgListener@dom/security/test/csp/test_empty_directive.html:37:5
01:56:09     INFO -  GECKO(1824) | [Parent 1824, Gecko_IOThread] WARNING: pipe error: 109: file z:/build/build/src/ipc/chromium/src/chrome/common/ipc_channel_win.cc, line 346
01:56:09     INFO -  GECKO(1824) | JavaScript error: , line 0: TypeError: NetworkError when attempting to fetch resource.
01:56:09     INFO -  GECKO(1824) | JavaScript error: , line 0: TypeError: NetworkError when attempting to fetch resource.
01:56:09     INFO -  GECKO(1824) | [Parent 1824, Gecko_IOThread] WARNING: pipe error: 109: file z:/build/build/src/ipc/chromium/src/chrome/common/ipc_channel_win.cc, line 346
Whiteboard: [domsecurity-intermittent]
There are 33 failures in the last 7 days.
The failures are occurring on Windows:
- windows10-64 - 15 failures
- windows7-32  - 14 failures
- android-4-3-armv7-api16 - 2 failures
- windows7-32-nightly - 1 failure 

Christoph, can you please take a look?
Flags: needinfo?(ckerschb)
(In reply to Narcis Beleuzu [:NarcisB] from comment #3)
> Christoph, can you please take a look?

:jkt, can we fix that intermittent somehow?
Blocks: 1439425
Flags: needinfo?(ckerschb) → needinfo?(jkt)
I think we can easily change the test to only look for consoles prefixed by "Content Security Policy" comments.

However Mozilla should also be looking into why these console's are happening. They look like networking issues on Windows (mostly).
Flags: needinfo?(jkt)
Assignee: nobody → jkt
Whiteboard: [domsecurity-intermittent] → [domsecurity-intermittent][stockwell needswork]
Comment on attachment 8975430 [details]
Bug 1456704 - Fix CSP empty directive test by ignoring errors that aren't from CSP.

https://reviewboard.mozilla.org/r/243724/#review249570

thanks;r=me
Attachment #8975430 - Flags: review?(ckerschb) → review+
Pushed by jkingston@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/44e8b4f4dfa6
Fix CSP empty directive test by ignoring errors that aren't from CSP. r=ckerschb
Whiteboard: [domsecurity-intermittent][stockwell needswork] → [domsecurity-intermittent][stockwell fixed:other]
https://hg.mozilla.org/mozilla-central/rev/44e8b4f4dfa6
Status: NEW → RESOLVED
Closed: 5 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla62
You need to log in before you can comment on or make changes to this bug.