Intermittent dom/base/test/chrome/test_bug884693.xhtml | Got expected message count - got 1, expected +0
Categories
(Core :: DOM: Core & HTML, defect)
Tracking
()
| Tracking | Status | |
|---|---|---|
| firefox-esr68 | --- | unaffected |
| firefox-esr78 | --- | unaffected |
| firefox77 | --- | unaffected |
| firefox78 | --- | unaffected |
| firefox79 | --- | fixed |
People
(Reporter: intermittent-bug-filer, Assigned: CuveeHsu)
References
(Regression)
Details
(Keywords: intermittent-failure, regression, Whiteboard: [stockwell needswork:owner])
Attachments
(1 file)
Filed by: dluca [at] mozilla.com
Parsed log: https://treeherder.mozilla.org/logviewer.html#?job_id=307630887&repo=autoland
Full log: https://firefox-ci-tc.services.mozilla.com/api/queue/v1/task/PXsFuJyCQ2eJ-AaAy9k1Cg/runs/0/artifacts/public/logs/live_backing.log
Looks to be very high in frequency.
INFO - TEST-START | dom/base/test/chrome/test_bug884693.xhtml
[task 2020-06-26T07:34:02.260Z] 07:34:02 INFO - TEST-INFO | started process screencapture
[task 2020-06-26T07:34:02.389Z] 07:34:02 INFO - TEST-INFO | screencapture: exit 0
[task 2020-06-26T07:34:02.390Z] 07:34:02 INFO - Buffered messages logged at 07:34:02
[task 2020-06-26T07:34:02.390Z] 07:34:02 INFO - TEST-PASS | dom/base/test/chrome/test_bug884693.xhtml | Correct responseText returned
[task 2020-06-26T07:34:02.390Z] 07:34:02 INFO - TEST-PASS | dom/base/test/chrome/test_bug884693.xhtml | Got expected message count
[task 2020-06-26T07:34:02.390Z] 07:34:02 INFO - TEST-PASS | dom/base/test/chrome/test_bug884693.xhtml | Correct responseText returned
[task 2020-06-26T07:34:02.390Z] 07:34:02 INFO - TEST-PASS | dom/base/test/chrome/test_bug884693.xhtml | Got expected message count
[task 2020-06-26T07:34:02.390Z] 07:34:02 INFO - TEST-PASS | dom/base/test/chrome/test_bug884693.xhtml | Correct responseText returned
[task 2020-06-26T07:34:02.391Z] 07:34:02 INFO - TEST-PASS | dom/base/test/chrome/test_bug884693.xhtml | Got expected message count
[task 2020-06-26T07:34:02.392Z] 07:34:02 INFO - TEST-PASS | dom/base/test/chrome/test_bug884693.xhtml | Correct responseText returned
[task 2020-06-26T07:34:02.392Z] 07:34:02 INFO - TEST-PASS | dom/base/test/chrome/test_bug884693.xhtml | Got expected message count
[task 2020-06-26T07:34:02.392Z] 07:34:02 INFO - TEST-PASS | dom/base/test/chrome/test_bug884693.xhtml | Correct responseText returned
[task 2020-06-26T07:34:02.392Z] 07:34:02 INFO - TEST-PASS | dom/base/test/chrome/test_bug884693.xhtml | Got expected message count
[task 2020-06-26T07:34:02.393Z] 07:34:02 INFO - TEST-PASS | dom/base/test/chrome/test_bug884693.xhtml | Correct responseText returned
[task 2020-06-26T07:34:02.393Z] 07:34:02 INFO - TEST-PASS | dom/base/test/chrome/test_bug884693.xhtml | Got expected message count
[task 2020-06-26T07:34:02.393Z] 07:34:02 INFO - TEST-PASS | dom/base/test/chrome/test_bug884693.xhtml | Correct responseText returned
[task 2020-06-26T07:34:02.393Z] 07:34:02 INFO - Buffered messages finished
[task 2020-06-26T07:34:02.394Z] 07:34:02 INFO - TEST-UNEXPECTED-FAIL | dom/base/test/chrome/test_bug884693.xhtml | Got expected message count - got 1, expected +0
[task 2020-06-26T07:34:02.394Z] 07:34:02 INFO - SimpleTest.is@chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:492:14
[task 2020-06-26T07:34:02.394Z] 07:34:02 INFO - runTest/</xhr.onload@chrome://mochitests/content/chrome/dom/base/test/chrome/test_bug884693.xhtml:38:13
[task 2020-06-26T07:34:02.394Z] 07:34:02 INFO - TEST-PASS | dom/base/test/chrome/test_bug884693.xhtml | Correct responseText returned
[task 2020-06-26T07:34:02.394Z] 07:34:02 INFO - TEST-PASS | dom/base/test/chrome/test_bug884693.xhtml | Got expected message count
[task 2020-06-26T07:34:02.394Z] 07:34:02 INFO - TEST-PASS | dom/base/test/chrome/test_bug884693.xhtml | Correct responseText returned
[task 2020-06-26T07:34:02.395Z] 07:34:02 INFO - TEST-PASS | dom/base/test/chrome/test_bug884693.xhtml | Got expected message count
[task 2020-06-26T07:34:02.395Z] 07:34:02 INFO - TEST-PASS | dom/base/test/chrome/test_bug884693.xhtml | Correct responseText returned
[task 2020-06-26T07:34:02.395Z] 07:34:02 INFO - TEST-PASS | dom/base/test/chrome/test_bug884693.xhtml | Got expected message count
[task 2020-06-26T07:34:02.395Z] 07:34:02 INFO - TEST-PASS | dom/base/test/chrome/test_bug884693.xhtml | Correct responseText returned
[task 2020-06-26T07:34:02.396Z] 07:34:02 INFO - TEST-PASS | dom/base/test/chrome/test_bug884693.xhtml | Got expected message count
[task 2020-06-26T07:34:02.396Z] 07:34:02 INFO - TEST-PASS | dom/base/test/chrome/test_bug884693.xhtml | Correct responseText returned
[task 2020-06-26T07:34:02.396Z] 07:34:02 INFO - TEST-PASS | dom/base/test/chrome/test_bug884693.xhtml | Got expected message count
[task 2020-06-26T07:34:02.396Z] 07:34:02 INFO - TEST-PASS | dom/base/test/chrome/test_bug884693.xhtml | Got expected message: no root element found
[task 2020-06-26T07:34:02.416Z] 07:34:02 INFO - TEST-PASS | dom/base/test/chrome/test_bug884693.xhtml | Correct responseText returned
[task 2020-06-26T07:34:02.416Z] 07:34:02 INFO - TEST-PASS | dom/base/test/chrome/test_bug884693.xhtml | Got expected message count
[task 2020-06-26T07:34:02.417Z] 07:34:02 INFO - TEST-PASS | dom/base/test/chrome/test_bug884693.xhtml | Got expected message: syntax error
[task 2020-06-26T07:34:02.417Z] 07:34:02 INFO - GECKO(2547) | MEMORY STAT | vsize 7722MB | residentFast 375MB | heapAllocated 126MB
[task 2020-06-26T07:34:02.421Z] 07:34:02 INFO - TEST-OK | dom/base/test/chrome/test_bug884693.xhtml | took 373ms
Comment 1•6 years ago
|
||
Junior: Could this bug be happening because bug 1633935 was backed out?
Retriggers show the failure likely stared there:
https://treeherder.mozilla.org/#/jobs?repo=autoland&group_state=expanded&resultStatus=success%2Ctestfailed%2Cbusted%2Cexception&classifiedState=unclassified&searchStr=os%2Cx%2C10.14%2Cdebug%2Cmochitests%2Cwithout%2Ce10s%2Ctest-macosx1014-64%2Fdebug-mochitest-chrome-1proc-2%2Cm-1proc%28c2%29&fromchange=0acc9e36ffadbc798ef9f4ab04df5f232b2520f4&tochange=9d89fc475692b20011929c1dc8bb8f5ff8fe8809&selectedTaskRun=XYsacUXgTOiJg9r26nOQfA.0
Could you please look into it?
| Assignee | ||
Comment 2•6 years ago
|
||
Hello Lina,
I see there's an unexpected console message
Got console messages [JavaScript Error: "Unknown event: ["jsonfile", "load", "broadcastlisteners"]"]
https://treeherder.mozilla.org/logviewer.html#/jobs?job_id=307673425&repo=try&lineNumber=1182
(a) Is this caused by dom push?
(b) If yes, the test is to load some empty resource and to ensure we don't have console error.
Should I disable pref ("dom.push.connection.enabled") for the unrelated tests?
Thanks.
| Assignee | ||
Comment 3•6 years ago
|
||
disabling pref doesn't work
https://treeherder.mozilla.org/logviewer.html#/jobs?job_id=307685124&repo=try
Comment 4•6 years ago
|
||
Oh, I didn't know we record event telemetry for jsonfile now. And it looks like disabling the pref won't work because the service gets initialized as soon as PushBroadcastService.jsm is loaded. The error is coming from telemetry, here.
I don't remember how PushBroadcastService works anymore and if there would be knock-on effects from removing initializing right away—I think there would be a lot of test fixing we'd have to do 😕 This is hacky, but can you have the test filter out messages starting with Unknown event: ? That would be the easiest way to get this fixed without changing lots of other (super sketchy) code...
Updated•6 years ago
|
Updated•6 years ago
|
| Assignee | ||
Comment 5•6 years ago
|
||
(In reply to :Lina Cambridge from comment #4)
Oh, I didn't know we record event telemetry for
jsonfilenow. And it looks like disabling the pref won't work because the service gets initialized as soon asPushBroadcastService.jsmis loaded. The error is coming from telemetry, here.I don't remember how
PushBroadcastServiceworks anymore and if there would be knock-on effects from removing initializing right away—I think there would be a lot of test fixing we'd have to do 😕 This is hacky, but can you have the test filter out messages starting withUnknown event:? That would be the easiest way to get this fixed without changing lots of other (super sketchy) code...
Thanks, I'm thinking of filtering them out as well.
I managed to get the log and it looks something wrong.
0 load() ["resource://gre/modules/JSONFile.jsm":234:25]
1 InterpretGeneratorResume(gen = "[object Object]", val = "Unix error 2 during operation open on file /tmp/tmpTbfwHU.mozrunner/broadcast-listeners.json (No such file or directory)", kind = ""throw"") ["se
lf-hosted":1242:0]
2 AsyncFunctionThrow(val = "Unix error 2 during operation open on file /tmp/tmpTbfwHU.mozrunner/broadcast-listeners.json (No such file or directory)") ["self-hosted":688:0]
this = [object Object]
Comment 6•6 years ago
|
||
Hmmm, could it be initializing before it has a profile directory—like, this is empty?
| Assignee | ||
Comment 7•6 years ago
|
||
| Comment hidden (Intermittent Failures Robot) |
Comment 10•6 years ago
|
||
| bugherder | ||
| Comment hidden (Intermittent Failures Robot) |
Updated•6 years ago
|
Description
•