Intermittent devtools/client/inspector/test/browser_inspector_highlighter-rulers_03.js | Dimension text was created successfully - Got 699px × 780px, expected 949px × 780px

NEW
Unassigned

Status

defect
P5
normal
Last year
17 hours ago

People

(Reporter: intermittent-bug-filer, Unassigned)

Tracking

({intermittent-failure, leave-open})

Firefox Tracking Flags

(Not tracked)

Details

(Whiteboard: [stockwell disabled])

Attachments

(1 attachment)

Filed by: rgurzau [at] mozilla.com

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

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

20:31:30     INFO -  434 INFO TEST-START | devtools/client/inspector/test/browser_inspector_highlighter-rulers_03.js
20:31:30     INFO -  TEST-INFO | started process screenshot
20:31:30     INFO -  TEST-INFO | screenshot: exit 0
20:31:30     INFO -  Buffered messages logged at 20:31:30
20:31:30     INFO -  435 INFO Entering test bound
20:31:30     INFO -  436 INFO Adding a new tab with URL: data:text/html;charset=utf-8,<div style='position:absolute;left: 0; top: 0; width: 20px; height: 50px'></div>
20:31:30     INFO -  437 INFO Tab added and finished loading
20:31:30     INFO -  438 INFO Opening the inspector
20:31:30     INFO -  439 INFO Opening the toolbox
20:31:30     INFO -  440 INFO Console message: [JavaScript Warning: "Unknown property ‘user-select’.  Declaration dropped." {file: "resource://devtools/client/shared/components/reps/reps.css" line: 290}]
20:31:30     INFO -  441 INFO Console message: [JavaScript Warning: "Unknown property ‘user-select’.  Declaration dropped." {file: "resource://devtools/client/shared/components/reps/reps.css" line: 290}]
20:31:30     INFO -  442 INFO Toolbox opened and focused
20:31:30     INFO -  443 INFO Checking that the viewport infobar is displayed
20:31:30     INFO -  444 INFO TEST-PASS | devtools/client/inspector/test/browser_inspector_highlighter-rulers_03.js | viewport infobar is visible after show -
20:31:30     INFO -  445 INFO Checking the rulers dimension tooltip have the proper text
20:31:30     INFO -  446 INFO TEST-PASS | devtools/client/inspector/test/browser_inspector_highlighter-rulers_03.js | Dimension text was created successfully -
20:31:30     INFO -  447 INFO Docking the toolbox to the side of the browser to change the window size
20:31:30     INFO -  448 INFO Checking the rulers dimension tooltip have the proper text
20:31:30     INFO -  Buffered messages finished
20:31:30    ERROR -  449 INFO TEST-UNEXPECTED-FAIL | devtools/client/inspector/test/browser_inspector_highlighter-rulers_03.js | Dimension text was created successfully - Got 699px × 780px, expected 949px × 780px
In the last 7 days there are 50 failures.
They occur on Windows10-64 and Windows7-32. The affected builds type are pgo and opt.
Recent failure log:  https://treeherder.mozilla.org/logviewer.html#?job_id=179298423&repo=mozilla-inbound&lineNumber=3446
and a relevant part of it: 
05:55:03     INFO -  541 INFO Docking the toolbox to the side of the browser to change the window size
05:55:03     INFO -  542 INFO Checking the rulers dimension tooltip have the proper text
05:55:03     INFO -  Buffered messages finished
05:55:03    ERROR -  543 INFO TEST-UNEXPECTED-FAIL | devtools/client/inspector/test/browser_inspector_highlighter-rulers_03.js | Dimension text was created successfully - Got 699px × 780px, expected 949px × 780px
05:55:03     INFO -  Stack trace:
05:55:03     INFO -  chrome://mochikit/content/browser-test.js:test_is:1285
05:55:03     INFO -  chrome://mochitests/content/browser/devtools/client/inspector/test/browser_inspector_highlighter-rulers_03.js:hasRightLabelsContent:55
05:55:03     INFO -  chrome://mochitests/content/browser/devtools/client/inspector/test/browser_inspector_highlighter-rulers_03.js:null:26
05:55:03     INFO -  chrome://mochikit/content/browser-test.js:Tester_execTest/<:1083
05:55:03     INFO -  chrome://mochikit/content/browser-test.js:Tester_execTest:1074
05:55:03     INFO -  chrome://mochikit/content/browser-test.js:nextTest/<:976
05:55:03     INFO -  chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:SimpleTest.waitForFocus/waitForFocusInner/focusedOrLoaded/<:795
05:55:03     INFO -  544 INFO Leaving test bound
05:55:03     INFO -  545 INFO Removing tab.
05:55:03     INFO -  546 INFO Waiting for event: 'TabClose' on [object XULElement].
05:55:03     INFO -  547 INFO Got event: 'TabClose' on [object XULElement].
05:55:03     INFO -  548 INFO Tab removed and finished closing
:gl, can you have a look at this?
Flags: needinfo?(gl)
Whiteboard: [stockwell needswork]
Duplicate of this bug: 1462943
Seems like a test timing issue to me. The toolbox is switched to the side host and then the test checks the rulers again.
For some reason, the width is right (780px), but the height is 699px while the window height really is 949px.
Maybe we measure too early, right when the side host has been created but the bottom host has not yet been destroyed.
Comment on attachment 8980848 [details] [diff] [review]
Skipped browser_inspector_highlighter-rulers_03.js on windows and !debug for frequent failures

Review of attachment 8980848 [details] [diff] [review]:
-----------------------------------------------------------------

excellent
Attachment #8980848 - Flags: review?(jmaher) → review+
Flags: needinfo?(jmaher)
Whiteboard: [stockwell disable-recommended] → [stockwell disabled]
Pushed by dluca@mozilla.com:
https://hg.mozilla.org/integration/mozilla-inbound/rev/d4393b6057dc
disable browser_inspector_highlighter-rulers_03.js on Windows !debug for frequent failures. r=jmaher
Keywords: checkin-needed
Product: Firefox → DevTools
Flags: needinfo?(gl)
You need to log in before you can comment on or make changes to this bug.