Closed Bug 1497403 Opened 6 years ago Closed 4 years ago

Intermittent devtools/client/performance/test/browser_perf-recording-notices-03.js | Uncaught exception - at resource://devtools/shared/base-loader.js -> resource://devtools/client/performance/test/helpers/wait-utils.js:44 - Error: Predicate

Categories

(DevTools :: Performance Tools (Profiler/Timeline), defect, P5)

defect

Tracking

(firefox75 fixed)

RESOLVED FIXED
Firefox 75
Tracking Status
firefox75 --- fixed

People

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

Details

(Keywords: intermittent-failure)

Attachments

(1 file)

Filed by: nerli [at] mozilla.com

https://treeherder.mozilla.org/logviewer.html#?job_id=204125453&repo=mozilla-central

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

02:58:34     INFO - TEST-PASS | devtools/client/performance/test/browser_perf-recording-notices-03.js | Buffer percentage increased in display (1). - 
02:58:34     INFO - TEST-PASS | devtools/client/performance/test/browser_perf-recording-notices-03.js | Container has [buffer-status=in-progress] or [buffer-status=full]. - 
02:58:34     INFO - TEST-PASS | devtools/client/performance/test/browser_perf-recording-notices-03.js | Buffer status text has correct percentage. - 
02:58:34     INFO - Buffered messages logged at 02:55:44
02:58:34     INFO - Longer timeout required, waiting longer...  Remaining timeouts: 2
02:58:34     INFO - Buffered messages logged at 02:55:46
02:58:34     INFO - Console message: [JavaScript Warning: "XrayWrapper denied access to property "wrappedJSObject" (reason: value shadows a property on the standard prototype). See https://developer.mozilla.org/en-US/docs/Xray_vision for more information. Note that only the first denied property access from a given global object will be reported." {file: "resource://devtools/shared/base-loader.js -> resource://devtools/server/performance/profiler.js" line: 571}]
02:58:34     INFO - Buffered messages logged at 02:57:16
02:58:34     INFO - Longer timeout required, waiting longer...  Remaining timeouts: 1
02:58:34     INFO - Buffered messages finished
02:58:34     INFO - TEST-UNEXPECTED-FAIL | devtools/client/performance/test/browser_perf-recording-notices-03.js | Uncaught exception - at resource://devtools/shared/base-loader.js -> resource://devtools/client/performance/test/helpers/wait-utils.js:44 - Error: Predicate returned false after 100 tries, aborting.
02:58:34     INFO - 
02:58:34     INFO - Stack trace:
02:58:34     INFO - exports.waitUntil@resource://devtools/shared/base-loader.js -> resource://devtools/client/performance/test/helpers/wait-utils.js:44:9
02:58:34     INFO - async*@chrome://mochitests/content/browser/devtools/client/performance/test/browser_perf-recording-notices-03.js:72:9
02:58:34     INFO - Async*Tester_execTest/<@chrome://mochikit/content/browser-test.js:1093:34
02:58:34     INFO - async*Tester_execTest@chrome://mochikit/content/browser-test.js:1084:16
02:58:34     INFO - nextTest/<@chrome://mochikit/content/browser-test.js:986:9
02:58:34     INFO - SimpleTest.waitForFocus/waitForFocusInner/focusedOrLoaded/<@chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:795:59
02:58:34     INFO - Leaving test bound 
02:58:36     INFO - finish() was called, cleaning up...
02:58:55     INFO - GECKO(1488) | --DOMWINDOW == 4 (00000240A3BEE000) [pid = 4384] [serial = 99] [outer = 0000000000000000] [url = about:blank]
02:58:57     INFO - GECKO(1488) | MEMORY STAT | vsize 2259MB | vsizeMaxContiguous 132333732MB | residentFast 529MB | heapAllocated 171MB
02:58:57     INFO - TEST-OK | devtools/client/performance/test/browser_perf-recording-notices-03.js | took 284730ms
02:58:57     INFO - Not taking screenshot here: see the one that was previously logged
02:58:57     INFO - TEST-UNEXPECTED-FAIL | devtools/client/performance/test/browser_perf-recording-notices-03.js | Found an unexpected tab at the end of test run: http://example.com/browser/devtools/client/performance/test/doc_simple-test.html#1034444547330572 - 
02:58:57     INFO - GECKO(1488) | ++DOCSHELL 0000019C802E3000 == 1 [pid = 5304] [id = {0443a10c-7a6d-4559-a37b-26668439177d}]
02:58:57     INFO - GECKO(1488) | ++DOMWINDOW == 1 (0000019C80108400) [pid = 5304] [serial = 172] [outer = 0000000000000000]
02:58:57     INFO - GECKO(1488) | ++DOMWINDOW == 2 (0000019C801CD400) [pid = 5304] [serial = 173] [outer = 0000019C80108400]
02:58:57     INFO - checking window state
https://wiki.mozilla.org/Bug_Triage#Intermittent_Test_Failure_Cleanup
Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → INCOMPLETE
Status: REOPENED → RESOLVED
Closed: 6 years ago5 years ago
Resolution: --- → INCOMPLETE
Status: RESOLVED → REOPENED
Resolution: INCOMPLETE → ---
Status: REOPENED → RESOLVED
Closed: 5 years ago4 years ago
Resolution: --- → INCOMPLETE
Status: RESOLVED → REOPENED
Resolution: INCOMPLETE → ---

The fact that the error rate increased seem pretty new but I don't see what could have produced that.
This also only happens in ccov environment.

The stack trace isn't always the same.

Sometimes it fails at:

async*@chrome://mochitests/content/browser/devtools/client/performance/test/browser_perf-recording-notices-03.js:163:9

Sometimes at:

async*@chrome://mochitests/content/browser/devtools/client/performance/test/browser_perf-recording-notices-03.js:104:9

I'll try increasing some of the timeouts used in this file.

Flags: needinfo?(felash)
Assignee: nobody → felash

The approach of just increasing the timeouts didn't work, this seems to point to a flaw in the test itself.

FTR I don't plan to invest too much time in this, because this is testing some code we'll remove in a few months. If I can't fix it in a few hours I'll just disable the test in ccov.

Pushed by jwajsberg@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/ba7495a6fc87
Account for cases where the buffer gets full during the run of the test r=gregtatum
Status: REOPENED → RESOLVED
Closed: 4 years ago4 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 75
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: