Closed Bug 1512566 Opened 6 years ago Closed 3 years ago

Intermittent browser/base/content/test/general/browser_clipboard.js | text/html value - "<html><body>\n<!--StartFragment-->Text<!--EndFragment-->\n</body>\n</html>" == "<html><body>\n<!--StartFragment-->t <b>Bold</b><!--EndFragment-->\n</body>\n</html>" -

Categories

(Firefox :: General, defect, P5)

defect

Tracking

()

RESOLVED INCOMPLETE

People

(Reporter: intermittent-bug-filer, Unassigned)

References

Details

(Keywords: intermittent-failure, Whiteboard: [stockwell unknown])

Filed by: dvarga [at] mozilla.com https://treeherder.mozilla.org/logviewer.html#?job_id=215849812&repo=mozilla-central https://queue.taskcluster.net/v1/task/DyLtAYeFTZKX17Q32C14dA/runs/0/artifacts/public/logs/live_backing.log 23:07:09 INFO - SimpleTest.waitForFocus/waitForFocusInner/focusedOrLoaded/<@chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:803:59 23:07:09 INFO - 23:07:09 INFO - Popup Shown 23:07:09 INFO - Not taking screenshot here: see the one that was previously logged 23:07:09 INFO - TEST-UNEXPECTED-FAIL | browser/base/content/test/general/browser_contextmenu.js | checking if popup is open - Got closed, expected open 23:07:09 INFO - Stack trace: 23:07:09 INFO - chrome://mochikit/content/browser-test.js:test_is:1303 23:07:09 INFO - chrome://mochitests/content/browser/browser/base/content/test/general/contextmenu_common.js:checkContextMenu:139 23:07:09 INFO - chrome://mochitests/content/browser/browser/base/content/test/general/contextmenu_common.js:test_contextmenu:340 23:07:09 INFO - chrome://mochitests/content/browser/browser/base/content/test/general/browser_contextmenu.js:test_xul_text_link_label:39 23:07:09 INFO - chrome://mochikit/content/browser-test.js:Tester_execTest/<:1093 23:07:09 INFO - chrome://mochikit/content/browser-test.js:Tester_execTest:1084 23:07:09 INFO - chrome://mochikit/content/browser-test.js:nextTest/<:982 23:07:09 INFO - chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:SimpleTest.waitForFocus/waitForFocusInner/focusedOrLoaded/<:803
23:06:36 INFO - TEST-UNEXPECTED-FAIL | browser/base/content/test/general/browser_clipboard.js | text/html value - "<html><body>\n<!--StartFragment-->Text<!--EndFragment-->\n</body>\n</html>" == "<html><body>\n<!--StartFragment-->t <b>Bold</b><!--EndFragment-->\n</body>\n</html>" - 23:06:36 INFO - Stack trace: 23:06:36 INFO - resource://testing-common/content-task.js line 59 > eval:copyEvent:38 23:06:36 INFO - chrome://mochikit/content/tests/SimpleTest/EventUtils.js:synthesizeKey:869 23:06:36 INFO - chrome://mochikit/content/tests/SimpleTest/AsyncUtilsContent.js:null:144 23:06:36 INFO - Not taking screenshot here: see the one that was previously logged 23:06:36 INFO - TEST-UNEXPECTED-FAIL | browser/base/content/test/general/browser_clipboard.js | text/plain value - "Text" == "t Bold" - 23:06:36 INFO - Stack trace: 23:06:36 INFO - resource://testing-common/content-task.js line 59 > eval:copyEvent:40 23:06:36 INFO - chrome://mochikit/content/tests/SimpleTest/EventUtils.js:synthesizeKey:869 23:06:36 INFO - chrome://mochikit/content/tests/SimpleTest/AsyncUtilsContent.js:null:144 23:06:36 INFO - Not taking screenshot here: see the one that was previously logged 23:06:36 INFO - TEST-UNEXPECTED-FAIL | browser/base/content/test/general/browser_clipboard.js | Copy and paste html - "Test <b>Bold</b> After TextText" == "Test <b>Bold</b> After Textt <b>Bold</b>" - 23:06:36 INFO - Stack trace: 23:06:36 INFO - resource://testing-common/content-task.js line 59 > eval:null:47 23:06:36 INFO - TEST-PASS | browser/base/content/test/general/browser_clipboard.js | One item on clipboard 2 - 1 == 1 - 23:06:36 INFO - TEST-PASS | browser/base/content/test/general/browser_clipboard.js | Two types on clipboard 2 - 2 == 2 - 23:06:36 INFO - TEST-PASS | browser/base/content/test/general/browser_clipboard.js | text/html on clipboard 2 - "text/html" == "text/html" - 23:06:36 INFO - TEST-PASS | browser/base/content/test/general/browser_clipboard.js | text/plain on clipboard 2 - "text/plain" == "text/plain" - 23:06:36 INFO - TEST-PASS | browser/base/content/test/general/browser_clipboard.js | text/html value 2 - "<html><body>\n<!--StartFragment--><i>Italic</i> <!--EndFragment-->\n</body>\n</html>" == "<html><body>\n<!--StartFragment--><i>Italic</i> <!--EndFragment-->\n</body>\n</html>" - 23:06:36 INFO - TEST-PASS | browser/base/content/test/general/browser_clipboard.js | text/plain value 2 - "Some text" == "Some text" - 23:06:36 INFO - Not taking screenshot here: see the one that was previously logged 23:06:36 INFO - TEST-UNEXPECTED-FAIL | browser/base/content/test/general/browser_clipboard.js | Copy and paste html 2 - "Test <i>Italic</i> <b>Bold</b>" == "<i>Italic</i> Test <b>Bold</b> After<b></b>" - 23:06:36 INFO - Stack trace: 23:06:36 INFO - resource://testing-common/content-task.js line 59 > eval:null:85 23:06:36 INFO - GECKO(4364) | JavaScript error: resource:///actors/ContextMenuChild.jsm, line 501: TypeError: doc is null 23:06:36 INFO - Console message: [JavaScript Error: "TypeError: doc is null" {file: "resource:///actors/ContextMenuChild.jsm" line: 501}] 23:06:56 INFO - Not taking screenshot here: see the one that was previously logged 23:06:56 INFO - TEST-UNEXPECTED-FAIL | browser/base/content/test/general/browser_clipboard.js | Test timed out - 23:06:56 INFO - GECKO(4364) | MEMORY STAT | vsize 1692MB | vsizeMaxContiguous 131704795MB | residentFast 224MB | heapAllocated 72MB 23:06:56 INFO - TEST-OK | browser/base/content/test/general/browser_clipboard.js | took 45065ms 23:06:56 INFO - Not taking screenshot here: see the one that was previously logged 23:06:56 INFO - TEST-UNEXPECTED-FAIL | browser/base/content/test/general/browser_clipboard.js | Found a tab after previous test timed out: data:text/html,%3Cbody%20style%3D%27margin%3A%200%27%3E%20%20%3Cimg%20id%3D%27img%27%20tabindex%3D%271%27%20src%3D%27http%3A//example.org/browser/browser/base/content/test/general/moz.png%27%3E%20%20%3Cdiv%20id%3D%27main%27%20contenteditable%3D%27true%27%3ETest%20%3Cb%3EBold%3C/b%3E%20After%20Text%3C/div%3E%3C/body%3E - 23:06:56 INFO - checking window state 23:06:56 INFO - TEST-START | browser/base/content/test/general/browser_contextmenu.js 23:06:56 INFO - GECKO(4364) | Waiting for browser load 23:06:56 INFO - GECKO(4364) | Saw state 10001 and status 0 23:06:56 INFO - GECKO(4364) | Saw state 10010 and status 0 23:06:56 INFO - GECKO(4364) | Saw state 30004 and status 0 23:06:56 INFO - GECKO(4364) | Saw state 10001 and status 0 23:06:56 INFO - GECKO(4364) | Saw state 10010 and status 0 23:06:56 INFO - GECKO(4364) | Saw state 10010 and status 0 23:06:56 INFO - GECKO(4364) | Saw state 20010 and status 0 23:06:56 INFO - GECKO(4364) | Saw state c0010 and status 0 23:06:56 INFO - GECKO(4364) | Browser loaded chrome://mochitests/content/browser/browser/base/content/test/general/subtst_contextmenu_xul.xul 23:07:09 INFO - Not taking screenshot here: see the one that was previously logged 23:07:09 INFO - Buffered messages logged at 23:06:56 23:07:09 INFO - Entering test bound init 23:07:09 INFO - Leaving test bound init 23:07:09 INFO - Entering test bound test_xul_text_link_label 23:07:09 INFO - TEST-PASS | browser/base/content/test/general/browser_contextmenu.js | checking if popup is closed - 23:07:09 INFO - Moved focus to #test-xul-text-link-label 23:07:09 INFO - Global property added while loading chrome://browser/content/nsContextMenu.js: gContextMenuContentData 23:07:09 INFO - Global property added while loading chrome://browser/content/nsContextMenu.js: SpellCheckHelper 23:07:09 INFO - Global property added while loading chrome://browser/content/nsContextMenu.js: LoginHelper 23:07:09 INFO - Global property added while loading chrome://browser/content/nsContextMenu.js: LoginManagerContextMenu 23:07:09 INFO - Global property added while loading chrome://browser/content/nsContextMenu.js: DevToolsShim 23:07:09 INFO - Buffered messages finished 23:07:09 INFO - TEST-UNEXPECTED-FAIL | browser/base/content/test/general/browser_clipboard.js | Uncaught exception received from previously timed out test - at chrome://mochitests/content/browser/browser/base/content/test/general/browser_clipboard.js:136 - TypeError: SimpleTest.promiseFocus is not a function 23:07:09 INFO - Stack trace: 23:07:09 INFO - @chrome://mochitests/content/browser/browser/base/content/test/general/browser_clipboard.js:136:9 23:07:09 INFO - Async*Tester_execTest/<@chrome://mochikit/content/browser-test.js:1093:34 23:07:09 INFO - async*Tester_execTest@chrome://mochikit/content/browser-test.js:1084:16 23:07:09 INFO - nextTest/<@chrome://mochikit/content/browser-test.js:982:9 23:07:09 INFO - SimpleTest.waitForFocus/waitForFocusInner/focusedOrLoaded/<@chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:803:59 23:07:09 INFO - Console message: [JavaScript Error: "An error occurred executing the cmd_copyImage command: [Exception... "Component returned failure code: 0x80004005 (NS_ERROR_FAILURE) [nsIController.isCommandEnabled]" nsresult: "0x80004005 (NS_ERROR_FAILURE)" location: "JS frame :: chrome://global/content/globalOverlay.js :: goDoCommand :: line 80" data: no]" {file: "chrome://global/content/globalOverlay.js" line: 83}] 23:07:09 INFO - goDoCommand@chrome://global/content/globalOverlay.js:83:5 23:07:09 INFO - oncommand@chrome://browser/content/browser.xul:1:1 23:07:09 INFO - @chrome://mochitests/content/browser/browser/base/content/test/general/browser_clipboard.js:130:57 23:07:09 INFO - Async*Tester_execTest/<@chrome://mochikit/content/browser-test.js:1093:34 23:07:09 INFO - async*Tester_execTest@chrome://mochikit/content/browser-test.js:1084:16 23:07:09 INFO - nextTest/<@chrome://mochikit/content/browser-test.js:982:9 23:07:09 INFO - SimpleTest.waitForFocus/waitForFocusInner/focusedOrLoaded/<@chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:803:59 23:07:09 INFO - 23:07:09 INFO - Popup Shown 23:07:09 INFO - Not taking screenshot here: see the one that was previously logged 23:07:09 INFO - TEST-UNEXPECTED-FAIL | browser/base/content/test/general/browser_contextmenu.js | checking if popup is open - Got closed, expected open 23:07:09 INFO - Stack trace: 23:07:09 INFO - chrome://mochikit/content/browser-test.js:test_is:1303 23:07:09 INFO - chrome://mochitests/content/browser/browser/base/content/test/general/contextmenu_common.js:checkContextMenu:139 23:07:09 INFO - chrome://mochitests/content/browser/browser/base/content/test/general/contextmenu_common.js:test_contextmenu:340 23:07:09 INFO - chrome://mochitests/content/browser/browser/base/content/test/general/browser_contextmenu.js:test_xul_text_link_label:39 23:07:09 INFO - chrome://mochikit/content/browser-test.js:Tester_execTest/<:1093 23:07:09 INFO - chrome://mochikit/content/browser-test.js:Tester_execTest:1084 23:07:09 INFO - chrome://mochikit/content/browser-test.js:nextTest/<:982 23:07:09 INFO - chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:SimpleTest.waitForFocus/waitForFocusInner/focusedOrLoaded/<:803
Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → INCOMPLETE
Status: RESOLVED → REOPENED
Resolution: INCOMPLETE → ---
Status: REOPENED → RESOLVED
Closed: 6 years ago6 years ago
Resolution: --- → INCOMPLETE
Status: RESOLVED → REOPENED
Resolution: INCOMPLETE → ---
Status: REOPENED → RESOLVED
Closed: 6 years ago5 years ago
Resolution: --- → INCOMPLETE
Status: RESOLVED → REOPENED
Resolution: INCOMPLETE → ---
Status: REOPENED → RESOLVED
Closed: 5 years ago5 years ago
Resolution: --- → INCOMPLETE
Status: RESOLVED → REOPENED
Resolution: INCOMPLETE → ---
Status: REOPENED → RESOLVED
Closed: 5 years ago5 years ago
Resolution: --- → INCOMPLETE
Status: RESOLVED → REOPENED
Resolution: INCOMPLETE → ---
See Also: → 1713889

Update:

There have been 32 failures within the last 7 days:

  • 2 failures on Windows 10 x64 CCov WebRender opt
  • 9 failures on Windows 10 x64 WebRender opt
  • 21 failures on Windows 10 x64 WebRender Shippable opt

Recent failure log: https://treeherder.mozilla.org/logviewer?job_id=343265531&repo=mozilla-central&lineNumber=3545

[task 2021-06-19T10:26:24.337Z] 10:26:24     INFO - TEST-PASS | browser/base/content/test/general/browser_clipboard.js | text/plain on clipboard - "text/plain" == "text/plain" - 
[task 2021-06-19T10:26:24.337Z] 10:26:24     INFO - Buffered messages finished
[task 2021-06-19T10:26:24.339Z] 10:26:24     INFO - TEST-UNEXPECTED-FAIL | browser/base/content/test/general/browser_clipboard.js | text/html value - "<html><body>\n<!--StartFragment-->Text<!--EndFragment-->\n</body>\n</html>" == "<html><body>\n<!--StartFragment-->t <b>Bold</b><!--EndFragment-->\n</body>\n</html>" - got "<html><body>\n<!--StartFragment-->Text<!--EndFragment-->\n</body>\n</html>", expected "<html><body>\n<!--StartFragment-->t <b>Bold</b><!--EndFragment-->\n</body>\n</html>" (operator ==)
[task 2021-06-19T10:26:24.339Z] 10:26:24     INFO - Stack trace:
[task 2021-06-19T10:26:24.339Z] 10:26:24     INFO - @chrome://mochitests/content/browser/browser/base/content/test/general/browser_clipboard.js:97:20
[task 2021-06-19T10:26:24.339Z] 10:26:24     INFO - synthesizeKey@chrome://mochikit/content/tests/SimpleTest/EventUtils.js:1307:11
[task 2021-06-19T10:26:24.339Z] 10:26:24     INFO - receiveMessage@resource://testing-common/BrowserTestUtilsChild.jsm:161:25
[task 2021-06-19T10:26:24.340Z] 10:26:24     INFO - Not taking screenshot here: see the one that was previously logged
[task 2021-06-19T10:26:24.341Z] 10:26:24     INFO - TEST-UNEXPECTED-FAIL | browser/base/content/test/general/browser_clipboard.js | text/plain value - "Text" == "t Bold" - got "Text", expected "t Bold" (operator ==)
[task 2021-06-19T10:26:24.341Z] 10:26:24     INFO - Stack trace:
[task 2021-06-19T10:26:24.341Z] 10:26:24     INFO - @chrome://mochitests/content/browser/browser/base/content/test/general/browser_clipboard.js:102:20
[task 2021-06-19T10:26:24.341Z] 10:26:24     INFO - synthesizeKey@chrome://mochikit/content/tests/SimpleTest/EventUtils.js:1307:11
[task 2021-06-19T10:26:24.341Z] 10:26:24     INFO - receiveMessage@resource://testing-common/BrowserTestUtilsChild.jsm:161:25
[task 2021-06-19T10:26:24.341Z] 10:26:24     INFO - Not taking screenshot here: see the one that was previously logged
[task 2021-06-19T10:26:24.342Z] 10:26:24     INFO - TEST-UNEXPECTED-FAIL | browser/base/content/test/general/browser_clipboard.js | Copy and paste html - "Test <b>Bold</b> After TextText" == "Test <b>Bold</b> After Textt <b>Bold</b>" - got "Test <b>Bold</b> After TextText", expected "Test <b>Bold</b> After Textt <b>Bold</b>" (operator ==)
[task 2021-06-19T10:26:24.342Z] 10:26:24     INFO - Stack trace:
[task 2021-06-19T10:26:24.342Z] 10:26:24     INFO - @chrome://mochitests/content/browser/browser/base/content/test/general/browser_clipboard.js:123:12
[task 2021-06-19T10:26:24.342Z] 10:26:24     INFO - execute@resource://specialpowers/SpecialPowersSandbox.jsm:141:12
[task 2021-06-19T10:26:24.342Z] 10:26:24     INFO - _spawnTask@resource://specialpowers/SpecialPowersChild.jsm:1626:15
[task 2021-06-19T10:26:24.342Z] 10:26:24     INFO - receiveMessage@resource://specialpowers/SpecialPowersChild.jsm:310:21
Whiteboard: [stockwell needswork:owner]

Dave, could you help us assign this to someone?
Thank you.

Flags: needinfo?(dtownsend)

Neil looks like you worked on this test.

Flags: needinfo?(dtownsend) → needinfo?(enndeakin)

Update:

There have been 31 failures within the last 7 days:

  • 3 failures on windows10-64-asan-qr opt
  • 11 failures on Windows 10 x64 WebRender opt
  • 17 failures on Windows 10 x64 WebRender Shippable opt

Recent failure log: https://treeherder.mozilla.org/logviewer?job_id=343960146&repo=mozilla-central&lineNumber=3595

Seems to have stopped failing for now.

Flags: needinfo?(enndeakin)
Status: REOPENED → RESOLVED
Closed: 5 years ago4 years ago
Resolution: --- → INCOMPLETE
Status: RESOLVED → REOPENED
Resolution: INCOMPLETE → ---
Status: REOPENED → RESOLVED
Closed: 4 years ago3 years ago
Resolution: --- → INCOMPLETE
You need to log in before you can comment on or make changes to this bug.