Open Bug 1435526 Opened 2 years ago Updated Last month

Intermittent /content-security-policy/reporting/multiple-report-policies.html | 2-Violation report status OK - assert_equals: No such report. expected "" but got "false"

Categories

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

defect

Tracking

()

Tracking Status
firefox60 --- affected
firefox61 --- affected

People

(Reporter: intermittent-bug-filer, Unassigned)

References

Details

(Keywords: intermittent-failure, leave-open, Whiteboard: [domsecurity-intermittent], [stockwell disabled], [domsecurity-backlog1])

Attachments

(1 file, 3 obsolete files)

Whiteboard: [domsecurity-intermittent]
This bug failed 33 times in the last 7 days, it failed mainly on Linux but there were a few occurrences on Windows 7 and Windows 10, affecting opt and debug build platforms.
Failing tests: opt-web-platform-tests-e10,debug-web-platform-tests-e10.

Link to a recent log:https://treeherder.mozilla.org/logviewer.html#?repo=mozilla-central&job_id=160798135&lineNumber=1620

Part of that log: [task 2018-02-07T10:53:15.229Z] 10:53:15     INFO - 
[task 2018-02-07T10:53:15.230Z] 10:53:15     INFO - web-platform-tests                                           CT,, 
[task 2018-02-07T10:53:15.230Z] 10:53:15     INFO - 
[task 2018-02-07T10:53:15.246Z] 10:53:15     INFO - Application command: /builds/worker/workspace/build/application/firefox/firefox --marionette about:blank -profile /tmp/tmpimQ5q2.mozrunner
[task 2018-02-07T10:53:15.254Z] 10:53:15     INFO - Starting runner
[task 2018-02-07T10:53:16.370Z] 10:53:16     INFO - PID 2228 | JavaScript error: chrome://browser/content/tabbrowser.xml, line 2473: TypeError: cannot use 'in' operator to search for 'canGoBack' in 'browser'
[task 2018-02-07T10:53:17.196Z] 10:53:17     INFO - PID 2228 | 1518000797193	Marionette	INFO	Listening on port 2828
[task 2018-02-07T10:53:17.517Z] 10:53:17     INFO - TEST-START | /content-security-policy/reporting/multiple-report-policies.html
[task 2018-02-07T10:53:17.877Z] 10:53:17  WARNING - Traceback (most recent call last):
[task 2018-02-07T10:53:17.878Z] 10:53:17  WARNING -   File "/builds/worker/workspace/build/venv/lib/python2.7/site-packages/wptserve/handlers.py", line 254, in __call__
[task 2018-02-07T10:53:17.878Z] 10:53:17  WARNING -     rv = self.func(request, response)
[task 2018-02-07T10:53:17.879Z] 10:53:17  WARNING -   File "/builds/worker/workspace/build/tests/web-platform/tests/content-security-policy/support/report.py", line 49, in main
[task 2018-02-07T10:53:17.880Z] 10:53:17  WARNING -     with request.server.stash.lock:
[task 2018-02-07T10:53:17.880Z] 10:53:17  WARNING - AttributeError: __exit__
[task 2018-02-07T10:53:17.880Z] 10:53:17  WARNING - 
[task 2018-02-07T10:53:22.913Z] 10:53:22     INFO - 
[task 2018-02-07T10:53:22.914Z] 10:53:22     INFO - TEST-UNEXPECTED-FAIL | /content-security-policy/reporting/multiple-report-policies.html | 2-Violation report status OK - assert_equals: No such report. expected "" but got "false"
[task 2018-02-07T10:53:22.914Z] 10:53:22     INFO - report.onload<@http://web-platform.test:8000/content-security-policy/support/checkReport.sub.js?reportField=violated-directive&reportValue=img-src%20http%3A%2F%2F%2A&reportCookieName=multiple-report-policies-2&testName=2-Violation%20report%20status%20OK:62:11
[task 2018-02-07T10:53:22.914Z] 10:53:22     INFO - Test.prototype.step@http://web-platform.test:8000/resources/testharness.js:1494:20
[task 2018-02-07T10:53:22.915Z] 10:53:22     INFO - Test.prototype.step_func/<@http://web-platform.test:8000/resources/testharness.js:1518:20

:ckerschb could you please take a look?
Flags: needinfo?(ckerschb)
Whiteboard: [domsecurity-intermittent] → [domsecurity-intermittent], [stockwell needswork]
Vino, can you take a look please? thanks!
Assignee: nobody → cegvinoth
Status: NEW → ASSIGNED
Flags: needinfo?(ckerschb) → needinfo?(cegvinoth)
This bug has failed 71 times in the last 7 days, mainly on Linux but there are a few occurrences on Windows 10 and windows 7 platforms, affecting debug and opt build types. 
Failing tests: debug-web-platform-tests-e10s, opt-web-platform-tests-e10.

Link to a recent log: https://treeherder.mozilla.org/logviewer.html#?repo=autoland&job_id=162310671&lineNumber=3358

Part of that log:
[task 2018-02-15T01:42:40.962Z] 01:42:40  WARNING - AttributeError: __exit__
[task 2018-02-15T01:42:40.962Z] 01:42:40  WARNING - 
[task 2018-02-15T01:42:41.179Z] 01:42:41     INFO - PID 2284 | [Child 2336, Main Thread] WARNING: NS_ENSURE_TRUE(mRequest) failed: file /builds/worker/workspace/build/src/netwerk/base/nsBaseChannel.cpp, line 965
[task 2018-02-15T01:42:44.969Z] 01:42:44     INFO - PID 2284 | --DOCSHELL 0x7fd23b4df000 == 3 [pid = 2284] [id = {dfd4ebcd-ddf8-42a2-87e0-174c07d11c43}]
[task 2018-02-15T01:42:46.035Z] 01:42:46     INFO - 
[task 2018-02-15T01:42:46.035Z] 01:42:46     INFO - TEST-PASS | /content-security-policy/reporting/multiple-report-policies.html | 1-Violation report status OK 
[task 2018-02-15T01:42:46.036Z] 01:42:46     INFO - TEST-UNEXPECTED-FAIL | /content-security-policy/reporting/multiple-report-policies.html | 2-Violation report status OK - assert_equals: No such report. expected "" but got "false"
[task 2018-02-15T01:42:46.036Z] 01:42:46     INFO - report.onload<@http://web-platform.test:8000/content-security-policy/support/checkReport.sub.js?reportField=violated-directive&reportValue=img-src%20http%3A%2F%2F%2A&reportCookieName=multiple-report-policies-2&testName=2-Violation%20report%20status%20OK:62:11
[task 2018-02-15T01:42:46.037Z] 01:42:46     INFO - Test.prototype.step@http://web-platform.test:8000/resources/testharness.js:1494:20
[task 2018-02-15T01:42:46.037Z] 01:42:46     INFO - Test.prototype.step_func/<@http://web-platform.test:8000/resources/testharness.js:1518:20
[task 2018-02-15T01:42:46.038Z] 01:42:46     INFO - EventHandlerNonNull*@http://web-platform.test:8000/content-security-policy/support/checkReport.sub.js?reportField=violated-directive&reportValue=img-src%20http%3A%2F%2F%2A&reportCookieName=multiple-report-policies-2&testName=2-Violation%20report%20status%20OK:57:21
[task 2018-02-15T01:42:46.038Z] 01:42:46     INFO - Test.prototype.step@http://web-platform.test:8000/resources/testharness.js:1494:20
[task 2018-02-15T01:42:46.038Z] 01:42:46     INFO - @http://web-platform.test:8000/content-security-policy/support/checkReport.sub.js?reportField=violated-directive&reportValue=img-src%20http%3A%2F%2F%2A&reportCookieName=multiple-report-policies-2&testName=2-Violation%20report%20status%20OK:54:3
[task 2018-02-15T01:42:46.039Z] 01:42:46     INFO - @http://web-platform.test:8000/content-security-policy/support/checkReport.sub.js?reportField=violated-directive&reportValue=img-src%20http%3A%2F%2F%2A&reportCookieName=multiple-report-policies-2&testName=2-Violation%20report%20status%20OK:1:2
[task 2018-02-15T01:42:46.039Z] 01:42:46     INFO - TEST-OK | /content-security-policy/reporting/multiple-report-policies.html | took 5835ms 

:vinoth did you have a chance to look at this this bug?
Comment on attachment 8953129 [details] [diff] [review]
Disabled on Windows 10 debug and Linux.

Review of attachment 8953129 [details] [diff] [review]:
-----------------------------------------------------------------

this needs to be version == "15063", the existing example we used is invalid.
Attachment #8953129 - Flags: review?(jmaher) → review-
See Also: → 1440596
Modified the version number. Jmaher could you please take a look and see if it is ok?
Attachment #8953797 - Flags: review?(jmaher)
Comment on attachment 8953797 [details] [diff] [review]
Disabled on Windows 10 debug and Linux

take a look at this example for the version:
https://searchfox.org/mozilla-central/source/testing/web-platform/meta/2dcontext/imagebitmap/createImageBitmap-invalid-args.html.ini#7

you will need the whole version, not just the build number at the end.
Attachment #8953797 - Flags: review?(jmaher) → review-
Attachment #8955896 - Flags: review?(jmaher)
Comment on attachment 8955896 [details] [diff] [review]
Disabled on Windows 10 debug and Linux

Review of attachment 8955896 [details] [diff] [review]:
-----------------------------------------------------------------

really close!

::: testing/web-platform/meta/content-security-policy/reporting/multiple-report-policies.html.ini
@@ +1,3 @@
> +[multiple-report-policies.html]
> +  disabled:
> +    if(os == "linux") : https://bugzilla.mozilla.org/show_bug.cgi?id=1435526

missing space between if and (
extra space on both lines between ) and :

it should read:
if (os == "linux"): https://...
Attachment #8955896 - Flags: review?(jmaher) → review-
Comment on attachment 8956673 [details] [diff] [review]
Disabled on Windows 10 debug and Linux

Review of attachment 8956673 [details] [diff] [review]:
-----------------------------------------------------------------

thanks!
Attachment #8956673 - Flags: review?(jmaher) → review+
Attachment #8953797 - Attachment is obsolete: true
Attachment #8953797 - Attachment is patch: true
Pushed by ryanvm@gmail.com:
https://hg.mozilla.org/integration/mozilla-inbound/rev/9e97b14fe91f
Disable multiple-report-policies.html on Linux and Windows 10 debug platforms. r=jmaher
Keywords: checkin-needed
Whiteboard: [domsecurity-intermittent], [stockwell disable-recommended] → [domsecurity-intermittent], [stockwell disabled]
Working on it.
Flags: needinfo?(cegvinoth)
Assignee: cegvinoth → nobody
Status: ASSIGNED → NEW
Whiteboard: [domsecurity-intermittent], [stockwell disabled] → [domsecurity-intermittent], [stockwell disabled], [domsecurity-backlog1]
You need to log in before you can comment on or make changes to this bug.