Closed
Bug 1052454
Opened 10 years ago
Closed 10 years ago
Intermittent OS X build failure "Undefined subroutine &FileAttrCache::complain called at build/macosx/universal/unify line 1422" ("make[2]: *** [postflight_all] Error 5")
Categories
(Firefox Build System :: General, defect)
Tracking
(firefox32 unaffected, firefox33 unaffected, firefox34 fixed, firefox-esr24 unaffected, firefox-esr31 unaffected)
RESOLVED
FIXED
mozilla34
Tracking | Status | |
---|---|---|
firefox32 | --- | unaffected |
firefox33 | --- | unaffected |
firefox34 | --- | fixed |
firefox-esr24 | --- | unaffected |
firefox-esr31 | --- | unaffected |
People
(Reporter: emorley, Assigned: ted)
Details
(Keywords: intermittent-failure)
Attachments
(1 file)
1.99 KB,
patch
|
gps
:
review+
|
Details | Diff | Splinter Review |
OS X 10.7 mozilla-inbound build on 2014-08-11 17:37:35 PDT for push 1150a58d8b3a slave: bld-lion-r5-051 https://tbpl.mozilla.org/php/getParsedLog.php?id=45710086&tree=Mozilla-Inbound { mkdir -p /builds/slave/m-in-osx64-0000000000000000000/build/obj-firefox/x86_64/dist/ && \ cd dist/test-stage && \ zip -rq9D '/builds/slave/m-in-osx64-0000000000000000000/build/obj-firefox/x86_64/dist/firefox-34.0a1.en-US.mac64.tests.zip' \ * -x \*/.mkdir.done rm -rf /builds/slave/m-in-osx64-0000000000000000000/build/obj-firefox/i386/dist/universal/test-stage if test -d /builds/slave/m-in-osx64-0000000000000000000/build/obj-firefox/i386/dist/test-stage -a \ -d /builds/slave/m-in-osx64-0000000000000000000/build/obj-firefox/x86_64/dist/test-stage; then \ cp /builds/slave/m-in-osx64-0000000000000000000/build/obj-firefox/i386/dist/test-stage/mochitest/automation.py \ /builds/slave/m-in-osx64-0000000000000000000/build/obj-firefox/x86_64/dist/test-stage/mochitest/; \ cp -RL /builds/slave/m-in-osx64-0000000000000000000/build/obj-firefox/i386/dist/test-stage/mochitest/extensions/specialpowers \ /builds/slave/m-in-osx64-0000000000000000000/build/obj-firefox/x86_64/dist/test-stage/mochitest/extensions/; \ cp /builds/slave/m-in-osx64-0000000000000000000/build/obj-firefox/i386/dist/test-stage/xpcshell/automation.py \ /builds/slave/m-in-osx64-0000000000000000000/build/obj-firefox/x86_64/dist/test-stage/xpcshell/; \ cp /builds/slave/m-in-osx64-0000000000000000000/build/obj-firefox/i386/dist/test-stage/reftest/automation.py \ /builds/slave/m-in-osx64-0000000000000000000/build/obj-firefox/x86_64/dist/test-stage/reftest/; \ cp -RL /builds/slave/m-in-osx64-0000000000000000000/build/obj-firefox/i386/dist/test-stage/reftest/specialpowers \ /builds/slave/m-in-osx64-0000000000000000000/build/obj-firefox/x86_64/dist/test-stage/reftest/; \ /builds/slave/m-in-osx64-0000000000000000000/build/build/macosx/universal/unify \ --unify-with-sort "\.manifest$" \ --unify-with-sort "all-test-dirs\.list$" \ /builds/slave/m-in-osx64-0000000000000000000/build/obj-firefox/i386/dist/test-stage \ /builds/slave/m-in-osx64-0000000000000000000/build/obj-firefox/x86_64/dist/test-stage \ /builds/slave/m-in-osx64-0000000000000000000/build/obj-firefox/i386/dist/universal/test-stage; fi /builds/slave/m-in-osx64-0000000000000000000/build/build/macosx/universal/unify: warning: makeUniversalDirectory: only in x86 /builds/slave/m-in-osx64-0000000000000000000/build/obj-firefox/x86_64/dist/test-stage/cppunittests: TestJemalloc Undefined subroutine &FileAttrCache::complain called at /builds/slave/m-in-osx64-0000000000000000000/build/build/macosx/universal/unify line 1422. make[2]: *** [postflight_all] Error 5 make[1]: *** [realbuild] Error 2 make: *** [build] Error 2 program finished with exit code 2 elapsedTime=1977.185705 ========= Finished compile failed (results: 2, elapsed: 32 mins, 57 secs) (at 2014-08-11 18:11:17.703809) ========= } Added the "make[2]: *** [postflight_all] Error 5" to the summary to hopefully make this TBPL-starable.
Reporter | ||
Comment 1•10 years ago
|
||
https://tbpl.mozilla.org/php/getParsedLog.php?id=45744572&tree=Fx-Team OS X 10.7 fx-team build on 2014-08-12 03:39:38 PDT for push 4821747ca37d slave: bld-lion-r5-051
Reporter | ||
Comment 2•10 years ago
|
||
Similar: https://tbpl.mozilla.org/php/getParsedLog.php?id=45739388&tree=Mozilla-Aurora OS X 10.7 mozilla-aurora build on 2014-08-12 02:40:58 PDT for push 81d788a4bf74 slave: bld-lion-r5-051 if test -d /builds/slave/m-aurora-osx64-000000000000000/build/obj-firefox/i386/dist/test-stage -a \ -d /builds/slave/m-aurora-osx64-000000000000000/build/obj-firefox/x86_64/dist/test-stage; then \ cp /builds/slave/m-aurora-osx64-000000000000000/build/obj-firefox/i386/dist/test-stage/mochitest/automation.py \ /builds/slave/m-aurora-osx64-000000000000000/build/obj-firefox/x86_64/dist/test-stage/mochitest/; \ cp -RL /builds/slave/m-aurora-osx64-000000000000000/build/obj-firefox/i386/dist/test-stage/mochitest/extensions/specialpowers \ /builds/slave/m-aurora-osx64-000000000000000/build/obj-firefox/x86_64/dist/test-stage/mochitest/extensions/; \ cp /builds/slave/m-aurora-osx64-000000000000000/build/obj-firefox/i386/dist/test-stage/xpcshell/automation.py \ /builds/slave/m-aurora-osx64-000000000000000/build/obj-firefox/x86_64/dist/test-stage/xpcshell/; \ cp /builds/slave/m-aurora-osx64-000000000000000/build/obj-firefox/i386/dist/test-stage/reftest/automation.py \ /builds/slave/m-aurora-osx64-000000000000000/build/obj-firefox/x86_64/dist/test-stage/reftest/; \ cp -RL /builds/slave/m-aurora-osx64-000000000000000/build/obj-firefox/i386/dist/test-stage/reftest/specialpowers \ /builds/slave/m-aurora-osx64-000000000000000/build/obj-firefox/x86_64/dist/test-stage/reftest/; \ /builds/slave/m-aurora-osx64-000000000000000/build/build/macosx/universal/unify \ --unify-with-sort "\.manifest$" \ --unify-with-sort "all-test-dirs\.list$" \ /builds/slave/m-aurora-osx64-000000000000000/build/obj-firefox/i386/dist/test-stage \ /builds/slave/m-aurora-osx64-000000000000000/build/obj-firefox/x86_64/dist/test-stage \ /builds/slave/m-aurora-osx64-000000000000000/build/obj-firefox/i386/dist/universal/test-stage; fi /builds/slave/m-aurora-osx64-000000000000000/build/build/macosx/universal/unify: warning: makeUniversalDirectory: only in x86 /builds/slave/m-aurora-osx64-000000000000000/build/obj-firefox/x86_64/dist/test-stage/cppunittests: TestJemalloc /builds/slave/m-aurora-osx64-000000000000000/build/build/macosx/universal/unify: copyIfIdentical: compare: while comparing: /builds/slave/m-aurora-osx64-000000000000000/build/obj-firefox/i386/dist/test-stage/mochitest/tests/dom/encoding/test/unit/test_shift_jis.js, /builds/slave/m-aurora-osx64-000000000000000/build/obj-firefox/x86_64/dist/test-stage/mochitest/tests/dom/encoding/test/unit/test_shift_jis.js make[2]: *** [postflight_all] Error 1 make[1]: *** [realbuild] Error 2 make: *** [build] Error 2 program finished with exit code 2 elapsedTime=1413.299004 ========= Finished compile failed (results: 2, elapsed: 23 mins, 33 secs) (at 2014-08-12 03:05:12.681372) =========
Assignee | ||
Comment 3•10 years ago
|
||
The error message about complain just seems to be a bug in an error-handling code path. I poked around trying to reproduce this locally and the closest I could come is if I didn't have read permission on one of the files. (I could get the error about line 1412, not 1422.) Line 1412 is where it tries to open the file, 1422 is where it tries to read it. I'm not sure why we'd error reading the file if we already opened it, this whole thing smells of disk errors. I can patch unify to give us useful error messages here, at least.
Assignee | ||
Comment 4•10 years ago
|
||
Hopefully I won't have to touch Perl code for another 10 years after this. I'm okay with a rubber stamp here, I had to look up Perl's scoping rules just to figure this out.
Attachment #8471646 -
Flags: review?(gps)
Assignee | ||
Updated•10 years ago
|
Assignee: nobody → ted
Assignee | ||
Comment 5•10 years ago
|
||
Landing this patch isn't going to fix the issue here, it will just give us better errors when it happens.
Assignee | ||
Comment 6•10 years ago
|
||
Also, I think the real story here is "bld-lion-r5-051 has a bad disk".
Reporter | ||
Comment 7•10 years ago
|
||
(In reply to Ted Mielczarek [:ted.mielczarek] from comment #6) > Also, I think the real story here is "bld-lion-r5-051 has a bad disk". Ah dammit I normally remember to check the machine name on subsequent occurrences; I'll disable it.
Reporter | ||
Comment 8•10 years ago
|
||
Done; bug 882686.
Comment 9•10 years ago
|
||
Comment on attachment 8471646 [details] [diff] [review] fix error messages from unify script Review of attachment 8471646 [details] [diff] [review]: ----------------------------------------------------------------- Don't tell anybody I know Perl :)
Attachment #8471646 -
Flags: review?(gps) → review+
Assignee | ||
Comment 10•10 years ago
|
||
https://hg.mozilla.org/integration/mozilla-inbound/rev/27e0ef1812cc
Comment 11•10 years ago
|
||
https://hg.mozilla.org/mozilla-central/rev/27e0ef1812cc
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla34
Updated•10 years ago
|
status-firefox32:
--- → unaffected
status-firefox33:
--- → unaffected
status-firefox34:
--- → fixed
status-firefox-esr24:
--- → unaffected
status-firefox-esr31:
--- → unaffected
Assignee | ||
Comment 12•10 years ago
|
||
Ryan: those unaffected tags are bogus, in that the bug in unify exists on those branches. (It's probably not important to backport though.)
Updated•10 years ago
|
QA Whiteboard: [qa-]
Comment hidden (Legacy TBPL/Treeherder Robot) |
Comment 14•10 years ago
|
||
Ted, does this failure look related to this bug? https://tbpl.mozilla.org/php/getParsedLog.php?id=47283753&tree=Mozilla-Inbound
Comment 15•10 years ago
|
||
No, that's what it says it is, "compare: Input/output error while comparing" as in, the disk on the slave is starting to fail and failed while it was reading those two files.
Updated•6 years ago
|
Product: Core → Firefox Build System
You need to log in
before you can comment on or make changes to this bug.
Description
•