Bug: Intermittent browser/base/content/test/contextMenu/browser_contextmenu_linkopen.js | Test timed out -
Status: RESOLVED
Priority: P5
Resolution: INCOMPLETE
Created: 2021-01-20 14:19:22+00:00
Resolved: 2022-02-22 17:01:18+00:00

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

---
```
 INFO - TEST-START | browser/base/content/test/contextMenu/browser_contextmenu_linkopen.js
[task 2021-01-20T14:02:07.176Z] 14:02:07     INFO - GECKO(1569) | ==================
[task 2021-01-20T14:02:07.179Z] 14:02:07     INFO - GECKO(1569) | WARNING: ThreadSanitizer: data race (pid=1641)
[task 2021-01-20T14:02:07.180Z] 14:02:07     INFO - GECKO(1569) |   Write of size 1 at 0x7b30000720d0 by main thread:
[task 2021-01-20T14:02:07.180Z] 14:02:07     INFO - GECKO(1569) |     #0 pthread_mutex_destroy /builds/worker/fetches/llvm-project/llvm/projects/compiler-rt/lib/tsan/rtl/tsan_interceptors_posix.cpp:1241:3 (firefox+0x57c76)
[task 2021-01-20T14:02:07.180Z] 14:02:07     INFO - GECKO(1569) |     #1 mozilla::detail::MutexImpl::~MutexImpl() /builds/worker/checkouts/gecko/mozglue/misc/Mutex_posix.cpp:90:3 (firefox+0x127ecb)
[task 2021-01-20T14:02:07.180Z] 14:02:07     INFO - GECKO(1569) |     #2 ~OffTheBooksMutex /builds/worker/workspace/obj-build/dist/include/mozilla/Mutex.h:57:3 (libxul.so+0x3beeb42)
[task 2021-01-20T14:02:07.180Z] 14:02:07     INFO - GECKO(1569) |     #3 ~Monitor /builds/worker/workspace/obj-build/dist/include/mozilla/Monitor.h:29:22 (libxul.so+0x3beeb42)
[task 2021-01-20T14:02:07.180Z] 14:02:07     INFO - GECKO(1569) |     #4 mozilla::MediaCache::~MediaCache() /builds/worker/checkouts/gecko/dom/media/MediaCache.cpp:315:3 (libxul.so+0x3beeb42)
[task 2021-01-20T14:02:07.180Z] 14:02:07     INFO - GECKO(1569) |     #5 Release /builds/worker/checkouts/gecko/dom/media/MediaCache.cpp:150:3 (libxul.so+0x3b6a671)
...
INFO - GECKO(1569) |     #51 main /builds/worker/checkouts/gecko/browser/app/nsBrowserApp.cpp:306:18 (firefox+0xc7901)
[task 2021-01-20T14:02:07.294Z] 14:02:07     INFO - GECKO(1569) | SUMMARY: ThreadSanitizer: data race /builds/worker/checkouts/gecko/mozglue/misc/Mutex_posix.cpp:90:3 in mozilla::detail::MutexImpl::~MutexImpl()
[task 2021-01-20T14:02:07.294Z] 14:02:07     INFO - GECKO(1569) | ==================
[task 2021-01-20T14:04:00.800Z] 14:04:00     INFO - TEST-INFO | started process screentopng
[task 2021-01-20T14:04:01.032Z] 14:04:01     INFO - TEST-INFO | screentopng: exit 0
[task 2021-01-20T14:04:01.032Z] 14:04:01     INFO - Buffered messages logged at 14:02:00
[task 2021-01-20T14:04:01.032Z] 14:04:01     INFO - Entering test bound test_select_text_link
[task 2021-01-20T14:04:01.032Z] 14:04:01     INFO - Buffered messages logged at 14:02:01
[task 2021-01-20T14:04:01.032Z] 14:04:01     INFO - Console message: [JavaScript Error: "The character encoding of the HTML document was not declared. The document will render with garbled text in some browser configurations if the document contains characters from outside the US-ASCII range. The character encoding of the page must be declared in the document or in the transfer protocol." {file: "https://example.com/browser/browser/base/content/test/contextMenu/test_contextmenu_links.html" line: 0}]
[task 2021-01-20T14:04:01.032Z] 14:04:01     INFO - Starting test for tab
[task 2021-01-20T14:04:01.032Z] 14:04:01     INFO - TEST-PASS | browser/base/content/test/contextMenu/browser_contextmenu_linkopen.js | checking if popup is closed - 
[task 2021-01-20T14:04:01.033Z] 14:04:01     INFO - Popup Shown
[task 2021-01-20T14:04:01.033Z] 14:04:01     INFO - Going to click item context-openlinkintab
[task 2021-01-20T14:04:01.034Z] 14:04:01     INFO - TEST-PASS | browser/base/content/test/contextMenu/browser_contextmenu_linkopen.js | DOM context menu item tab should be visible - 
[task 2021-01-20T14:04:01.034Z] 14:04:01     INFO - TEST-PASS | browser/base/content/test/contextMenu/browser_contextmenu_linkopen.js | DOM context menu item tab shouldn't be disabled - 
[task 2021-01-20T14:04:01.034Z] 14:04:01     INFO - Waiting for the link to open
[task 2021-01-20T14:04:01.034Z] 14:04:01     INFO - Waiting for the opened window/tab to close
[task 2021-01-20T14:04:01.035Z] 14:04:01     INFO - Starting test for window
[task 2021-01-20T14:04:01.035Z] 14:04:01     INFO - TEST-PASS | browser/base/content/test/contextMenu/browser_contextmenu_linkopen.js | checking if popup is closed - 
[task 2021-01-20T14:04:01.035Z] 14:04:01     INFO - Buffered messages logged at 14:02:02
[task 2021-01-20T14:04:01.035Z] 14:04:01     INFO - Popup Shown
[task 2021-01-20T14:04:01.036Z] 14:04:01     INFO - Going to click item context-openlink
[task 2021-01-20T14:04:01.036Z] 14:04:01     INFO - TEST-PASS | browser/base/content/test/contextMenu/browser_contextmenu_linkopen.js | DOM context menu item window should be visible - 
[task 2021-01-20T14:04:01.036Z] 14:04:01     INFO - TEST-PASS | browser/base/content/test/contextMenu/browser_contextmenu_linkopen.js | DOM context menu item window shouldn't be disabled - 
[task 2021-01-20T14:04:01.036Z] 14:04:01     INFO - Waiting for the link to open
[task 2021-01-20T14:04:01.036Z] 14:04:01     INFO - Buffered messages logged at 14:02:03
[task 2021-01-20T14:04:01.037Z] 14:04:01     INFO - TEST-PASS | browser/base/content/test/contextMenu/browser_contextmenu_linkopen.js | Should have opened a normal window. - 
[task 2021-01-20T14:04:01.037Z] 14:04:01     INFO - Waiting for the opened window/tab to close
[task 2021-01-20T14:04:01.037Z] 14:04:01     INFO - Buffered messages logged at 14:02:04
[task 2021-01-20T14:04:01.037Z] 14:04:01     INFO - Starting test for privatewindow
 INFO - TEST-PASS | browser/base/content/test/contextMenu/browser_contextmenu_linkopen.js | checking if popup is closed - 
[task 2021-01-20T14:04:01.038Z] 14:04:01     INFO - Popup Shown
[task 2021-01-20T14:04:01.039Z] 14:04:01     INFO - Going to click item context-openlinkprivate
[task 2021-01-20T14:04:01.040Z] 14:04:01     INFO - TEST-PASS | browser/base/content/test/contextMenu/browser_contextmenu_linkopen.js | DOM context menu item privatewindow should be visible - 
[task 2021-01-20T14:04:01.040Z] 14:04:01     INFO - TEST-PASS | browser/base/content/test/contextMenu/browser_contextmenu_linkopen.js | DOM context menu item privatewindow shouldn't be disabled - 
[task 2021-01-20T14:04:01.041Z] 14:04:01     INFO - Waiting for the link to open
[task 2021-01-20T14:04:01.042Z] 14:04:01     INFO - Buffered messages logged at 14:02:06
[task 2021-01-20T14:04:01.042Z] 14:04:01     INFO - TEST-PASS | browser/base/content/test/contextMenu/browser_contextmenu_linkopen.js | Should have opened a private window. - 
[task 2021-01-20T14:04:01.042Z] 14:04:01     INFO - Waiting for the opened window/tab to close
[task 2021-01-20T14:04:01.042Z] 14:04:01     INFO - Starting test for tab
[task 2021-01-20T14:04:01.043Z] 14:04:01     INFO - TEST-PASS | browser/base/content/test/contextMenu/browser_contextmenu_linkopen.js | checking if popup is closed - 
[task 2021-01-20T14:04:01.043Z] 14:04:01     INFO - Popup Shown
[task 2021-01-20T14:04:01.043Z] 14:04:01     INFO - Going to click item context-openlinkintab
[task 2021-01-20T14:04:01.044Z] 14:04:01     INFO - TEST-PASS | browser/base/content/test/contextMenu/browser_contextmenu_linkopen.js | DOM context menu item tab should be visible - 
[task 2021-01-20T14:04:01.044Z] 14:04:01     INFO - TEST-PASS | browser/base/content/test/contextMenu/browser_contextmenu_linkopen.js | DOM context menu item tab shouldn't be disabled - 
[task 2021-01-20T14:04:01.044Z] 14:04:01     INFO - Waiting for the link to open
[task 2021-01-20T14:04:01.045Z] 14:04:01     INFO - Buffered messages logged at 14:02:07
[task 2021-01-20T14:04:01.046Z] 14:04:01     INFO - Console message: [JavaScript Error: "remote browser crashed while on about:blank
[task 2021-01-20T14:04:01.046Z] 14:04:01     INFO - " {file: "chrome://mochikit/content/mochitest-e10s-utils.js" line: 10}]
[task 2021-01-20T14:04:01.047Z] 14:04:01     INFO - e10s_init/<@chrome://mochikit/content/mochitest-e10s-utils.js:10:10
[task 2021-01-20T14:04:01.047Z] 14:04:01     INFO - 
[task 2021-01-20T14:04:01.047Z] 14:04:01     INFO - Buffered messages finished
[task 2021-01-20T14:04:01.047Z] 14:04:01     INFO - TEST-UNEXPECTED-FAIL | browser/base/content/test/contextMenu/browser_contextmenu_linkopen.js | Test timed out - 
[task 2021-01-20T14:04:01.047Z] 14:04:01     INFO - GECKO(1569) | MEMORY STAT | vsize 130551667MB | residentFast 2169MB
[task 2021-01-20T14:04:01.047Z] 14:04:01     INFO - TEST-OK | browser/base/content/test/contextMenu/browser_contextmenu_linkopen.js | took 120117ms
[task 2021-01-20T14:04:01.048Z] 14:04:01     INFO - Not taking screenshot here: see the one that was previously logged
[task 2021-01-20T14:04:01.048Z] 14:04:01     INFO - TEST-UNEXPECTED-FAIL | browser/base/content/test/contextMenu/browser_contextmenu_linkopen.js | Found a tab after previous test timed out: about:blank - 
[task 2021-01-20T14:04:01.048Z] 14:04:01     INFO - Not taking screenshot here: see the one that was previously logged
[task 2021-01-20T14:04:01.048Z] 14:04:01     INFO - TEST-UNEXPECTED-FAIL | browser/base/content/test/contextMenu/browser_contextmenu_linkopen.js | Found a tab after previous test timed out: https://example.com/browser/browser/base/content/test/contextMenu/test_contextmenu_links.html - 
[task 2021-01-20T14:04:01.089Z] 14:04:01     INFO - checking window state
[task 2021-01-20T14:04:01.187Z] 14:04:01     INFO - TEST-START | browser/base/content/test/contextMenu/browser_contextmenu_loadblobinnewtab.js```