Closed Bug 1526153 Opened 7 years ago Closed 6 years ago

Intermittent browser_aboutdebugging_serviceworker_not_compatible.js | This test exceeded the timeout threshold. It should be rewritten or split up. If that's not possible, use requestLongerTimeout(N), but only as a last resort. -

Categories

(DevTools :: about:debugging, defect, P5)

defect

Tracking

(firefox-esr68 unaffected, firefox70 unaffected, firefox71 unaffected, firefox72 fixed)

RESOLVED FIXED
Firefox 72
Tracking Status
firefox-esr68 --- unaffected
firefox70 --- unaffected
firefox71 --- unaffected
firefox72 --- fixed

People

(Reporter: intermittent-bug-filer, Assigned: jdescottes)

Details

(Keywords: intermittent-failure, regression)

Attachments

(3 files)

#[markdown(off)]
Filed by: ncsoregi [at] mozilla.com

https://treeherder.mozilla.org/logviewer.html#?job_id=227042349&repo=autoland

https://queue.taskcluster.net/v1/task/XN3JS9wTQOyTcL0x_wMZTw/runs/0/artifacts/public/logs/live_backing.log

[task 2019-02-08T03:56:14.274Z] 03:56:14 INFO - Tab added and finished loading
[task 2019-02-08T03:56:14.277Z] 03:56:14 INFO - wait for the initial about:debugging requests to be successful
[task 2019-02-08T03:56:14.280Z] 03:56:14 INFO - Buffered messages logged at 03:56:09
[task 2019-02-08T03:56:14.291Z] 03:56:14 INFO - Checking a USB runtime
[task 2019-02-08T03:56:14.305Z] 03:56:14 INFO - Wait until the sidebar item for Fancy Phone appears
[task 2019-02-08T03:56:14.309Z] 03:56:14 INFO - TEST-PASS | devtools/client/aboutdebugging-new/test/browser/browser_aboutdebugging_serviceworker_not_compatible.js | Connect button is displayed for the runtime Fancy Phone -
[task 2019-02-08T03:56:14.323Z] 03:56:14 INFO - Click on the connect button and wait until it disappears
[task 2019-02-08T03:56:14.327Z] 03:56:14 INFO - Buffered messages logged at 03:56:10
[task 2019-02-08T03:56:14.330Z] 03:56:14 INFO - TEST-PASS | devtools/client/aboutdebugging-new/test/browser/browser_aboutdebugging_serviceworker_not_compatible.js | Warning message is displayed -
[task 2019-02-08T03:56:14.339Z] 03:56:14 INFO - Remove all remote clients
[task 2019-02-08T03:56:14.358Z] 03:56:14 INFO - Removing tab.
[task 2019-02-08T03:56:14.370Z] 03:56:14 INFO - Waiting for event: 'TabClose' on [object XULElement].
[task 2019-02-08T03:56:14.373Z] 03:56:14 INFO - Got event: 'TabClose' on [object XULElement].
[task 2019-02-08T03:56:14.379Z] 03:56:14 INFO - Tab removed and finished closing
[task 2019-02-08T03:56:14.394Z] 03:56:14 INFO - Leaving test bound testRemoteRuntime
[task 2019-02-08T03:56:14.395Z] 03:56:14 INFO - Buffered messages finished
[task 2019-02-08T03:56:14.409Z] 03:56:14 INFO - TEST-UNEXPECTED-FAIL | devtools/client/aboutdebugging-new/test/browser/browser_aboutdebugging_serviceworker_not_compatible.js | This test exceeded the timeout threshold. It should be rewritten or split up. If that's not possible, use requestLongerTimeout(N), but only as a last resort. -
[task 2019-02-08T03:56:14.411Z] 03:56:14 INFO - GECKO(1079) | MEMORY STAT | vsize 2263MB | residentFast 519MB | heapAllocated 179MB
[task 2019-02-08T03:56:14.422Z] 03:56:14 INFO - TEST-OK | devtools/client/aboutdebugging-new/test/browser/browser_aboutdebugging_serviceworker_not_compatible.js | took 102977ms

Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → INCOMPLETE

Recent failure log: https://treeherder.mozilla.org/logviewer.html#/jobs?job_id=264381997&repo=autoland&lineNumber=3839

[task 2019-08-31T04:46:42.651Z] 04:46:42 INFO - TEST-PASS | devtools/client/aboutdebugging/test/browser/browser_aboutdebugging_serviceworker_not_compatible.js | Connect button is displayed for the runtime Fancy Phone -
[task 2019-08-31T04:46:42.652Z] 04:46:42 INFO - Click on the connect button and wait until it disappears
[task 2019-08-31T04:46:42.652Z] 04:46:42 INFO - Buffered messages logged at 04:46:42
[task 2019-08-31T04:46:42.652Z] 04:46:42 INFO - TEST-PASS | devtools/client/aboutdebugging/test/browser/browser_aboutdebugging_serviceworker_not_compatible.js | Warning message is displayed -
[task 2019-08-31T04:46:42.653Z] 04:46:42 INFO - Remove all remote clients
[task 2019-08-31T04:46:42.653Z] 04:46:42 INFO - Removing tab.
[task 2019-08-31T04:46:42.653Z] 04:46:42 INFO - Waiting for event: 'TabClose' on [object XULElement].
[task 2019-08-31T04:46:42.654Z] 04:46:42 INFO - Got event: 'TabClose' on [object XULElement].
[task 2019-08-31T04:46:42.657Z] 04:46:42 INFO - Tab removed and finished closing
[task 2019-08-31T04:46:42.657Z] 04:46:42 INFO - Leaving test bound testRemoteRuntime
[task 2019-08-31T04:46:42.657Z] 04:46:42 INFO - Console message: [JavaScript Error: "uncaught exception: Object" {file: "resource://testing-common/PromiseTestUtils.jsm" line: 112}]
[task 2019-08-31T04:46:42.657Z] 04:46:42 INFO - Buffered messages finished
[task 2019-08-31T04:46:42.658Z] 04:46:42 INFO - TEST-UNEXPECTED-FAIL | devtools/client/aboutdebugging/test/browser/browser_aboutdebugging_serviceworker_not_compatible.js | This test exceeded the timeout threshold. It should be rewritten or split up. If that's not possible, use requestLongerTimeout(N), but only as a last resort. -
[task 2019-08-31T04:46:42.663Z] 04:46:42 INFO - GECKO(1692) | MEMORY STAT | vsize 8777MB | residentFast 1026MB | heapAllocated 315MB
[task 2019-08-31T04:46:42.663Z] 04:46:42 INFO - TEST-OK | devtools/client/aboutdebugging/test/browser/browser_aboutdebugging_serviceworker_not_compatible.js | took 97373ms
[task 2019-08-31T04:46:42.664Z] 04:46:42 INFO - GECKO(1692) | ++DOCSHELL 0x10e040000 == 1 [pid = 1713] [id = {f5d3f9f0-7122-ba4b-b6ed-fcf9a82df9b5}]
[task 2019-08-31T04:46:42.664Z] 04:46:42 INFO - GECKO(1692) | ++DOMWINDOW == 1 (0x10b604020) [pid = 1713] [serial = 1] [outer = 0x0]
[task 2019-08-31T04:46:42.667Z] 04:46:42 INFO - GECKO(1692) | ++DOMWINDOW == 2 (0x10b6e2400) [pid = 1713] [serial = 2] [outer = 0x10b604020]
[task 2019-08-31T04:46:42.759Z] 04:46:42 INFO - checking window state
[task 2019-08-31T04:46:47.893Z] 04:46:47 INFO - GECKO(1692) | --DOMWINDOW == 48 (0x179f96c00) [pid = 1692] [serial = 356] [outer = 0x0] [url = about:debugging]
[task 2019-08-31T04:46:47.907Z] 04:46:47 INFO - GECKO(1692) | --DOCSHELL 0x1080ab000 == 12 [pid = 1692] [id = {04c0516e-bb85-ae42-91a1-153ce1c5853f}] [url = about:debugging#/runtime/this-firefox]
[task 2019-08-31T04:46:47.971Z] 04:46:47 INFO - TEST-START | devtools/client/aboutdebugging/test/browser/browser_aboutdebugging_serviceworker_push.js
[task 2019-08-31T04:46:48.128Z] 04:46:48 INFO - GECKO(1692) | [Child 1697, Main Thread] WARNING: nsAppShell::Exit() called redundantly: file /builds/worker/workspace/build/src/widget/cocoa/nsAppShell.mm, line 725
[task 2019-08-31T04:46:48.128Z] 04:46:48 INFO - GECKO(1692) | [Child 1698, Main Thread] WARNING: nsAppShell::Exit() called redundantly: file /builds/worker/workspace/build/src/widget/cocoa/nsAppShell.mm, line 725
[task 2019-08-31T04:46:48.153Z] 04:46:48 INFO - GECKO(1692) | [Child 1712, Main Thread] WARNING: nsAppShell::Exit() called redundantly: file /builds/worker/workspace/build/src/widget/cocoa/nsAppShell.mm, line 725
[task 2019-08-31T04:46:48.256Z] 04:46:48 INFO - GECKO(1692) | ###!!! [Parent][RunMessage] Error: Channel closing: too late to send/recv, messages will be lost
[task 2019-08-31T04:46:50.059Z] 04:46:50 INFO - GECKO(1692) | --DOCSHELL 0x10c84d000 == 0 [pid = 1712] [id = {4c0c04b2-f8ab-3e48-8fd6-03076b1c6aa6}] [url = about:blank]
[task 2019-08-31T04:46:51.343Z] 04:46:51 INFO - GECKO(1692) | --DOMWINDOW == 1 (0x1043b2020) [pid = 1712] [serial = 1] [outer = 0x0] [url = about:blank]
[task 2019-08-31T04:46:51.344Z] 04:46:51 INFO - GECKO(1692) | --DOMWINDOW == 0 (0x10c82c800) [pid = 1712] [serial = 2] [outer = 0x0] [url = about:blank]
[task 2019-08-31T04:46:51.494Z] 04:46:51 INFO - GECKO(1692) | nsStringStats
[task 2019-08-31T04:46:51.494Z] 04:46:51 INFO - GECKO(1692) | => mAllocCount: 17152
[task 2019-08-31T04:46:51.494Z] 04:46:51 INFO - GECKO(1692) | => mReallocCount: 0
[task 2019-08-31T04:46:51.494Z] 04:46:51 INFO - GECKO(1692) | => mFreeCount: 17152
[task 2019-08-31T04:46:51.494Z] 04:46:51 INFO - GECKO(1692) | => mShareCount: 18062
[task 2019-08-31T04:46:51.494Z] 04:46:51 INFO - GECKO(1692) | => mAdoptCount: 999
[task 2019-08-31T04:46:51.494Z] 04:46:51 INFO - GECKO(1692) | => mAdoptFreeCount: 999
[task 2019-08-31T04:46:51.494Z] 04:46:51 INFO - GECKO(1692) | => Process ID: 1712, Thread ID: 4508091840
[task 2019-08-31T04:46:56.443Z] 04:46:56 INFO - GECKO(1692) | ++DOCSHELL 0x100a51800 == 13 [pid = 1692] [id = {18c8d614-c5d4-504d-be3d-5e84a47bba89}]
[task 2019-08-31T04:46:56.443Z] 04:46:56 INFO - GECKO(1692) | ++DOMWINDOW == 49 (0x17a641200) [pid = 1692] [serial = 399] [outer = 0x0]
[task 2019-08-31T04:46:56.507Z] 04:46:56 INFO - GECKO(1692) | ++DOMWINDOW == 50 (0x13d14cc00) [pid = 1692] [serial = 400] [outer = 0x17a641200]
[task 2019-08-31T04:46:57.219Z] 04:46:57 INFO - GECKO(1692) | ++DOMWINDOW == 51 (0x10aaa7000) [pid = 1692] [serial = 401] [outer = 0x17a641200]
[task 2019-08-31T04:47:01.021Z] 04:47:01 INFO - GECKO(1692) | [Child 1697, Main Thread] WARNING: XPCOM objects created/destroyed from static ctor/dtor: file /builds/worker/workspace/build/src/xpcom/base/nsTraceRefcnt.cpp, line 198
[task 2019-08-31T04:47:01.021Z] 04:47:01 INFO - GECKO(1692) | [Child 1697, Main Thread] WARNING: XPCOM objects created/destroyed from static ctor/dtor: file /builds/worker/workspace/build/src/xpcom/base/nsTraceRefcnt.cpp, line 198
[task 2019-08-31T04:47:01.022Z] 04:47:01 INFO - GECKO(1692) | nsStringStats

Status: RESOLVED → REOPENED
Resolution: INCOMPLETE → ---
Status: REOPENED → RESOLVED
Closed: 7 years ago6 years ago
Resolution: --- → INCOMPLETE
Status: RESOLVED → REOPENED
Resolution: INCOMPLETE → ---

Thanks I'll take a look. Please note that before the changeset that you highlighted, the test was running in another chunk (dt5) so if the investigation is mainly based on dt6 retriggers, it might need some more retriggers.

Flags: needinfo?(jdescottes)
Attached file Failed test log
This is a real timeout, where the test succeeds but takes too much time. This is an extract of a failed log. The test is successful on the platform, but it seems it jumped from taking 60 seconds to 90+ seconds: Test starts at 11:06:46, then we have 73 `--DOMWINDOW`, 11 `--DOCSHELL` against 26 `++DOMWINDOW` and 9 `++DOCSHELL`. Then the test actually starts at 11:08:23 and finishes in the same second. It seems that the test just started running during a GC which makes it time out. I think splitting the test would probably just move the GC somewhere else, so let's request longer timeout here.

Also removed the outdated comment referring to the tests of the old aboutdebugging which are no longer in the source ocntrol.
Seems like this was the only leftover comment of the sort.

Pushed by jdescottes@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/43033bd0f88d Request longer timeout for browser_aboutdebugging_serviceworker_not_compatible r=ladybenko
Status: REOPENED → RESOLVED
Closed: 6 years ago6 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 72
Assignee: nobody → jdescottes
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: