Closed Bug 1601244 Opened 4 years ago Closed 4 years ago

Intermittent TV devtools/client/webconsole/test/browser/browser_webconsole_stubs_page_error.js | "TypeError longString message" packet has expected value - Got {

Categories

(DevTools :: Console, defect, P5)

defect

Tracking

(firefox73 fixed)

RESOLVED FIXED
Firefox 73
Tracking Status
firefox73 --- fixed

People

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

References

(Regression)

Details

(Keywords: intermittent-failure, regression)

Attachments

(1 file)

Filed by: ccoroiu [at] mozilla.com
Parsed log: https://treeherder.mozilla.org/logviewer.html#?job_id=279529827&repo=autoland
Full log: https://firefox-ci-tc.services.mozilla.com/api/queue/v1/task/akLdS4kAS1G483oESU3nig/runs/0/artifacts/public/logs/live_backing.log
Reftest URL: https://hg.mozilla.org/mozilla-central/raw-file/tip/layout/tools/reftest/reftest-analyzer.xhtml#logurl=https://firefox-ci-tc.services.mozilla.com/api/queue/v1/task/akLdS4kAS1G483oESU3nig/runs/0/artifacts/public/logs/live_backing.log&only_show_unexpected=1


[task 2019-12-04T09:39:00.009Z] 09:39:00 INFO - TEST-PASS | devtools/client/webconsole/test/browser/browser_webconsole_stubs_page_error.js | "SyntaxError: redeclaration of let a" packet has expected value -
[task 2019-12-04T09:39:00.010Z] 09:39:00 INFO - Buffered messages finished
[task 2019-12-04T09:39:00.015Z] 09:39:00 INFO - TEST-UNEXPECTED-FAIL | devtools/client/webconsole/test/browser/browser_webconsole_stubs_page_error.js | "TypeError longString message" packet has expected value - Got {
[task 2019-12-04T09:39:00.016Z] 09:39:00 INFO - "pageError": {
[task 2019-12-04T09:39:00.016Z] 09:39:00 INFO - "errorMessage": {
[task 2019-12-04T09:39:00.016Z] 09:39:00 INFO - "_grip": {
[task 2019-12-04T09:39:00.016Z] 09:39:00 INFO - "type": "longString",
[task 2019-12-04T09:39:00.017Z] 09:39:00 INFO - "actor": "server0.conn0.child1/longstractor24",
[task 2019-12-04T09:39:00.017Z] 09:39:00 INFO - "length": 110007,
[task 2019-12-04T09:39:00.017Z] 09:39:00 INFO - "initial": "Error: Long error Long error Long error Long error Long error Long error Long error Long error Long error Long error Long error Long error Long error Long error Long error Long error Long error Long error Long error Long error Long error Long error Long error Long error Long error Long error Long error Long error Long error Long error Long error Long error Long error Long error Long error Long error Long error Long error Long error Long error Long error Long error Long error Long error Long error Long error Long error Long error Long error Long error Long error Long error Long error Long error Long error Long error Long error Long error Long error Long error Long error Long error Long error Long error Long error Long error Long error Long error Long error Long error Long error Long error Long error Long error Long error Long error Long error Long error Long error Long error Long error Long error Long error Long error Long error Long error Long error Long error Long error Long error Lon"
[task 2019-12-04T09:39:00.017Z] 09:39:00 INFO - },
[task 2019-12-04T09:39:00.018Z] 09:39:00 INFO - "actorID": null
[task 2019-12-04T09:39:00.018Z] 09:39:00 INFO - },
[task 2019-12-04T09:39:00.018Z] 09:39:00 INFO - "errorMessageName": "",
[task 2019-12-04T09:39:00.018Z] 09:39:00 INFO - "sourceName": "http://example.com/browser/devtools/client/webconsole/test/browser/test-console-api.html",
[task 2019-12-04T09:39:00.019Z] 09:39:00 INFO - "sourceId": "server0.conn0.child1/source23",
[task 2019-12-04T09:39:00.019Z] 09:39:00 INFO - "lineText": "",
[task 2019-12-04T09:39:00.019Z] 09:39:00 INFO - "lineNumber": 1,
[task 2019-12-04T09:39:00.019Z] 09:39:00 INFO - "columnNumber": 7,
[task 2019-12-04T09:39:00.020Z] 09:39:00 INFO - "category": "content javascript",
[task 2019-12-04T09:39:00.021Z] 09:39:00 INFO - "innerWindowID": 8589934593,
[task 2019-12-04T09:39:00.021Z] 09:39:00 INFO - "timeStamp": 1573832650682,
[task 2019-12-04T09:39:00.021Z] 09:39:00 INFO - "warning": false,
[task 2019-12-04T09:39:00.022Z] 09:39:00 INFO - "error": false,
[task 2019-12-04T09:39:00.022Z] 09:39:00 INFO - "exception": true,
[task 2019-12-04T09:39:00.022Z] 09:39:00 INFO - "strict": false,
[task 2019-12-04T09:39:00.022Z] 09:39:00 INFO - "info": false,
[task 2019-12-04T09:39:00.023Z] 09:39:00 INFO - "private": false,
[task 2019-12-04T09:39:00.024Z] 09:39:00 INFO - "stacktrace": [
[task 2019-12-04T09:39:00.025Z] 09:39:00 INFO - {
[task 2019-12-04T09:39:00.026Z] 09:39:00 INFO - "filename": "http://example.com/browser/devtools/client/webconsole/test/browser/test-console-api.html",
[task 2019-12-04T09:39:00.026Z] 09:39:00 INFO - "sourceId": "server0.conn0.child1/source23",
[task 2019-12-04T09:39:00.027Z] 09:39:00 INFO - "lineNumber": 1,
[task 2019-12-04T09:39:00.027Z] 09:39:00 INFO - "columnNumber": 7,
[task 2019-12-04T09:39:00.027Z] 09:39:00 INFO - "functionName": null
[task 2019-12-04T09:39:00.028Z] 09:39:00 INFO - },
[task 2019-12-04T09:39:00.028Z] 09:39:00 INFO - {
[task 2019-12-04T09:39:00.029Z] 09:39:00 INFO - "filename": "resource://testing-common/content-task.js line 110 > eval",
[task 2019-12-04T09:39:00.029Z] 09:39:00 INFO - "sourceId": null,
[task 2019-12-04T09:39:00.030Z] 09:39:00 INFO - "lineNumber": 6,
[task 2019-12-04T09:39:00.030Z] 09:39:00 INFO - "columnNumber": 29,
[task 2019-12-04T09:39:00.030Z] 09:39:00 INFO - "functionName": null
[task 2019-12-04T09:39:00.031Z] 09:39:00 INFO - },
[task 2019-12-04T09:39:00.031Z] 09:39:00 INFO - {
[task 2019-12-04T09:39:00.032Z] 09:39:00 INFO - "filename": "resource://testing-common/content-task.js",
[task 2019-12-04T09:39:00.032Z] 09:39:00 INFO - "sourceId": null,
[task 2019-12-04T09:39:00.033Z] 09:39:00 INFO - "lineNumber": 111,
[task 2019-12-04T09:39:00.033Z] 09:39:00 INFO - "columnNumber": 29,
[task 2019-12-04T09:39:00.034Z] 09:39:00 INFO - "functionName": null
[task 2019-12-04T09:39:00.034Z] 09:39:00 INFO - }
[task 2019-12-04T09:39:00.035Z] 09:39:00 INFO - ],
[task 2019-12-04T09:39:00.035Z] 09:39:00 INFO - "notes": null,
[task 2019-12-04T09:39:00.036Z] 09:39:00 INFO - "chromeContext": false,
[task 2019-12-04T09:39:00.036Z] 09:39:00 INFO - "cssSelectors": ""
[task 2019-12-04T09:39:00.037Z] 09:39:00 INFO - },
[task 2019-12-04T09:39:00.037Z] 09:39:00 INFO - "type": "pageError"
[task 2019-12-04T09:39:00.038Z] 09:39:00 INFO - }, expected {
[task 2019-12-04T09:39:00.038Z] 09:39:00 INFO - "pageError": {
[task 2019-12-04T09:39:00.038Z] 09:39:00 INFO - "errorMessage": {
[task 2019-12-04T09:39:00.039Z] 09:39:00 INFO - "_grip": {
[task 2019-12-04T09:39:00.039Z] 09:39:00 INFO - "type": "longString",
[task 2019-12-04T09:39:00.040Z] 09:39:00 INFO - "actor": "server0.conn0.child1/longstractor24",
[task 2019-12-04T09:39:00.040Z] 09:39:00 INFO - "length": 110007,
[task 2019-12-04T09:39:00.040Z] 09:39:00 INFO - "initial": "Error: Long error Long error Long error Long error Long error Long error Long error Long error Long error Long error Long error Long error Long error Long error Long error Long error Long error Long error Long error Long error Long error Long error Long error Long error Long error Long error Long error Long error Long error Long error Long error Long error Long error Long error Long error Long error Long error Long error Long error Long error Long error Long error Long error Long error Long error Long error Long error Long error Long error Long error Long error Long error Long error Long error Long error Long error Long error Long error Long error Long error Long error Long error Long error Long error Long error Long error Long error Long error Long error Long error Long error Long error Long error Long error Long error Long error Long error Long error Long error Long error Long error Long error Long error Long error Long error Long error Long error Long error Long error Long error Lon"
[task 2019-12-04T09:39:00.041Z] 09:39:00 INFO - },
[task 2019-12-04T09:39:00.042Z] 09:39:00 INFO - "actorID": "server0.conn0.child1/longstractor24"
[task 2019-12-04T09:39:00.042Z] 09:39:00 INFO - },
[task 2019-12-04T09:39:00.042Z] 09:39:00 INFO - "errorMessageName": "",
[task 2019-12-04T09:39:00.043Z] 09:39:00 INFO - "sourceName": "http://example.com/browser/devtools/client/webconsole/test/browser/test-console-api.html",
[task 2019-12-04T09:39:00.043Z] 09:39:00 INFO - "sourceId": "server0.conn0.child1/source23",
[task 2019-12-04T09:39:00.043Z] 09:39:00 INFO - "lineText": "",
[task 2019-12-04T09:39:00.044Z] 09:39:00 INFO - "lineNumber": 1,
[task 2019-12-04T09:39:00.045Z] 09:39:00 INFO - "columnNumber": 7,
[task 2019-12-04T09:39:00.045Z] 09:39:00 INFO - "category": "content javascript",
[task 2019-12-04T09:39:00.045Z] 09:39:00 INFO - "innerWindowID": 8589934593,
[task 2019-12-04T09:39:00.046Z] 09:39:00 INFO - "timeStamp": 1573832650682,
[task 2019-12-04T09:39:00.046Z] 09:39:00 INFO - "warning": false,
[task 2019-12-04T09:39:00.047Z] 09:39:00 INFO - "error": false,
[task 2019-12-04T09:39:00.048Z] 09:39:00 INFO - "exception": true,
[task 2019-12-04T09:39:00.048Z] 09:39:00 INFO - "strict": false,
[task 2019-12-04T09:39:00.049Z] 09:39:00 INFO - "info": false,
[task 2019-12-04T09:39:00.049Z] 09:39:00 INFO - "private": false,
[task 2019-12-04T09:39:00.050Z] 09:39:00 INFO - "stacktrace": [
[task 2019-12-04T09:39:00.051Z] 09:39:00 INFO - {
[task 2019-12-04T09:39:00.051Z] 09:39:00 INFO - "filename": "http://example.com/browser/devtools/client/webconsole/test/browser/test-console-api.html",
[task 2019-12-04T09:39:00.052Z] 09:39:00 INFO - "sourceId": "server0.conn0.child1/source23",
[task 2019-12-04T09:39:00.053Z] 09:39:00 INFO - "lineNumber": 1,
[task 2019-12-04T09:39:00.054Z] 09:39:00 INFO - "columnNumber": 7,
[task 2019-12-04T09:39:00.054Z] 09:39:00 INFO - "functionName": null
[task 2019-12-04T09:39:00.054Z] 09:39:00 INFO - },
[task 2019-12-04T09:39:00.055Z] 09:39:00 INFO - {
[task 2019-12-04T09:39:00.055Z] 09:39:00 INFO - "filename": "resource://testing-common/content-task.js line 110 > eval",
[task 2019-12-04T09:39:00.056Z] 09:39:00 INFO - "sourceId": null,
[task 2019-12-04T09:39:00.056Z] 09:39:00 INFO - "lineNumber": 6,
[task 2019-12-04T09:39:00.056Z] 09:39:00 INFO - "columnNumber": 29,
[task 2019-12-04T09:39:00.057Z] 09:39:00 INFO - "functionName": null
[task 2019-12-04T09:39:00.057Z] 09:39:00 INFO - },
[task 2019-12-04T09:39:00.058Z] 09:39:00 INFO - {
[task 2019-12-04T09:39:00.059Z] 09:39:00 INFO - "filename": "resource://testing-common/content-task.js",
[task 2019-12-04T09:39:00.059Z] 09:39:00 INFO - "sourceId": null,
[task 2019-12-04T09:39:00.060Z] 09:39:00 INFO - "lineNumber": 111,
[task 2019-12-04T09:39:00.061Z] 09:39:00 INFO - "columnNumber": 29,
[task 2019-12-04T09:39:00.061Z] 09:39:00 INFO - "functionName": null
[task 2019-12-04T09:39:00.062Z] 09:39:00 INFO - }
[task 2019-12-04T09:39:00.063Z] 09:39:00 INFO - ],
[task 2019-12-04T09:39:00.063Z] 09:39:00 INFO - "notes": null,
[task 2019-12-04T09:39:00.064Z] 09:39:00 INFO - "chromeContext": false,
[task 2019-12-04T09:39:00.065Z] 09:39:00 INFO - "cssSelectors": ""
[task 2019-12-04T09:39:00.065Z] 09:39:00 INFO - },
[task 2019-12-04T09:39:00.066Z] 09:39:00 INFO - "type": "pageError"
[task 2019-12-04T09:39:00.067Z] 09:39:00 INFO - }
[task 2019-12-04T09:39:00.067Z] 09:39:00 INFO - Stack trace:
[task 2019-12-04T09:39:00.068Z] 09:39:00 INFO - chrome://mochikit/content/browser-test.js:test_is:1314
[task 2019-12-04T09:39:00.069Z] 09:39:00 INFO - chrome://mochitests/content/browser/devtools/client/webconsole/test/browser/browser_webconsole_stubs_page_error.js:null:51
[task 2019-12-04T09:39:00.069Z] 09:39:00 INFO - chrome://mochikit/content/browser-test.js:Tester_execTest/<:1069
[task 2019-12-04T09:39:00.070Z] 09:39:00 INFO - chrome://mochikit/content/browser-test.js:Tester_execTest:1104
[task 2019-12-04T09:39:00.071Z] 09:39:00 INFO - chrome://mochikit/content/browser-test.js:nextTest/<:926
[task 2019-12-04T09:39:00.071Z] 09:39:00 INFO - chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:SimpleTest.waitForFocus/waitForFocusInner/focusedOrLoaded/<:805

Flags: needinfo?(nchevobbe)
Regressed by: 1579090
Keywords: regression

yes, think so too.
I'm going to have a look right now

Flags: needinfo?(nchevobbe)

The stub generator tests were failing sometimes, missing
the actorID field for some packets. I think it's because
when a front is released, its actorID is set to null,
which makes the test fail.
So the workaround here is to retrieve the actorID from
the grip instead, which is never set to null.
We also freeze the console once we have all the packets
we need, so there won't be any further communication with
the server.

Assignee: nobody → nchevobbe
Pushed by nchevobbe@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/8d6be96741bc
Fix stub generator intermittent. r=jdescottes.
Status: NEW → RESOLVED
Closed: 4 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 73
Has Regression Range: --- → yes
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: