Closed Bug 1747542 Opened 3 years ago Closed 3 years ago

Intermittent TV devtools/client/jsonview/test/browser_jsonview_expand_collapse.js | There must be three rows - Got 6, expected 3

Categories

(DevTools :: JSON Viewer, defect, P5)

defect

Tracking

(firefox97 fixed)

RESOLVED FIXED
97 Branch
Tracking Status
firefox97 --- fixed

People

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

References

Details

(Keywords: intermittent-failure)

Attachments

(1 file)

Filed by: malexandru [at] mozilla.com
Parsed log: https://treeherder.mozilla.org/logviewer?job_id=362293368&repo=autoland
Full log: https://firefox-ci-tc.services.mozilla.com/api/queue/v1/task/XCgFwVKBQia__W0aNOPgoQ/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/XCgFwVKBQia__W0aNOPgoQ/runs/0/artifacts/public/logs/live_backing.log&only_show_unexpected=1


[task 2021-12-24T07:20:57.796Z] 07:20:57     INFO - TEST-START | devtools/client/jsonview/test/browser_jsonview_expand_collapse.js
[task 2021-12-24T07:20:57.952Z] 07:20:57     INFO - TEST-INFO | started process screencapture
[task 2021-12-24T07:20:58.119Z] 07:20:58     INFO - TEST-INFO | screencapture: exit 0
[task 2021-12-24T07:20:58.120Z] 07:20:58     INFO - Buffered messages logged at 07:20:57
[task 2021-12-24T07:20:58.120Z] 07:20:58     INFO - Entering test bound 
[task 2021-12-24T07:20:58.121Z] 07:20:58     INFO - Test expand/collapse small JSON started
[task 2021-12-24T07:20:58.121Z] 07:20:58     INFO - Adding a new JSON tab with URL: 'http://example.com/browser/devtools/client/jsonview/test/array_json.json'
[task 2021-12-24T07:20:58.122Z] 07:20:58     INFO - Adding a new tab with URL: http://example.com/browser/devtools/client/jsonview/test/array_json.json
[task 2021-12-24T07:20:58.122Z] 07:20:58     INFO - DocReadyState is "loading". Await "complete"
[task 2021-12-24T07:20:58.123Z] 07:20:58     INFO - DocReadyState is "interactive". Await "complete"
[task 2021-12-24T07:20:58.123Z] 07:20:58     INFO - AppReadyState is "uninitialized". Await "complete"
[task 2021-12-24T07:20:58.123Z] 07:20:58     INFO - AppReadyState is "loading". Await "complete"
[task 2021-12-24T07:20:58.124Z] 07:20:58     INFO - AppReadyState is "interactive". Await "complete"
[task 2021-12-24T07:20:58.124Z] 07:20:58     INFO - Get element count: '.treeRow'
[task 2021-12-24T07:20:58.125Z] 07:20:58     INFO - Tab added and finished loading
[task 2021-12-24T07:20:58.125Z] 07:20:58     INFO - TEST-PASS | devtools/client/jsonview/test/browser_jsonview_expand_collapse.js | There must be six rows - 
[task 2021-12-24T07:20:58.126Z] 07:20:58     INFO - Get element count: '.treeRow'
[task 2021-12-24T07:20:58.126Z] 07:20:58     INFO - Buffered messages finished
[task 2021-12-24T07:20:58.127Z] 07:20:58     INFO - TEST-UNEXPECTED-FAIL | devtools/client/jsonview/test/browser_jsonview_expand_collapse.js | There must be three rows - Got 6, expected 3
[task 2021-12-24T07:20:58.127Z] 07:20:58     INFO - Stack trace:
[task 2021-12-24T07:20:58.127Z] 07:20:58     INFO - chrome://mochikit/content/browser-test.js:test_is:1403
[task 2021-12-24T07:20:58.128Z] 07:20:58     INFO - chrome://mochitests/content/browser/devtools/client/jsonview/test/browser_jsonview_expand_collapse.js:null:29
[task 2021-12-24T07:20:58.128Z] 07:20:58     INFO - chrome://mochikit/content/browser-test.js:Tester_execTest/<:1130
[task 2021-12-24T07:20:58.128Z] 07:20:58     INFO - chrome://mochikit/content/browser-test.js:Tester_execTest:1170
[task 2021-12-24T07:20:58.128Z] 07:20:58     INFO - chrome://mochikit/content/browser-test.js:nextTest/<:972
[task 2021-12-24T07:20:58.128Z] 07:20:58     INFO - chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:SimpleTest.waitForFocus/<:1041
[task 2021-12-24T07:20:58.129Z] 07:20:58     INFO - Get element text: '.jsonPanelBox .toolbar button.expand'
[task 2021-12-24T07:20:58.129Z] 07:20:58     INFO - TEST-PASS | devtools/client/jsonview/test/browser_jsonview_expand_collapse.js | Expand button doesn't warn that the action will be slow - 

This is just the same as bug 1728053, but the signature of the intermittent failure changed in bug 1746303.

And ultimately it seems the same reason as bug 1739320 and bug 1734940: BrowserTestUtils.synthesizeMouseAtCenter seems to resolve too early.

Depends on: 1739320

It seems synthesizeMouseAtCenter() caused the problem.
clickJsonNode() was fixed in bug 1739320.

Assignee: nobody → oriol-bugzilla
Status: NEW → ASSIGNED
Pushed by jodvarko@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/d63fea0ffda8 Avoid intermittent failure in browser_jsonview_expand_collapse.js. r=Honza
Status: ASSIGNED → RESOLVED
Closed: 3 years ago
Resolution: --- → FIXED
Target Milestone: --- → 97 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: