Closed Bug 1724531 Opened 4 years ago Closed 3 years ago

Intermittent /content-security-policy/navigate-to/form-blocked.sub.html | Violation report status OK. - can't access property "body", data[0] is undefined

Categories

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

defect

Tracking

()

RESOLVED DUPLICATE of bug 1804960

People

(Reporter: intermittent-bug-filer, Unassigned)

Details

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

Filed by: malexandru [at] mozilla.com
Parsed log: https://treeherder.mozilla.org/logviewer?job_id=347698740&repo=autoland
Full log: https://firefox-ci-tc.services.mozilla.com/api/queue/v1/task/G59n2CI7QpqynclJR3O9nA/runs/0/artifacts/public/logs/live_backing.log


[task 2021-08-06T22:43:09.176Z] 22:43:09     INFO - TEST-START | /content-security-policy/navigate-to/form-blocked.sub.html
[task 2021-08-06T22:43:09.181Z] 22:43:09     INFO - Closing window fbc6b245-ccf0-44d7-bd80-1bc072e9171d
[task 2021-08-06T22:43:10.007Z] 22:43:10  WARNING - wptserve Exception loading http://web-platform.test:8000/reporting/resources/report.py?op=put&reportID=dddde327-ae34-422c-ac22-28b03ced1fe1: 500
[task 2021-08-06T22:43:10.007Z] 22:43:10     INFO - wptserve 500
[task 2021-08-06T22:43:13.042Z] 22:43:13     INFO - 
[task 2021-08-06T22:43:13.042Z] 22:43:13     INFO - TEST-FAIL | /content-security-policy/child-src/child-src-conflicting-frame-src.sub.html | Expecting logs: ["PASS IFrame #1 generated a load event.", "violated-directive=frame-src"] - assert_unreached: FAIL Reached unreachable code
[task 2021-08-06T22:43:13.042Z] 22:43:13     INFO - log/<@http://web-platform.test:8000/content-security-policy/support/logTest.sub.js?logs=[%22PASS%20IFrame%20%231%20generated%20a%20load%20event.%22,%20%22violated-directive=frame-src%22]:24:33
[task 2021-08-06T22:43:13.042Z] 22:43:13     INFO - Test.prototype.step@http://web-platform.test:8000/resources/testharness.js:2087:25
[task 2021-08-06T22:43:13.042Z] 22:43:13     INFO - log@http://web-platform.test:8000/content-security-policy/support/logTest.sub.js?logs=[%22PASS%20IFrame%20%231%20generated%20a%20load%20event.%22,%20%22violated-directive=frame-src%22]:22:15
[task 2021-08-06T22:43:13.042Z] 22:43:13     INFO - onerror@http://web-platform.test:8000/content-security-policy/child-src/child-src-conflicting-frame-src.sub.html:1:4
[task 2021-08-06T22:43:13.042Z] 22:43:13     INFO - TEST-FAIL | /content-security-policy/child-src/child-src-cross-origin-load.sub.html | Expecting logs: ["PASS IFrame #1 generated a load event.","PASS IFrame #2 generated a load event.","PASS IFrame #3 generated a load event.", "violated-directive=frame-src"] - assert_unreached: unexpected log: violated-directive=child-src Reached unreachable code
[task 2021-08-06T22:43:13.042Z] 22:43:13     INFO - log/<@http://web-platform.test:8000/content-security-policy/support/logTest.sub.js?logs=[%22PASS%20IFrame%20%231%20generated%20a%20load%20event.%22,%22PASS%20IFrame%20%232%20generated%20a%20load%20event.%22,%22PASS%20IFrame%20%233%20generated%20a%20load%20event.%22,%20%22violated-directive=frame-src%22]:37:30
[task 2021-08-06T22:43:13.043Z] 22:43:13     INFO - Test.prototype.step@http://web-platform.test:8000/resources/testharness.js:2087:25
[task 2021-08-06T22:43:13.043Z] 22:43:13     INFO - log@http://web-platform.test:8000/content-security-policy/support/logTest.sub.js?logs=[%22PASS%20IFrame%20%231%20generated%20a%20load%20event.%22,%22PASS%20IFrame%20%232%20generated%20a%20load%20event.%22,%22PASS%20IFrame%20%233%20generated%20a%20load%20event.%22,%20%22violated-directive=frame-src%22]:22:15
[task 2021-08-06T22:43:13.043Z] 22:43:13     INFO - @http://web-platform.test:8000/content-security-policy/child-src/child-src-cross-origin-load.sub.html:17:16
[task 2021-08-06T22:43:13.043Z] 22:43:13     INFO - TEST-PASS | /content-security-policy/child-src/child-src-cross-origin-load.sub.html | Expecting alerts: ["PASS","PASS"] 
[task 2021-08-06T22:43:13.043Z] 22:43:13     INFO - TEST-FAIL | /content-security-policy/child-src/child-src-redirect-blocked.sub.html | Expecting logs: ["PASS IFrame #1 generated a load event.", "violated-directive=frame-src"] - assert_unreached: unexpected log: violated-directive=child-src Reached unreachable code
[task 2021-08-06T22:43:13.043Z] 22:43:13     INFO - log/<@http://web-platform.test:8000/content-security-policy/support/logTest.sub.js?logs=[%22PASS%20IFrame%20%231%20generated%20a%20load%20event.%22,%20%22violated-directive=frame-src%22]:37:30
[task 2021-08-06T22:43:13.043Z] 22:43:13     INFO - Test.prototype.step@http://web-platform.test:8000/resources/testharness.js:2087:25
[task 2021-08-06T22:43:13.043Z] 22:43:13     INFO - log@http://web-platform.test:8000/content-security-policy/support/logTest.sub.js?logs=[%22PASS%20IFrame%20%231%20generated%20a%20load%20event.%22,%20%22violated-directive=frame-src%22]:22:15
[task 2021-08-06T22:43:13.043Z] 22:43:13     INFO - @http://web-platform.test:8000/content-security-policy/child-src/child-src-redirect-blocked.sub.html:17:16
[task 2021-08-06T22:43:13.043Z] 22:43:13     INFO - TEST-PASS | /content-security-policy/child-src/child-src-worker-allowed.sub.html | Worker is allowed because of deprecated 'child-src' directive 
[task 2021-08-06T22:43:13.043Z] 22:43:13     INFO - TEST-FAIL | /content-security-policy/child-src/child-src-worker-blocked.sub.html | Should throw a securitypolicyviolation event - assert_equals: expected "worker-src" but got "child-src"
[task 2021-08-06T22:43:13.043Z] 22:43:13     INFO - @http://web-platform.test:8000/content-security-policy/child-src/child-src-worker-blocked.sub.html:22:24
[task 2021-08-06T22:43:13.043Z] 22:43:13     INFO - Test.prototype.step@http://web-platform.test:8000/resources/testharness.js:2087:25
[task 2021-08-06T22:43:13.043Z] 22:43:13     INFO - Test.prototype.step_func/<@http://web-platform.test:8000/resources/testharness.js:2114:35
[task 2021-08-06T22:43:13.043Z] 22:43:13     INFO - TEST-PASS | /content-security-policy/child-src/child-src-worker-blocked.sub.html | Should block worker because it does not match any directive including the deprecated 'child-src' 
[task 2021-08-06T22:43:13.043Z] 22:43:13     INFO - TEST-PASS | /content-security-policy/navigate-to/anchor-navigation-always-allowed.html | Test that anchor navigation is allowed regardless of the `navigate-to` directive 
[task 2021-08-06T22:43:13.043Z] 22:43:13     INFO - TEST-PASS | /content-security-policy/navigate-to/form-allowed.html | Test that the child iframe navigation is allowed 
[task 2021-08-06T22:43:13.043Z] 22:43:13     INFO - TEST-FAIL | /content-security-policy/navigate-to/form-blocked.sub.html | Test that the child iframe navigation is not allowed - assert_equals: expected (string) "fail" but got (undefined) undefined
[task 2021-08-06T22:43:13.043Z] 22:43:13     INFO - window.onmessage<@http://web-platform.test:8000/content-security-policy/navigate-to/form-blocked.sub.html:12:18
[task 2021-08-06T22:43:13.043Z] 22:43:13     INFO - Test.prototype.step@http://web-platform.test:8000/resources/testharness.js:2087:25
[task 2021-08-06T22:43:13.043Z] 22:43:13     INFO - Test.prototype.step_func_done/<@http://web-platform.test:8000/resources/testharness.js:2130:32
[task 2021-08-06T22:43:13.043Z] 22:43:13     INFO - TEST-UNEXPECTED-FAIL | /content-security-policy/navigate-to/form-blocked.sub.html | Violation report status OK. - can't access property "body", data[0] is undefined
[task 2021-08-06T22:43:13.043Z] 22:43:13     INFO - report.onload<@http://web-platform.test:8000/content-security-policy/support/checkReport.sub.js?reportField=violated-directive&reportValue=navigate-to%20%27none%27&reportID=dddde327-ae34-422c-ac22-28b03ced1fe1:78:30
[task 2021-08-06T22:43:13.043Z] 22:43:13     INFO - Test.prototype.step@http://web-platform.test:8000/resources/testharness.js:2087:25
[task 2021-08-06T22:43:13.043Z] 22:43:13     INFO - Test.prototype.step_func/<@http://web-platform.test:8000/resources/testharness.js:2114:35
[task 2021-08-06T22:43:13.138Z] 22:43:13     INFO - TEST-OK | /content-security-policy/navigate-to/form-blocked.sub.html | took 3962ms
[task 2021-08-06T22:43:13.509Z] 22:43:13     INFO - STDOUT: cleanup aborted: Unable to remount device
[task 2021-08-06T22:43:13.625Z] 22:43:13     INFO - STDOUT: cleanup aborted: Unable to remount device
[task 2021-08-06T22:43:13.626Z] 22:43:13     INFO - Closing logging queue
[task 2021-08-06T22:43:13.626Z] 22:43:13     INFO - queue closed
[task 2021-08-06T22:43:13.645Z] 22:43:13     INFO - Setting up ssl
[task 2021-08-06T22:43:13.667Z] 22:43:13     INFO - certutil | b''
[task 2021-08-06T22:43:13.690Z] 22:43:13     INFO - certutil | b''
[task 2021-08-06T22:43:13.710Z] 22:43:13     INFO - certutil | b'\nCertificate Nickname                                         Trust Attributes\n                                                             SSL,S/MIME,JAR/XPI\n\nweb-platform-tests                                           CT,, \n'
[task 2021-08-06T22:43:14.576Z] 22:43:14     INFO - adb Granting important runtime permissions to org.mozilla.geckoview.test
[task 2021-08-06T22:43:16.208Z] 22:43:16     INFO - adb launch_application: am start -W -n org.mozilla.geckoview.test/org.mozilla.geckoview.test.TestRunnerActivity -a android.intent.action.MAIN --es env0 MOZ_CRASHREPORTER=1 --es env1 MOZ_CRASHREPORTER_NO_REPORT=1 --es env2 MOZ_CRASHREPORTER_SHUTDOWN=1 --es env3 MOZ_HIDE_RESULTS_TABLE=1 --es env4 MOZ_IN_AUTOMATION=1 --es env5 MOZ_LOG=signaling:3,mtransport:4,DataChannel:4,jsep:4 --es env6 R_LOG_LEVEL=6 --es env7 R_LOG_DESTINATION=stderr --es env8 R_LOG_VERBOSE=1 --es env9 MOZ_PROCESS_LOG=/tmp/tmppo384wnppidlog --es env10 MOZ_DISABLE_NONLOCAL_CONNECTIONS=1 --es env11 STYLO_THREADS=1 --es env12 MOZ_WEBRENDER=1 --es arg0 -no-remote --es arg1 -profile --es arg2 /data/local/tmp/test_root/profile --es arg3 --marionette --es arg4 about:blank --ez use_multiprocess True
[task 2021-08-06T22:43:17.486Z] 22:43:17     INFO - Starting runner
[task 2021-08-06T22:43:18.261Z] 22:43:18     INFO - TEST-START | /content-security-policy/navigate-to/form-cross-origin-allowed.sub.html
Status: NEW → RESOLVED
Closed: 4 years ago
Resolution: --- → INCOMPLETE
Status: RESOLVED → REOPENED
Resolution: INCOMPLETE → ---
Status: REOPENED → RESOLVED
Closed: 4 years ago3 years ago
Resolution: --- → INCOMPLETE
Duplicate of bug: 1804960
Resolution: INCOMPLETE → DUPLICATE
You need to log in before you can comment on or make changes to this bug.