Bug: Intermittent browser/components/urlbar/tests/browser/browser_canonizeURL.js | The loaded url is not canonized - Got "about:blank", expected "http://mochi.test:8888/?terms=example"
Status: RESOLVED
Priority: P5
Resolution: DUPLICATE
Created: 2022-05-25 22:27:43+00:00
Resolved: 2022-07-25 23:15:38+00:00

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

---
```
[task 2022-05-25T21:37:13.964Z] 21:37:13     INFO - TEST-PASS | browser/components/urlbar/tests/browser/browser_canonizeURL.js | Paste the test word correctly - 
[task 2022-05-25T21:37:13.965Z] 21:37:13     INFO - Send enter key while pressing the ctrl key
[task 2022-05-25T21:37:13.965Z] 21:37:13     INFO - Console message: [JavaScript Warning: "Key event not available on some keyboard layouts: key=“r” modifiers=“accel,alt” id=“key_toggleReaderMode”" {file: "chrome://mochikit/content/tests/SimpleTest/EventUtils.js" line: 1360}]
[task 2022-05-25T21:37:13.966Z] 21:37:13     INFO - Console message: [JavaScript Warning: "Key event not available on some keyboard layouts: key=“i” modifiers=“accel,alt,shift” id=“key_browserToolbox”" {file: "chrome://mochikit/content/tests/SimpleTest/EventUtils.js" line: 1360}]
[task 2022-05-25T21:37:13.967Z] 21:37:13     INFO - Buffered messages logged at 21:37:13
[task 2022-05-25T21:37:13.968Z] 21:37:13     INFO - Console message: [JavaScript Warning: "This page is in Quirks Mode. Page layout may be impacted. For Standards Mode use “<!DOCTYPE html>”." {file: "http://mochi.test:8888/?terms=example" line: 0}]
[task 2022-05-25T21:37:13.969Z] 21:37:13     INFO - Buffered messages finished
[task 2022-05-25T21:37:13.970Z] 21:37:13     INFO - TEST-UNEXPECTED-FAIL | browser/components/urlbar/tests/browser/browser_canonizeURL.js | The loaded url is not canonized - Got "about:blank", expected "http://mochi.test:8888/?terms=example"
[task 2022-05-25T21:37:13.971Z] 21:37:13     INFO - Stack trace:
[task 2022-05-25T21:37:13.971Z] 21:37:13     INFO - chrome://mochikit/content/browser-test.js:test_is:1422
[task 2022-05-25T21:37:13.972Z] 21:37:13     INFO - chrome://mochitests/content/browser/browser/components/urlbar/tests/browser/browser_canonizeURL.js:null:222
[task 2022-05-25T21:37:13.973Z] 21:37:13     INFO - GECKO(1639) | [Child 1762, Main Thread] WARNING: DispatchEvent called on non-current inner window, dropping. Please check the window in the caller instead.: file /builds/worker/checkouts/gecko/dom/base/nsGlobalWindowInner.cpp:4315
[task 2022-05-25T21:37:13.973Z] 21:37:13     INFO - GECKO(1639) | [Parent 1639, Compositor] WARNING: Possibly dropping task posted to updater thread: file /builds/worker/checkouts/gecko/gfx/layers/apz/src/APZUpdater.cpp:365
[task 2022-05-25T21:37:13.974Z] 21:37:13     INFO - Leaving test bound 
[task 2022-05-25T21:37:13.975Z] 21:37:13     INFO - Entering test bound 
[task 2022-05-25T21:37:13.976Z] 21:37:13     INFO - Test whether canonization is enabled again after releasing the ctrl
[task 2022-05-25T21:37:13.977Z] 21:37:13     INFO - GECKO(1639) | [Parent 1639, IPDL Background] WARNING: IPC Connection Error: [Parent][PBackgroundParent] RunMessage(msgname=PRemoteWorkerService::Msg___delete__) Channel closing: too late to send/recv, messages will be lost: file /builds/worker/checkouts/gecko/ipc/glue/MessageChannel.cpp:1908
[task 2022-05-25T21:37:13.978Z] 21:37:13     INFO - GECKO(1639) | [Parent 1639, Compositor] WARNING: IPC Connection Error: [Parent][PCompositorManagerParent] RunMessage(msgname=PCompositorBridge::Msg___delete__) Channel closing: too late to send/recv, messages will be lost: file /builds/worker/checkouts/gecko/ipc/glue/MessageChannel.cpp:1908
[task 2022-05-25T21:37:13.979Z] 21:37:13     INFO - GECKO(1639) | [Child 2513, Main Thread] WARNING: IPC message 'PIdleScheduler::Msg_StartedGC' discarded: actor cannot send: file /builds/worker/checkouts/gecko/ipc/glue/ProtocolUtils.cpp:509
[task 2022-05-25T21:37:13.980Z] 21:37:13     INFO - GECKO(1639) | [Parent 1639: Main Thread]: I/DocShellAndDOMWindowLeak ++DOCSHELL 7f2375a6d800 == 13 [pid = 1639] [id = 51]
[task 2022-05-25T21:37:13.981Z] 21:37:13     INFO - GECKO(1639) | [Parent 1639: Main Thread]: I/DocShellAndDOMWindowLeak ++DOMWINDOW == 29 (7f2374e39260) [pid = 1639] [serial = 123] [outer = 0]
[task 2022-05-25T21:37:13.982Z] 21:37:13     INFO - GECKO(1639) | [Child 2513, Main Thread] WARNING: IPC message 'PIdleScheduler::Msg_DoneGC' discarded: actor cannot send: file /builds/worker/checkouts/gecko/ipc/glue/ProtocolUtils.cpp:509
[task 2022-05-25T21:37:13.983Z] 21:37:13     INFO - GECKO(1639) | [Parent 1639: Main Thread]: I/DocShellAndDOMWindowLeak ++DOMWINDOW == 30 (7f2375a6b400) [pid = 1639] [serial = 124] [outer = 7f2374e39260]
[task 2022-05-25T21:37:13.984Z] 21:37:13     INFO - GECKO(1639) | [Child 2513, Main Thread] WARNING: IPC message 'PIdleScheduler::Msg_StartedGC' discarded: actor cannot send: file /builds/worker/checkouts/gecko/ipc/glue/ProtocolUtils.cpp:509
[task 2022-05-25T21:37:13.984Z] 21:37:13     INFO - GECKO(1639) | [Child 2513, Main Thread] WARNING: IPC message 'PIdleScheduler::Msg_DoneGC' discarded: actor cannot send: file /builds/worker/checkouts/gecko/ipc/glue/ProtocolUtils.cpp:509
[task 2022-05-25T21:37:13.985Z] 21:37:13     INFO - GECKO(1639) | [Parent 1639, Main Thread] WARNING: NS_ENSURE_TRUE(uri) failed: file /builds/worker/checkouts/gecko/caps/BasePrincipal.cpp:1358
[task 2022-05-25T21:37:13.986Z] 21:37:13     INFO - GECKO(1639) | [Child 2513: Main Thread]: I/DocShellAndDOMWindowLeak --DOCSHELL 7f081fc2a800 == 0 [pid = 2513] [id = 0] [url = http://mochi.test:8888/?terms=example]
[task 2022-05-25T21:37:13.987Z] 21:37:13     INFO - GECKO(1639) | [Child 2513, Main Thread] WARNING: IPC message 'PIdleScheduler::Msg_StartedGC' discarded: actor cannot send: file /builds/worker/checkouts/gecko/ipc/glue/ProtocolUtils.cpp:509
[task 2022-05-25T21:37:13.988Z] 21:37:13     INFO - GECKO(1639) | [Child 2513, Main Thread] WARNING: IPC message 'PIdleScheduler::Msg_DoneGC' discarded: actor cannot send: file /builds/worker/checkouts/gecko/ipc/glue/ProtocolUtils.cpp:509
[task 2022-05-25T21:37:13.989Z] 21:37:13     INFO - GECKO(1639) | [Child 2513: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 2 (7f083ab959f0) [pid = 2513] [serial = 1] [outer = 0] [url = http://mochi.test:8888/?terms=example]
[task 2022-05-25T21:37:13.990Z] 21:37:13     INFO - GECKO(1639) | [Child 2513: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 1 (7f081fc2d800) [pid = 2513] [serial = 3] [outer = 0] [url = http://mochi.test:8888/?terms=example]
[task 2022-05-25T21:37:13.991Z] 21:37:13     INFO - GECKO(1639) | [Child 2513: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 0 (7f081fc2ac00) [pid = 2513] [serial = 2] [outer = 0] [url = about:blank]
[task 2022-05-25T21:37:13.991Z] 21:37:13     INFO - GECKO(1639) | [Child 2513, Main Thread] WARNING: Extra shutdown CC: 'i < NORMAL_SHUTDOWN_COLLECTIONS', file /builds/worker/checkouts/gecko/xpcom/base/nsCycleCollector.cpp:3359
[task 2022-05-25T21:37:13.992Z] 21:37:13     INFO - GECKO(1639) | [Child 2513, Main Thread] WARNING: NS_ENSURE_TRUE(InitStaticMembers()) failed: file /builds/worker/workspace/obj-build/dist/include/mozilla/Preferences.h:129
[task 2022-05-25T21:37:13.992Z] 21:37:13     INFO - GECKO(1639) | [Child 2513, Main Thread] WARNING: IPC message 'PIdleScheduler::Msg_StartedGC' discarded: actor cannot send: file /builds/worker/checkouts/gecko/ipc/glue/ProtocolUtils.cpp:509
[task 2022-05-25T21:37:13.993Z] 21:37:13     INFO - GECKO(1639) | [Child 2513, Main Thread] WARNING: IPC message 'PIdleScheduler::Msg_DoneGC' discarded: actor cannot send: file /builds/worker/checkouts/gecko/ipc/glue/ProtocolUtils.cpp:509
[task 2022-05-25T21:37:13.994Z] 21:37:13     INFO - GECKO(1639) | [Child 2513, Main Thread] WARNING: IPC message 'PIdleScheduler::Msg_StartedGC' discarded: actor cannot send: file /builds/worker/checkouts/gecko/ipc/glue/ProtocolUtils.cpp:509
[task 2022-05-25T21:37:13.994Z] 21:37:13     INFO - GECKO(1639) | [Child 2513, Main Thread] WARNING: IPC message 'PIdleScheduler::Msg_DoneGC' discarded: actor cannot send: file /builds/worker/checkouts/gecko/ipc/glue/ProtocolUtils.cpp:509
[task 2022-05-25T21:37:13.995Z] 21:37:13     INFO - GECKO(1639) | [Child 2513, Main Thread] WARNING: NS_ENSURE_TRUE(Preferences::InitStaticMembers()) failed: file /builds/worker/checkouts/gecko/modules/libpref/Preferences.cpp:4571
[task 2022-05-25T21:37:14.083Z] 21:37:14     INFO - GECKO(1639) | [Parent 1639: Main Thread]: I/DocShellAndDOMWindowLeak ++DOCSHELL 7f23799c3000 == 14 [pid = 1639] [id = 52]
[task 2022-05-25T21:37:14.085Z] 21:37:14     INFO - GECKO(1639) | [Parent 1639: Main Thread]: I/DocShellAndDOMWindowLeak ++DOMWINDOW == 31 (7f2374e399a0) [pid = 1639] [serial = 125] [outer = 0]
[task 2022-05-25T21:37:14.086Z] 21:37:14     INFO - GECKO(1639) | [Parent 1639: Main Thread]: I/DocShellAndDOMWindowLeak ++DOMWINDOW == 32 (7f23799bc400) [pid = 1639] [serial = 126] [outer = 7f2374e399a0]
[task 2022-05-25T21:37:14.136Z] 21:37:14     INFO - GECKO(1639) | [2022-05-25T21:37:14Z WARN  webrender::renderer] asking to enable_gpu_markers but no supporting extension was found
[task 2022-05-25T21:37:14.144Z] 21:37:14     INFO - GECKO(1639) | [Child 1762: Main Thread]: I/DocShellAndDOMWindowLeak ++DOCSHELL 7f579911e000 == 4 [pid = 1762] [id = 29]
[task 2022-05-25T21:37:14.145Z] 21:37:14     INFO - GECKO(1639) | [Child 1762: Main Thread]: I/DocShellAndDOMWindowLeak ++DOMWINDOW == 12 (7f57b4096fb0) [pid = 1762] [serial = 71] [outer = 0]
[task 2022-05-25T21:37:14.146Z] 21:37:14     INFO - GECKO(1639) | [Child 1762: Main Thread]: I/DocShellAndDOMWindowLeak ++DOMWINDOW == 13 (7f579911e400) [pid = 1762] [serial = 72] [outer = 7f57b4096fb0]
[task 2022-05-25T21:37:14.405Z] 21:37:14     INFO - GECKO(1639) | 1653514634403	Marionette	TRACE	Received observer notification browser-delayed-startup-finished
[task 2022-05-25T21:37:14.422Z] 21:37:14     INFO - GECKO(1639) | [2022-05-25T21:37:14Z WARN  webrender::device::gl] Cropping texture upload Box2D((0, 0), (0, 1)) to None
[task 2022-05-25T21:37:14.423Z] 21:37:14     INFO - GECKO(1639) | [2022-05-25T21:37:14Z WARN  webrender::device::gl] Cropping texture upload Box2D((0, 0), (0, 1)) to None
[task 2022-05-25T21:37:14.424Z] 21:37:14     INFO - GECKO(1639) | [2022-05-25T21:37:14Z WARN  webrender::device::gl] Cropping texture upload Box2D((0, 0), (0, 1)) to None
[task 2022-05-25T21:37:14.440Z] 21:37:14     INFO - GECKO(1639) | [Child 1762: Main Thread]: I/DocShellAndDOMWindowLeak ++DOMWINDOW == 14 (7f579911d400) [pid = 1762] [serial = 73] [outer = 7f57b4096fb0]
[task 2022-05-25T21:37:14.477Z] 21:37:14     INFO - Paste the word to the urlbar
[task 2022-05-25T21:37:14.551Z] 21:37:14     INFO - TEST-PASS | browser/components/urlbar/tests/browser/browser_canonizeURL.js | Paste the test word correctly - 
[task 2022-05-25T21:37:14.552Z] 21:37:14     INFO - Release the ctrl key befoer typing Enter key
[task 2022-05-25T21:37:14.553Z] 21:37:14     INFO - Send enter key with the ctrl
[task 2022-05-25T21:37:14.554Z] 21:37:14     INFO - GECKO(1639) | Waiting for browser load
[task 2022-05-25T21:37:14.556Z] 21:37:14     INFO - GECKO(1639) | Waiting for browser state change
[task 2022-05-25T21:37:14.600Z] 21:37:14     INFO - Console message: [JavaScript Warning: "Key event not available on some keyboard layouts: key=“r” modifiers=“accel,alt” id=“key_toggleReaderMode”" {file: "chrome://mochikit/content/tests/SimpleTest/EventUtils.js" line: 1360}]
[task 2022-05-25T21:37:14.600Z] 21:37:14     INFO - Console message: [JavaScript Warning: "Key event not available on some keyboard layouts: key=“i” modifiers=“accel,alt,shift” id=“key_browserToolbox”" {file: "chrome://mochikit/content/tests/SimpleTest/EventUtils.js" line: 1360}]
[task 2022-05-25T21:37:14.777Z] 21:37:14     INFO - GECKO(1639) | Saw state f0001 and status 0
[task 2022-05-25T21:37:14.781Z] 21:37:14     INFO - GECKO(1639) | ### XPCOM_MEM_BLOAT_LOG defined -- logging bloat/leaks to /tmp/tmpggrxx11b.mozrunner/runtests_leaks_tab_pid2622.log
[task 2022-05-25T21:37:14.782Z] 21:37:14     INFO - GECKO(1639) | [2622, Main Thread] WARNING: XPCOM_MEM_BLOAT_LOG is set, disabling native allocations.: file /builds/worker/checkouts/gecko/tools/profiler/core/platform.cpp:339
[task 2022-05-25T21:37:14.840Z] 21:37:14     INFO - GECKO(1639) | [Child 2622, Main Thread] WARNING: could not set real-time limit in CubebUtils::InitLibrary: file /builds/worker/checkouts/gecko/dom/media/CubebUtils.cpp:710
[task 2022-05-25T21:37:14.883Z] 21:37:14     INFO - GECKO(1639) | Saw state c0010 and status 804b0002
[task 2022-05-25T21:37:14.886Z] 21:37:14     INFO - GECKO(1639) | Browser got expected state change https://www.example.com/
[task 2022-05-25T21:37:14.893Z] 21:37:14     INFO - The loaded url is canonized
[task 2022-05-25T21:37:15.002Z] 21:37:15     INFO - GECKO(1639) | [Parent 1639, Compositor] WARNING: Possibly dropping task posted to updater thread: file /builds/worker/checkouts/gecko/gfx/layers/apz/src/APZUpdater.cpp:365
[task 2022-05-25T21:37:15.018Z] 21:37:15     INFO - Leaving test bound 
[task 2022-05-25T21:37:15.143Z] 21:37:15     INFO - GECKO(1639) | [2022-05-25T21:37:15Z WARN  glean_core::error_recording] search.engine.private.submission_url: "" does not start with a valid URL scheme.
[task 2022-05-25T21:37:15.267Z] 21:37:15     INFO - GECKO(1639) | MEMORY STAT | vsize 12089MB | residentFast 622MB | heapAllocated 330MB
[task 2022-05-25T21:37:15.269Z] 21:37:15     INFO - TEST-OK | browser/components/urlbar/tests/browser/browser_canonizeURL.js | took 20562ms
[task 2022-05-25T21:37:15.282Z] 21:37:15     INFO - GECKO(1639) | [Child 1762: Main Thread]: I/DocShellAndDOMWindowLeak ++DOCSHELL 7f579911f400 == 5 [pid = 1762] [id = 30]
[task 2022-05-25T21:37:15.284Z] 21:37:15     INFO - GECKO(1639) | [Child 1762: Main Thread]: I/DocShellAndDOMWindowLeak ++DOMWINDOW == 15 (7f57b4097520) [pid = 1762] [serial = 74] [outer = 0]
[task 2022-05-25T21:37:15.284Z] 21:37:15     INFO - GECKO(1639) | [Child 1762: Main Thread]: I/DocShellAndDOMWindowLeak ++DOMWINDOW == 16 (7f579911f800) [pid = 1762] [serial = 75] [outer = 7f57b4097520]
[task 2022-05-25T21:37:15.319Z] 21:37:15     INFO - GECKO(1639) | [Child 1762: Main Thread]: I/DocShellAndDOMWindowLeak --DOCSHELL 7f579911cc00 == 4 [pid = 1762] [id = 28] [url = about:blank]
[task 2022-05-25T21:37:15.321Z] 21:37:15     INFO - GECKO(1639) | [Child 1762: Main Thread]: I/DocShellAndDOMWindowLeak --DOCSHELL 7f579911a400 == 3 [pid = 1762] [id = 26] [url = about:blank]
[task 2022-05-25T21:37:15.325Z] 21:37:15     INFO - GECKO(1639) | [Child 1762: Main Thread]: I/DocShellAndDOMWindowLeak --DOCSHELL 7f579911bc00 == 2 [pid = 1762] [id = 27] [url = about:blank]
[task 2022-05-25T21:37:15.325Z] 21:37:15     INFO - GECKO(1639) | [Child 1762: Main Thread]: I/DocShellAndDOMWindowLeak --DOCSHELL 7f579911e000 == 1 [pid = 1762] [id = 29] [url = about:blank]
[task 2022-05-25T21:37:15.374Z] 21:37:15     INFO - checking window state
[task 2022-05-25T21:37:15.498Z] 21:37:15     INFO - TEST-START | browser/components/urlbar/tests/browser/browser_caret_position.js
```