DebugSymbols: relocation_packer: ERROR: Missing or empty .rel.dyn or .rela.dyn section |
||
Issue descriptioneve-arcnext-release: https://cros-goldeneye.corp.google.com/chromeos/healthmonitoring/buildDetails?buildbucketId=8924180817823338656 There are many identical failures. Here's a snippet. 06:00:45: INFO: Adjusting symbols in /build/eve-arcnext/usr/lib/debug/breakpad/libfec.so/7DBAE42EC7AF8F3C97790D7A2F8278650/libfec.so.sym with offset -38. 06:00:46: INFO: RunCommand: relocation_packer -u /tmp/extracted-wpyoVV/out/target/product/cheets_x86_64/symbols/system/framework/x86/boot-bouncycastle.oat ERROR: Missing or empty .rel.dyn or .rela.dyn section ERROR: Failed to load as ELF ERROR: /tmp/extracted-wpyoVV/out/target/product/cheets_x86_64/symbols/system/framework/x86/boot-bouncycastle.oat: failed to pack/unpack file 06:00:46: INFO: Dumped /tmp/extracted-wpyoVV/out/target/product/cheets_x86_64/symbols/system/framework/x86/boot-bouncycastle.oat as boot-bouncycastle.oat : 0D4479E3DF66A797AB9CA6311ACC283C0 06:00:46: INFO: RunCommand: relocation_packer -u /tmp/extracted-wpyoVV/out/target/product/cheets_x86_64/symbols/system/framework/x86_64/boot-apache-xml.oat ERROR: Missing or empty .rel.dyn or .rela.dyn section This seems to be the only bug referencing ".rel.dyn" and ".rela.dyn" (including closed bugs).
,
Jan 17
(5 days ago)
+yusukes who may know about Android dynamic loader
relocation_packer failures are silently ignored, so they do not make the stage fail.
The actual cause is the following error:
cros_generate_android_breakpad_symbols: Unhandled exception:
Traceback (most recent call last):
File "/mnt/host/source/chromite/bin/cros_generate_android_breakpad_symbols", line 170, in <module>
DoMain()
File "/mnt/host/source/chromite/bin/cros_generate_android_breakpad_symbols", line 166, in DoMain
commandline.ScriptWrapperMain(FindTarget)
File "/mnt/host/source/chromite/lib/commandline.py", line 912, in ScriptWrapperMain
ret = target(argv[1:])
File "/mnt/host/source/chromite/scripts/cros_generate_android_breakpad_symbols.py", line 219, in main
ProcessSymbolsZip(opts.symbols_file, opts.breakpad_dir)
File "/mnt/host/source/chromite/scripts/cros_generate_android_breakpad_symbols.py", line 203, in ProcessSymbolsZip
GenerateBreakpadSymbols(breakpad_dir, extract_dir)
File "/mnt/host/source/chromite/scripts/cros_generate_android_breakpad_symbols.py", line 174, in GenerateBreakpadSymbols
queue.put([os.path.join(root, f)])
File "/usr/lib64/python2.7/contextlib.py", line 24, in __exit__
self.gen.next()
File "/mnt/host/source/chromite/lib/parallel.py", line 750, in BackgroundTaskRunner
queue.put(_AllTasksComplete())
File "/mnt/host/source/chromite/lib/parallel.py", line 750, in BackgroundTaskRunner
queue.put(_AllTasksComplete())
File "/usr/lib64/python2.7/contextlib.py", line 24, in __exit__
self.gen.next()
File "/mnt/host/source/chromite/lib/parallel.py", line 561, in ParallelTasks
raise BackgroundFailure(exc_infos=errors)
chromite.lib.parallel.BackgroundFailure: <class 'chromite.scripts.cros_generate_android_breakpad_symbols.OffsetDiscoveryError'>: No Expansion in: INFO: Relocations : REL
INFO: Packed : 16 bytes
INFO: Unpacked : 16 bytes
INFO: Relocations : 2 entries
It looks the stage has been failing from the very first build after pi-arc->master-arc-dev switch. I guess there was Android dynamic loader change after P release?
,
Jan 17
(5 days ago)
Hmm, no, it might be possible "Missing or empty .rel.dyn or .rela.dyn section" made the output too short, and broke parsing of the output. Anyway, we may want to try updating relocation_packer. |
||
►
Sign in to add a comment |
||
Comment 1 by vapier@chromium.org
, Jan 17 (6 days ago)Components: -Infra>ChromeOS>Build Infra>Client>ARC
Summary: DebugSymbols: relocation_packer: ERROR: Missing or empty .rel.dyn or .rela.dyn section (was: buildpackages: Missing or empty .rel.dyn or .rela.dyn section in canary)