Closed Bug 1851714 Opened 1 years ago Closed 1 year ago

Perma firefox/modules/backgroundtasks differs. See the diff.html or diff.txt artifact

Categories

(Toolkit :: Default Browser Agent, defect, P5)

defect

Tracking

()

RESOLVED FIXED
119 Branch
Tracking Status
firefox-esr102 --- unaffected
firefox-esr115 --- unaffected
firefox117 --- unaffected
firefox118 --- unaffected
firefox119 --- disabled
firefox120 --- fixed

People

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

References

(Regression)

Details

(Keywords: intermittent-failure, regression, Whiteboard: [stockwell disable-recommended])

Attachments

(2 files)

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


https://firefoxci.taskcluster-artifacts.net/FdXVPwSaTIyphwSk_SZX5A/0/public/diff.html

[task 2023-09-05T22:28:35.878Z]  |                          |    0%  …-remove-column-hover.gif  ETA:  --:--:-- 
[task 2023-09-05T22:28:35.880Z]  |                          |    0%  …/table-remove-column.gif  ETA:  --:--:-- 
[task 2023-09-05T22:28:35.881Z]  |                          |    0%  …le-remove-row-active.gif  ETA:  --:--:-- 
[task 2023-09-05T22:28:35.882Z]  |                          |    0%  …ble-remove-row-hover.gif  ETA:  --:--:-- 
[task 2023-09-05T22:28:35.884Z]  |                          |    0%  …res/table-remove-row.gif  ETA:  --:--:-- 
[task 2023-09-05T22:28:35.884Z]  |                          |    0%                             ETA:  --:--:-- 
[task 2023-09-05T22:28:35.887Z]  |                          |    0%     b/firefox/softokn3.dll  ETA:  --:--:-- 
[task 2023-09-05T22:28:35.887Z]  |                          |    0%        b/firefox/uninstall  ETA:  --:--:-- 
[task 2023-09-05T22:28:35.887Z]  |                          |    0%                             ETA:  --:--:-- 
[task 2023-09-05T22:28:35.889Z]  |                          |    0%  …efox/update-settings.ini  ETA:  --:--:-- 
[task 2023-09-05T22:28:35.891Z]  |                          |    0%    b/firefox/update.locale  ETA:  --:--:-- 
[task 2023-09-05T22:28:35.894Z]  |                          |    0%      b/firefox/updater.exe  ETA:  --:--:-- 
[task 2023-09-05T22:28:35.897Z]  |                          |    0%      b/firefox/updater.ini  ETA:  --:--:-- 
[task 2023-09-05T22:28:35.900Z]  |                          |    0%  …firefox/vcruntime140.dll  ETA:  --:--:-- 
[task 2023-09-05T22:28:35.902Z]  |                          |    0%  …refox/vcruntime140_1.dll  ETA:  --:--:-- 
[task 2023-09-05T22:28:35.988Z]  |                          |    0%          b/firefox/xul.dll  ETA:  --:--:-- 
[task 2023-09-05T22:28:35.988Z]  |                          |    0%                             ETA:  --:--:-- 
[task 2023-09-05T22:28:35.988Z]  |                          |    0%                             ETA:  --:--:-- 
[task 2023-09-05T22:28:35.988Z]  |                          |    0%                             ETA:  --:--:-- 
[task 2023-09-05T22:28:36.023Z]  |###########################|  100%                             Time: 0:00:15 
[task 2023-09-05T22:28:36.023Z] ++ dirname /builds/worker/bin/get_and_diffoscope
[task 2023-09-05T22:28:36.024Z] + /builds/worker/bin/report_error diff
[task 2023-09-05T22:28:36.034Z] TEST-UNEXPECTED-FAIL | firefox/modules/backgroundtasks differs. See the diff.html or diff.txt artifact
[task 2023-09-05T22:28:36.034Z] TEST-UNEXPECTED-FAIL | firefox/precomplete differs. See the diff.html or diff.txt artifact
[task 2023-09-05T22:28:36.036Z] + fail
[task 2023-09-05T22:28:36.037Z] + exit 1
[taskcluster 2023-09-05 22:28:37.512Z] === Task Finished ===
[taskcluster 2023-09-05 22:28:37.839Z] Unsuccessful task run with exit code: 1 completed in 60.691 seconds

:nrishel, since you are the author of the regressor, bug 1838754, could you take a look?

For more information, please visit BugBot documentation.

Flags: needinfo?(nrishel)

Set release status flags based on info from the regressing bug 1838754

:nalexander Not sure what I'm looking at here, new files added causing a test fail?

Flags: needinfo?(nrishel) → needinfo?(nalexander)

glandium: this rather looks like the artifacts fetched for the task are split around the landing or backout of Bug 1838754. Is it possible that the artifact packaging around EME artifacts grabbed an outdated build, leading to this error?

Can you investigate further?

Flags: needinfo?(nalexander) → needinfo?(mh+mozilla)

Those builds are not using the "get lucky with artifacts download" code path, they actually give the explicit task that contains the artifacts via MOZ_ARTIFACT_TASK_WIN32_OPT, and that task is from the same push.

Flags: needinfo?(mh+mozilla)

Essentially, this is a "artifact build doesn't produce the same thing as non-artifact build" problem.

(In reply to Mike Hommey [:glandium] from comment #7)

Essentially, this is a "artifact build doesn't produce the same thing as non-artifact build" problem.

oic. From https://firefoxci.taskcluster-artifacts.net/FdXVPwSaTIyphwSk_SZX5A/0/public/diff.html we're not shipping defaultagent.ini and BackgroundTask_defaultagent.sys.mjs in artifact builds.

And indeed, https://searchfox.org/mozilla-central/rev/146638366864f73ee8a697ea76480eb02c00eb3c/toolkit/moz.build#27-36 made this require a compile environment.

The action here is to weaken this to exclude some compilation pieces when !mingw rather than only allow clang, I think. That is, we still want the localized strings and the background task JS, even when Firefox is an artifact build.

nrishel: back to you to address this. (I can, of course, answer questions as needed.)

Flags: needinfo?(nrishel)

I had referenced CONFIG['CC_TYPE'] != 'clang-cl' and previously found CONFIG["CC_TYPE"] != "gcc" had build errors, so what's the correct flag mixture here? Referencing moz.build files isn't fruitful due to inconsistency. I also see not CONFIG["CC_TYPE"] in ("gcc", "clang") in source?

Flags: needinfo?(nrishel)

There is no CC_TYPE when building artifact builds. You can detect artifact builds with MOZ_ARTIFACT_BUILDS.

This is necessary to bundle non-compiled files from the Default Agent, essentially .sys.mjs and .ini files.

Assignee: nobody → nrishel
Status: NEW → ASSIGNED
Pushed by nrishel@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/efc3444da9bb Don't exclude Default Agent directory from artifact builds. r=glandium
Status: ASSIGNED → RESOLVED
Closed: 1 year ago
Resolution: --- → FIXED
Target Milestone: --- → 119 Branch

Backed out due to changes breaking both Default Agent telemetry and launching Firefox in response to interaction with the Default Agent notifications.

Attachment #9358185 - Attachment description: Backed out changeset efc3444da9bb (Bug 1851714) → WIP: Backed out changeset efc3444da9bb (Bug 1851714)
Attachment #9358185 - Attachment description: WIP: Backed out changeset efc3444da9bb (Bug 1851714) → Backed out changeset efc3444da9bb (Bug 1851714)

Backed out of beta for Fx119
https://hg.mozilla.org/releases/mozilla-beta/rev/0bc85fc81651313ad0c87d04c23b813a947268d4

Setting Fx119 to disabled, the regressor Bug 1838754 was backed out of beta for Fx119

You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: