Closed Bug 1506229 Opened 2 years ago Closed 2 years ago

Duplicate files pass ./mach package locally and on taskcluster but fail on try

Categories

(Firefox :: New Tab Page, defect, P2)

defect

Tracking

()

RESOLVED FIXED
Firefox 65
Iteration:
65.3 - Nov 30
Tracking Status
firefox65 --- fixed

People

(Reporter: Mardak, Assigned: andreio)

References

(Depends on 1 open bug)

Details

Some reason the original approach for bug 1504754 passed tests:

https://github.com/mozilla/activity-stream/pull/4551

But we noticed try for export bug 1505929 failed to build on all platforms and both debug and opt:
https://treeherder.mozilla.org/#/jobs?repo=try&revision=be7dd4d8657aa4d6df9ae2024dbe778eb30065bd

try: -b do -p win64,linux64,macosx64 -u mochitests,xpcshell -t none --artifact

> package> ERROR: The following duplicated files are not allowed:
> package> Nightly.app/Contents/Resources/browser/chrome/browser/res/activity-stream/prerendered/en-US/activity-stream-noscripts.html
> package> Nightly.app/Contents/Resources/browser/chrome/browser/res/activity-stream/prerendered/static/activity-stream-debug-noscripts.html
> package> Nightly.app/Contents/Resources/browser/chrome/browser/res/activity-stream/prerendered/en-US/activity-stream-prerendered-noscripts.html
> package> Nightly.app/Contents/Resources/browser/chrome/browser/res/activity-stream/prerendered/static/activity-stream-prerendered-debug-noscripts.html
> package> /builds/worker/workspace/build/src/toolkit/mozapps/installer/packager.mk:22: recipe for target 'stage-package' failed
> package> make[5]: *** [stage-package] Error 1
> package> make[5]: Leaving directory '/builds/worker/workspace/build/src/obj-firefox/browser/installer'
> package> /builds/worker/workspace/build/src/toolkit/mozapps/installer/packager.mk:90: recipe for target 'make-package' failed
> package> make[4]: *** [make-package] Error 2
> package> /builds/worker/workspace/build/src/config/rules.mk:431: recipe for target 'default' failed
> package> make[3]: *** [default] Error 2
> package> /builds/worker/workspace/build/src/browser/build.mk:6: recipe for target 'package' failed
> package> make[2]: *** [package] Error 2
> /builds/worker/workspace/build/src/build/moz-automation.mk:84: recipe for target 'automation/package' failed
> make[1]: *** [automation/package] Error 2
Iteration: --- → 65.3 (Nov 30)
Priority: -- → P2
Aha! I wasn't going totally crazy!! ;) Turns out bug 1418464 added the MOZ_AUTOMATION check to toolkit/mozapps/installer/packager.mk so it doesn't always run find-dupes since about a month ago.

Not sure why bot didn't link https://github.com/mozilla/activity-stream/pull/4562
Assignee: nobody → andrei.br92
Depends on: 1418464
Depends on: 1507610
No longer depends on: 1418464
Status: NEW → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
Blocks: 1510040
https://hg.mozilla.org/mozilla-central/rev/e018665be14b
Target Milestone: --- → Firefox 65
Component: Activity Streams: Newtab → New Tab Page
You need to log in before you can comment on or make changes to this bug.