"cbuildbot --local chromiumos-sdk" fails during InitSDK when calling "crossdev"
Reported by
nbis...@neverware.com,
Nov 2 2016
|
||||||||||
Issue description
Full log attached. Error snippet:
20:01:26: INFO: Determining required toolchain updates...
cros_setup_toolchains: Unhandled exception:
Traceback (most recent call last):
File "/mnt/host/source/chromite/bin/cros_setup_toolchains", line 168, in <module>
DoMain()
File "/mnt/host/source/chromite/bin/cros_setup_toolchains", line 164, in DoMain
commandline.ScriptWrapperMain(FindTarget)
File "/mnt/host/source/chromite/lib/commandline.py", line 834, in ScriptWrapperMain
ret = target(argv[1:])
File "/mnt/host/source/chromite/scripts/cros_setup_toolchains.py", line 1200, in main
root=root)
File "/mnt/host/source/chromite/scripts/cros_setup_toolchains.py", line 661, in UpdateToolchains
if UpdateTargets(targets, usepkg, root=root) or crossdev_targets or reconfig:
File "/mnt/host/source/chromite/scripts/cros_setup_toolchains.py", line 459, in UpdateTargets
for package in GetTargetPackages(target):
File "/mnt/host/source/chromite/scripts/cros_setup_toolchains.py", line 232, in GetTargetPackages
conf = Crossdev.GetConfig(target)
File "/mnt/host/source/chromite/scripts/cros_setup_toolchains.py", line 128, in GetConfig
redirect_stdout=True).output.splitlines()
File "/mnt/host/source/chromite/lib/cros_build_lib.py", line 624, in RunCommand
raise RunCommandError(msg, cmd_result)
chromite.lib.cros_build_lib.RunCommandError: return code: 1; command: crossdev --show-target-cfg --ex-gdb -t x86_64-pc-linux-gnu
cwd=None
Running ['/mnt/btr/chromium/trybot/src/scripts/sdk_lib/make_chroot.sh', '--stage3_path', '/mnt/btr/chromium/trybot/.cache/sdks/stage3-amd64-2014.09.18.tar.xz', '--chroot', '/mnt/btr/chromium/trybot/chroot', '--cache_dir', '/mnt/btr/chromium/trybot/.cache', '--nousepkg'] failed!
[1;31m20:01:27: ERROR:
return code: 1; command: /mnt/btr/chromium/trybot/chromite/bin/cros_sdk --buildbot-log-version --bootstrap --replace '--chrome_root=/mnt/btr/chromium/trybot/.cache/distfiles/target-master/chrome-src'
,
Nov 2 2016
Rahul, please take a look.
,
Nov 2 2016
the chromiumos-sdk builder in the external waterfall is working. So, I dont understand why this is failing.
,
Nov 3 2016
I could not reproduce this issue. Here are a few things I tried: 1) In a fresh chroot, ran "setup_board --nousepkg" for 3 boards (different architectures). This runs crossdev internally. These ran successfully. 2) Tried to create a chroot with "cros_sdk --bootstrap". This failed, but for unrelated reason (https://bugs.chromium.org/p/chromium/issues/detail?id=661844). 3) Tried to run "cbuildbot --local chromiumos-sdk" as mentioned in the bug report. This also failed, and for the same unrelated reason as 2. Also, based on the update on the mailing list thread (https://groups.google.com/a/chromium.org/forum/#!topic/chromium-os-dev/cgghJ7nRV6k), this issue seems to happen only when running cbuildbot from inside a shell in an emacs buffer. Mike has fix for that which will be pushed soon.
,
Nov 3 2016
,
Nov 12 2016
The following revision refers to this bug: https://chromium.googlesource.com/chromiumos/overlays/portage-stable/+/67d2146e9d7b23aa66cb7d549b9e725ee6baf463 commit 67d2146e9d7b23aa66cb7d549b9e725ee6baf463 Author: Mike Frysinger <vapier@chromium.org> Date: Thu Nov 10 21:56:34 2016 gentoo-functions: upgraded package to upstream Upgraded sys-apps/gentoo-functions to version 0.11 for all. BUG= chromium:661372 TEST=precq passes Change-Id: I4769c8d11667bb0044c0698bb8344b044f1cce94 Reviewed-on: https://chromium-review.googlesource.com/410057 Commit-Ready: Mike Frysinger <vapier@chromium.org> Tested-by: Mike Frysinger <vapier@chromium.org> Reviewed-by: David Hendricks <dhendrix@chromium.org> Reviewed-by: David Tseng <dtseng@chromium.org> [modify] https://crrev.com/67d2146e9d7b23aa66cb7d549b9e725ee6baf463/sys-apps/gentoo-functions/Manifest [rename] https://crrev.com/67d2146e9d7b23aa66cb7d549b9e725ee6baf463/sys-apps/gentoo-functions/gentoo-functions-0.11.ebuild
,
Nov 12 2016
,
Jan 21 2017
,
Mar 4 2017
,
Apr 17 2017
,
May 30 2017
,
Aug 1 2017
,
Aug 3 2017
Closing. Please reopen it if its not fixed. Thanks! |
||||||||||
►
Sign in to add a comment |
||||||||||
Comment 1 by vapier@chromium.org
, Nov 2 2016Labels: -Restrict-View-Google Build-Toolchain OS-Chrome Pri-2 Type-Bug