Closed Bug 1558197 Opened 9 months ago Closed 7 months ago

TEST-UNEXPECTED-TIMEOUT | /upgrade-insecure-requests/worker-subresource-fetch-redirect-upgrade.https.html | insecure/cross-origin => insecure/cross-origin fetch - Test timed out when Gecko 69 merges to Beta on 2019-07-01

Categories

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

defect

Tracking

()

RESOLVED FIXED
mozilla70
Tracking Status
firefox-esr60 --- unaffected
firefox67 --- unaffected
firefox67.0.1 --- unaffected
firefox68 --- unaffected
firefox69 + fixed
firefox70 --- fixed

People

(Reporter: opoprus, Assigned: sstreich)

Details

(Keywords: regressionwindow-wanted, Whiteboard: [domsecurity-active][wptsync upstream error])

Attachments

(1 file)

[Tracking Requested - why for this release]:

Central as beta simulation

Treeherder link: https://treeherder.mozilla.org/#/jobs?repo=try&resultStatus=pending%2Crunning%2Csuccess%2Ctestfailed%2Cbusted%2Cexception%2Cusercancel%2Crunnable&revision=7c5ba326fe1009a5a8405fe06b35c4a3564e8dc8&searchStr=macosx1014-64%2Cdebug%2Cweb%2Cplatform%2Ctests%2Ctest-macosx1014-64%2Fdebug-web-platform-tests-e10s-2%2Cw%28wpt2%29&selectedJob=250917793

Failure log: https://treeherder.mozilla.org/logviewer.html#/jobs?job_id=250917793&repo=try&lineNumber=4573

13:03:53 INFO - TEST-PASS | /upgrade-insecure-requests/worker-subresource-fetch-redirect-upgrade.https.html | secure/cross-origin => secure/cross-origin fetch
13:03:53 INFO - TEST-FAIL | /upgrade-insecure-requests/worker-subresource-fetch-redirect-upgrade.https.html | insecure/cross-origin => secure/cross-origin fetch - promise_test: Unhandled rejection with value: "NetworkError when attempting to fetch resource."
13:03:53 INFO - TEST-FAIL | /upgrade-insecure-requests/worker-subresource-fetch-redirect-upgrade.https.html | secure/same-origin => insecure/cross-origin fetch - promise_test: Unhandled rejection with value: "NetworkError when attempting to fetch resource."
13:03:53 INFO - TEST-FAIL | /upgrade-insecure-requests/worker-subresource-fetch-redirect-upgrade.https.html | insecure/same-origin => insecure/cross-origin fetch - promise_test: Unhandled rejection with value: "NetworkError when attempting to fetch resource."
13:03:53 INFO - TEST-FAIL | /upgrade-insecure-requests/worker-subresource-fetch-redirect-upgrade.https.html | secure/cross-origin => insecure/cross-origin fetch - promise_test: Unhandled rejection with value: "NetworkError when attempting to fetch resource."
13:03:53 INFO - TEST-UNEXPECTED-TIMEOUT | /upgrade-insecure-requests/worker-subresource-fetch-redirect-upgrade.https.html | insecure/cross-origin => insecure/cross-origin fetch - Test timed out
13:03:53 INFO - TEST-INFO | expected FAIL
13:03:53 INFO - TEST-UNEXPECTED-TIMEOUT | /upgrade-insecure-requests/worker-subresource-fetch-redirect-upgrade.https.html | expected OK
13:03:53 INFO - TEST-INFO took 10403ms
13:03:53 INFO - PID 3573 | 1560171833057 Marionette INFO Stopped listening on port 2828
13:03:53 INFO - Browser exited with return code 0
13:03:53 INFO - PROCESS LEAKS None
13:03:53 INFO - Closing logging queue
13:03:53 INFO - queue closed
13:03:53 INFO - Setting up ssl
13:03:53 INFO - certutil |
13:03:53 INFO - certutil |
13:03:53 INFO - certutil |
13:03:53 INFO - Certificate Nickname Trust Attributes
13:03:53 INFO - SSL,S/MIME,JAR/XPI
13:03:53 INFO -
13:03:53 INFO - web-platform-tests CT,,
13:03:53 INFO -
13:03:53 INFO - Application command: /Users/cltbld/tasks/task_1560170077/build/application/Firefox.app/Contents/MacOS/firefox --marionette about:blank -foreground -profile /var/folders/tk/5lzhlt0j5r385qtb_535655r000017/T/tmpR0CoI9.mozrunner
13:03:53 INFO - Starting runner
13:03:54 INFO - PID 3604 | 1560171834277 addons.webextension.screenshots@mozilla.org WARN Loading extension 'screenshots@mozilla.org': Reading manifest: Invalid extension permission: mozillaAddons
13:03:54 INFO - PID 3604 | 1560171834277 addons.webextension.screenshots@mozilla.org WARN Loading extension 'screenshots@mozilla.org': Reading manifest: Invalid extension permission: telemetry
13:03:54 INFO - PID 3604 | 1560171834277 addons.webextension.screenshots@mozilla.org WARN Loading extension 'screenshots@mozilla.org': Reading manifest: Invalid extension permission: resource://pdf.js/
13:03:54 INFO - PID 3604 | 1560171834278 addons.webextension.screenshots@mozilla.org WARN Loading extension 'screenshots@mozilla.org': Reading manifest: Invalid extension permission: about:reader*
13:03:55 INFO - PID 3604 | JavaScript error: chrome://browser/content/search/searchbar.js, line 164: TypeError: this._textbox is undefined
13:03:56 INFO - PID 3604 | 1560171836304 Marionette INFO Listening on port 2828
13:03:56 INFO - TEST-START | /upgrade-insecure-requests/worker-subresource-fetch-upgrade.https.html

The priority flag is not set for this bug.
:ckerschb, could you have a look please?

For more information, please visit auto_nag documentation.

Flags: needinfo?(ckerschb)
Flags: needinfo?(ckerschb)
Whiteboard: [domsecurity-intermittent]

The priority flag is not set for this bug.
:ckerschb, could you have a look please?

For more information, please visit auto_nag documentation.

Flags: needinfo?(ckerschb)
Flags: needinfo?(ckerschb)
Priority: -- → P3

Changing the priority to p2 as the bug is tracked by a release manager for the current nightly.
See What Do You Triage for more information

Priority: P3 → P2
Assignee: nobody → streich.mobile
Status: NEW → ASSIGNED
Priority: P2 → P1
Whiteboard: [domsecurity-intermittent] → [domsecurity-active]

So i looked into the Failure and there is not much going on.
The problem here is really just that the test takes quite some time on a debug build;
it already fails if i add mediocre load on my machine.

Thats why also just in a few runs the last test has a timout instead of a fail.

Is it possible to extend the Given Time for a test for wpt?
Or maybe disable the test for debug-osx.14 as opt tests the same codepath but is way more reliable
as it is faster.

Flags: needinfo?(ckerschb)

(In reply to Sebastian Streich [:sstreich] from comment #4)

Is it possible to extend the Given Time for a test for wpt?

For Mochitests we have SimpleTest.requestLongerTimeout - I am not sure if we have something similar for WPT tests.

Gijs or Andreas, do you happen to know? I couldn't find anything similar to requestLongerTimeout whan 'grep-ing' in testing/web-platform.

Flags: needinfo?(gijskruitbosch+bugs)
Flags: needinfo?(ckerschb)
Flags: needinfo?(ato)

You can put <meta name="timeout" content="long"> in the <head>.

Flags: needinfo?(gijskruitbosch+bugs)
Flags: needinfo?(ato)

(In reply to :Gijs (he/him) from comment #6)

You can put <meta name="timeout" content="long"> in the <head>.

Ah, didn't know that - thanks for the speedy response.

Keywords: checkin-needed

Pushed by archaeopteryx@coole-files.de:
https://hg.mozilla.org/integration/autoland/rev/0ef09adcda22
Adding more time to worker-subresource-fetch-redirect-upgrade r=ckerschb,jgraham

Keywords: checkin-needed
Created web-platform-tests PR https://github.com/web-platform-tests/wpt/pull/17976 for changes under testing/web-platform/tests
Whiteboard: [domsecurity-active] → [domsecurity-active][wptsync upstream]
Can't merge web-platform-tests PR due to failing upstream checks:
Github PR https://github.com/web-platform-tests/wpt/pull/17976
* Taskcluster (pull_request) (https://tools.taskcluster.net/task-group-inspector/#/a5ApFuvmSsSy8FaEO7YJ_g)
Whiteboard: [domsecurity-active][wptsync upstream] → [domsecurity-active][wptsync upstream error]
Status: ASSIGNED → RESOLVED
Closed: 7 months ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla70
Whiteboard: [domsecurity-active][wptsync upstream error] → [domsecurity-active][wptsync upstream error][checkin-needed-beta]
Whiteboard: [domsecurity-active][wptsync upstream error][checkin-needed-beta] → [domsecurity-active][wptsync upstream error]
Upstream PR merged
You need to log in before you can comment on or make changes to this bug.