Closed Bug 1541049 Opened 5 years ago Closed 5 years ago

Perma failure /content-security-policy/reporting-api/reporting-api-sends-reports-on-violation.https.sub.html | Report is observable to ReportingObserver - ReportingObserver is not defined when Gecko 68 merges to Beta on 2019-05-06

Categories

(Core :: DOM: Security, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla68
Tracking Status
firefox-esr60 --- unaffected
firefox66 --- unaffected
firefox67 --- unaffected
firefox68 + fixed

People

(Reporter: opoprus, Assigned: aryx)

References

Details

(Keywords: regression, Whiteboard: [domsecurity-intermittent])

Attachments

(1 file)

[Tracking Requested - why for this release]:

Central as beta simulation:

Treeherder link: https://treeherder.mozilla.org/#/jobs?repo=try&resultStatus=testfailed%2Cbusted%2Cexception%2Cusercancel%2Crunnable&revision=28960fb4fcc50c31342426351f69152ad38972d7&selectedJob=237579550

Failure log: https://treeherder.mozilla.org/logviewer.html#/jobs?job_id=237579550&repo=try&lineNumber=4056

13:00:48 INFO - TEST-START | /content-security-policy/reporting-api/reporting-api-sends-reports-on-violation.https.sub.html
13:00:48 INFO - Closing window 12884901889
13:00:49 INFO - PID 11472 | [Parent 8228, Gecko_IOThread] WARNING: pipe error: 109: file z:/build/build/src/ipc/chromium/src/chrome/common/ipc_channel_win.cc, line 341
13:00:49 INFO - PID 11472 | [Child 6712, Chrome_ChildThread] WARNING: pipe error: 109: file z:/build/build/src/ipc/chromium/src/chrome/common/ipc_channel_win.cc, line 341
13:00:49 INFO - PID 11472 | [Child 6712, Chrome_ChildThread] WARNING: pipe error: 109: file z:/build/build/src/ipc/chromium/src/chrome/common/ipc_channel_win.cc, line 341
13:00:49 INFO - PID 11472 | [Parent 8228, Gecko_IOThread] WARNING: pipe error: 109: file z:/build/build/src/ipc/chromium/src/chrome/common/ipc_channel_win.cc, line 341
13:00:49 INFO - PID 11472 | [GPU 9196, Chrome_ChildThread] WARNING: pipe error: 109: file z:/build/build/src/ipc/chromium/src/chrome/common/ipc_channel_win.cc, line 341
13:00:49 INFO - PID 11472 | [GPU 9196, Chrome_ChildThread] WARNING: pipe error: 109: file z:/build/build/src/ipc/chromium/src/chrome/common/ipc_channel_win.cc, line 341
13:00:49 INFO - PID 11472 | ###!!! [Parent][RunMessage] Error: Channel closing: too late to send/recv, messages will be lost
13:00:49 INFO - PID 11472 | [GPU 9196, Chrome_ChildThread] WARNING: pipe error: 109: file z:/build/build/src/ipc/chromium/src/chrome/common/ipc_channel_win.cc, line 341
13:00:49 INFO - PID 11472 | [GPU 9196, Chrome_ChildThread] WARNING: pipe error: 109: file z:/build/build/src/ipc/chromium/src/chrome/common/ipc_channel_win.cc, line 341
13:00:49 INFO - PID 11472 | [Parent 8228, Gecko_IOThread] WARNING: pipe error: 109: file z:/build/build/src/ipc/chromium/src/chrome/common/ipc_channel_win.cc, line 341
13:00:49 INFO - PID 11472 | [Parent 8228, Gecko_IOThread] WARNING: pipe error: 109: file z:/build/build/src/ipc/chromium/src/chrome/common/ipc_channel_win.cc, line 341
13:00:49 INFO - PID 11472 | [Parent 8228, Gecko_IOThread] WARNING: pipe error: 109: file z:/build/build/src/ipc/chromium/src/chrome/common/ipc_channel_win.cc, line 341
13:00:49 INFO - PID 11472 | ++DOCSHELL 00000272AF54D800 == 1 [pid = 4184] [id = {c234bc6b-6309-4e8e-a87c-7fa59909615e}]
13:00:49 INFO - PID 11472 | ++DOMWINDOW == 1 (00000272B54EA020) [pid = 4184] [serial = 1] [outer = 0000000000000000]
13:00:49 INFO - PID 11472 | ++DOMWINDOW == 2 (00000272B5455000) [pid = 4184] [serial = 2] [outer = 00000272B54EA020]
13:00:49 INFO - PID 11472 | --DOCSHELL 000002689BB4E800 == 0 [pid = 6712] [id = {83abd1ea-405d-4292-b55f-6fcd47561801}] [url = https://web-platform.test:8443/content-security-policy/reporting-api/reporting-api-report-to-overrides-report-uri-2.https.sub.html]
13:00:49 INFO - PID 11472 | --DOMWINDOW == 3 (00000268A1BEA020) [pid = 6712] [serial = 1] [outer = 0000000000000000] [url = https://web-platform.test:8443/content-security-policy/reporting-api/reporting-api-report-to-overrides-report-uri-2.https.sub.html]
13:00:49 INFO - PID 11472 | --DOMWINDOW == 2 (00000268A1B55000) [pid = 6712] [serial = 2] [outer = 0000000000000000] [url = about:blank]
13:00:49 INFO - PID 11472 | --DOMWINDOW == 1 (00000268A323B800) [pid = 6712] [serial = 3] [outer = 0000000000000000] [url = about:blank]
13:00:49 INFO - PID 11472 | --DOMWINDOW == 0 (00000268A365C000) [pid = 6712] [serial = 4] [outer = 0000000000000000] [url = https://web-platform.test:8443/content-security-policy/reporting-api/reporting-api-report-to-overrides-report-uri-2.https.sub.html]
13:00:49 INFO - PID 11472 | nsStringStats
13:00:49 INFO - PID 11472 | => mAllocCount: 7662
13:00:49 INFO - PID 11472 | => mReallocCount: 0
13:00:49 INFO - PID 11472 | => mFreeCount: 7662
13:00:49 INFO - PID 11472 | => mShareCount: 6507
13:00:49 INFO - PID 11472 | => mAdoptCount: 514
13:00:49 INFO - PID 11472 | => mAdoptFreeCount: 518
13:00:49 INFO - PID 11472 | => Process ID: 6712, Thread ID: 9528
13:00:49 INFO - PID 11472 | ### XPCOM_MEM_BLOAT_LOG defined -- logging bloat/leaks to c:\users\task_1554209114\appdata\local\temp\tmpykeezh.mozrunner\runtests_leaks_6404_tab_pid2640.log
13:00:49 INFO - PID 11472 | ++DOMWINDOW == 3 (00000272B6C3C800) [pid = 4184] [serial = 3] [outer = 00000272B54EA020]
13:00:49 INFO - PID 11472 | [Child 4184, Main Thread] WARNING: NS_ENSURE_SUCCESS(rv, rv) failed with result 0x80004005: file z:/build/build/src/xpcom/base/nsSystemInfo.cpp, line 111
13:00:49 INFO - PID 11472 | [Parent 8228, Main Thread] WARNING: '!parent', file z:/build/build/src/netwerk/ipc/NeckoParent.cpp, line 955
13:00:49 INFO - PID 11472 | ++DOMWINDOW == 4 (00000272B705C400) [pid = 4184] [serial = 4] [outer = 00000272B54EA020]
13:00:49 INFO - PID 11472 | [Child 4184, Main Thread] WARNING: NS_ENSURE_SUCCESS(rv, rv) failed with result 0x805E0006: file z:/build/build/src/dom/security/nsContentSecurityManager.cpp, line 801
13:00:49 INFO - PID 11472 | [Child 4184, Main Thread] WARNING: 'NS_FAILED(rv)', file z:/build/build/src/netwerk/protocol/http/HttpChannelChild.cpp, line 2411
13:00:49 INFO - PID 11472 | [Child 4184, Main Thread] WARNING: NS_ENSURE_SUCCESS(rv, rv) failed with result 0x805E0006: file z:/build/build/src/dom/security/nsContentSecurityManager.cpp, line 801
13:00:49 INFO - PID 11472 | [Child 4184, Main Thread] WARNING: 'NS_FAILED(rv)', file z:/build/build/src/netwerk/protocol/http/HttpChannelChild.cpp, line 2411
13:00:50 INFO - PID 11472 | [Parent 8228, StreamTrans #3] WARNING: 'NS_FAILED(rv)', file z:/build/build/src/modules/libjar/nsJARChannel.cpp, line 371
13:00:50 INFO - PID 11472 | [Parent 8228, Main Thread] WARNING: NS_ENSURE_SUCCESS(rv, rv) failed with result 0x80520012: file z:/build/build/src/modules/libjar/nsJARChannel.cpp, line 994
13:00:50 INFO - PID 11472 | --DOCSHELL 000001DB37F75000 == 4 [pid = 6400] [id = {0121e5bb-46fb-44b9-b8a2-6cd5b8b8c6d8}] [url = moz-extension://7ff0dad5-46fd-43ed-b42f-7c91f87bce9b/_generated_background_page.html]
13:00:50 INFO - PID 11472 | --DOMWINDOW == 9 (000001DB367F0100) [pid = 6400] [serial = 9] [outer = 0000000000000000] [url = moz-extension://7ff0dad5-46fd-43ed-b42f-7c91f87bce9b/_generated_background_page.html]
13:00:53 INFO - PID 11472 | --DOMWINDOW == 5 (00000207FF63F400) [pid = 11628] [serial = 4] [outer = 0000000000000000] [url = about:blank]
13:00:54 INFO -
13:00:54 INFO - TEST-PASS | /content-security-policy/reporting-api/reporting-api-sends-reports-on-violation.https.sub.html | Test that image does not load
13:00:54 INFO - TEST-PASS | /content-security-policy/reporting-api/reporting-api-sends-reports-on-violation.https.sub.html | Event is fired
13:00:54 INFO - TEST-UNEXPECTED-FAIL | /content-security-policy/reporting-api/reporting-api-sends-reports-on-violation.https.sub.html | Report is observable to ReportingObserver - ReportingObserver is not defined
13:00:54 INFO - @https://web-platform.test:8443/content-security-policy/reporting-api/reporting-api-sends-reports-on-violation.https.sub.html:20:22
13:00:54 INFO - Test.prototype.step@https://web-platform.test:8443/resources/testharness.js:1587:25
13:00:54 INFO - async_test@https://web-platform.test:8443/resources/testharness.js:576:22
13:00:54 INFO - @https://web-platform.test:8443/content-security-policy/reporting-api/reporting-api-sends-reports-on-violation.https.sub.html:19:5
13:00:54 INFO - TEST-INFO | expected TIMEOUT

James, I think that this is caused by https://hg.mozilla.org/mozilla-central/rev/01d6a2c1f1f6

Can you please take a look?

Blocks: 1531386
Flags: needinfo?(james)
Whiteboard: [domsecurity-intermittent]

Aryx is this not meant to land on integration? it does not have a reviewer.

Flags: needinfo?(aryx.bugmail)

By importing this patch the failures no longer occur on the beta sim:

http://tinyurl.com/yyp274td

Attachment #9055161 - Attachment description: Bug 1541049 - enable reporting api pref for content-security-policy/reporting-api/ → Bug 1541049 - enable reporting api pref for content-security-policy/reporting-api/. r=jgraham

Submitted it for review now, wanted to have it tested in a beta simulation before asking for review.

Flags: needinfo?(aryx.bugmail)
Pushed by archaeopteryx@coole-files.de:
https://hg.mozilla.org/integration/autoland/rev/b9eca305e29f
enable reporting api pref for content-security-policy/reporting-api/. r=jgraham
Status: NEW → RESOLVED
Closed: 5 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla68
Assignee: nobody → aryx.bugmail
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: