Closed Bug 1033938 Opened 11 years ago Closed 11 years ago

Intermittent "failed to build symbols" after "zip error: Zip file structure invalid (../b2g-33.0a1.en-US.android-arm.crashreporter-symbols-full.zip)"

Categories

(Firefox Build System :: General, defect)

x86_64
Linux
defect
Not set
normal

Tracking

(firefox32 fixed, firefox33 fixed, firefox34 fixed, firefox-esr24 unaffected, firefox-esr31 fixed, b2g-v1.4 fixed, b2g-v2.0 fixed, b2g-v2.1 fixed)

RESOLVED FIXED
mozilla34
Tracking Status
firefox32 --- fixed
firefox33 --- fixed
firefox34 --- fixed
firefox-esr24 --- unaffected
firefox-esr31 --- fixed
b2g-v1.4 --- fixed
b2g-v2.0 --- fixed
b2g-v2.1 --- fixed

People

(Reporter: nigelb, Assigned: ted)

References

()

Details

(Keywords: intermittent-failure)

Attachments

(1 file)

No description provided.
b2g_mozilla-inbound_emulator-jb_dep on 2014-07-02 22:19:03 PDT for push 63538074b343 slave: bld-linux64-spot-015 https://tbpl.mozilla.org/php/getParsedLog.php?id=43003948&tree=Mozilla-Inbound 22:40:28 INFO - 2014-07-03 01:40:28: arm_ex_reader.cc:449: INFO: ExceptionTableInfo: implausible EXIDX last entry size -1; using 1 instead. 22:40:28 INFO - 2014-07-03 01:40:28: arm_ex_reader.cc:471: INFO: ExtabEntryExtract: function is marked CANT_UNWIND 22:40:28 INFO - 2014-07-03 01:40:28: dump_symbols.cc:711: INFO: LoadSymbols: read EXIDX from .ARM.{exidx,extab} 22:40:28 INFO - 2014-07-03 01:40:28: dump_symbols.cc:790: INFO: LoadSymbols: SUCCESS /builds/slave/b2g_m-in_emu-jb_dep-0000000000/build/objdir-gecko/dist/bin/jsapi-tests 22:41:01 INFO - 2014-07-03 01:41:01: dwarf_cu_to_module.cc:562: INFO: /builds/slave/b2g_m-in_emu-jb_dep-0000000000/build/objdir-gecko/dist/bin/libxul.so: in compilation unit 'Unified_cpp_js_src7.cpp' (offset 0x12e51f20): 22:41:01 INFO - 2014-07-03 01:41:01: dwarf_cu_to_module.cc:572: INFO: /builds/slave/b2g_m-in_emu-jb_dep-0000000000/build/objdir-gecko/dist/bin/libxul.so: the DIE at offset 0x12f107f8 has a DW_AT_specification attribute referring to the die at offset 0x1309efad, which either was not marked as a declaration, or comes later in the file 22:41:02 INFO - 2014-07-03 01:41:02: dwarf_cu_to_module.cc:562: INFO: /builds/slave/b2g_m-in_emu-jb_dep-0000000000/build/objdir-gecko/dist/bin/libxul.so: in compilation unit 'Unified_cpp_js_src8.cpp' (offset 0x130c268f): 22:41:02 INFO - 2014-07-03 01:41:02: dwarf_cu_to_module.cc:572: INFO: /builds/slave/b2g_m-in_emu-jb_dep-0000000000/build/objdir-gecko/dist/bin/libxul.so: the DIE at offset 0x131927dc has a DW_AT_specification attribute referring to the die at offset 0x131dea54, which either was not marked as a declaration, or comes later in the file 22:41:05 INFO - 2014-07-03 01:41:05: dump_symbols.cc:657: INFO: LoadSymbols: read CFI from .debug_frame 22:41:06 INFO - 2014-07-03 01:41:06: arm_ex_reader.cc:471: INFO: ExtabEntryExtract: function is marked CANT_UNWIND 22:41:06 INFO - 2014-07-03 01:41:06: arm_ex_reader.cc:471: INFO: ExtabEntryExtract: function is marked CANT_UNWIND 22:41:06 INFO - 2014-07-03 01:41:06: arm_ex_reader.cc:471: INFO: ExtabEntryExtract: function is marked CANT_UNWIND 22:41:06 INFO - 2014-07-03 01:41:06: arm_ex_reader.cc:471: INFO: ExtabEntryExtract: function is marked CANT_UNWIND 22:41:06 INFO - 2014-07-03 01:41:06: arm_ex_reader.cc:471: INFO: ExtabEntryExtract: function is marked CANT_UNWIND 22:41:06 INFO - 2014-07-03 01:41:06: arm_ex_reader.cc:471: INFO: ExtabEntryExtract: function is marked CANT_UNWIND 22:41:06 INFO - 2014-07-03 01:41:06: arm_ex_reader.cc:471: INFO: ExtabEntryExtract: function is marked CANT_UNWIND 22:41:06 INFO - 2014-07-03 01:41:06: arm_ex_reader.cc:471: INFO: ExtabEntryExtract: function is marked CANT_UNWIND 22:41:06 INFO - 2014-07-03 01:41:06: arm_ex_reader.cc:471: INFO: ExtabEntryExtract: function is marked CANT_UNWIND 22:41:06 INFO - 2014-07-03 01:41:06: arm_ex_reader.cc:471: INFO: ExtabEntryExtract: function is marked CANT_UNWIND 22:41:06 INFO - 2014-07-03 01:41:06: arm_ex_reader.cc:474: INFO: ExtabEntryExtract: bytecode can't be represented 22:41:06 INFO - 2014-07-03 01:41:06: arm_ex_reader.cc:471: INFO: ExtabEntryExtract: function is marked CANT_UNWIND 22:41:06 INFO - 2014-07-03 01:41:06: arm_ex_reader.cc:471: INFO: ExtabEntryExtract: function is marked CANT_UNWIND 22:41:06 INFO - 2014-07-03 01:41:06: arm_ex_reader.cc:474: INFO: ExtabEntryExtract: bytecode can't be represented 22:41:06 INFO - 2014-07-03 01:41:06: arm_ex_reader.cc:474: INFO: ExtabEntryExtract: bytecode can't be represented 22:41:06 INFO - 2014-07-03 01:41:06: arm_ex_reader.cc:471: INFO: ExtabEntryExtract: function is marked CANT_UNWIND 22:41:06 INFO - 2014-07-03 01:41:06: arm_ex_reader.cc:471: INFO: ExtabEntryExtract: function is marked CANT_UNWIND 22:41:06 INFO - 2014-07-03 01:41:06: arm_ex_reader.cc:471: INFO: ExtabEntryExtract: function is marked CANT_UNWIND 22:41:06 INFO - 2014-07-03 01:41:06: arm_ex_reader.cc:449: INFO: ExceptionTableInfo: implausible EXIDX last entry size -1; using 1 instead. 22:41:06 INFO - 2014-07-03 01:41:06: arm_ex_reader.cc:471: INFO: ExtabEntryExtract: function is marked CANT_UNWIND 22:41:06 INFO - 2014-07-03 01:41:06: dump_symbols.cc:711: INFO: LoadSymbols: read EXIDX from .ARM.{exidx,extab} 22:41:06 INFO - 2014-07-03 01:41:06: dump_symbols.cc:790: INFO: LoadSymbols: SUCCESS /builds/slave/b2g_m-in_emu-jb_dep-0000000000/build/objdir-gecko/dist/bin/libxul.so 22:41:18 INFO - echo packing symbols 22:41:18 INFO - packing symbols 22:41:18 INFO - dist/bin/nsinstall -D dist/ 22:41:18 INFO - cd dist/crashreporter-symbols && \ 22:41:18 INFO - zip -r9D '../b2g-33.0a1.en-US.android-arm.crashreporter-symbols-full.zip' . -x '*test*' -x '*Test*' 22:41:18 INFO - zip warning: missing end signature--probably not a zip file (did you 22:41:18 INFO - zip warning: remember to use binary mode when you transferred it?) 22:41:18 INFO - zip warning: (if you are trying to read a damaged archive try -F) 22:41:18 INFO - zip error: Zip file structure invalid (../b2g-33.0a1.en-US.android-arm.crashreporter-symbols-full.zip) 22:41:18 ERROR - make[1]: *** [buildsymbols] Error 3 22:41:18 INFO - make[1]: Leaving directory `/builds/slave/b2g_m-in_emu-jb_dep-0000000000/build/objdir-gecko' 22:41:18 INFO - make: *** [buildsymbols] Error 2 22:41:18 INFO - real 1m27.022s 22:41:18 INFO - user 2m18.442s 22:41:18 INFO - sys 0m12.190s 22:41:18 INFO - 22:41:18 INFO - > Build failed! < 22:41:18 INFO - Build with |./build.sh -j1| for better messages 22:41:18 INFO - If all else fails, use |rm -rf objdir-gecko| to clobber gecko and |rm -rf out| to clobber everything else. 22:41:18 ERROR - Return code: 2 22:41:18 FATAL - failed to build symbols 22:41:18 FATAL - Running post_fatal callback... 22:41:18 FATAL - Exiting 2 program finished with exit code 2 elapsedTime=1329.991974
05:52 < glandium> nigelb|sheriffduty: it's bad luck, and the build system not really doing its best to prevent it 05:52 < glandium> nigelb|sheriffduty: essentially a previous build left a broken symbols zip, and the new one doesn't remove it when creating its own, and zip defaults to reusing zips that exist 05:54 < glandium> nigelb|sheriffduty: ask someone on releng to clobber that slave
Product: Firefox → Core
Summary: make[1]: *** [buildsymbols] Error 3 | make: *** [buildsymbols] Error 2 | failed to build symbols → Intermittent "failed to build symbols" after "zip error: Zip file structure invalid (../b2g-33.0a1.en-US.android-arm.crashreporter-symbols-full.zip)"
Apparently we delete the one symbols.zip file but not the symbols-full.zip file: http://hg.mozilla.org/mozilla-central/annotate/340b19c14d3d//Makefile.in#l220 Should be easy to just stick $(RM) '$(DIST)/$(SYMBOL_FULL_ARCHIVE_BASENAME).zip' in there.
Trivial patch, should have done this sooner.
Attachment #8464110 - Flags: review?(mh+mozilla)
Assignee: nobody → ted
Status: NEW → ASSIGNED
Attachment #8464110 - Flags: review?(mh+mozilla) → review+
Blocks: 1047282
Status: ASSIGNED → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla34
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: