Bug: Intermittent browser/components/aboutlogins/tests/browser/browser_copyToClipboardButton.js | Success message should be shown - "undefined" == true - got (void 0), expected true (operator ==)
Status: RESOLVED
Priority: P5
Resolution: INCOMPLETE
Created: 2021-02-11 15:56:45+00:00
Resolved: 2021-03-16 17:04:07+00:00

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

---
```
INFO - TEST-START | browser/components/aboutlogins/tests/browser/browser_copyToClipboardButton.js
[task 2021-02-11T14:19:52.410Z] 14:19:52     INFO - GECKO(2136) | [Child 3196: Main Thread]: I/DocShellAndDOMWindowLeak ++DOCSHELL 0AF39800 == 3 [pid = 3196] [id = 5]
[task 2021-02-11T14:19:52.410Z] 14:19:52     INFO - GECKO(2136) | [Child 3196: Main Thread]: I/DocShellAndDOMWindowLeak ++DOMWINDOW == 5 (07985300) [pid = 3196] [serial = 16] [outer = 00000000]
[task 2021-02-11T14:19:52.410Z] 14:19:52     INFO - GECKO(2136) | [Child 3196: Main Thread]: I/DocShellAndDOMWindowLeak ++DOMWINDOW == 6 (0AF3B000) [pid = 3196] [serial = 17] [outer = 07985300]
[task 2021-02-11T14:19:52.517Z] 14:19:52     INFO - GECKO(2136) | [Child 3196: Main Thread]: I/DocShellAndDOMWindowLeak ++DOMWINDOW == 7 (0BF06400) [pid = 3196] [serial = 18] [outer = 07985300]
[task 2021-02-11T14:19:52.780Z] 14:19:52     INFO - GECKO(2136) | [Child 3196: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 6 (07985100) [pid = 3196] [serial = 13] [outer = 00000000] [url = about:logins]
[task 2021-02-11T14:19:52.780Z] 14:19:52     INFO - GECKO(2136) | [Child 3196: Main Thread]: I/DocShellAndDOMWindowLeak --DOCSHELL 0AF39000 == 2 [pid = 3196] [id = 4] [url = about:logins]
[task 2021-02-11T14:19:53.615Z] 14:19:53     INFO - GECKO(2136) | [Child 5668: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 2 (014A9C00) [pid = 5668] [serial = 7] [outer = 00000000] [url = about:blank]
[task 2021-02-11T14:19:56.599Z] 14:19:56     INFO - GECKO(2136) | [Child 3196: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 5 (0BF0C400) [pid = 3196] [serial = 15] [outer = 00000000] [url = about:logins]
[task 2021-02-11T14:20:00.400Z] 14:20:00     INFO - GECKO(2136) | [Child 3856: Main Thread]: I/DocShellAndDOMWindowLeak --DOCSHELL 013B0800 == 0 [pid = 3856] [id = 2] [url = about:blank]
[task 2021-02-11T14:20:00.680Z] 14:20:00     INFO - GECKO(2136) | [Child 3196: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 4 (0AF3B000) [pid = 3196] [serial = 17] [outer = 00000000] [url = about:blank]
[task 2021-02-11T14:20:02.059Z] 14:20:02     INFO - GECKO(2136) | [Child 3856: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 1 (01365500) [pid = 3856] [serial = 7] [outer = 00000000] [url = about:blank]
[task 2021-02-11T14:20:03.098Z] 14:20:03     INFO - GECKO(2136) | [Parent 5088, Main Thread] WARNING: Wrong button set to eContextMenu event?: 'mMessage != eContextMenu || (mButton == ((mContextMenuTrigger == eNormal) ? MouseButton::eSecondary : MouseButton::ePrimary) && (mContextMenuTrigger != eControlClick || IsControl()))', file /builds/worker/workspace/obj-build/dist/include/mozilla/MouseEvents.h:244
[task 2021-02-11T14:20:03.098Z] 14:20:03     INFO - TEST-INFO | started process screenshot
[task 2021-02-11T14:20:03.173Z] 14:20:03     INFO - TEST-INFO | screenshot: exit 0
[task 2021-02-11T14:20:03.173Z] 14:20:03     INFO - Buffered messages logged at 14:19:52
[task 2021-02-11T14:20:03.173Z] 14:20:03     INFO - Entering test bound setup_head
[task 2021-02-11T14:20:03.173Z] 14:20:03     INFO - Leaving test bound setup_head
[task 2021-02-11T14:20:03.173Z] 14:20:03     INFO - Entering test bound test
[task 2021-02-11T14:20:03.174Z] 14:20:03     INFO - Buffered messages logged at 14:20:00
[task 2021-02-11T14:20:03.174Z] 14:20:03     INFO - waiting for jared to be placed on clipboard
[task 2021-02-11T14:20:03.174Z] 14:20:03     INFO - Initializing clipboard with "waitForClipboard-known-value-0.31138351859763624"...
[task 2021-02-11T14:20:03.174Z] 14:20:03     INFO - Succeeded initializing clipboard, start requested things...
[task 2021-02-11T14:20:03.174Z] 14:20:03     INFO - Clicking 'copy' button
[task 2021-02-11T14:20:03.174Z] 14:20:03     INFO - Buffered messages logged at 14:20:02
[task 2021-02-11T14:20:03.174Z] 14:20:03     INFO - TEST-PASS | browser/components/aboutlogins/tests/browser/browser_copyToClipboardButton.js | Clipboard has the given value: 'jared' - 
[task 2021-02-11T14:20:03.174Z] 14:20:03     INFO - TEST-PASS | browser/components/aboutlogins/tests/browser/browser_copyToClipboardButton.js | jared is on clipboard now - 
[task 2021-02-11T14:20:03.175Z] 14:20:03     INFO - Buffered messages logged at 14:20:03
[task 2021-02-11T14:20:03.175Z] 14:20:03     INFO - TEST-PASS | browser/components/aboutlogins/tests/browser/browser_copyToClipboardButton.js | The other copy button should have the 'copied' state removed - true == true - 
[task 2021-02-11T14:20:03.175Z] 14:20:03     INFO - Buffered messages finished
[task 2021-02-11T14:20:03.175Z] 14:20:03     INFO - TEST-UNEXPECTED-FAIL | browser/components/aboutlogins/tests/browser/browser_copyToClipboardButton.js | Success message should be shown - "undefined" == true - got (void 0), expected true (operator ==)
[task 2021-02-11T14:20:03.175Z] 14:20:03     INFO - Stack trace:
[task 2021-02-11T14:20:03.175Z] 14:20:03     INFO - ok@resource://specialpowers/SpecialPowersSandbox.jsm:87:21
[task 2021-02-11T14:20:03.175Z] 14:20:03     INFO - @chrome://mochitests/content/browser/browser/components/aboutlogins/tests/browser/browser_copyToClipboardButton.js:93:13
[task 2021-02-11T14:20:03.175Z] 14:20:03     INFO - execute@resource://specialpowers/SpecialPowersSandbox.jsm:141:12
[task 2021-02-11T14:20:03.175Z] 14:20:03     INFO - _spawnTask@resource://specialpowers/SpecialPowersChild.jsm:1611:15
[task 2021-02-11T14:20:03.175Z] 14:20:03     INFO - receiveMessage@resource://specialpowers/SpecialPowersChild.jsm:310:21
[task 2021-02-11T14:20:03.230Z] 14:20:03     INFO - GECKO(2136) | [Child 3196, Main Thread] WARNING: NS_ENSURE_SUCCESS(rv, rv) failed with result 0x80040111 (NS_ERROR_NOT_AVAILABLE): file /builds/worker/checkouts/gecko/caps/BasePrincipal.cpp:1349
[task 2021-02-11T14:20:03.230Z] 14:20:03     INFO - Leaving test bound test
[task 2021-02-11T14:20:03.333Z] 14:20:03     INFO - Console message: SENTINEL
[task 2021-02-11T14:20:03.348Z] 14:20:03     INFO - GECKO(2136) | MEMORY STAT | vsize 922MB | vsizeMaxContiguous 565MB | residentFast 316MB | heapAllocated 87MB
[task 2021-02-11T14:20:03.348Z] 14:20:03     INFO - TEST-OK | browser/components/aboutlogins/tests/browser/browser_copyToClipboardButton.js | took 11010ms
[task 2021-02-11T14:20:03.363Z] 14:20:03     INFO - GECKO(2136) | [Child 3856: Main Thread]: I/DocShellAndDOMWindowLeak ++DOCSHELL 013B0800 == 1 [pid = 3856] [id = 3]
[task 2021-02-11T14:20:03.363Z] 14:20:03     INFO - GECKO(2136) | [Child 3856: Main Thread]: I/DocShellAndDOMWindowLeak ++DOMWINDOW == 2 (01365500) [pid = 3856] [serial = 9] [outer = 00000000]
[task 2021-02-11T14:20:03.363Z] 14:20:03     INFO - GECKO(2136) | [Child 3856: Main Thread]: I/DocShellAndDOMWindowLeak ++DOMWINDOW == 3 (073B2400) [pid = 3856] [serial = 10] [outer = 01365500]
[task 2021-02-11T14:20:03.382Z] 14:20:03     INFO - checking window state
[task 2021-02-11T14:20:03.417Z] 14:20:03     INFO - TEST-START | browser/components/aboutlogins/tests/browser/browser_createLogin.js```