Closed Bug 1180638 Opened 5 years ago Closed 4 years ago

[meta] "Harness status: ERROR" when running wpt Service Workers test suite

Categories

(Testing :: web-platform-tests, defect)

defect
Not set

Tracking

(firefox42 affected)

RESOLVED FIXED
Tracking Status
firefox42 --- affected

People

(Reporter: noemi, Unassigned)

References

Details

1- "fetch-request-no-freshness-headers.https.html" test
* TypeError: event.request.headers[Symbol.iterator] is not a function
* 1 Pass
* Traces: https://pastebin.mozilla.org/8838607

2- "getregistrations.sub.html" test
* ReferenceError: sequential_promise_test is not defined
* Found 0 tests
* Traces: https://pastebin.mozilla.org/8838608

3- "request-end-to-end.https.html" test
* TypeError: e.request.headers[Symbol.iterator] is not a function
* Found 1 test
* 1 Timeout:
** "Request: end-to-end" test -> timed out
* Traces: https://pastebin.mozilla.org/8838599

4- "install-event-type.https.html" test
* Error: assert_false: expected false got true
* Found 1 test:
** install event type assert_true: The worker was installed expected true got false
@https://web-platform.test:8443/_mozilla/service-workers/service-worker/install-event-type.https.html:26:12 Promise*@https://web-platform.test:8443/_mozilla/service-workers/service-worker/install-event-type.https.html:21:14 Test.prototype.step@https://web-platform.test:8443/resources/testharness.js:1363:20 promise_test@https://web-platform.test:8443/resources/testharness.js:520:25 @https://web-platform.test:8443/_mozilla/service-workers/service-worker/install-event-type.https.html:18:1 
* Traces: https://pastebin.mozilla.org/8838610

5- "onactivate-script-error.https.html" test
* Error: error at level 1
* Found 5 tests
* 5 Fail:
** activate handler throws an error promise_test: Unhandled rejection with value: object "TypeError: worker is null"
make_test@https://web-platform.test:8443/_mozilla/service-workers/service-worker/onactivate-script-error.https.html:30:1 @https://web-platform.test:8443/_mozilla/service-workers/service-worker/onactivate-script-error.https.html:67:5 @https://web-platform.test:8443/_mozilla/service-workers/service-worker/onactivate-script-error.https.html:45:1 
** activate handler throws an error, error handler does not cancel	promise_test: Unhandled rejection with value: object "TypeError: worker is null"
make_test@https://web-platform.test:8443/_mozilla/service-workers/service-worker/onactivate-script-error.https.html:30:1 @https://web-platform.test:8443/_mozilla/service-workers/service-worker/onactivate-script-error.https.html:67:5 @https://web-platform.test:8443/_mozilla/service-workers/service-worker/onactivate-script-error.https.html:45:1 
** activate handler dispatches an event that throws an error promise_test: Unhandled rejection with value: object "TypeError: worker is null"
make_test@https://web-platform.test:8443/_mozilla/service-workers/service-worker/onactivate-script-error.https.html:30:1 @https://web-platform.test:8443/_mozilla/service-workers/service-worker/onactivate-script-error.https.html:67:5 @https://web-platform.test:8443/_mozilla/service-workers/service-worker/onactivate-script-error.https.html:45:1 
** activate handler throws an error that is cancelled promise_test: Unhandled rejection with value: object "TypeError: worker is null"
make_test@https://web-platform.test:8443/_mozilla/service-workers/service-worker/onactivate-script-error.https.html:30:1 @https://web-platform.test:8443/_mozilla/service-workers/service-worker/onactivate-script-error.https.html:67:5 @https://web-platform.test:8443/_mozilla/service-workers/service-worker/onactivate-script-error.https.html:45:1 
** activate handler throws an error and prevents default promise_test: Unhandled rejection with value: object "TypeError: worker is null"
make_test@https://web-platform.test:8443/_mozilla/service-workers/service-worker/onactivate-script-error.https.html:30:1 @https://web-platform.test:8443/_mozilla/service-workers/service-worker/onactivate-script-error.https.html:67:5 @https://web-platform.test:8443/_mozilla/service-workers/service-worker/onactivate-script-error.https.html:45:1 
* Traces: https://pastebin.mozilla.org/8838613

6- "oninstall-script-error.https.html" test
* Error: error at level 1
* Found 5 tests
* 3 Pass
* 2 Fail:
** install handler throws an error that is cancelled -> assert_equals: The worker was installed expected true but got false
make_test/</<@https://web-platform.test:8443/_mozilla/service-workers/service-worker/oninstall-script-error.https.html:26:1 Promise*make_test/<@https://web-platform.test:8443/_mozilla/service-workers/service-worker/oninstall-script-error.https.html:21:14 Test.prototype.step@https://web-platform.test:8443/resources/testharness.js:1363:20 promise_test@https://web-platform.test:8443/resources/testharness.js:520:25 make_test@https://web-platform.test:8443/_mozilla/service-workers/service-worker/oninstall-script-error.https.html:19:1 @https://web-platform.test:8443/_mozilla/service-workers/service-worker/oninstall-script-error.https.html:59:5 @https://web-platform.test:8443/_mozilla/service-workers/service-worker/oninstall-script-error.https.html:32:1 
** install handler throws an error and prevents default	-> assert_equals: The worker was installed expected true but got false
make_test/</<@https://web-platform.test:8443/_mozilla/service-workers/service-worker/oninstall-script-error.https.html:26:1 Promise*make_test/<@https://web-platform.test:8443/_mozilla/service-workers/service-worker/oninstall-script-error.https.html:21:14 Test.prototype.step@https://web-platform.test:8443/resources/testharness.js:1363:20 promise_test@https://web-platform.test:8443/resources/testharness.js:520:25 make_test@https://web-platform.test:8443/_mozilla/service-workers/service-worker/oninstall-script-error.https.html:19:1 @https://web-platform.test:8443/_mozilla/service-workers/service-worker/oninstall-script-error.https.html:59:5 @https://web-platform.test:8443/_mozilla/service-workers/service-worker/oninstall-script-error.https.html:32:1 
* Traces: https://pastebin.mozilla.org/8838614

7- "request-end-to-end.https.html" test
* TypeError: e.request.headers[Symbol.iterator] is not a function
* Found 1 test
* 1 Timeout:
** "Request: end-to-end" test -> timed out
* Traces: https://pastebin.mozilla.org/8838615

8- "shared-worker-controlled.https.html" test
* Error: Script file not found: import-dummy-shared-worker.js
* Found 3 tests
* 1 Fail:
** Verify subresource loads in SharedWorker are controlled by a Service Worker -> assert_equals: expected "intercepted by service worker" but got "{\"error\": {\"message\": \"\", \"code\": 404}}"
@https://web-platform.test:8443/_mozilla/service-workers/service-worker/shared-worker-controlled.https.html:26:11 Promise*@https://web-platform.test:8443/_mozilla/service-workers/service-worker/shared-worker-controlled.https.html:13:12 Test.prototype.step@https://web-platform.test:8443/resources/testharness.js:1363:20 promise_test@https://web-platform.test:8443/resources/testharness.js:520:25 @https://web-platform.test:8443/_mozilla/service-workers/service-worker/shared-worker-controlled.https.html:8:1 
* 2 Timeout:
** "Verify SharedWorker construction is controlled by a Service Worker" test -> timed out
** "Verify importScripts from SharedWorker is controlled by a Service Worker" test -> timed out
* Traces: https://pastebin.mozilla.org/8838600

9- "synced-state.https.html" test
* Error: assert_equals: in activated .active should be activated expected "activated" but got "activating"
* Found 1 test
* 1 Timeout:
** "worker objects for the same entity have the same state" test -> timed out
*Traces: https://pastebin.mozilla.org/8838601
I forgot to mention that the tests above have been run with today's (7/6) master build such as |./mach web-platform-tests _mozilla/service-workers/service-worker/test_name.html| and have raised "Harness status: ERROR"
Blocks: 1189023
No longer blocks: ServiceWorkers-v1
marking this bug as "meta", independent bugs per issue will be created to make them more actionable. Thanks!
Component: DOM: Service Workers → web-platform-tests
Product: Core → Testing
Summary: "Harness status: ERROR" when running wpt Service Workers test suite → [meta] "Harness status: ERROR" when running wpt Service Workers test suite
Depends on: 1189670
Depends on: 1189671
Depends on: 1189673
Depends on: 1189675
Depends on: 1189678
Depends on: 1189681
Depends on: 1189683
Depends on: 1189684
Depends on: 1189685
Depends on: 1198636
No longer depends on: 1189681
No longer depends on: 1189684
Status: NEW → RESOLVED
Closed: 4 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.