Closed Bug 1734940 Opened 10 months ago Closed 10 months ago

Intermittent devtools/client/jsonview/test/browser_jsonview_ignore_charset.js | Test timed out -

Categories

(DevTools :: JSON Viewer, defect, P5)

defect

Tracking

(firefox-esr91 fixed)

RESOLVED FIXED
Tracking Status
firefox-esr91 --- fixed

People

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

References

Details

(Keywords: intermittent-failure)

Attachments

(1 file)

Filed by: ctuns [at] mozilla.com
Parsed log: https://treeherder.mozilla.org/logviewer?job_id=354199422&repo=autoland
Full log: https://firefox-ci-tc.services.mozilla.com/api/queue/v1/task/J26NZlDUTxmibGpDcJ2Zfg/runs/0/artifacts/public/logs/live_backing.log


[task 2021-10-08T20:32:42.407Z] 20:32:42     INFO - TEST-START | devtools/client/jsonview/test/browser_jsonview_ignore_charset.js
[task 2021-10-08T20:33:27.433Z] 20:33:27     INFO - TEST-INFO | started process screenshot
[task 2021-10-08T20:33:27.495Z] 20:33:27     INFO - TEST-INFO | screenshot: exit 0
[task 2021-10-08T20:33:27.510Z] 20:33:27     INFO - Buffered messages logged at 20:32:42
[task 2021-10-08T20:33:27.510Z] 20:33:27     INFO - Entering test bound 
[task 2021-10-08T20:33:27.511Z] 20:33:27     INFO - Test ignored charset parameter started
[task 2021-10-08T20:33:27.511Z] 20:33:27     INFO - Adding a new JSON tab with URL: 'data:application/json;charset=ANSI,%E2%9D%A4'
[task 2021-10-08T20:33:27.512Z] 20:33:27     INFO - Adding a new tab with URL: data:application/json;charset=ANSI,%E2%9D%A4
[task 2021-10-08T20:33:27.512Z] 20:33:27     INFO - DocReadyState is "loading". Await "complete"
[task 2021-10-08T20:33:27.513Z] 20:33:27     INFO - DocReadyState is "interactive". Await "complete"
[task 2021-10-08T20:33:27.514Z] 20:33:27     INFO - AppReadyState is "uninitialized". Await "complete"
[task 2021-10-08T20:33:27.514Z] 20:33:27     INFO - AppReadyState is "loading". Await "complete"
[task 2021-10-08T20:33:27.515Z] 20:33:27     INFO - AppReadyState is "interactive". Await "complete"
[task 2021-10-08T20:33:27.515Z] 20:33:27     INFO - Selecting tab: 'rawdata'
[task 2021-10-08T20:33:27.516Z] 20:33:27     INFO - Tab added and finished loading
[task 2021-10-08T20:33:27.516Z] 20:33:27     INFO - Buffered messages logged at 20:32:46
[task 2021-10-08T20:33:27.516Z] 20:33:27     INFO - Console message: [JavaScript Warning: "telemetry.state_file_read_errors - Unknown scalar."]
[task 2021-10-08T20:33:27.517Z] 20:33:27     INFO - Console message: [JavaScript Warning: "telemetry.generated_new_client_id - Unknown scalar."]
[task 2021-10-08T20:33:27.517Z] 20:33:27     INFO - Buffered messages finished
[task 2021-10-08T20:33:27.518Z] 20:33:27     INFO - TEST-UNEXPECTED-FAIL | devtools/client/jsonview/test/browser_jsonview_ignore_charset.js | Test timed out - 
[task 2021-10-08T20:33:27.519Z] 20:33:27     INFO - Removing tab.
[task 2021-10-08T20:33:27.519Z] 20:33:27     INFO - Waiting for event: 'TabClose' on [object XULElement].
[task 2021-10-08T20:33:27.520Z] 20:33:27     INFO - Got event: 'TabClose' on [object XULElement].
[task 2021-10-08T20:33:27.520Z] 20:33:27     INFO - Tab removed and finished closing
[task 2021-10-08T20:33:27.521Z] 20:33:27     INFO - TEST-PASS | devtools/client/jsonview/test/browser_jsonview_ignore_charset.js | The main process DevToolsServer has no pending connection when the test ends - 
[task 2021-10-08T20:33:27.521Z] 20:33:27     INFO - GECKO(4120) | MEMORY STAT | vsize 2104193MB | vsizeMaxContiguous 66640562MB | residentFast 241MB | heapAllocated 98MB
[task 2021-10-08T20:33:27.522Z] 20:33:27     INFO - TEST-OK | devtools/client/jsonview/test/browser_jsonview_ignore_charset.js | took 45059ms
[task 2021-10-08T20:33:27.522Z] 20:33:27     INFO - checking window state
[task 2021-10-08T20:33:27.522Z] 20:33:27     INFO - TEST-START | devtools/client/jsonview/test/browser_jsonview_invalid_json.js
See Also: → 1675584

I suspect the TabChanged event may not be fired when in edge conditions, the tab was already set to the desired one, so there is no actual change.

Assignee: nobody → oriol-bugzilla
Status: NEW → ASSIGNED
Keywords: leave-open
Pushed by nchevobbe@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/d2cdb8b58a0c
Add checks for switching JSON Viewer tab in tests. r=nchevobbe

No failure during the last few days, and I don't see any new bug about failures in the checks that I added. Strange, but fine i guess.

Status: ASSIGNED → RESOLVED
Closed: 10 months ago
Keywords: leave-open
Resolution: --- → FIXED

Comment on attachment 9245181 [details]
Bug 1734940 - Add checks for switching JSON Viewer tab in tests. r?Honza

ESR Uplift Approval Request

  • If this is not a sec:{high,crit} bug, please state case for ESR consideration: Applied after D126751 from bug 1675584, avoids intermittent test failures
  • User impact if declined: None
  • Fix Landed on Version: 95
  • Risk to taking this patch: Low
  • Why is the change risky/not risky? (and alternatives if risky): Test-only change
  • String or UUID changes made by this patch:
Attachment #9245181 - Flags: approval-mozilla-esr91?

Comment on attachment 9245181 [details]
Bug 1734940 - Add checks for switching JSON Viewer tab in tests. r?Honza

Approved for ESR91.

Attachment #9245181 - Flags: approval-mozilla-esr91? → approval-mozilla-esr91+
You need to log in before you can comment on or make changes to this bug.