Bug: Intermittent browser/components/ion/test/browser/browser_ion_ui.js | We expect the study consent to be present -
Status: RESOLVED
Priority: P5
Resolution: FIXED
Created: 2020-10-01 08:42:19+00:00
Resolved: 2021-03-10 12:07:45+00:00

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

---
```
```
[task 2020-10-01T08:28:36.918Z] 08:28:36     INFO - TEST-START | browser/components/ion/test/browser/browser_ion_ui.js
[task 2020-10-01T08:28:36.919Z] 08:28:36     INFO - GECKO(1479) | Chrome file doesn't exist: /Users/cltbld/tasks/task_1601540285/build/tests/mochitest/browser/browser/components/ion/test/browser/head.js
[task 2020-10-01T08:28:36.922Z] 08:28:36     INFO - GECKO(1479) | [Parent 1479, Main Thread] WARNING: 'NS_FAILED(targetPrincipal->GetAsciiOrigin(targetOrigin))', file /builds/worker/checkouts/gecko/toolkit/components/antitracking/AntiTrackingUtils.cpp, line 347
[task 2020-10-01T08:28:37.010Z] 08:28:37     INFO - GECKO(1479) | [Parent 1479, Main Thread] WARNING: 'NS_FAILED(targetPrincipal->GetAsciiOrigin(targetOrigin))', file /builds/worker/checkouts/gecko/toolkit/components/antitracking/AntiTrackingUtils.cpp, line 347
[task 2020-10-01T08:28:37.074Z] 08:28:37     INFO - GECKO(1479) | [1484, MainThread] WARNING: XPCOM objects created/destroyed from static ctor/dtor: file /builds/worker/checkouts/gecko/xpcom/base/nsTraceRefcnt.cpp, line 202
[task 2020-10-01T08:28:37.074Z] 08:28:37     INFO - GECKO(1479) | [1484, MainThread] WARNING: XPCOM objects created/destroyed from static ctor/dtor: file /builds/worker/checkouts/gecko/xpcom/base/nsTraceRefcnt.cpp, line 202
[task 2020-10-01T08:28:37.074Z] 08:28:37     INFO - GECKO(1479) | ### XPCOM_MEM_BLOAT_LOG defined -- logging bloat/leaks to /var/folders/z_/m0q46qh13mvdf_kp2rb8r3l8000017/T/tmppHhCd2.mozrunner/runtests_leaks_tab_pid1484.log
[task 2020-10-01T08:28:37.075Z] 08:28:37     INFO - GECKO(1479) | [1484, MainThread] WARNING: XPCOM objects created/destroyed from static ctor/dtor: file /builds/worker/checkouts/gecko/xpcom/base/nsTraceRefcnt.cpp, line 202
[task 2020-10-01T08:28:37.075Z] 08:28:37     INFO - GECKO(1479) | [1484, MainThread] WARNING: XPCOM objects created/destroyed from static ctor/dtor: file /builds/worker/checkouts/gecko/xpcom/base/nsTraceRefcnt.cpp, line 202
[task 2020-10-01T08:28:37.075Z] 08:28:37     INFO - GECKO(1479) | [1484, Main Thread] WARNING: XPCOM_MEM_BLOAT_LOG is set, disabling native allocations.: file /builds/worker/checkouts/gecko/tools/profiler/core/platform.cpp, line 246
[task 2020-10-01T08:28:37.152Z] 08:28:37     INFO - GECKO(1479) | [Parent 1479: Main Thread]: I/DocShellAndDOMWindowLeak ++DOCSHELL 0x115328400 == 8 [pid = 1479] [id = 7]
[task 2020-10-01T08:28:37.152Z] 08:28:37     INFO - GECKO(1479) | [Parent 1479: Main Thread]: I/DocShellAndDOMWindowLeak ++DOMWINDOW == 15 (0x12e235a40) [pid = 1479] [serial = 15] [outer = 0x0]
[task 2020-10-01T08:28:37.156Z] 08:28:37     INFO - GECKO(1479) | [Parent 1479: Main Thread]: I/DocShellAndDOMWindowLeak ++DOMWINDOW == 16 (0x11532f800) [pid = 1479] [serial = 16] [outer = 0x12e235a40]
[task 2020-10-01T08:28:37.268Z] 08:28:37     INFO - GECKO(1479) | [Parent 1479: Main Thread]: I/DocShellAndDOMWindowLeak ++DOMWINDOW == 17 (0x129cf3400) [pid = 1479] [serial = 17] [outer = 0x12e235a40]
[task 2020-10-01T08:28:37.328Z] 08:28:37     INFO - GECKO(1479) | [Parent 1479, Main Thread] WARNING: Failed to retarget HTML data delivery to the parser thread.: file /builds/worker/checkouts/gecko/parser/html/nsHtml5StreamParser.cpp, line 1132
[task 2020-10-01T08:28:37.543Z] 08:28:37     INFO - GECKO(1479) | [Parent 1479, Main Thread] WARNING: 'NS_FAILED(targetPrincipal->GetAsciiOrigin(targetOrigin))', file /builds/worker/checkouts/gecko/toolkit/components/antitracking/AntiTrackingUtils.cpp, line 347
[task 2020-10-01T08:28:37.728Z] 08:28:37     INFO - GECKO(1479) | console.error: "Could not install default add-on ion-v2-bad-default-example@mozilla.org"
[task 2020-10-01T08:28:37.827Z] 08:28:37     INFO - GECKO(1479) | [Parent 1479, Main Thread] WARNING: '!inner', file /builds/worker/checkouts/gecko/dom/ipc/jsactor/JSWindowActorProtocol.cpp, line 172
[task 2020-10-01T08:28:37.828Z] 08:28:37     INFO - GECKO(1479) | [Parent 1479, Main Thread] WARNING: '!inner', file /builds/worker/checkouts/gecko/dom/ipc/jsactor/JSWindowActorProtocol.cpp, line 172
[task 2020-10-01T08:28:37.905Z] 08:28:37     INFO - GECKO(1479) | [Parent 1479: Main Thread]: I/DocShellAndDOMWindowLeak ++DOCSHELL 0x129cf4400 == 9 [pid = 1479] [id = 8]
[task 2020-10-01T08:28:37.905Z] 08:28:37     INFO - GECKO(1479) | [Parent 1479: Main Thread]: I/DocShellAndDOMWindowLeak ++DOMWINDOW == 18 (0x12e233260) [pid = 1479] [serial = 18] [outer = 0x0]
[task 2020-10-01T08:28:37.905Z] 08:28:37     INFO - GECKO(1479) | [Parent 1479: Main Thread]: I/DocShellAndDOMWindowLeak ++DOMWINDOW == 19 (0x12b5abc00) [pid = 1479] [serial = 19] [outer = 0x12e233260]
[task 2020-10-01T08:28:37.960Z] 08:28:37     INFO - GECKO(1479) | [Parent 1479: Main Thread]: I/DocShellAndDOMWindowLeak ++DOMWINDOW == 20 (0x12eb96c00) [pid = 1479] [serial = 20] [outer = 0x12e233260]
[task 2020-10-01T08:28:38.004Z] 08:28:38     INFO - GECKO(1479) | [Parent 1479, Main Thread] WARNING: Failed to retarget HTML data delivery to the parser thread.: file /builds/worker/checkouts/gecko/parser/html/nsHtml5StreamParser.cpp, line 1132
[task 2020-10-01T08:28:38.087Z] 08:28:38     INFO - GECKO(1479) | [Parent 1479, Main Thread] WARNING: 'NS_FAILED(targetPrincipal->GetAsciiOrigin(targetOrigin))', file /builds/worker/checkouts/gecko/toolkit/components/antitracking/AntiTrackingUtils.cpp, line 347
[task 2020-10-01T08:28:38.112Z] 08:28:38     INFO - GECKO(1479) | [Parent 1479, Main Thread] WARNING: Scrolled rect smaller than scrollport?: file /builds/worker/checkouts/gecko/layout/generic/nsGfxScrollFrame.cpp, line 6879
[task 2020-10-01T08:28:38.904Z] 08:28:38     INFO - GECKO(1479) | [Parent 1479, Main Thread] WARNING: '!inner', file /builds/worker/checkouts/gecko/dom/ipc/jsactor/JSWindowActorProtocol.cpp, line 172
[task 2020-10-01T08:28:38.904Z] 08:28:38     INFO - GECKO(1479) | [Parent 1479, Main Thread] WARNING: '!inner', file /builds/worker/checkouts/gecko/dom/ipc/jsactor/JSWindowActorProtocol.cpp, line 172
[task 2020-10-01T08:28:38.981Z] 08:28:38     INFO - GECKO(1479) | [Parent 1479: Main Thread]: I/DocShellAndDOMWindowLeak ++DOCSHELL 0x12c6c5c00 == 10 [pid = 1479] [id = 9]
[task 2020-10-01T08:28:38.981Z] 08:28:38     INFO - GECKO(1479) | [Parent 1479: Main Thread]: I/DocShellAndDOMWindowLeak ++DOMWINDOW == 21 (0x12de4aa40) [pid = 1479] [serial = 21] [outer = 0x0]
[task 2020-10-01T08:28:38.982Z] 08:28:38     INFO - GECKO(1479) | [Parent 1479: Main Thread]: I/DocShellAndDOMWindowLeak ++DOMWINDOW == 22 (0x12c6c4400) [pid = 1479] [serial = 22] [outer = 0x12de4aa40]
[task 2020-10-01T08:28:39.043Z] 08:28:39     INFO - GECKO(1479) | [Parent 1479: Main Thread]: I/DocShellAndDOMWindowLeak ++DOMWINDOW == 23 (0x12eb99000) [pid = 1479] [serial = 23] [outer = 0x12de4aa40]
[task 2020-10-01T08:28:39.062Z] 08:28:39     INFO - GECKO(1479) | [Parent 1479, Main Thread] WARNING: Failed to retarget HTML data delivery to the parser thread.: file /builds/worker/checkouts/gecko/parser/html/nsHtml5StreamParser.cpp, line 1132
[task 2020-10-01T08:28:39.187Z] 08:28:39     INFO - GECKO(1479) | [Parent 1479, Main Thread] WARNING: 'NS_FAILED(targetPrincipal->GetAsciiOrigin(targetOrigin))', file /builds/worker/checkouts/gecko/toolkit/components/antitracking/AntiTrackingUtils.cpp, line 347
[task 2020-10-01T08:28:39.187Z] 08:28:39     INFO - GECKO(1479) | [Parent 1479, Main Thread] WARNING: Scrolled rect smaller than scrollport?: file /builds/worker/checkouts/gecko/layout/generic/nsGfxScrollFrame.cpp, line 6879
[task 2020-10-01T08:28:39.869Z] 08:28:39     INFO - TEST-INFO | started process screencapture
[task 2020-10-01T08:28:40.036Z] 08:28:40     INFO - TEST-INFO | screencapture: exit 0
[task 2020-10-01T08:28:40.036Z] 08:28:40     INFO - Buffered messages logged at 08:28:36
[task 2020-10-01T08:28:40.037Z] 08:28:40     INFO - Entering test bound testMockSchema
[task 2020-10-01T08:28:40.037Z] 08:28:40     INFO - Buffered messages logged at 08:28:37
[task 2020-10-01T08:28:40.037Z] 08:28:40     INFO - Leaving test bound testMockSchema
[task 2020-10-01T08:28:40.037Z] 08:28:40     INFO - Entering test bound testBadDefaultAddon
[task 2020-10-01T08:28:40.037Z] 08:28:40     INFO - Console message: [JavaScript Warning: "[fluent-dom] While translating an element with fluent ID "ion-document-title" a child element of type "p" was removed. Either the fluent message does not contain markup, or it does not contain markup of this type." {file: "about:ion" line: 0}]
[task 2020-10-01T08:28:40.037Z] 08:28:40     INFO - TEST-PASS | browser/components/ion/test/browser/browser_ion_ui.js | before enrollment, Ion pref is null. 
...
[task 2020-10-01T08:28:40.045Z] 08:28:40     INFO - TEST-PASS | browser/components/ion/test/browser/browser_ion_ui.js | After unenrollment, join button is disabled. - 
[task 2020-10-01T08:28:40.045Z] 08:28:40     INFO - Leaving test bound testAboutPage
[task 2020-10-01T08:28:40.045Z] 08:28:40     INFO - Entering test bound testEnrollmentPings
[task 2020-10-01T08:28:40.046Z] 08:28:40     INFO - Buffered messages logged at 08:28:39
[task 2020-10-01T08:28:40.046Z] 08:28:40     INFO - TEST-PASS | browser/components/ion/test/browser/browser_ion_ui.js | before enrollment, Ion pref is null. - 
[task 2020-10-01T08:28:40.046Z] 08:28:40     INFO - TEST-PASS | browser/components/ion/test/browser/browser_ion_ui.js | after enrollment, Ion pref is set. - 
[task 2020-10-01T08:28:40.046Z] 08:28:40     INFO - TEST-PASS | browser/components/ion/test/browser/browser_ion_ui.js | ping is of expected type pioneer-study - 
[task 2020-10-01T08:28:40.046Z] 08:28:40     INFO - TEST-PASS | browser/components/ion/test/browser/browser_ion_ui.js | ping is of expected type pioneer-study - 
[task 2020-10-01T08:28:40.046Z] 08:28:40     INFO - TEST-PASS | browser/components/ion/test/browser/browser_ion_ui.js | ping is of expected type pioneer-study - 
[task 2020-10-01T08:28:40.046Z] 08:28:40     INFO - TEST-PASS | browser/components/ion/test/browser/browser_ion_ui.js | ping is of expected type pioneer-study - 
[task 2020-10-01T08:28:40.047Z] 08:28:40     INFO - TEST-PASS | browser/components/ion/test/browser/browser_ion_ui.js | ping is of expected type pioneer-study - 
[task 2020-10-01T08:28:40.047Z] 08:28:40     INFO - TEST-PASS | browser/components/ion/test/browser/browser_ion_ui.js | ping is of expected type pioneer-study - 
[task 2020-10-01T08:28:40.047Z] 08:28:40     INFO - TEST-PASS | browser/components/ion/test/browser/browser_ion_ui.js | ping is of expected type pioneer-study - 
[task 2020-10-01T08:28:40.047Z] 08:28:40     INFO - TEST-PASS | browser/components/ion/test/browser/browser_ion_ui.js | ping is of expected type pioneer-study - 
[task 2020-10-01T08:28:40.047Z] 08:28:40     INFO - TEST-PASS | browser/components/ion/test/browser/browser_ion_ui.js | ping is of expected type pioneer-study - 
[task 2020-10-01T08:28:40.047Z] 08:28:40     INFO - TEST-PASS | browser/components/ion/test/browser/browser_ion_ui.js | ping is of expected type pioneer-study - 
[task 2020-10-01T08:28:40.047Z] 08:28:40     INFO - TEST-PASS | browser/components/ion/test/browser/browser_ion_ui.js | ping is of expected type pioneer-study - 
[task 2020-10-01T08:28:40.047Z] 08:28:40     INFO - TEST-PASS | browser/components/ion/test/browser/browser_ion_ui.js | ping is of expected type pioneer-study - 
[task 2020-10-01T08:28:40.048Z] 08:28:40     INFO - TEST-PASS | browser/components/ion/test/browser/browser_ion_ui.js | We expect the Ion program consent to be present - 
[task 2020-10-01T08:28:40.048Z] 08:28:40     INFO - Buffered messages finished
[task 2020-10-01T08:28:40.048Z] 08:28:40     INFO - TEST-UNEXPECTED-FAIL | browser/components/ion/test/browser/browser_ion_ui.js | We expect the study consent to be present - 
[task 2020-10-01T08:28:40.048Z] 08:28:40     INFO - Stack trace:
[task 2020-10-01T08:28:40.048Z] 08:28:40     INFO - chrome://mochikit/content/browser-test.js:test_ok:1304
[task 2020-10-01T08:28:40.048Z] 08:28:40     INFO - chrome://mochitests/content/browser/browser/components/ion/test/browser/browser_ion_ui.js:taskFn:880
[task 2020-10-01T08:28:40.049Z] 08:28:40     INFO - GECKO(1479) | [Parent 1479, Main Thread] WARNING: '!inner', file /builds/worker/checkouts/gecko/dom/ipc/jsactor/JSWindowActorProtocol.cpp, line 172
[task 2020-10-01T08:28:40.049Z] 08:28:40     INFO - GECKO(1479) | [Parent 1479, Main Thread] WARNING: '!inner', file /builds/worker/checkouts/gecko/dom/ipc/jsactor/JSWindowActorProtocol.cpp, line 172
[task 2020-10-01T08:28:40.049Z] 08:28:40     INFO - Leaving test bound testEnrollmentPings
...
``````