Closed Bug 2000830 Opened 9 months ago Closed 4 months ago

Investigate why snap-core CI tasks unset MOZ_AUTOMATION

Categories

(Firefox Build System :: Third Party Packaging, task)

task

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: myeongjun.ko, Unassigned)

References

Details

While investigating why perfherder-data-compiler-metrics.json was missing on snap-core jobs, we noticed that these tasks explicitly unset the MOZ_AUTOMATION environment variable. [0]
Most CI jobs rely on MOZ_AUTOMATION to enable automation-specific features across various build and reporting tools. Since snap-core jobs remove this variable, it's unclear whether this behavior is intentional or something carried over from an older configuration.
It would be helpful to confirm the original reason for unsetting MOZ_AUTOMATION.

[0]
https://searchfox.org/firefox-main/rev/1c2b83c1fdb8ba523831bcdb63947f5f7a4cfa5e/taskcluster/docker/snap-coreXX-build/run.sh#24

The most likely reason is that these builds reproduce builds that happen elsewhere that do NOT have MOZ_AUTOMATION set (and shouldn't).

Status: NEW → RESOLVED
Closed: 4 months ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.