Closed Bug 1965309 Opened 1 year ago Closed 1 year ago

Intermittent toolkit/components/telemetry/tests/unit/test_TelemetryEnvironment_search.js | single tracking bug

Categories

(Toolkit :: Telemetry, defect, P1)

defect

Tracking

()

RESOLVED FIXED
140 Branch
Tracking Status
firefox140 --- fixed

People

(Reporter: intermittent-bug-filer, Assigned: chutten)

References

Details

(Keywords: intermittent-failure, intermittent-testcase)

Attachments

(1 external file)

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


[task 2025-05-08T15:02:18.327Z] 15:02:18  WARNING -  TEST-UNEXPECTED-FAIL | toolkit/components/telemetry/tests/unit/test_TelemetryEnvironment_search.js | setup - [setup : 530] [] == null
[task 2025-05-08T15:02:18.327Z] 15:02:18     INFO -  resource://testing-common/TelemetryEnvironmentTesting.sys.mjs:checkPartnerSection:530
[task 2025-05-08T15:02:18.328Z] 15:02:18     INFO -  resource://testing-common/TelemetryEnvironmentTesting.sys.mjs:checkEnvironmentData:1130
[task 2025-05-08T15:02:18.328Z] 15:02:18     INFO -  /builds/worker/workspace/build/tests/xpcshell/tests/toolkit/components/telemetry/tests/unit/test_TelemetryEnvironment_search.js:setup:106
[task 2025-05-08T15:02:18.328Z] 15:02:18     INFO -  exiting test
[task 2025-05-08T15:02:18.328Z] 15:02:18     INFO -  Unexpected exception NS_ERROR_ABORT:
[task 2025-05-08T15:02:18.329Z] 15:02:18     INFO -  _abort_failed_test@/builds/worker/workspace/build/tests/xpcshell/head.js:869:20
[task 2025-05-08T15:02:18.329Z] 15:02:18     INFO -  do_report_result@/builds/worker/workspace/build/tests/xpcshell/head.js:981:5
[task 2025-05-08T15:02:18.329Z] 15:02:18     INFO -  Assert<@/builds/worker/workspace/build/tests/xpcshell/head.js:70:21
[task 2025-05-08T15:02:18.329Z] 15:02:18     INFO -  Assert.prototype.report@resource://testing-common/Assert.sys.mjs:251:10
[task 2025-05-08T15:02:18.330Z] 15:02:18     INFO -  equal@resource://testing-common/Assert.sys.mjs:293:8
[task 2025-05-08T15:02:18.330Z] 15:02:18     INFO -  checkPartnerSection@resource://testing-common/TelemetryEnvironmentTesting.sys.mjs:530:19
[task 2025-05-08T15:02:18.330Z] 15:02:18     INFO -  checkEnvironmentData@resource://testing-common/TelemetryEnvironmentTesting.sys.mjs:1130:10
[task 2025-05-08T15:02:18.330Z] 15:02:18     INFO -  setup@/builds/worker/workspace/build/tests/xpcshell/tests/toolkit/components/telemetry/tests/unit/test_TelemetryEnvironment_search.js:106:31
[task 2025-05-08T15:02:18.330Z] 15:02:18     INFO -  async*_run_next_test/<@/builds/worker/workspace/build/tests/xpcshell/head.js:1759:22
[task 2025-05-08T15:02:18.331Z] 15:02:18     INFO -  _run_next_test@/builds/worker/workspace/build/tests/xpcshell/head.js:1759:38
[task 2025-05-08T15:02:18.331Z] 15:02:18     INFO -  run@/builds/worker/workspace/build/tests/xpcshell/head.js:808:9
[task 2025-05-08T15:02:18.331Z] 15:02:18     INFO -  _do_main@/builds/worker/workspace/build/tests/xpcshell/head.js:245:6
[task 2025-05-08T15:02:18.331Z] 15:02:18     INFO -  _execute_test@/builds/worker/workspace/build/tests/xpcshell/head.js:596:5
[task 2025-05-08T15:02:18.331Z] 15:02:18     INFO -  @-e:1:1
[task 2025-05-08T15:02:18.331Z] 15:02:18     INFO -  exiting test
[task 2025-05-08T15:02:18.331Z] 15:02:18     INFO -  "CONSOLE_MESSAGE: (info) 1746716538213	addons.xpi-utils	DEBUG	Successfully read XPI database"
[task 2025-05-08T15:02:18.332Z] 15:02:18     INFO -  "CONSOLE_MESSAGE: (info) 1746716538214	Toolkit.Telemetry	TRACE	TelemetryEnvironment::_updateAddons"
[task 2025-05-08T15:02:18.332Z] 15:02:18     INFO -  "CONSOLE_MESSAGE: (info) 1746716538214	Toolkit.Telemetry	TRACE	TelemetryEnvironment::_updateAddons: addons differ"
[task 2025-05-08T15:02:18.332Z] 15:02:18     INFO -  "CONSOLE_MESSAGE: (info) 1746716538215	Toolkit.Telemetry	TRACE	TelemetryEnvironment::_startWatchingPrefs - [object Map]"
[task 2025-05-08T15:02:18.333Z] 15:02:18     INFO -  "Force a GC"
[task 2025-05-08T15:02:18.333Z] 15:02:18     INFO -  "CONSOLE_MESSAGE: (info) 1746716538240	addons.manager	DEBUG	before shutdown"
[task 2025-05-08T15:02:18.333Z] 15:02:18     INFO -  "CONSOLE_MESSAGE: (info) 1746716538240	addons.manager	DEBUG	shutdown"
[task 2025-05-08T15:02:18.333Z] 15:02:18     INFO -  "CONSOLE_MESSAGE: (info) 1746716538240	addons.manager	DEBUG	Calling shutdown blocker for XPIProvider"
[task 2025-05-08T15:02:18.333Z] 15:02:18     INFO -  "CONSOLE_MESSAGE: (info) 1746716538240	addons.xpi	DEBUG	shutdown"
[task 2025-05-08T15:02:18.334Z] 15:02:18     INFO -  "CONSOLE_MESSAGE: (info) 1746716538246	addons.xpi-utils	DEBUG	shutdown"
[task 2025-05-08T15:02:18.334Z] 15:02:18     INFO -  "CONSOLE_MESSAGE: (info) 1746716538247	addons.manager	DEBUG	Async provider shutdown done"

Note that this is happening for artifact builds in CI. The test toolkit/components/telemetry/tests/unit/test_TelemetryEnvironment.js fails as well, but not sure if it is the same underlying issue:

https://treeherder.mozilla.org/logviewer?job_id=507228693&repo=try&lineNumber=7682

Flags: needinfo?(chutten)

Yeah, these are both the same.

My guess is that this is because artefact build support of object metrics like these is using a slightly different validation/coalescing algorithm so that values which are reliably null in full builds can be [] in artefact builds.

Both are equivalent to analyses, so I'll loosen the condition somewhat and we'll be off to the races.

Assignee: nobody → chutten
Status: NEW → ASSIGNED
Flags: needinfo?(chutten)
Priority: P5 → P1
See Also: → 1965481
Pushed by chutten@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/c9a7696abb66 Allow test to pass on empty or absent list of partner names r=TravisLong
Status: ASSIGNED → RESOLVED
Closed: 1 year ago
Resolution: --- → FIXED
Target Milestone: --- → 140 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: