hana-chrome-pfq and daisy_skate-chrome-pfq failed at SimpleChromeArtifacts and TestSimpleChromeWorkflow |
||||||||||
Issue descriptionBuilder info: https://cros-goldeneye.corp.google.com/chromeos/healthmonitoring/buildDetails?buildbucketId=8934441277876732048 Failure info in TestSimpleChromeWorkflow [2653/2653] SOLINK ./libassistant.so FAILED: libassistant.so libassistant.so.TOC python "../../../../../../chromeos/assistant/libassistant/src/build/toolchain/gcc_solink_wrapper.py" --readelf="readelf" --nm="nm" --sofile="./libassistant.so" --tocfile="./libassistant.so.TOC" --output="./libassistant.so" -- armv7a-cros-linux-gnueabihf-clang++ -B/b/swarming/w/ir/tmp/t/cbuildbot-tmpyt8yTC/chrome-sdk-cacheHnqi_K/cache/chrome-sdk/tarballs/hana+__b__swarming__w__ir__cache__cbuild__repository__buildbot_archive__hana-chrome-pfq__R71-11097.0.0-rc1+target_toolchain/usr/x86_64-pc-linux-gnu/armv7a-cros-linux-gnueabihf/binutils-bin/2.27.0-gold -Wno-unknown-warning-option -shared -fPIC -Wl,-z,noexecstack -Wl,-z,now -Wl,-z,relro -Wl,-z,defs -Wl,--as-needed -fuse-ld=bfd --target=arm-linux-gnueabihf -Wl,-O2 -Wl,--gc-sections --sysroot=../../../../../../../../../../../../../../tmp/t/cbuildbot-tmpyt8yTC/chrome-sdk-cacheHnqi_K/cache/chrome-sdk/tarballs/hana+__b__swarming__w__ir__cache__cbuild__repository__buildbot_archive__hana-chrome-pfq__R71-11097.0.0-rc1+sysroot_chromeos-base_chromeos-chrome.tar.xz -L../../../../../../../../../../../../../../tmp/t/cbuildbot-tmpyt8yTC/chrome-sdk-cacheHnqi_K/cache/chrome-sdk/tarballs/hana+__b__swarming__w__ir__cache__cbuild__repository__buildbot_archive__hana-chrome-pfq__R71-11097.0.0-rc1+sysroot_chromeos-base_chromeos-chrome.tar.xz/lib -Wl,-rpath-link=../../../../../../../../../../../../../../tmp/t/cbuildbot-tmpyt8yTC/chrome-sdk-cacheHnqi_K/cache/chrome-sdk/tarballs/hana+__b__swarming__w__ir__cache__cbuild__repository__buildbot_archive__hana-chrome-pfq__R71-11097.0.0-rc1+sysroot_chromeos-base_chromeos-chrome.tar.xz/lib -L../../../../../../../../../../../../../../tmp/t/cbuildbot-tmpyt8yTC/chrome-sdk-cacheHnqi_K/cache/chrome-sdk/tarballs/hana+__b__swarming__w__ir__cache__cbuild__repository__buildbot_archive__hana-chrome-pfq__R71-11097.0.0-rc1+sysroot_chromeos-base_chromeos-chrome.tar.xz/usr/lib -Wl,-rpath-link=../../../../../../../../../../../../../../tmp/t/cbuildbot-tmpyt8yTC/chrome-sdk-cacheHnqi_K/cache/chrome-sdk/tarballs/hana+__b__swarming__w__ir__cache__cbuild__repository__buildbot_archive__hana-chrome-pfq__R71-11097.0.0-rc1+sysroot_chromeos-base_chromeos-chrome.tar.xz/usr/lib -L../../../../../../../../../../../../../../tmp/t/cbuildbot-tmpyt8yTC/chrome-sdk-cacheHnqi_K/cache/chrome-sdk/tarballs/hana+__b__swarming__w__ir__cache__cbuild__repository__buildbot_archive__hana-chrome-pfq__R71-11097.0.0-rc1+sysroot_chromeos-base_chromeos-chrome.tar.xz/usr/local/lib -Wl,-rpath-link=../../../../../../../../../../../../../../tmp/t/cbuildbot-tmpyt8yTC/chrome-sdk-cacheHnqi_K/cache/chrome-sdk/tarballs/hana+__b__swarming__w__ir__cache__cbuild__repository__buildbot_archive__hana-chrome-pfq__R71-11097.0.0-rc1+sysroot_chromeos-base_chromeos-chrome.tar.xz/usr/local/lib -static-libgcc -Wl,-O2 -Wl,--as-needed -Wl,--fix-cortex-a53-843419 -stdlib=libc++ -o "./libassistant.so" -Wl,-soname="libassistant.so" @"./libassistant.so.rsp" /b/swarming/w/ir/tmp/t/cbuildbot-tmpyt8yTC/chrome-sdk-cacheHnqi_K/cache/chrome-sdk/tarballs/hana+__b__swarming__w__ir__cache__cbuild__repository__buildbot_archive__hana-chrome-pfq__R71-11097.0.0-rc1+target_toolchain/usr/x86_64-pc-linux-gnu/armv7a-cros-linux-gnueabihf/binutils-bin/2.27.0/ld.bfd.real.elf: unrecognized option '--fix-cortex-a53-843419' /b/swarming/w/ir/tmp/t/cbuildbot-tmpyt8yTC/chrome-sdk-cacheHnqi_K/cache/chrome-sdk/tarballs/hana+__b__swarming__w__ir__cache__cbuild__repository__buildbot_archive__hana-chrome-pfq__R71-11097.0.0-rc1+target_toolchain/usr/x86_64-pc-linux-gnu/armv7a-cros-linux-gnueabihf/binutils-bin/2.27.0/ld.bfd.real.elf: use the --help option for usage information clang-7: error: linker command failed with exit code 1 (use -v to see invocation) ninja: build stopped: subcommand failed. Traceback (most recent call last): File "../../chromeos/assistant/internal/build_libassistant.py", line 166, in <module> sys.exit(main(sys.argv[1:])) File "../../chromeos/assistant/internal/build_libassistant.py", line 157, in main subprocess.check_call(args) File "/usr/lib/python2.7/subprocess.py", line 540, in check_call raise CalledProcessError(retcode, cmd) subprocess.CalledProcessError: Command '['ninja', '-C', 'obj/chromeos/assistant/internal', 'libassistant.so']' returned non-zero exit status 1 ninja: build stopped: subcommand failed. 01:41:47: INFO: RunCommand: python /b/swarming/w/ir/cache/goma/client/goma_ctl.py stop using /b/swarming/w/ir/cache/cbuild/repository/chroot/tmp/goma_tmp_dir.785WrZ as tmpdir Killing compiler proxy. compiler proxy status: http://127.0.0.1:8088 quit! [1;31m01:41:48: ERROR: Traceback (most recent call last): File "/b/swarming/w/ir/cache/cbuild/repository/chromite/cbuildbot/stages/generic_stages.py", line 702, in Run self.PerformStage() File "/b/swarming/w/ir/cache/cbuild/repository/chromite/cbuildbot/stages/chrome_stages.py", line 332, in PerformStage self._BuildChrome(sdk_cmd, goma) File "/b/swarming/w/ir/cache/cbuild/repository/chromite/cbuildbot/stages/chrome_stages.py", line 279, in _BuildChrome result = sdk_cmd.Ninja(run_args={'extra_env': extra_env}) File "/b/swarming/w/ir/cache/cbuild/repository/chromite/cbuildbot/commands.py", line 3094, in Ninja return self.Run(cmd, run_args=run_args) File "/b/swarming/w/ir/cache/cbuild/repository/chromite/cbuildbot/commands.py", line 3079, in Run return cros_build_lib.RunCommand(cros_cmd, cwd=self.cwd, **run_args) File "/b/swarming/w/ir/cache/cbuild/repository/chromite/lib/cros_build_lib.py", line 647, in RunCommand raise RunCommandError(msg, cmd_result)
,
Sep 25
I believe that hana is still experimental, which is why it is greyed out in Legoland. The failures go back to at least 9/19: https://cros-goldeneye.corp.google.com/chromeos/healthmonitoring/buildDetails?id=2960230 It was probably broken by this change: https://chromium-review.googlesource.com/1232194 I'm not sure why that broke hana specifically.
,
Sep 25
Yunlian found the issue yesterday and had a fix below. It seems to be caused by Chrome build not setting "use_gold=true" gn flag although it is actually using gold. This caused libassistant build to use bfd linker instead which does not work with some of the linker flags on arm platform. https://chromium-review.googlesource.com/c/chromiumos/overlays/chromiumos-overlay/+/1240816
,
Sep 25
also happened in peppy-chrome-pfq https://cros-goldeneye.corp.google.com/chromeos/healthmonitoring/buildDetails?buildbucketId=8934399751426913264 Thanks for the fix.
,
Sep 28
,
Sep 28
,
Oct 8
This is still happening on hana-pfq. : https://cros-goldeneye.corp.google.com/chromeos/healthmonitoring/buildDetails?buildbucketId=8933212433232216864 [2653/2653] SOLINK ./libassistant.so FAILED: libassistant.so libassistant.so.TOC python "../../../../../../chromeos/assistant/libassistant/src/build/toolchain/gcc_solink_wrapper.py" --readelf="readelf" --nm="nm" --sofile="./libassistant.so" --tocfile="./libassistant.so.TOC" --output="./libassistant.so" -- armv7a-cros-linux-gnueabihf-clang++ -B/b/swarming/wDPSaed/ir/tmp/t/cbuildbot-tmpVUzLq9/chrome-sdk-cacheg66hx7/cache/chrome-sdk/tarballs/hana+__b__swarming__wDPSaed__ir__cache__cbuild__repository__buildbot_archive__hana-chrome-pfq__R71-11138.0.0-rc1+target_toolchain/usr/x86_64-pc-linux-gnu/armv7a-cros-linux-gnueabihf/binutils-bin/2.27.0-gold -Wno-unknown-warning-option -shared -fPIC -Wl,-z,noexecstack -Wl,-z,now -Wl,-z,relro -Wl,-z,defs -Wl,--as-needed -fuse-ld=bfd --target=arm-linux-gnueabihf -Wl,-O2 -Wl,--gc-sections --sysroot=../../../../../../../../../../../../../../tmp/t/cbuildbot-tmpVUzLq9/chrome-sdk-cacheg66hx7/cache/chrome-sdk/tarballs/hana+__b__swarming__wDPSaed__ir__cache__cbuild__repository__buildbot_archive__hana-chrome-pfq__R71-11138.0.0-rc1+sysroot_chromeos-base_chromeos-chrome.tar.xz -L../../../../../../../../../../../../../../tmp/t/cbuildbot-tmpVUzLq9/chrome-sdk-cacheg66hx7/cache/chrome-sdk/tarballs/hana+__b__swarming__wDPSaed__ir__cache__cbuild__repository__buildbot_archive__hana-chrome-pfq__R71-11138.0.0-rc1+sysroot_chromeos-base_chromeos-chrome.tar.xz/lib -Wl,-rpath-link=../../../../../../../../../../../../../../tmp/t/cbuildbot-tmpVUzLq9/chrome-sdk-cacheg66hx7/cache/chrome-sdk/tarballs/hana+__b__swarming__wDPSaed__ir__cache__cbuild__repository__buildbot_archive__hana-chrome-pfq__R71-11138.0.0-rc1+sysroot_chromeos-base_chromeos-chrome.tar.xz/lib -L../../../../../../../../../../../../../../tmp/t/cbuildbot-tmpVUzLq9/chrome-sdk-cacheg66hx7/cache/chrome-sdk/tarballs/hana+__b__swarming__wDPSaed__ir__cache__cbuild__repository__buildbot_archive__hana-chrome-pfq__R71-11138.0.0-rc1+sysroot_chromeos-base_chromeos-chrome.tar.xz/usr/lib -Wl,-rpath-link=../../../../../../../../../../../../../../tmp/t/cbuildbot-tmpVUzLq9/chrome-sdk-cacheg66hx7/cache/chrome-sdk/tarballs/hana+__b__swarming__wDPSaed__ir__cache__cbuild__repository__buildbot_archive__hana-chrome-pfq__R71-11138.0.0-rc1+sysroot_chromeos-base_chromeos-chrome.tar.xz/usr/lib -L../../../../../../../../../../../../../../tmp/t/cbuildbot-tmpVUzLq9/chrome-sdk-cacheg66hx7/cache/chrome-sdk/tarballs/hana+__b__swarming__wDPSaed__ir__cache__cbuild__repository__buildbot_archive__hana-chrome-pfq__R71-11138.0.0-rc1+sysroot_chromeos-base_chromeos-chrome.tar.xz/usr/local/lib -Wl,-rpath-link=../../../../../../../../../../../../../../tmp/t/cbuildbot-tmpVUzLq9/chrome-sdk-cacheg66hx7/cache/chrome-sdk/tarballs/hana+__b__swarming__wDPSaed__ir__cache__cbuild__repository__buildbot_archive__hana-chrome-pfq__R71-11138.0.0-rc1+sysroot_chromeos-base_chromeos-chrome.tar.xz/usr/local/lib -static-libgcc -Wl,-O2 -Wl,--as-needed -Wl,--fix-cortex-a53-843419 -stdlib=libc++ -o "./libassistant.so" -Wl,-soname="libassistant.so" @"./libassistant.so.rsp" /b/swarming/wDPSaed/ir/tmp/t/cbuildbot-tmpVUzLq9/chrome-sdk-cacheg66hx7/cache/chrome-sdk/tarballs/hana+__b__swarming__wDPSaed__ir__cache__cbuild__repository__buildbot_archive__hana-chrome-pfq__R71-11138.0.0-rc1+target_toolchain/usr/x86_64-pc-linux-gnu/armv7a-cros-linux-gnueabihf/binutils-bin/2.27.0/ld.bfd.real.elf: unrecognized option '--fix-cortex-a53-843419' /b/swarming/wDPSaed/ir/tmp/t/cbuildbot-tmpVUzLq9/chrome-sdk-cacheg66hx7/cache/chrome-sdk/tarballs/hana+__b__swarming__wDPSaed__ir__cache__cbuild__repository__buildbot_archive__hana-chrome-pfq__R71-11138.0.0-rc1+target_toolchain/usr/x86_64-pc-linux-gnu/armv7a-cros-linux-gnueabihf/binutils-bin/2.27.0/ld.bfd.real.elf: use the --help option for usage information clang-8: error: linker command failed with exit code 1 (use -v to see invocation) ninja: build stopped: subcommand failed. Traceback (most recent call last): File "../../chromeos/assistant/internal/build_libassistant.py", line 172, in <module> sys.exit(main(sys.argv[1:])) File "../../chromeos/assistant/internal/build_libassistant.py", line 163, in main subprocess.check_call(args) File "/usr/lib/python2.7/subprocess.py", line 540, in check_call raise CalledProcessError(retcode, cmd) subprocess.CalledProcessError: Command '['ninja', '-C', 'obj/chromeos/assistant/internal', 'libassistant.so']' returned non-zero exit status 1
,
Oct 8
,
Oct 8
Issue 893060 has been merged into this issue.
,
Oct 9
This is now failing on daisy_skate-chrome-pfq as well. Any progress here?
,
Oct 9
Can we escalate since we haven't had a good Chrome PFQ in quite some time? thanks
,
Oct 9
Daisy_skate-chrome-pfq just passed, but hana is failing for the same reason.
,
Oct 9
Is there a way to get source code of chrome from the chrome-pfq builder so that I can try to reproduce it locally?
,
Oct 9
I tried to repro inside chroot and emerge-hana chromeos-chrome with local chrome source, but everything works fine. I also tried simple chrome flow with hana and builds fine. TestSimpleChromeWorkflow seems special. We need some help from experts on this. stevenjb@, do you know how we can run TestSimpleChromeWorkflow locally?
,
Oct 9
that stage simply does: https://chromium.googlesource.com/chromiumos/docs/+/master/simple_chrome_workflow.md
,
Oct 9
I think the problem here is how to get the fresh chromium code. fetch chromium might only get the one that passed pfq test?
,
Oct 9
mmm, how you sync the code locally is entirely up to you. the default sync is to grab tot, not to grab a lkgm. so the default already matches what the chrome pfq bots are doing.
,
Oct 9
if you want to replicate the SDK/sysroot usage, the default chrome-sdk will use lkgm for that (which is independent of the `gclient sync` for chromium source code), but you can easily specify the version info yourself. if you look at the bot log for RunCommand lines, it shows the exact commands the bot is using. the very first one is the `cros chrome-sdk` it uses.
,
Oct 10
The following revision refers to this bug: https://chromium.googlesource.com/chromiumos/overlays/chromiumos-overlay/+/590633f6b80bdb51ffdb8968a7dc95a92c4647c5 commit 590633f6b80bdb51ffdb8968a7dc95a92c4647c5 Author: Manoj Gupta <manojgupta@google.com> Date: Wed Oct 10 02:36:35 2018 chromeos-chrome: Filter unsupported flags. Filter unsupported arm64 flags from arm32 builds. "-Wl,--fix-cortex-a53-843419" is an arm64 option that is not needed for arm32. BUG= chromium:889079 TEST=hana-chrome-pfq tryjob works. Change-Id: Ib84b9aff2ba482a379c7fe100ee91a516a956698 Reviewed-on: https://chromium-review.googlesource.com/c/1272163 Commit-Queue: Manoj Gupta <manojgupta@chromium.org> Tested-by: Manoj Gupta <manojgupta@chromium.org> Trybot-Ready: Manoj Gupta <manojgupta@chromium.org> Reviewed-by: Caroline Tice <cmtice@chromium.org> [modify] https://crrev.com/590633f6b80bdb51ffdb8968a7dc95a92c4647c5/chromeos-base/chromeos-chrome/chromeos-chrome-9999.ebuild
,
Oct 10
hana chrome pfq is green now (and so is master pfq) https://ci.chromium.org/p/chromeos/builders/luci.chromeos.general/Prod/b8933078610905641776
,
Oct 10
,
Oct 10
Issue 888710 has been merged into this issue. |
||||||||||
►
Sign in to add a comment |
||||||||||
Comment 1 by minch@chromium.org
, Sep 25