Closed Bug 780835 Opened 12 years ago Closed 12 years ago

Intermittent build/macosx/universal/unify failure: "copyIfIdentical: files differ"

Categories

(Firefox Build System :: General, defect)

All
macOS
defect
Not set
critical

Tracking

(Not tracked)

RESOLVED FIXED
mozilla17

People

(Reporter: glandium, Assigned: glandium)

References

Details

(Keywords: intermittent-failure, Whiteboard: [red])

Attachments

(1 file)

Mac universal builds sometime fail with errors like this:
/builds/slave/m-in-osx64/build/build/macosx/universal/unify: copyIfIdentical: files differ:
  obj-firefox/i386/dist/test-package-stage/mochitest/extensions/specialpowers/chrome.manifest,
  obj-firefox/x86_64/dist/test-package-stage/mochitest/extensions/specialpowers/chrome.manifest
Summary: Intermittent build/macosx/universal/unify failure → Intermittent build/macosx/universal/unify failure: "copyIfIdentical: files differ"
This is probably an line-ordering issue. Can we sort the contents? I added that feature to unify a while ago.
Severity: normal → critical
(In reply to Ted Mielczarek [:ted] from comment #1)
> This is probably an line-ordering issue. Can we sort the contents? I added
> that feature to unify a while ago.

The full log is:
           /builds/slave/m-in-osx64/build/build/macosx/universal/unify                 \
             --unify-with-sort "all-test-dirs\.list$"               \
             obj-firefox/i386/dist/test-package-stage                          \
             obj-firefox/x86_64/dist/test-package-stage                          \
             obj-firefox/i386/dist/universal/test-package-stage; fi
/builds/slave/m-in-osx64/build/build/macosx/universal/unify: copyIfIdentical: files differ:
  obj-firefox/i386/dist/test-package-stage/mochitest/extensions/specialpowers/chrome.manifest,
  obj-firefox/x86_64/dist/test-package-stage/mochitest/extensions/specialpowers/chrome.manifest

The sorting option *is* used. So either it doesn't work, or there *are* differences in the files. Can someone check on the failing buildbots?
Ah, the argument that follows the option is a regexp for the file names to use it on.
Attachment #649677 - Flags: review?(ted.mielczarek)
Comment on attachment 649677 [details] [diff] [review]
Unify test manifest files with sort

Review of attachment 649677 [details] [diff] [review]:
-----------------------------------------------------------------

Sorting manifests doesn't screw us up with regards to the content, does it?
Attachment #649677 - Flags: review?(ted.mielczarek) → review+
Assignee: nobody → mh+mozilla
(In reply to Ted Mielczarek [:ted] from comment #6)
> Comment on attachment 649677 [details] [diff] [review]
> Unify test manifest files with sort
> 
> Review of attachment 649677 [details] [diff] [review]:
> -----------------------------------------------------------------
> 
> Sorting manifests doesn't screw us up with regards to the content, does it?

We already sort them on non-test unification, see http://mxr.mozilla.org/mozilla-central/source/build/macosx/universal/flight.mk#77
https://tbpl.mozilla.org/php/getParsedLog.php?id=14211783&tree=Mozilla-Inbound

/builds/slave/m-in-osx64/build/build/macosx/universal/unify: copyIfIdentical: files differ:
  obj-firefox/i386/dist/firefox/FirefoxNightly.app/Contents/MacOS/application.ini,
  obj-firefox/x86_64/dist/firefox/FirefoxNightly.app/Contents/MacOS/application.ini
make[2]: *** [postflight_all] Error 1


which is rather quite a lot later than that push.
Hmm, and https://tbpl.mozilla.org/php/getParsedLog.php?id=14212839&tree=Mozilla-Inbound is the same slave, which probably means I need to clobber the lot of them, to make sure I get anybody who managed to hit the bustage.
https://hg.mozilla.org/mozilla-central/rev/ce9504d8a2a2
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Blocks: 797452
Whiteboard: [orange][red] → [red]
Product: Core → Firefox Build System
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: