New issue
Advanced search Search tips
Note: Color blocks (like or ) mean that a user may not be available. Tooltip shows the reason.

Issue 836627 link

Starred by 2 users

Issue metadata

Status: Duplicate
Merged: issue 837213
Owner:
Last visit > 30 days ago
Closed: Apr 2018
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Mac
Pri: 2
Type: Bug



Sign in to add a comment

external/wpt/content-security-policy/inside-worker/dedicated-inheritance.html failing on Mac.

Project Member Reported by thestig@chromium.org, Apr 25 2018

Issue description

Started here: https://ci.chromium.org/buildbot/chromium.webkit/WebKit%20Mac10.10/46222

Possibly due to r553324?

16:27:10.920 62167 worker/6 external/wpt/content-security-policy/inside-worker/dedicated-inheritance.html output stderr lines:
16:27:10.921 62167   CONSOLE ERROR: line 30: Refused to connect to 'http://www.web-platform.test:8081/common/text-plain.txt?cross-origin-fetch' because it violates the following Content Security Policy directive: "connect-src 'self'".
16:27:10.921 62167   
16:27:10.921 62167   CONSOLE ERROR: line 30: Refused to connect to 'http://www.web-platform.test:8081/common/text-plain.txt?cross-origin-fetch' because it violates the document's Content Security Policy.
16:27:10.921 62167   CONSOLE ERROR: line 45: Refused to connect to 'http://www.web-platform.test:8081/common/text-plain.txt?cross-origin-xhr' because it violates the following Content Security Policy directive: "connect-src 'self'".
16:27:10.921 62167   
16:27:10.921 62167   CONSOLE ERROR: Refused to connect to 'http://www.web-platform.test:8081/common/text-plain.txt?cross-origin-fetch' because it violates the following Content Security Policy directive: "connect-src 'self'".
16:27:10.921 62167   
16:27:10.921 62167   CONSOLE ERROR: Fetch API cannot load http://web-platform.test:8001/common/redirect-opt-in.py?status=307&location=http://www.web-platform.test:8081/common/text-plain.txt?cross-origin-fetch. Redirect failed.
16:27:10.921 62167   CONSOLE ERROR: line 30: Refused to connect to 'http://www.web-platform.test:8081/common/text-plain.txt?cross-origin-fetch' because it violates the following Content Security Policy directive: "connect-src 'self'".
16:27:10.921 62167   
16:27:10.921 62167   CONSOLE ERROR: line 30: Refused to connect to 'http://www.web-platform.test:8081/common/text-plain.txt?cross-origin-fetch' because it violates the document's Content Security Policy.
16:27:10.921 62167   CONSOLE ERROR: line 45: Refused to connect to 'http://www.web-platform.test:8081/common/text-plain.txt?cross-origin-xhr' because it violates the following Content Security Policy directive: "connect-src 'self'".
16:27:10.921 62167   
16:27:10.921 62167   CONSOLE ERROR: line 30: Refused to connect to 'http://www.web-platform.test:8081/common/text-plain.txt?cross-origin-fetch' because it violates the following Content Security Policy directive: "connect-src 'self'".
16:27:10.921 62167   
16:27:10.921 62167   CONSOLE ERROR: line 30: Refused to connect to 'http://www.web-platform.test:8081/common/text-plain.txt?cross-origin-fetch' because it violates the document's Content Security Policy.
16:27:10.921 62167   CONSOLE ERROR: line 45: Refused to connect to 'http://www.web-platform.test:8081/common/text-plain.txt?cross-origin-xhr' because it violates the following Content Security Policy directive: "connect-src 'self'".
16:27:10.921 62167   
16:27:10.921 62167   CONSOLE ERROR: line 30: Refused to connect to 'http://www.web-platform.test:8081/common/text-plain.txt?cross-origin-fetch' because it violates the following Content Security Policy directive: "connect-src 'self'".
16:27:10.921 62167   
16:27:10.921 62167   CONSOLE ERROR: line 30: Refused to connect to 'http://www.web-platform.test:8081/common/text-plain.txt?cross-origin-fetch' because it violates the document's Content Security Policy.
16:27:10.921 62167   CONSOLE ERROR: line 45: Refused to connect to 'http://www.web-platform.test:8081/common/text-plain.txt?cross-origin-xhr' because it violates the following Content Security Policy directive: "connect-src 'self'".
16:27:10.921 62167   
16:27:10.921 62167   CONSOLE ERROR: Refused to connect to 'http://www.web-platform.test:8081/common/text-plain.txt?cross-origin-fetch' because it violates the following Content Security Policy directive: "connect-src 'self'".
16:27:10.921 62167   
16:27:10.921 62167   CONSOLE ERROR: Fetch API cannot load http://web-platform.test:8001/common/redirect-opt-in.py?status=307&location=http://www.web-platform.test:8081/common/text-plain.txt?cross-origin-fetch. Redirect failed.
16:27:10.921 62167   CONSOLE ERROR: line 30: Refused to connect to 'http://www.web-platform.test:8081/common/text-plain.txt?cross-origin-fetch' because it violates the following Content Security Policy directive: "connect-src 'self'".
16:27:10.922 62167   
16:27:10.922 62167   CONSOLE ERROR: line 30: Refused to connect to 'http://www.web-platform.test:8081/common/text-plain.txt?cross-origin-fetch' because it violates the document's Content Security Policy.
16:27:10.922 62167   CONSOLE ERROR: Refused to connect to 'http://www.web-platform.test:8081/common/text-plain.txt?cross-origin-fetch' because it violates the following Content Security Policy directive: "connect-src 'self'".
16:27:10.922 62167   
16:27:10.922 62167   CONSOLE ERROR: Fetch API cannot load http://web-platform.test:8001/common/redirect-opt-in.py?status=307&location=http://www.web-platform.test:8081/common/text-plain.txt?cross-origin-fetch. Redirect failed.
16:27:10.922 62167   CONSOLE ERROR: line 45: Refused to connect to 'http://www.web-platform.test:8081/common/text-plain.txt?cross-origin-xhr' because it violates the following Content Security Policy directive: "connect-src 'self'".
16:27:10.922 62167   
16:27:10.922 62167   CONSOLE ERROR: line 30: Refused to connect to 'http://www.web-platform.test:8081/common/text-plain.txt?cross-origin-fetch' because it violates the following Content Security Policy directive: "connect-src 'self'".
16:27:10.922 62167   
16:27:10.922 62167   CONSOLE ERROR: line 30: Refused to connect to 'http://www.web-platform.test:8081/common/text-plain.txt?cross-origin-fetch' because it violates the document's Content Security Policy.
16:27:10.922 62167   CONSOLE ERROR: line 45: Refused to connect to 'http://www.web-platform.test:8081/common/text-plain.txt?cross-origin-xhr' because it violates the following Content Security Policy directive: "connect-src 'self'".
16:27:10.922 62167   
16:27:10.922 62167   CONSOLE ERROR: Refused to connect to 'http://www.web-platform.test:8081/common/text-plain.txt?cross-origin-fetch' because it violates the following Content Security Policy directive: "connect-src 'self'".
16:27:10.922 62167   
16:27:10.922 62167   CONSOLE ERROR: Fetch API cannot load http://web-platform.test:8001/common/redirect-opt-in.py?status=307&location=http://www.web-platform.test:8081/common/text-plain.txt?cross-origin-fetch. Redirect failed.
16:27:10.922 62167   CONSOLE ERROR: Refused to connect to 'http://www.web-platform.test:8081/common/text-plain.txt?cross-origin-fetch' because it violates the following Content Security Policy directive: "connect-src 'self'".
16:27:10.922 62167   
16:27:10.922 62167   CONSOLE ERROR: Fetch API cannot load http://web-platform.test:8001/common/redirect-opt-in.py?status=307&location=http://www.web-platform.test:8081/common/text-plain.txt?cross-origin-fetch. Redirect failed.
16:27:10.922 62167   CONSOLE ERROR: Refused to connect to 'http://www.web-platform.test:8081/common/text-plain.txt?cross-origin-fetch' because it violates the following Content Security Policy directive: "connect-src 'self'".
16:27:10.922 62167   
16:27:10.922 62167   CONSOLE ERROR: Fetch API cannot load http://web-platform.test:8001/common/redirect-opt-in.py?status=307&location=http://www.web-platform.test:8081/common/text-plain.txt?cross-origin-fetch. Redirect failed.
16:27:10.930 62120 [2016/5363] external/wpt/content-security-policy/inside-worker/dedicated-inheritance.html failed unexpectedly (asserts failed)
16:27:10.923 62167 worker/6 external/wpt/content-security-policy/inside-worker/dedicated-inheritance.html failed:
16:27:10.923 62167 worker/6  asserts failed
 
Components: -Blink Blink>Infra>Ecosystem Blink>SecurityFeature>ContentSecurityPolicy
Console warnings/errors in stderr might not be a problem (but could be related; need to check whether these errors existed before). The test fails because of harness error (despite that all subtests pass), which is weird:
https://test-results.appspot.com/data/layout_results/WebKit_Mac10_10/46222/layout-test-results/results.html
Harness Error. harness_status.status = 1 , harness_status.message = Error in remote: [object Event]


The roll (r553324) introduced some upstream changes in wptserve, which might be related.

We need that roll because of a new feature (https://github.com/w3c/web-platform-tests/pull/10599). If we don't roll it in, a bunch of new tests would block the import. Besides, it's always good to keep in sync with the upstream (i.e. I suspect this flake might also present in WPT's ToT).

Let me quickly mark this test as flaky and we'll investigate tomorrow.
Project Member

Comment 2 by bugdroid1@chromium.org, Apr 25 2018

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/b94c8b2ccbb4504ef07aac85e4673dc8dedc6029

commit b94c8b2ccbb4504ef07aac85e4673dc8dedc6029
Author: Robert Ma <robertma@chromium.org>
Date: Wed Apr 25 03:18:55 2018

Temporarily mark a CSP WPT as flaky

external/wpt/content-security-policy/inside-worker/dedicated-inheritance.html

TBR=thestig

Bug:  836627 
Change-Id: I2cfb34b295cfcbcbecfac15e414eab20a36bea66
Reviewed-on: https://chromium-review.googlesource.com/1027009
Reviewed-by: Robert Ma <robertma@chromium.org>
Commit-Queue: Robert Ma <robertma@chromium.org>
Cr-Commit-Position: refs/heads/master@{#553437}
[modify] https://crrev.com/b94c8b2ccbb4504ef07aac85e4673dc8dedc6029/third_party/WebKit/LayoutTests/TestExpectations

Project Member

Comment 3 by bugdroid1@chromium.org, Apr 25 2018

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/352667fc30715ae5db67f483d3bec8e194fda8b3

commit 352667fc30715ae5db67f483d3bec8e194fda8b3
Author: Matt Falkenhagen <falken@chromium.org>
Date: Wed Apr 25 07:25:37 2018

Gardening: Temporarily mark another CSP WPT as flaky.

r553437 added one for dedicated-inheritance.html, but shared is also
flaky:
external/wpt/content-security-policy/inside-worker/shared-inheritance.html

Bug:  836627 
Change-Id: I84be5f95c0b1a2aa267ed76c849bb98f4b4b5dcd
TBR: robertma
NOTRY: true
Reviewed-on: https://chromium-review.googlesource.com/1027213
Commit-Queue: Matt Falkenhagen <falken@chromium.org>
Reviewed-by: Matt Falkenhagen <falken@chromium.org>
Cr-Commit-Position: refs/heads/master@{#553475}
[modify] https://crrev.com/352667fc30715ae5db67f483d3bec8e194fda8b3/third_party/WebKit/LayoutTests/TestExpectations

Comment 4 by foolip@chromium.org, Apr 25 2018

That harness error does seem odd. "Error in remote" is from https://github.com/w3c/web-platform-tests/blob/d258fe90d63872a39ea6c3b59074810c01bbf862/resources/testharness.js#L1747 but I can't see in https://github.com/w3c/web-platform-tests/blob/master/content-security-policy/inside-worker/support/connect-src-self.sub.js what would cause in, in particular I don't see missing step_func wrapping.
Labels: -Pri-3 Pri-2
Observed another similar harness error in external/wpt/content-security-policy/inside-worker/dedicated-script.html:

https://chromium-review.googlesource.com/c/chromium/src/+/1027903/3/third_party/WebKit/LayoutTests/platform/mac-retina/external/wpt/content-security-policy/inside-worker/dedicated-script-expected.txt

Comment 6 by jochen@chromium.org, Apr 26 2018

Cc: mkwst@chromium.org
Owner: andypaicu@chromium.org
Status: Assigned (was: Untriaged)
Project Member

Comment 7 by bugdroid1@chromium.org, Apr 26 2018

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/b0159357bc273279b9e0195d1a2e7680152073ac

commit b0159357bc273279b9e0195d1a2e7680152073ac
Author: Max Morin <maxmorin@chromium.org>
Date: Thu Apr 26 10:31:13 2018

Mark inside-worker/dedicated-script-expected.txt flaky

Tbr: robertma
Bug:  836627 
Change-Id: I956f30dcc13087ee16a655102d8bbd706dab296e
Reviewed-on: https://chromium-review.googlesource.com/1029953
Commit-Queue: Max Morin <maxmorin@chromium.org>
Reviewed-by: Max Morin <maxmorin@chromium.org>
Cr-Commit-Position: refs/heads/master@{#553972}
[modify] https://crrev.com/b0159357bc273279b9e0195d1a2e7680152073ac/third_party/WebKit/LayoutTests/TestExpectations

Mergedinto: 837213
Status: Duplicate (was: Assigned)
I think  issue 837213  is the root cause. Merging.

Filed an urgent upstream bug (https://github.com/w3c/web-platform-tests/issues/10667). Investigation is underway.
Project Member

Comment 9 by bugdroid1@chromium.org, May 1 2018

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/f648d48b5309253d4390a7e0b67f16f2a41ffaab

commit f648d48b5309253d4390a7e0b67f16f2a41ffaab
Author: Robert Ma <robertma@chromium.org>
Date: Tue May 01 17:34:54 2018

Remove a few expectations as the bug has been fixed

The 500 (IndexError) issue of wptserve has been fixed at r555035, so we
can remove all the related temporary expectations. Also remove some
redundant and incorrect baseline files which were created because of
the flake caused by the wptserve bug.

TBR=foolip

Bug:  837213 ,  836627 ,  836763 
Change-Id: Icbba544e32d2709c38083fc27528050e3107cf23
Reviewed-on: https://chromium-review.googlesource.com/1037204
Commit-Queue: Robert Ma <robertma@chromium.org>
Reviewed-by: Robert Ma <robertma@chromium.org>
Cr-Commit-Position: refs/heads/master@{#555093}
[modify] https://crrev.com/f648d48b5309253d4390a7e0b67f16f2a41ffaab/third_party/WebKit/LayoutTests/TestExpectations
[delete] https://crrev.com/d52a786549ed36ca97892e14d3897970cd3e92bb/third_party/WebKit/LayoutTests/platform/mac-mac10.10/external/wpt/content-security-policy/inside-worker/dedicated-script-expected.txt
[delete] https://crrev.com/d52a786549ed36ca97892e14d3897970cd3e92bb/third_party/WebKit/LayoutTests/platform/mac-mac10.11/external/wpt/content-security-policy/inside-worker/dedicated-script-expected.txt
[delete] https://crrev.com/d52a786549ed36ca97892e14d3897970cd3e92bb/third_party/WebKit/LayoutTests/platform/mac-retina/external/wpt/content-security-policy/inside-worker/dedicated-script-expected.txt
[delete] https://crrev.com/d52a786549ed36ca97892e14d3897970cd3e92bb/third_party/WebKit/LayoutTests/platform/mac/external/wpt/content-security-policy/inside-worker/dedicated-script-expected.txt

Sign in to add a comment