Closed Bug 1691096 Opened 1 year ago Closed 1 year ago

Intermittent devtools/client/webconsole/test/browser/browser_jsterm_screenshot_command_clipboard.js | Scroll Fullpage Clipboard: Image width/height matches page size minus scrollbar size - Got 2572, expected 2560

Categories

(DevTools :: Console, defect, P5)

defect

Tracking

(firefox-esr78 unaffected, firefox85 unaffected, firefox86 unaffected, firefox87 fixed)

RESOLVED FIXED
87 Branch
Tracking Status
firefox-esr78 --- unaffected
firefox85 --- unaffected
firefox86 --- unaffected
firefox87 --- fixed

People

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

References

(Regression)

Details

(Keywords: intermittent-failure, regression)

Attachments

(1 file)

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


[task 2021-02-05T16:11:57.029Z] 16:11:57     INFO - TEST-START | devtools/client/webconsole/test/browser/browser_jsterm_screenshot_command_clipboard.js
[task 2021-02-05T16:11:58.909Z] 16:11:58     INFO - TEST-INFO | started process screentopng
[task 2021-02-05T16:11:59.207Z] 16:11:59     INFO - TEST-INFO | screentopng: exit 0
[task 2021-02-05T16:11:59.207Z] 16:11:59     INFO - Buffered messages logged at 16:11:57
[task 2021-02-05T16:11:59.207Z] 16:11:59     INFO - Entering test bound 
[task 2021-02-05T16:11:59.208Z] 16:11:59     INFO - Adding a new tab with URL: http://example.com/browser/devtools/client/webconsole/test/browser/test_jsterm_screenshot_command.html
[task 2021-02-05T16:11:59.208Z] 16:11:59     INFO - Console message: [JavaScript Warning: "The character encoding of a framed document was not declared. The document may appear different if viewed without the document framing it." {file: "http://example.com/document-builder.sjs?html=%20%20%20%20%20%20%20%20%20%20%20%20%3Cstyle%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20html%20{%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20background:rgb(255,%20255,%200);%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20text-align:%20center;%20%20%20%20%20%20%20%20%20%20%20%20%20%20}%20%20%20%20%20%20%20%20%20%20%20%20%20%20span%20{%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20background-color:%20rgb(0,%20100,%200);%20%20%20%20%20%20%20%20%20%20%20%20%20%2" line: 0}]
[task 2021-02-05T16:11:59.208Z] 16:11:59     INFO - Tab added and finished loading
[task 2021-02-05T16:11:59.208Z] 16:11:59     INFO - Opening the toolbox
[task 2021-02-05T16:11:59.209Z] 16:11:59     INFO - Buffered messages logged at 16:11:58
[task 2021-02-05T16:11:59.209Z] 16:11:59     INFO - Toolbox opened and focused
[task 2021-02-05T16:11:59.210Z] 16:11:59     INFO - TEST-PASS | devtools/client/webconsole/test/browser/browser_jsterm_screenshot_command_clipboard.js | web console opened - 
[task 2021-02-05T16:11:59.211Z] 16:11:59     INFO - Matched a message with text: "Screenshot copied to clipboard.", all messages received.
[task 2021-02-05T16:11:59.211Z] 16:11:59     INFO - content size: 1280x716
[task 2021-02-05T16:11:59.213Z] 16:11:59     INFO - TEST-PASS | devtools/client/webconsole/test/browser/browser_jsterm_screenshot_command_clipboard.js | screenshot exists - 
[task 2021-02-05T16:11:59.213Z] 16:11:59     INFO - TEST-PASS | devtools/client/webconsole/test/browser/browser_jsterm_screenshot_command_clipboard.js | Read expected amount of data - 
[task 2021-02-05T16:11:59.214Z] 16:11:59     INFO - Waiting for the clipboard image to load in the content page
[task 2021-02-05T16:11:59.214Z] 16:11:59     INFO - TEST-PASS | devtools/client/webconsole/test/browser/browser_jsterm_screenshot_command_clipboard.js | Clipboard: Image width matches window size - 
[task 2021-02-05T16:11:59.215Z] 16:11:59     INFO - TEST-PASS | devtools/client/webconsole/test/browser/browser_jsterm_screenshot_command_clipboard.js | Clipboard: Image height matches window size - 
[task 2021-02-05T16:11:59.216Z] 16:11:59     INFO - Matched a message with text: "Screenshot copied to clipboard.", all messages received.
[task 2021-02-05T16:11:59.216Z] 16:11:59     INFO - content size: 1280x716
[task 2021-02-05T16:11:59.217Z] 16:11:59     INFO - TEST-PASS | devtools/client/webconsole/test/browser/browser_jsterm_screenshot_command_clipboard.js | screenshot exists - 
[task 2021-02-05T16:11:59.217Z] 16:11:59     INFO - TEST-PASS | devtools/client/webconsole/test/browser/browser_jsterm_screenshot_command_clipboard.js | Read expected amount of data - 
[task 2021-02-05T16:11:59.218Z] 16:11:59     INFO - Waiting for the clipboard image to load in the content page
[task 2021-02-05T16:11:59.218Z] 16:11:59     INFO - TEST-PASS | devtools/client/webconsole/test/browser/browser_jsterm_screenshot_command_clipboard.js | Fullpage Clipboard: Image width matches page size - 
[task 2021-02-05T16:11:59.219Z] 16:11:59     INFO - TEST-PASS | devtools/client/webconsole/test/browser/browser_jsterm_screenshot_command_clipboard.js | Fullpage Clipboard: Image height matches page size - 
[task 2021-02-05T16:11:59.220Z] 16:11:59     INFO - Matched a message with text: "Screenshot copied to clipboard.", all messages received.
[task 2021-02-05T16:11:59.220Z] 16:11:59     INFO - TEST-PASS | devtools/client/webconsole/test/browser/browser_jsterm_screenshot_command_clipboard.js | screenshot exists - 
[task 2021-02-05T16:11:59.221Z] 16:11:59     INFO - TEST-PASS | devtools/client/webconsole/test/browser/browser_jsterm_screenshot_command_clipboard.js | Read expected amount of data - 
[task 2021-02-05T16:11:59.221Z] 16:11:59     INFO - Waiting for the clipboard image to load in the content page
[task 2021-02-05T16:11:59.222Z] 16:11:59     INFO - TEST-PASS | devtools/client/webconsole/test/browser/browser_jsterm_screenshot_command_clipboard.js | Selector Clipboard: Image width matches element size - 100 == 100 - 
[task 2021-02-05T16:11:59.223Z] 16:11:59     INFO - TEST-PASS | devtools/client/webconsole/test/browser/browser_jsterm_screenshot_command_clipboard.js | Selector Clipboard: Image height matches element size - 100 == 100 - 
[task 2021-02-05T16:11:59.223Z] 16:11:59     INFO - Matched a message with text: "Screenshot copied to clipboard.", all messages received.
[task 2021-02-05T16:11:59.225Z] 16:11:59     INFO - content size: 1280x716
[task 2021-02-05T16:11:59.225Z] 16:11:59     INFO - Scrollbar size: 12x12
[task 2021-02-05T16:11:59.227Z] 16:11:59     INFO - TEST-PASS | devtools/client/webconsole/test/browser/browser_jsterm_screenshot_command_clipboard.js | screenshot exists - 
[task 2021-02-05T16:11:59.227Z] 16:11:59     INFO - TEST-PASS | devtools/client/webconsole/test/browser/browser_jsterm_screenshot_command_clipboard.js | Read expected amount of data - 
[task 2021-02-05T16:11:59.228Z] 16:11:59     INFO - Waiting for the clipboard image to load in the content page
[task 2021-02-05T16:11:59.228Z] 16:11:59     INFO - Buffered messages finished
[task 2021-02-05T16:11:59.231Z] 16:11:59     INFO - TEST-UNEXPECTED-FAIL | devtools/client/webconsole/test/browser/browser_jsterm_screenshot_command_clipboard.js | Scroll Fullpage Clipboard: Image width matches page size minus scrollbar size - Got 2572, expected 2560
[task 2021-02-05T16:11:59.231Z] 16:11:59     INFO - Stack trace:
[task 2021-02-05T16:11:59.232Z] 16:11:59     INFO - chrome://mochikit/content/browser-test.js:test_is:1351
[task 2021-02-05T16:11:59.232Z] 16:11:59     INFO - chrome://mochitests/content/browser/devtools/client/webconsole/test/browser/browser_jsterm_screenshot_command_clipboard.js:testFullpageClipboardScrollbar:94
[task 2021-02-05T16:11:59.233Z] 16:11:59     INFO - chrome://mochitests/content/browser/devtools/client/webconsole/test/browser/browser_jsterm_screenshot_command_clipboard.js:null:26
[task 2021-02-05T16:11:59.233Z] 16:11:59     INFO - chrome://mochikit/content/browser-test.js:Tester_execTest/<:1088
[task 2021-02-05T16:11:59.234Z] 16:11:59     INFO - chrome://mochikit/content/browser-test.js:Tester_execTest:1128
[task 2021-02-05T16:11:59.234Z] 16:11:59     INFO - chrome://mochikit/content/browser-test.js:nextTest/<:948
[task 2021-02-05T16:11:59.235Z] 16:11:59     INFO - chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:SimpleTest.waitForFocus/waitForFocusInner/focusedOrLoaded/<:1037
[task 2021-02-05T16:11:59.235Z] 16:11:59     INFO - Not taking screenshot here: see the one that was previously logged
[task 2021-02-05T16:11:59.237Z] 16:11:59     INFO - TEST-UNEXPECTED-FAIL | devtools/client/webconsole/test/browser/browser_jsterm_screenshot_command_clipboard.js | Scroll Fullpage Clipboard: Image height matches page size minus scrollbar size - Got 1494, expected 1482
[task 2021-02-05T16:11:59.237Z] 16:11:59     INFO - Stack trace:
[task 2021-02-05T16:11:59.237Z] 16:11:59     INFO - chrome://mochikit/content/browser-test.js:test_is:1351
[task 2021-02-05T16:11:59.237Z] 16:11:59     INFO - chrome://mochitests/content/browser/devtools/client/webconsole/test/browser/browser_jsterm_screenshot_command_clipboard.js:testFullpageClipboardScrollbar:102
[task 2021-02-05T16:11:59.238Z] 16:11:59     INFO - chrome://mochitests/content/browser/devtools/client/webconsole/test/browser/browser_jsterm_screenshot_command_clipboard.js:null:26
[task 2021-02-05T16:11:59.238Z] 16:11:59     INFO - chrome://mochikit/content/browser-test.js:Tester_execTest/<:1088
[task 2021-02-05T16:11:59.239Z] 16:11:59     INFO - chrome://mochikit/content/browser-test.js:Tester_execTest:1128
[task 2021-02-05T16:11:59.239Z] 16:11:59     INFO - chrome://mochikit/content/browser-test.js:nextTest/<:948
[task 2021-02-05T16:11:59.240Z] 16:11:59     INFO - chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:SimpleTest.waitForFocus/waitForFocusInner/focusedOrLoaded/<:1037
[task 2021-02-05T16:11:59.241Z] 16:11:59     INFO - Leaving test bound 
[task 2021-02-05T16:11:59.747Z] 16:11:59     INFO - Removing tab.
[task 2021-02-05T16:11:59.748Z] 16:11:59     INFO - Waiting for event: 'TabClose' on [object XULElement].
[task 2021-02-05T16:11:59.749Z] 16:11:59     INFO - Got event: 'TabClose' on [object XULElement].
[task 2021-02-05T16:11:59.751Z] 16:11:59     INFO - GECKO(13502) | console.warn: "IGNORED REDUX ACTION:" "AUTOCOMPLETE_CLEAR"
[task 2021-02-05T16:11:59.763Z] 16:11:59     INFO - Tab removed and finished closing
[task 2021-02-05T16:11:59.788Z] 16:11:59     INFO - TEST-PASS | devtools/client/webconsole/test/browser/browser_jsterm_screenshot_command_clipboard.js | The main process DevToolsServer has no pending connection when the test ends - 
[task 2021-02-05T16:11:59.809Z] 16:11:59     INFO - GECKO(13502) | MEMORY STAT | vsize 4328MB | residentFast 1032MB | heapAllocated 552MB
[task 2021-02-05T16:11:59.809Z] 16:11:59     INFO - TEST-OK | devtools/client/webconsole/test/browser/browser_jsterm_screenshot_command_clipboard.js | took 2775ms```

Set release status flags based on info from the regressing bug 1474006

It's more likely to have been regressed by Bug 1678483.
I'm going to look today

Flags: needinfo?(nchevobbe)
Regressed by: 1678483
No longer regressed by: 1474006
Has Regression Range: --- → yes
Keywords: regression

We wait for a tick after triggering the overflow so the scrollbars have the time
to be rendered.

Assignee: nobody → nchevobbe
Status: NEW → ASSIGNED
Pushed by nchevobbe@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/9363c9d95f6c
[devtools] Fix intermittent on browser_jsterm_screenshot_command_clipboard.js. r=bomsy
Status: ASSIGNED → RESOLVED
Closed: 1 year ago
Resolution: --- → FIXED
Target Milestone: --- → 87 Branch
See Also: → 1692027
You need to log in before you can comment on or make changes to this bug.