Bug: Intermittent browser/components/urlbar/tests/browser/browser_top_sites.js | The number of results should be the same as the number of Top Sites (6). - 6 == 7 - JS frame :: chrome://mochitests/content/browser/browser/components/urlbar/tests/browser/browse
Status: RESOLVED
Priority: P5
Resolution: INCOMPLETE
Created: 2021-06-21 02:59:19+00:00
Resolved: 2021-07-20 17:04:04+00:00

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

---
```
INFO - TEST-START | browser/components/urlbar/tests/browser/browser_top_sites.js
[task 2021-06-21T02:40:03.301Z] 02:40:03     INFO - TEST-INFO | started process screentopng
[task 2021-06-21T02:40:03.705Z] 02:40:03     INFO - TEST-INFO | screentopng: exit 0
[task 2021-06-21T02:40:03.706Z] 02:40:03     INFO - Buffered messages logged at 02:40:02
[task 2021-06-21T02:40:03.707Z] 02:40:03     INFO - Entering test bound init
[task 2021-06-21T02:40:03.708Z] 02:40:03     INFO - Leaving test bound init
[task 2021-06-21T02:40:03.709Z] 02:40:03     INFO - Entering test bound topSitesShown
[task 2021-06-21T02:40:03.710Z] 02:40:03     INFO - Buffered messages logged at 02:40:03
[task 2021-06-21T02:40:03.710Z] 02:40:03     INFO - Awaiting for the urlbar panel to open
[task 2021-06-21T02:40:03.711Z] 02:40:03     INFO - Urlbar panel opened
[task 2021-06-21T02:40:03.713Z] 02:40:03     INFO - TEST-PASS | browser/components/urlbar/tests/browser/browser_top_sites.js | UrlbarView should be open. - true == true - 
[task 2021-06-21T02:40:03.713Z] 02:40:03     INFO - Buffered messages finished
[task 2021-06-21T02:40:03.713Z] 02:40:03     INFO - TEST-UNEXPECTED-FAIL | browser/components/urlbar/tests/browser/browser_top_sites.js | The number of results should be the same as the number of Top Sites (6). - 6 == 7 - JS frame :: chrome://mochitests/content/browser/browser/components/urlbar/tests/browser/browser_top_sites.js :: topSitesShown :: line 99
[task 2021-06-21T02:40:03.714Z] 02:40:03     INFO - Stack trace:
[task 2021-06-21T02:40:03.714Z] 02:40:03     INFO - chrome://mochitests/content/browser/browser/components/urlbar/tests/browser/browser_top_sites.js:topSitesShown:99
[task 2021-06-21T02:40:03.714Z] 02:40:03     INFO - Not taking screenshot here: see the one that was previously logged
[task 2021-06-21T02:40:03.715Z] 02:40:03     INFO - TEST-UNEXPECTED-FAIL | browser/components/urlbar/tests/browser/browser_top_sites.js | Uncaught exception - at chrome://mochitests/content/browser/browser/components/urlbar/tests/browser/browser_top_sites.js:110 - TypeError: can't access property "keyword", result.searchParams is undefined
[task 2021-06-21T02:40:03.715Z] 02:40:03     INFO - Stack trace:
[task 2021-06-21T02:40:03.715Z] 02:40:03     INFO - topSitesShown@chrome://mochitests/content/browser/browser/components/urlbar/tests/browser/browser_top_sites.js:110:1
[task 2021-06-21T02:40:03.716Z] 02:40:03     INFO - Leaving test bound topSitesShown
[task 2021-06-21T02:40:03.716Z] 02:40:03     INFO - Entering test bound selectSearchTopSite
[task 2021-06-21T02:40:03.717Z] 02:40:03     INFO - Not taking screenshot here: see the one that was previously logged
[task 2021-06-21T02:40:03.718Z] 02:40:03     INFO - TEST-UNEXPECTED-FAIL | browser/components/urlbar/tests/browser/browser_top_sites.js | First result should have SEARCH type. - 3 == 2 - JS frame :: chrome://mochitests/content/browser/browser/components/urlbar/tests/browser/browser_top_sites.js :: selectSearchTopSite :: line 155
[task 2021-06-21T02:40:03.718Z] 02:40:03     INFO - Stack trace:
INFO - chrome://mochitests/content/browser/browser/components/urlbar/tests/browser/browser_top_sites.js:selectSearchTopSite:155
[task 2021-06-21T02:40:03.719Z] 02:40:03     INFO - Not taking screenshot here: see the one that was previously logged
[task 2021-06-21T02:40:03.720Z] 02:40:03     INFO - TEST-UNEXPECTED-FAIL | browser/components/urlbar/tests/browser/browser_top_sites.js | First result should have the Amazon keyword. - "undefined" == "@amazon" - JS frame :: chrome://mochitests/content/browser/browser/components/urlbar/tests/browser/browser_top_sites.js :: selectSearchTopSite :: line 161
[task 2021-06-21T02:40:03.720Z] 02:40:03     INFO - Stack trace:
[task 2021-06-21T02:40:03.720Z] 02:40:03     INFO - chrome://mochitests/content/browser/browser/components/urlbar/tests/browser/browser_top_sites.js:selectSearchTopSite:161
[task 2021-06-21T02:40:03.721Z] 02:40:03     INFO - Awaiting for the urlbar panel to open
[task 2021-06-21T02:40:03.722Z] 02:40:03     INFO - GECKO(1568) | FATAL ERROR: Non-local network connections are disabled and a connection attempt to www.youtube.com (172.217.12.238) was made.
[task 2021-06-21T02:40:03.723Z] 02:40:03     INFO - GECKO(1568) | You should only access hostnames available via the test networking proxy (if running mochitests) or from a test-specific httpd.js server (if running xpcshell tests). Browser services should be disabled or redirected to a local server.
[task 2021-06-21T02:40:03.724Z] 02:40:03     INFO - GECKO(1568) | AddressSanitizer:DEADLYSIGNAL
[task 2021-06-21T02:40:03.725Z] 02:40:03     INFO - GECKO(1568) | =================================================================
[task 2021-06-21T02:40:03.727Z] 02:40:03    ERROR - GECKO(1568) | ==1568==ERROR: AddressSanitizer: SEGV on unknown address 0x000000000001 (pc 0x7f68ed237463 bp 0x7f68e0224d30 sp 0x7f68e0224560 T6)
[task 2021-06-21T02:40:03.728Z] 02:40:03     INFO - GECKO(1568) | ==1568==The signal is caused by a WRITE memory access.
[task 2021-06-21T02:40:03.729Z] 02:40:03     INFO - GECKO(1568) | ==1568==Hint: address points to the zero page.
[task 2021-06-21T02:40:05.599Z] 02:40:05     INFO - GECKO(1568) |     #0 0x7f68ed237463 in mozilla::net::nsSocketTransport::InitiateSocket() /builds/worker/checkouts/gecko/netwerk/base/nsSocketTransport2.cpp:1234:7
[task 2021-06-21T02:40:05.600Z] 02:40:05     INFO - GECKO(1568) |     #1 0x7f68ed23c6c9 in mozilla::net::nsSocketTransport::OnSocketEvent(unsigned int, nsresult, nsISupports*) /builds/worker/checkouts/gecko/netwerk/base/nsSocketTransport2.cpp:1985:22
[task 2021-06-21T02:40:05.601Z] 02:40:05     INFO - GECKO(1568) |     #2 0x7f68ed2828ea in mozilla::net::nsSocketEvent::Run() /builds/worker/checkouts/gecko/netwerk/base/nsSocketTransport2.cpp:94:17
[task 2021-06-21T02:40:05.624Z] 02:40:05     INFO - GECKO(1568) |     #3 0x7f68ecef3b3a in nsThread::ProcessNextEvent(bool, bool*) /builds/worker/checkouts/gecko/xpcom/threads/nsThread.cpp:1146:16
INFO - GECKO(1568) |     #4 0x7f68ecefe14c in NS_ProcessNextEvent(nsIThread*, bool) /builds/worker/checkouts/gecko/xpcom/threads/nsThreadUtils.cpp:548:10
[task 2021-06-21T02:40:05.626Z] 02:40:05     INFO - GECKO(1568) |     #5 0x7f68ed24ce61 in mozilla::net::nsSocketTransportService::Run() /builds/worker/checkouts/gecko/netwerk/base/nsSocketTransportService2.cpp:1167:11
[task 2021-06-21T02:40:05.627Z] 02:40:05     INFO - GECKO(1568) |     #6 0x7f68ed24eb0c in non-virtual thunk to mozilla::net::nsSocketTransportService::Run() /builds/worker/checkouts/gecko/netwerk/base/nsSocketTransportService2.cpp
[task 2021-06-21T02:40:05.628Z] 02:40:05     INFO - GECKO(1568) |     #7 0x7f68ecef3b3a in nsThread::ProcessNextEvent(bool, bool*) /builds/worker/checkouts/gecko/xpcom/threads/nsThread.cpp:1146:16
[task 2021-06-21T02:40:05.629Z] 02:40:05     INFO - GECKO(1568) |     #8 0x7f68ecefe14c in NS_ProcessNextEvent(nsIThread*, bool) /builds/worker/checkouts/gecko/xpcom/threads/nsThreadUtils.cpp:548:10
[task 2021-06-21T02:40:05.641Z] 02:40:05     INFO - GECKO(1568) |     #9 0x7f68edfcabb8 in mozilla::ipc::MessagePumpForNonMainThreads::Run(base::MessagePump::Delegate*) /builds/worker/checkouts/gecko/ipc/glue/MessagePump.cpp:300:20
[task 2021-06-21T02:40:05.650Z] 02:40:05     INFO - GECKO(1568) |     #10 0x7f68edef36a1 in RunInternal /builds/worker/checkouts/gecko/ipc/chromium/src/base/message_loop.cc:331:10
[task 2021-06-21T02:40:05.652Z] 02:40:05     INFO - GECKO(1568) |     #11 0x7f68edef36a1 in RunHandler /builds/worker/checkouts/gecko/ipc/chromium/src/base/message_loop.cc:324:3
[task 2021-06-21T02:40:05.652Z] 02:40:05     INFO - GECKO(1568) |     #12 0x7f68edef36a1 in MessageLoop::Run() /builds/worker/checkouts/gecko/ipc/chromium/src/base/message_loop.cc:306:3
[task 2021-06-21T02:40:05.652Z] 02:40:05     INFO - GECKO(1568) |     #13 0x7f68eceed602 in nsThread::ThreadFunc(void*) /builds/worker/checkouts/gecko/xpcom/threads/nsThread.cpp:392:10
[task 2021-06-21T02:40:05.656Z] 02:40:05     INFO - GECKO(1568) |     #14 0x7f690e3d770e in _pt_root /builds/worker/checkouts/gecko/nsprpub/pr/src/pthreads/ptthread.c:201:5
[task 2021-06-21T02:40:05.674Z] 02:40:05     INFO - GECKO(1568) |     #15 0x7f691220b6da in start_thread /build/glibc-2ORdQG/glibc-2.27/nptl/pthread_create.c:463
[task 2021-06-21T02:40:05.746Z] 02:40:05     INFO - GECKO(1568) |     #16 0x7f69111e9a3e in clone /build/glibc-2ORdQG/glibc-2.27/misc/../sysdeps/unix/sysv/linux/x86_64/clone.S:95
[task 2021-06-21T02:40:05.747Z] 02:40:05     INFO - GECKO(1568) | AddressSanitizer can not provide additional info.
[task 2021-06-21T02:40:05.747Z] 02:40:05     INFO - GECKO(1568) | SUMMARY: AddressSanitizer: SEGV /builds/worker/checkouts/gecko/netwerk/base/nsSocketTransport2.cpp:1234:7 in mozilla::net::nsSocketTransport::InitiateSocket()
[task 2021-06-21T02:40:05.748Z] 02:40:05     INFO - GECKO(1568) | Thread T6 (Socket Thread) created by T0 here:
[task 2021-06-21T02:40:05.778Z] 02:40:05     INFO - GECKO(1568) |     #0 0x564cd8fa9b5c in pthread_create /builds/worker/fetches/llvm-project/llvm/projects/compiler-rt/lib/asan/asan_interceptors.cpp:205:3
[task 2021-06-21T02:40:05.779Z] 02:40:05     INFO - GECKO(1568) |     #1 0x7f690e3c7784 in _PR_CreateThread /builds/worker/checkouts/gecko/nsprpub/pr/src/pthreads/ptthread.c:458:14
<...>

```