New issue
Advanced search Search tips

Issue 618616 link

Starred by 1 user

Issue metadata

Status: Fixed
Owner:
Closed: Dec 2016
Components:
EstimatedDays: ----
NextAction: ----
OS: ----
Pri: 2
Type: Bug



Sign in to add a comment

{{host}} returns 127.0.0.1 though the test origin is 'web-platform.test'

Project Member Reported by shimazu@chromium.org, Jun 9 2016

Issue description

I'm trying to run the web-platform-tests under service-workers by the following command after I imported the tests using update-w3c-deps.

./third_party/WebKit/Tools/Scripts/run-webkit-tests --enable-wptserve -t Release imported/wpt/service-workers/service-worker/navigation-redirec│
t.https.html


This gets the following error because the origin coming from '{{host}}' is '127.0.0.1' though the origin of the resource is 'web-platform.test'. 

== Error ==
This is a testharness.js-based test.
FAIL Clients.matchAll() should not show an old window as controlled after it navigates. assert_unreached: unregister should not fail: Failed to get a ServiceWorkerRegistration: The origin of the provided documentURL ('https://127.0.0.1:8444') does not match the current origin ('https://web-platform.test:8444'). Reached unreachable code
FAIL Clients.matchAll() should not show an old window after it navigates. assert_unreached: unregister should not fail: Failed to get a ServiceWorkerRegistration: The origin of the provided documentURL ('https://127.0.0.1:8444') does not match the current origin ('https://web-platform.test:8444'). Reached unreachable code
Harness: the test ran to completion.
========

I investigated the detail, and found 127.0.0.1 is set at /third_party/WebKit/Tools/Scripts/webkitpy/thirdparty/wpt/wpt.config.json
This "host" option should be removed to translate '{{host}}' correctly, but this causes an error because 'serve' tries to listen to the "host", and "web-platform.test" cannot be resolved by DNS unless /etc/hosts isn't modified.

Could you take a look?
 
Did the directory imported/wpt/service-workers/service-worker/ exist at some point? Or is this blocking them from getting imported?
I'd like to import the tests, and this is blocking for the tests to work correctly.
I tried the wpt locally, and I found many tests for the service workers could run correctly. So I'm triaging now (it's suspending now, though...).
Actually I can import them for now, but I don't because I don't want to add many lines to WPTServeExpectations.

FYI: I created a list to track the cause of failures: https://docs.google.com/spreadsheets/d/1ifxj5xdLpEZtk3gWpuNC9iQZFO_7VMRS3JD3qQDAPfY/edit#gid=1738128813


Project Member

Comment 3 by bugdroid1@chromium.org, Oct 20 2016

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

commit a4ed034738fe6c86c262e5cb0466b79ca84ab65f
Author: shimazu <shimazu@chromium.org>
Date: Thu Oct 20 04:43:34 2016

Import w3c tests for the service workers

This patch imports wpt tests @357b83b809e3cbc7a1805e7c3ca108a7980d782f. Many
failures are left as is, so we should file each bugs after this lands.

BUG= 602693 , 618616 , 624278 ,571722,617886
TEST=./third_party/WebKit/Tools/Scripts/run-webkit-tests -f -t Debug --enable-wptserve imported/wpt/service-workers

Review-Url: https://chromiumcodereview.appspot.com/2415873002
Cr-Commit-Position: refs/heads/master@{#426405}

[modify] https://crrev.com/a4ed034738fe6c86c262e5cb0466b79ca84ab65f/third_party/WebKit/LayoutTests/TestExpectations
[modify] https://crrev.com/a4ed034738fe6c86c262e5cb0466b79ca84ab65f/third_party/WebKit/LayoutTests/W3CImportExpectations
[modify] https://crrev.com/a4ed034738fe6c86c262e5cb0466b79ca84ab65f/third_party/WebKit/LayoutTests/WPTServeExpectations
[add] https://crrev.com/a4ed034738fe6c86c262e5cb0466b79ca84ab65f/third_party/WebKit/LayoutTests/imported/wpt/service-workers/service-worker/ServiceWorkerGlobalScope/registration-attribute.https.html
[add] https://crrev.com/a4ed034738fe6c86c262e5cb0466b79ca84ab65f/third_party/WebKit/LayoutTests/imported/wpt/service-workers/service-worker/ServiceWorkerGlobalScope/resources/registration-attribute-worker.js
[add] https://crrev.com/a4ed034738fe6c86c262e5cb0466b79ca84ab65f/third_party/WebKit/LayoutTests/imported/wpt/service-workers/service-worker/ServiceWorkerGlobalScope/resources/unregister-controlling-worker.html
[add] https://crrev.com/a4ed034738fe6c86c262e5cb0466b79ca84ab65f/third_party/WebKit/LayoutTests/imported/wpt/service-workers/service-worker/ServiceWorkerGlobalScope/resources/unregister-worker.js
[add] https://crrev.com/a4ed034738fe6c86c262e5cb0466b79ca84ab65f/third_party/WebKit/LayoutTests/imported/wpt/service-workers/service-worker/ServiceWorkerGlobalScope/resources/update-worker.js
[add] https://crrev.com/a4ed034738fe6c86c262e5cb0466b79ca84ab65f/third_party/WebKit/LayoutTests/imported/wpt/service-workers/service-worker/ServiceWorkerGlobalScope/resources/update-worker.py
[add] https://crrev.com/a4ed034738fe6c86c262e5cb0466b79ca84ab65f/third_party/WebKit/LayoutTests/imported/wpt/service-workers/service-worker/ServiceWorkerGlobalScope/unregister.https.html
[add] https://crrev.com/a4ed034738fe6c86c262e5cb0466b79ca84ab65f/third_party/WebKit/LayoutTests/imported/wpt/service-workers/service-worker/ServiceWorkerGlobalScope/update.https.html
[add] https://crrev.com/a4ed034738fe6c86c262e5cb0466b79ca84ab65f/third_party/WebKit/LayoutTests/imported/wpt/service-workers/service-worker/activate-event-after-install-state-change.https.html
[add] https://crrev.com/a4ed034738fe6c86c262e5cb0466b79ca84ab65f/third_party/WebKit/LayoutTests/imported/wpt/service-workers/service-worker/activation-after-registration.https.html
[add] https://crrev.com/a4ed034738fe6c86c262e5cb0466b79ca84ab65f/third_party/WebKit/LayoutTests/imported/wpt/service-workers/service-worker/activation.https.html
[add] https://crrev.com/a4ed034738fe6c86c262e5cb0466b79ca84ab65f/third_party/WebKit/LayoutTests/imported/wpt/service-workers/service-worker/active.https.html
[add] https://crrev.com/a4ed034738fe6c86c262e5cb0466b79ca84ab65f/third_party/WebKit/LayoutTests/imported/wpt/service-workers/service-worker/appcache-ordering-main.https.html
[add] https://crrev.com/a4ed034738fe6c86c262e5cb0466b79ca84ab65f/third_party/WebKit/LayoutTests/imported/wpt/service-workers/service-worker/claim-not-using-registration.https.html
[add] https://crrev.com/a4ed034738fe6c86c262e5cb0466b79ca84ab65f/third_party/WebKit/LayoutTests/imported/wpt/service-workers/service-worker/claim-using-registration.https.html
[add] https://crrev.com/a4ed034738fe6c86c262e5cb0466b79ca84ab65f/third_party/WebKit/LayoutTests/imported/wpt/service-workers/service-worker/client-navigate.https-expected.txt
[add] https://crrev.com/a4ed034738fe6c86c262e5cb0466b79ca84ab65f/third_party/WebKit/LayoutTests/imported/wpt/service-workers/service-worker/client-navigate.https.html
[add] https://crrev.com/a4ed034738fe6c86c262e5cb0466b79ca84ab65f/third_party/WebKit/LayoutTests/imported/wpt/service-workers/service-worker/clients-get-cross-origin.https-expected.txt
[add] https://crrev.com/a4ed034738fe6c86c262e5cb0466b79ca84ab65f/third_party/WebKit/LayoutTests/imported/wpt/service-workers/service-worker/clients-get-cross-origin.https.html
[add] https://crrev.com/a4ed034738fe6c86c262e5cb0466b79ca84ab65f/third_party/WebKit/LayoutTests/imported/wpt/service-workers/service-worker/clients-get.https.html
[add] https://crrev.com/a4ed034738fe6c86c262e5cb0466b79ca84ab65f/third_party/WebKit/LayoutTests/imported/wpt/service-workers/service-worker/clients-matchall-client-types.https-expected.txt
[add] https://crrev.com/a4ed034738fe6c86c262e5cb0466b79ca84ab65f/third_party/WebKit/LayoutTests/imported/wpt/service-workers/service-worker/clients-matchall-client-types.https.html
[add] https://crrev.com/a4ed034738fe6c86c262e5cb0466b79ca84ab65f/third_party/WebKit/LayoutTests/imported/wpt/service-workers/service-worker/clients-matchall-include-uncontrolled.https.html
[add] https://crrev.com/a4ed034738fe6c86c262e5cb0466b79ca84ab65f/third_party/WebKit/LayoutTests/imported/wpt/service-workers/service-worker/clients-matchall.https.html
[add] https://crrev.com/a4ed034738fe6c86c262e5cb0466b79ca84ab65f/third_party/WebKit/LayoutTests/imported/wpt/service-workers/service-worker/controller-on-disconnect.https-expected.txt
[add] https://crrev.com/a4ed034738fe6c86c262e5cb0466b79ca84ab65f/third_party/WebKit/LayoutTests/imported/wpt/service-workers/service-worker/controller-on-disconnect.https.html
[add] https://crrev.com/a4ed034738fe6c86c262e5cb0466b79ca84ab65f/third_party/WebKit/LayoutTests/imported/wpt/service-workers/service-worker/controller-on-load.https-expected.txt
[add] https://crrev.com/a4ed034738fe6c86c262e5cb0466b79ca84ab65f/third_party/WebKit/LayoutTests/imported/wpt/service-workers/service-worker/controller-on-load.https.html
[add] https://crrev.com/a4ed034738fe6c86c262e5cb0466b79ca84ab65f/third_party/WebKit/LayoutTests/imported/wpt/service-workers/service-worker/controller-on-reload.https-expected.txt
[add] https://crrev.com/a4ed034738fe6c86c262e5cb0466b79ca84ab65f/third_party/WebKit/LayoutTests/imported/wpt/service-workers/service-worker/controller-on-reload.https.html
[add] https://crrev.com/a4ed034738fe6c86c262e5cb0466b79ca84ab65f/third_party/WebKit/LayoutTests/imported/wpt/service-workers/service-worker/extendable-event-async-waituntil.https.html
[add] https://crrev.com/a4ed034738fe6c86c262e5cb0466b79ca84ab65f/third_party/WebKit/LayoutTests/imported/wpt/service-workers/service-worker/extendable-event-waituntil.https.html
[add] https://crrev.com/a4ed034738fe6c86c262e5cb0466b79ca84ab65f/third_party/WebKit/LayoutTests/imported/wpt/service-workers/service-worker/fetch-canvas-tainting-cache.https-expected.txt
[add] https://crrev.com/a4ed034738fe6c86c262e5cb0466b79ca84ab65f/third_party/WebKit/LayoutTests/imported/wpt/service-workers/service-worker/fetch-canvas-tainting-cache.https.html
[add] https://crrev.com/a4ed034738fe6c86c262e5cb0466b79ca84ab65f/third_party/WebKit/LayoutTests/imported/wpt/service-workers/service-worker/fetch-canvas-tainting.https-expected.txt
[add] https://crrev.com/a4ed034738fe6c86c262e5cb0466b79ca84ab65f/third_party/WebKit/LayoutTests/imported/wpt/service-workers/service-worker/fetch-canvas-tainting.https.html
[add] https://crrev.com/a4ed034738fe6c86c262e5cb0466b79ca84ab65f/third_party/WebKit/LayoutTests/imported/wpt/service-workers/service-worker/fetch-cors-xhr.https-expected.txt
[add] https://crrev.com/a4ed034738fe6c86c262e5cb0466b79ca84ab65f/third_party/WebKit/LayoutTests/imported/wpt/service-workers/service-worker/fetch-cors-xhr.https.html
[add] https://crrev.com/a4ed034738fe6c86c262e5cb0466b79ca84ab65f/third_party/WebKit/LayoutTests/imported/wpt/service-workers/service-worker/fetch-csp.https-expected.txt
[add] https://crrev.com/a4ed034738fe6c86c262e5cb0466b79ca84ab65f/third_party/WebKit/LayoutTests/imported/wpt/service-workers/service-worker/fetch-csp.https.html
[add] https://crrev.com/a4ed034738fe6c86c262e5cb0466b79ca84ab65f/third_party/WebKit/LayoutTests/imported/wpt/service-workers/service-worker/fetch-event-after-navigation-within-page.https.html
[add] https://crrev.com/a4ed034738fe6c86c262e5cb0466b79ca84ab65f/third_party/WebKit/LayoutTests/imported/wpt/service-workers/service-worker/fetch-event-async-respond-with.https-expected.txt
[add] https://crrev.com/a4ed034738fe6c86c262e5cb0466b79ca84ab65f/third_party/WebKit/LayoutTests/imported/wpt/service-workers/service-worker/fetch-event-async-respond-with.https.html
[add] https://crrev.com/a4ed034738fe6c86c262e5cb0466b79ca84ab65f/third_party/WebKit/LayoutTests/imported/wpt/service-workers/service-worker/fetch-event-network-error.https.html
[add] https://crrev.com/a4ed034738fe6c86c262e5cb0466b79ca84ab65f/third_party/WebKit/LayoutTests/imported/wpt/service-workers/service-worker/fetch-event-redirect.https.html
[add] https://crrev.com/a4ed034738fe6c86c262e5cb0466b79ca84ab65f/third_party/WebKit/LayoutTests/imported/wpt/service-workers/service-worker/fetch-event-respond-with-stops-propagation.https-expected.txt
[add] https://crrev.com/a4ed034738fe6c86c262e5cb0466b79ca84ab65f/third_party/WebKit/LayoutTests/imported/wpt/service-workers/service-worker/fetch-event-respond-with-stops-propagation.https.html
[add] https://crrev.com/a4ed034738fe6c86c262e5cb0466b79ca84ab65f/third_party/WebKit/LayoutTests/imported/wpt/service-workers/service-worker/fetch-event.https-expected.txt
[add] https://crrev.com/a4ed034738fe6c86c262e5cb0466b79ca84ab65f/third_party/WebKit/LayoutTests/imported/wpt/service-workers/service-worker/fetch-event.https.html
[add] https://crrev.com/a4ed034738fe6c86c262e5cb0466b79ca84ab65f/third_party/WebKit/LayoutTests/imported/wpt/service-workers/service-worker/fetch-frame-resource.https.html
[add] https://crrev.com/a4ed034738fe6c86c262e5cb0466b79ca84ab65f/third_party/WebKit/LayoutTests/imported/wpt/service-workers/service-worker/fetch-header-visibility.https-expected.txt
[add] https://crrev.com/a4ed034738fe6c86c262e5cb0466b79ca84ab65f/third_party/WebKit/LayoutTests/imported/wpt/service-workers/service-worker/fetch-header-visibility.https.html
[add] https://crrev.com/a4ed034738fe6c86c262e5cb0466b79ca84ab65f/third_party/WebKit/LayoutTests/imported/wpt/service-workers/service-worker/fetch-mixed-content-to-inscope.https.html
[add] https://crrev.com/a4ed034738fe6c86c262e5cb0466b79ca84ab65f/third_party/WebKit/LayoutTests/imported/wpt/service-workers/service-worker/fetch-mixed-content-to-outscope.https.html
[add] https://crrev.com/a4ed034738fe6c86c262e5cb0466b79ca84ab65f/third_party/WebKit/LayoutTests/imported/wpt/service-workers/service-worker/fetch-request-css-base-url.https-expected.txt
[add] https://crrev.com/a4ed034738fe6c86c262e5cb0466b79ca84ab65f/third_party/WebKit/LayoutTests/imported/wpt/service-workers/service-worker/fetch-request-css-base-url.https.html
[add] https://crrev.com/a4ed034738fe6c86c262e5cb0466b79ca84ab65f/third_party/WebKit/LayoutTests/imported/wpt/service-workers/service-worker/fetch-request-css-images.https.html
[add] https://crrev.com/a4ed034738fe6c86c262e5cb0466b79ca84ab65f/third_party/WebKit/LayoutTests/imported/wpt/service-workers/service-worker/fetch-request-fallback.https-expected.txt
[add] https://crrev.com/a4ed034738fe6c86c262e5cb0466b79ca84ab65f/third_party/WebKit/LayoutTests/imported/wpt/service-workers/service-worker/fetch-request-fallback.https.html
[add] https://crrev.com/a4ed034738fe6c86c262e5cb0466b79ca84ab65f/third_party/WebKit/LayoutTests/imported/wpt/service-workers/service-worker/fetch-request-no-freshness-headers.https.html
[add] https://crrev.com/a4ed034738fe6c86c262e5cb0466b79ca84ab65f/third_party/WebKit/LayoutTests/imported/wpt/service-workers/service-worker/fetch-request-redirect.https-expected.txt
[add] https://crrev.com/a4ed034738fe6c86c262e5cb0466b79ca84ab65f/third_party/WebKit/LayoutTests/imported/wpt/service-workers/service-worker/fetch-request-redirect.https.html
[add] https://crrev.com/a4ed034738fe6c86c262e5cb0466b79ca84ab65f/third_party/WebKit/LayoutTests/imported/wpt/service-workers/service-worker/fetch-request-resources.https-expected.txt
[add] https://crrev.com/a4ed034738fe6c86c262e5cb0466b79ca84ab65f/third_party/WebKit/LayoutTests/imported/wpt/service-workers/service-worker/fetch-request-resources.https.html
[add] https://crrev.com/a4ed034738fe6c86c262e5cb0466b79ca84ab65f/third_party/WebKit/LayoutTests/imported/wpt/service-workers/service-worker/fetch-request-xhr.https-expected.txt
[add] https://crrev.com/a4ed034738fe6c86c262e5cb0466b79ca84ab65f/third_party/WebKit/LayoutTests/imported/wpt/service-workers/service-worker/fetch-request-xhr.https.html
[add] https://crrev.com/a4ed034738fe6c86c262e5cb0466b79ca84ab65f/third_party/WebKit/LayoutTests/imported/wpt/service-workers/service-worker/fetch-response-xhr.https-expected.txt
[add] https://crrev.com/a4ed034738fe6c86c262e5cb0466b79ca84ab65f/third_party/WebKit/LayoutTests/imported/wpt/service-workers/service-worker/fetch-response-xhr.https.html
[add] https://crrev.com/a4ed034738fe6c86c262e5cb0466b79ca84ab65f/third_party/WebKit/LayoutTests/imported/wpt/service-workers/service-worker/fetch-waits-for-activate.https.html
[add] https://crrev.com/a4ed034738fe6c86c262e5cb0466b79ca84ab65f/third_party/WebKit/LayoutTests/imported/wpt/service-workers/service-worker/getregistration.https.html
[add] https://crrev.com/a4ed034738fe6c86c262e5cb0466b79ca84ab65f/third_party/WebKit/LayoutTests/imported/wpt/service-workers/service-worker/getregistrations.https-expected.txt
[add] https://crrev.com/a4ed034738fe6c86c262e5cb0466b79ca84ab65f/third_party/WebKit/LayoutTests/imported/wpt/service-workers/service-worker/getregistrations.https.html
[add] https://crrev.com/a4ed034738fe6c86c262e5cb0466b79ca84ab65f/third_party/WebKit/LayoutTests/imported/wpt/service-workers/service-worker/indexeddb.https.html
[add] https://crrev.com/a4ed034738fe6c86c262e5cb0466b79ca84ab65f/third_party/WebKit/LayoutTests/imported/wpt/service-workers/service-worker/install-event-type.https.html
[add] https://crrev.com/a4ed034738fe6c86c262e5cb0466b79ca84ab65f/third_party/WebKit/LayoutTests/imported/wpt/service-workers/service-worker/installing.https.html
[add] https://crrev.com/a4ed034738fe6c86c262e5cb0466b79ca84ab65f/third_party/WebKit/LayoutTests/imported/wpt/service-workers/service-worker/interfaces.https.html
[add] https://crrev.com/a4ed034738fe6c86c262e5cb0466b79ca84ab65f/third_party/WebKit/LayoutTests/imported/wpt/service-workers/service-worker/invalid-blobtype.https-expected.txt
[add] https://crrev.com/a4ed034738fe6c86c262e5cb0466b79ca84ab65f/third_party/WebKit/LayoutTests/imported/wpt/service-workers/service-worker/invalid-blobtype.https.html
[add] https://crrev.com/a4ed034738fe6c86c262e5cb0466b79ca84ab65f/third_party/WebKit/LayoutTests/imported/wpt/service-workers/service-worker/invalid-header.https-expected.txt
[add] https://crrev.com/a4ed034738fe6c86c262e5cb0466b79ca84ab65f/third_party/WebKit/LayoutTests/imported/wpt/service-workers/service-worker/invalid-header.https.html
[add] https://crrev.com/a4ed034738fe6c86c262e5cb0466b79ca84ab65f/third_party/WebKit/LayoutTests/imported/wpt/service-workers/service-worker/multiple-register.https.html
[add] https://crrev.com/a4ed034738fe6c86c262e5cb0466b79ca84ab65f/third_party/WebKit/LayoutTests/imported/wpt/service-workers/service-worker/multiple-update.https.html
[add] https://crrev.com/a4ed034738fe6c86c262e5cb0466b79ca84ab65f/third_party/WebKit/LayoutTests/imported/wpt/service-workers/service-worker/navigate-window.https-expected.txt
[add] https://crrev.com/a4ed034738fe6c86c262e5cb0466b79ca84ab65f/third_party/WebKit/LayoutTests/imported/wpt/service-workers/service-worker/navigate-window.https.html
[add] https://crrev.com/a4ed034738fe6c86c262e5cb0466b79ca84ab65f/third_party/WebKit/LayoutTests/imported/wpt/service-workers/service-worker/navigation-redirect.https-expected.txt
[add] https://crrev.com/a4ed034738fe6c86c262e5cb0466b79ca84ab65f/third_party/WebKit/LayoutTests/imported/wpt/service-workers/service-worker/navigation-redirect.https.html
[add] https://crrev.com/a4ed034738fe6c86c262e5cb0466b79ca84ab65f/third_party/WebKit/LayoutTests/imported/wpt/service-workers/service-worker/onactivate-script-error.https.html
[add] https://crrev.com/a4ed034738fe6c86c262e5cb0466b79ca84ab65f/third_party/WebKit/LayoutTests/imported/wpt/service-workers/service-worker/oninstall-script-error.https.html
[add] https://crrev.com/a4ed034738fe6c86c262e5cb0466b79ca84ab65f/third_party/WebKit/LayoutTests/imported/wpt/service-workers/service-worker/performance-timeline.https-expected.txt
[add] https://crrev.com/a4ed034738fe6c86c262e5cb0466b79ca84ab65f/third_party/WebKit/LayoutTests/imported/wpt/service-workers/service-worker/performance-timeline.https.html
[add] https://crrev.com/a4ed034738fe6c86c262e5cb0466b79ca84ab65f/third_party/WebKit/LayoutTests/imported/wpt/service-workers/service-worker/postmessage-msgport-to-client.https.html
[add] https://crrev.com/a4ed034738fe6c86c262e5cb0466b79ca84ab65f/third_party/WebKit/LayoutTests/imported/wpt/service-workers/service-worker/postmessage-to-client.https-expected.txt
[add] https://crrev.com/a4ed034738fe6c86c262e5cb0466b79ca84ab65f/third_party/WebKit/LayoutTests/imported/wpt/service-workers/service-worker/postmessage-to-client.https.html
[add] https://crrev.com/a4ed034738fe6c86c262e5cb0466b79ca84ab65f/third_party/WebKit/LayoutTests/imported/wpt/service-workers/service-worker/postmessage.https.html
[add] https://crrev.com/a4ed034738fe6c86c262e5cb0466b79ca84ab65f/third_party/WebKit/LayoutTests/imported/wpt/service-workers/service-worker/ready.https.html
[add] https://crrev.com/a4ed034738fe6c86c262e5cb0466b79ca84ab65f/third_party/WebKit/LayoutTests/imported/wpt/service-workers/service-worker/referer.https-expected.txt
[add] https://crrev.com/a4ed034738fe6c86c262e5cb0466b79ca84ab65f/third_party/WebKit/LayoutTests/imported/wpt/service-workers/service-worker/referer.https.html
[add] https://crrev.com/a4ed034738fe6c86c262e5cb0466b79ca84ab65f/third_party/WebKit/LayoutTests/imported/wpt/service-workers/service-worker/register-closed-window.https.html
[add] https://crrev.com/a4ed034738fe6c86c262e5cb0466b79ca84ab65f/third_party/WebKit/LayoutTests/imported/wpt/service-workers/service-worker/register-default-scope.https.html
[add] https://crrev.com/a4ed034738fe6c86c262e5cb0466b79ca84ab65f/third_party/WebKit/LayoutTests/imported/wpt/service-workers/service-worker/register-same-scope-different-script-url.https.html
[add] https://crrev.com/a4ed034738fe6c86c262e5cb0466b79ca84ab65f/third_party/WebKit/LayoutTests/imported/wpt/service-workers/service-worker/register-wait-forever-in-install-worker.https-expected.txt
[add] https://crrev.com/a4ed034738fe6c86c262e5cb0466b79ca84ab65f/third_party/WebKit/LayoutTests/imported/wpt/service-workers/service-worker/register-wait-forever-in-install-worker.https.html
[add] https://crrev.com/a4ed034738fe6c86c262e5cb0466b79ca84ab65f/third_party/WebKit/LayoutTests/imported/wpt/service-workers/service-worker/registration-end-to-end.https.html
[add] https://crrev.com/a4ed034738fe6c86c262e5cb0466b79ca84ab65f/third_party/WebKit/LayoutTests/imported/wpt/service-workers/service-worker/registration-events.https.html
[add] https://crrev.com/a4ed034738fe6c86c262e5cb0466b79ca84ab65f/third_party/WebKit/LayoutTests/imported/wpt/service-workers/service-worker/registration-iframe.https.html
[add] https://crrev.com/a4ed034738fe6c86c262e5cb0466b79ca84ab65f/third_party/WebKit/LayoutTests/imported/wpt/service-workers/service-worker/registration-service-worker-attributes.https.html
[add] https://crrev.com/a4ed034738fe6c86c262e5cb0466b79ca84ab65f/third_party/WebKit/LayoutTests/imported/wpt/service-workers/service-worker/registration.https.html
[add] https://crrev.com/a4ed034738fe6c86c262e5cb0466b79ca84ab65f/third_party/WebKit/LayoutTests/imported/wpt/service-workers/service-worker/rejections.https.html
[add] https://crrev.com/a4ed034738fe6c86c262e5cb0466b79ca84ab65f/third_party/WebKit/LayoutTests/imported/wpt/service-workers/service-worker/request-end-to-end.https-expected.txt
[add] https://crrev.com/a4ed034738fe6c86c262e5cb0466b79ca84ab65f/third_party/WebKit/LayoutTests/imported/wpt/service-workers/service-worker/request-end-to-end.https.html
[add] https://crrev.com/a4ed034738fe6c86c262e5cb0466b79ca84ab65f/third_party/WebKit/LayoutTests/imported/wpt/service-workers/service-worker/resource-timing.https-expected.txt
[add] https://crrev.com/a4ed034738fe6c86c262e5cb0466b79ca84ab65f/third_party/WebKit/LayoutTests/imported/wpt/service-workers/service-worker/resource-timing.https.html
[add] https://crrev.com/a4ed034738fe6c86c262e5cb0466b79ca84ab65f/third_party/WebKit/LayoutTests/imported/wpt/service-workers/service-worker/resources/404.py
[add] https://crrev.com/a4ed034738fe6c86c262e5cb0466b79ca84ab65f/third_party/WebKit/LayoutTests/imported/wpt/service-workers/service-worker/resources/appcache-ordering.install.html
[add] https://crrev.com/a4ed034738fe6c86c262e5cb0466b79ca84ab65f/third_party/WebKit/LayoutTests/imported/wpt/service-workers/service-worker/resources/appcache-ordering.is-appcached.html
[add] https://crrev.com/a4ed034738fe6c86c262e5cb0466b79ca84ab65f/third_party/WebKit/LayoutTests/imported/wpt/service-workers/service-worker/resources/appcache-ordering.is-appcached.js
[add] https://crrev.com/a4ed034738fe6c86c262e5cb0466b79ca84ab65f/third_party/WebKit/LayoutTests/imported/wpt/service-workers/service-worker/resources/appcache-ordering.manifest
[add] https://crrev.com/a4ed034738fe6c86c262e5cb0466b79ca84ab65f/third_party/WebKit/LayoutTests/imported/wpt/service-workers/service-worker/resources/blank.html
[add] https://crrev.com/a4ed034738fe6c86c262e5cb0466b79ca84ab65f/third_party/WebKit/LayoutTests/imported/wpt/service-workers/service-worker/resources/claim-worker.js
[add] https://crrev.com/a4ed034738fe6c86c262e5cb0466b79ca84ab65f/third_party/WebKit/LayoutTests/imported/wpt/service-workers/service-worker/resources/client-navigate-frame.html
[add] https://crrev.com/a4ed034738fe6c86c262e5cb0466b79ca84ab65f/third_party/WebKit/LayoutTests/imported/wpt/service-workers/service-worker/resources/client-navigate-worker.js
[add] https://crrev.com/a4ed034738fe6c86c262e5cb0466b79ca84ab65f/third_party/WebKit/LayoutTests/imported/wpt/service-workers/service-worker/resources/client-navigated-frame.html
[add] https://crrev.com/a4ed034738fe6c86c262e5cb0466b79ca84ab65f/third_party/WebKit/LayoutTests/imported/wpt/service-workers/service-worker/resources/clients-get-frame.html
[add] https://crrev.com/a4ed034738fe6c86c262e5cb0466b79ca84ab65f/third_party/WebKit/LayoutTests/imported/wpt/service-workers/service-worker/resources/clients-get-other-origin.html
[add] https://crrev.com/a4ed034738fe6c86c262e5cb0466b79ca84ab65f/third_party/WebKit/LayoutTests/imported/wpt/service-workers/service-worker/resources/clients-get-worker.js
[add] https://crrev.com/a4ed034738fe6c86c262e5cb0466b79ca84ab65f/third_party/WebKit/LayoutTests/imported/wpt/service-workers/service-worker/resources/clients-matchall-client-types-iframe.html
[add] https://crrev.com/a4ed034738fe6c86c262e5cb0466b79ca84ab65f/third_party/WebKit/LayoutTests/imported/wpt/service-workers/service-worker/resources/clients-matchall-client-types-shared-worker.js
[add] https://crrev.com/a4ed034738fe6c86c262e5cb0466b79ca84ab65f/third_party/WebKit/LayoutTests/imported/wpt/service-workers/service-worker/resources/clients-matchall-worker.js
[add] https://crrev.com/a4ed034738fe6c86c262e5cb0466b79ca84ab65f/third_party/WebKit/LayoutTests/imported/wpt/service-workers/service-worker/resources/dummy-shared-worker-interceptor.js
[add] https://crrev.com/a4ed034738fe6c86c262e5cb0466b79ca84ab65f/third_party/WebKit/LayoutTests/imported/wpt/service-workers/service-worker/resources/dummy-worker-interceptor.js
[add] https://crrev.com/a4ed034738fe6c86c262e5cb0466b79ca84ab65f/third_party/WebKit/LayoutTests/imported/wpt/service-workers/service-worker/resources/dummy-worker-script.py
[add] https://crrev.com/a4ed034738fe6c86c262e5cb0466b79ca84ab65f/third_party/WebKit/LayoutTests/imported/wpt/service-workers/service-worker/resources/dummy.html
[add] https://crrev.com/a4ed034738fe6c86c262e5cb0466b79ca84ab65f/third_party/WebKit/LayoutTests/imported/wpt/service-workers/service-worker/resources/dummy.txt
Project Member

Comment 4 by bugdroid1@chromium.org, Oct 24 2016

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

commit 6a97fb88d5ad4c437c60562d0083a87b898547a4
Author: shimazu <shimazu@chromium.org>
Date: Mon Oct 24 02:57:12 2016

Update expectations of imported/wpt/service-workers

As mentioned at  https://crbug.com/602693#c17  and  https://crbug.com/657869 ,
'[ Skip ]' in TestExpectations cannot be overwritten by WPTTestExpectations.
This patch changes '[ Skip ]' to '[ Failure ]' by default in TestExpectations
in order to run the w3c tests on WPTServe bots.

BUG= 602693 , 453190 , 624278 ,617886,571722, 618616 
TEST=./third_party/WebKit/Tools/Scripts/run-webkit-tests -f -t Debug imported/wpt/service-workers
TEST=./third_party/WebKit/Tools/Scripts/run-webkit-tests --enable-wptserve -f -t Debug imported/wpt/service-workers

Review-Url: https://codereview.chromium.org/2441963002
Cr-Commit-Position: refs/heads/master@{#427010}

[modify] https://crrev.com/6a97fb88d5ad4c437c60562d0083a87b898547a4/third_party/WebKit/LayoutTests/TestExpectations
[modify] https://crrev.com/6a97fb88d5ad4c437c60562d0083a87b898547a4/third_party/WebKit/LayoutTests/WPTServeExpectations

Project Member

Comment 5 by bugdroid1@chromium.org, Nov 30 2016

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

commit 49b6e7f1a76cbf5c881fe1579a07c478e44f249e
Author: battre <battre@chromium.org>
Date: Wed Nov 30 11:10:21 2016

Mark imported/wpt/service-workers/.../fetch-mixed-content-to* as timeout

These tests time out on the build bots again.

BUG= 618616 
TBR=dpranke@chromium.org

Review-Url: https://codereview.chromium.org/2541013002
Cr-Commit-Position: refs/heads/master@{#435213}

[modify] https://crrev.com/49b6e7f1a76cbf5c881fe1579a07c478e44f249e/third_party/WebKit/LayoutTests/TestExpectations

Comment 6 by mek@chromium.org, Dec 8 2016

Owner: mek@chromium.org
Status: Started (was: Untriaged)
Running into this myself while trying to import the webmessaging tests. There isn't actually a problem with webplatform.test not being able to be resolved; content_shell (mostly) correctly resolves all these hostnames to 127.0.0.1 anyway, even without any hosts or DNS changes. It's serve.py that for some reason incorrectly tries to resolve the hostname as well (I'm saying incorrectly, because we're also passing "bind_hostname": false in our configuration, which should stop serve.py from actually trying to bind anything to the hostname). But with a small fix to wpt's serve.py (https://github.com/w3c/wpt-tools/pull/143) things start working correctly as far as I can tell (at least locally, without any /etc/hosts entries, for some number of tests that i tried)

Comment 7 by mek@chromium.org, Dec 8 2016

Actually, we're not passing bind_hostname: false yet, but if we do and get rid of our host override things mostly work (and with said change to serve.py I expect things to fully work).

Comment 9 by mek@chromium.org, Dec 9 2016

Status: Fixed (was: Started)
This should now be fixed.

Sign in to add a comment