New issue
Advanced search Search tips

Issue 919671 link

Starred by 1 user

Issue metadata

Status: Verified
Owner:
Closed: Jan 9
Components:
EstimatedDays: ----
NextAction: ----
OS: Chrome
Pri: 1
Type: Bug
Build-Toolchain



Sign in to add a comment

amd64-generic-fuzzer failing to build trunks

Project Member Reported by manojgupta@chromium.org, Jan 7

Issue description

trunks-0.0.1-r2623: >>> Preparing source in /mnt/host/source/src/platform2/trunks ...
trunks-0.0.1-r2623: >>> Source prepared.
trunks-0.0.1-r2623: >>> Configuring source in /mnt/host/source/src/platform2/trunks ...
trunks-0.0.1-r2623: /mnt/host/source/src/platform2/common-mk/platform2.py --libdir=/usr/lib64 --use_flags=abi_x86_64 amd64 asan cros-debug elibc_glibc fuzzer kernel_linux userland_GNU --jobs=32 --action=configure --cache_dir=/build/amd64-generic/var/cache/portage/chromeos-base/trunks --platform_subdir=trunks /mnt/host/source/src/platform2/trunks/trunks.gyp
trunks-0.0.1-r2623: 14:33:24: INFO: RunCommand: gn gen '--root=/mnt/host/source/src/platform2' '--args=platform_subdir="trunks" external_cflags=["-fsanitize=address","-fsanitize=fuzzer-no-link","-O2","-pipe","-march=x86-64","-msse3","-g","-fno-exceptions","-fno-unwind-tables","-fno-asynchronous-unwind-tables","-fsanitize=address","-fsanitize=alignment","-fsanitize=shift","-fsanitize=fuzzer-no-link"] external_cppflags=["-D_FILE_OFFSET_BITS=64","-D_LARGEFILE_SOURCE","-D_LARGEFILE64_SOURCE"] enable_exceptions=false build_root="/build/amd64-generic/var/cache/portage/chromeos-base/trunks" external_ldflags=["-Wl,-O2","-Wl,--as-needed","-Xcompiler","-fsanitize=address","-Xcompiler","-fsanitize=fuzzer-no-link","-fsanitize=address","-fsanitize=alignment","-fsanitize=shift"] platform2_root="/mnt/host/source/src/platform2" external_cxxflags=["-fsanitize=address","-fsanitize=fuzzer-no-link","-O2","-pipe","-march=x86-64","-msse3","-g","-fno-exceptions","-fno-unwind-tables","-fno-asynchronous-unwind-tables","-fsanitize=address","-fsanitize=alignment","-fsanitize=shift","-fsanitize=fuzzer-no-link"] OS="linux" libdir="/usr/lib64" libbase_ver="456626" sysroot="/build/amd64-generic" pkg_config="/build/amd64-generic/build/bin/pkg-config" cc="x86_64-cros-linux-gnu-clang" cxx="x86_64-cros-linux-gnu-clang++" ar="x86_64-cros-linux-gnu-ar" use={metrics_uploader=false wifi=false coverage=false selinux=false cros_debug=true kvm_host=false cros_host=false passive_metrics=false device_mapper=false json_store=false ubsan=false arm=false feedback=false pinweaver=false systemd=false direncryption=false abi_x86_64=true amd64=true opengles=false cert_provision=false msan=false fuzzer=true iwlwifi_dump=false cfm_enabled_device=false tpm2_simulator=false pppoe=false containers=false userland_GNU=true hammerd_api=false profiling=false wake_on_wifi=false elibc_glibc=true gdmwimax=false tpm2=false buffet=false kernel_linux=true test=false binder=false wimax=false cellular=false asan=true vpn=false wired_8021x=false tcmalloc=false power_management=false cheets=false chromeos_dbus=false dbus=false ftdi_tpm=false crypto=false attestation=false dhcpv6=false timers=false tpm=false mtd=false}' /build/amd64-generic/var/cache/portage/chromeos-base/trunks/out/Default in /mnt/host/source/src/platform2
trunks-0.0.1-r2623: ERROR Unresolved dependencies.
trunks-0.0.1-r2623: //trunks:trunks_resource_manager_fuzzer(//common-mk/toolchain:toolchain)
trunks-0.0.1-r2623:   needs //common-mk:test(//common-mk/toolchain:toolchain)
trunks-0.0.1-r2623: 
trunks-0.0.1-r2623: platform2.py: Unhandled exception:
trunks-0.0.1-r2623: Traceback (most recent call last):
trunks-0.0.1-r2623:   File "/mnt/host/source/src/platform2/common-mk/platform2.py", line 449, in <module>
trunks-0.0.1-r2623:     commandline.ScriptWrapperMain(lambda _: main)
trunks-0.0.1-r2623:   File "/usr/lib64/python2.7/site-packages/chromite/lib/commandline.py", line 912, in ScriptWrapperMain
trunks-0.0.1-r2623:     ret = target(argv[1:])
trunks-0.0.1-r2623:   File "/mnt/host/source/src/platform2/common-mk/platform2.py", line 445, in main
trunks-0.0.1-r2623:     getattr(p2, options.action)(options.args)
trunks-0.0.1-r2623:   File "/mnt/host/source/src/platform2/common-mk/platform2.py", line 243, in configure
trunks-0.0.1-r2623:     self.configure_gn()
trunks-0.0.1-r2623:   File "/mnt/host/source/src/platform2/common-mk/platform2.py", line 362, in configure_gn
trunks-0.0.1-r2623:     cwd=self.get_platform2_root())
trunks-0.0.1-r2623:   File "/usr/lib64/python2.7/site-packages/chromite/lib/cros_build_lib.py", line 646, in RunCommand
trunks-0.0.1-r2623:     raise RunCommandError(msg, cmd_result)
trunks-0.0.1-r2623: chromite.lib.cros_build_lib.RunCommandError: return code: 1; command: gn gen '--root=/mnt/host/source/src/platform2' '--args=platform_subdir="trunks" external_cflags=["-fsanitize=address","-fsanitize=fuzzer-no-link","-O2","-pipe","-march=x86-64","-msse3","-g","-fno-exceptions","-fno-unwind-tables","-fno-asynchronous-unwind-tables","-fsanitize=address","-fsanitize=alignment","-fsanitize=shift","-fsanitize=fuzzer-no-link"] external_cppflags=["-D_FILE_OFFSET_BITS=64","-D_LARGEFILE_SOURCE","-D_LARGEFILE64_SOURCE"] enable_exceptions=false build_root="/build/amd64-generic/var/cache/portage/chromeos-base/trunks" external_ldflags=["-Wl,-O2","-Wl,--as-needed","-Xcompiler","-fsanitize=address","-Xcompiler","-fsanitize=fuzzer-no-link","-fsanitize=address","-fsanitize=alignment","-fsanitize=shift"] platform2_root="/mnt/host/source/src/platform2" external_cxxflags=["-fsanitize=address","-fsanitize=fuzzer-no-link","-O2","-pipe","-march=x86-64","-msse3","-g","-fno-exceptions","-fno-unwind-tables","-fno-asynchronous-unwind-tables","-fsanitize=address","-fsanitize=alignment","-fsanitize=shift","-fsanitize=fuzzer-no-link"] OS="linux" libdir="/usr/lib64" libbase_ver="456626" sysroot="/build/amd64-generic" pkg_config="/build/amd64-generic/build/bin/pkg-config" cc="x86_64-cros-linux-gnu-clang" cxx="x86_64-cros-linux-gnu-clang++" ar="x86_64-cros-linux-gnu-ar" use={metrics_uploader=false wifi=false coverage=false selinux=false cros_debug=true kvm_host=false cros_host=false passive_metrics=false device_mapper=false json_store=false ubsan=false arm=false feedback=false pinweaver=false systemd=false direncryption=false abi_x86_64=true amd64=true opengles=false cert_provision=false msan=false fuzzer=true iwlwifi_dump=false cfm_enabled_device=false tpm2_simulator=false pppoe=false containers=false userland_GNU=true hammerd_api=false profiling=false wake_on_wifi=false elibc_glibc=true gdmwimax=false tpm2=false buffet=false kernel_linux=true test=false binder=false wimax=false cellular=false asan=true vpn=false wired_8021x=false tcmalloc=false power_management=false cheets=false chromeos_dbus=false dbus=false ftdi_tpm=false crypto=false attestation=false dhcpv6=false timers=false tpm=false mtd=false}' /build/amd64-generic/var/cache/portage/chromeos-base/trunks/out/Default
trunks-0.0.1-r2623: cmd=['gn', 'gen', '--root=/mnt/host/source/src/platform2', '--args=platform_subdir="trunks" external_cflags=["-fsanitize=address","-fsanitize=fuzzer-no-link","-O2","-pipe","-march=x86-64","-msse3","-g","-fno-exceptions","-fno-unwind-tables","-fno-asynchronous-unwind-tables","-fsanitize=address","-fsanitize=alignment","-fsanitize=shift","-fsanitize=fuzzer-no-link"] external_cppflags=["-D_FILE_OFFSET_BITS=64","-D_LARGEFILE_SOURCE","-D_LARGEFILE64_SOURCE"] enable_exceptions=false build_root="/build/amd64-generic/var/cache/portage/chromeos-base/trunks" external_ldflags=["-Wl,-O2","-Wl,--as-needed","-Xcompiler","-fsanitize=address","-Xcompiler","-fsanitize=fuzzer-no-link","-fsanitize=address","-fsanitize=alignment","-fsanitize=shift"] platform2_root="/mnt/host/source/src/platform2" external_cxxflags=["-fsanitize=address","-fsanitize=fuzzer-no-link","-O2","-pipe","-march=x86-64","-msse3","-g","-fno-exceptions","-fno-unwind-tables","-fno-asynchronous-unwind-tables","-fsanitize=address","-fsanitize=alignment","-fsanitize=shift","-fsanitize=fuzzer-no-link"] OS="linux" libdir="/usr/lib64" libbase_ver="456626" sysroot="/build/amd64-generic" pkg_config="/build/amd64-generic/build/bin/pkg-config" cc="x86_64-cros-linux-gnu-clang" cxx="x86_64-cros-linux-gnu-clang++" ar="x86_64-cros-linux-gnu-ar" use={metrics_uploader=false wifi=false coverage=false selinux=false cros_debug=true kvm_host=false cros_host=false passive_metrics=false device_mapper=false json_store=false ubsan=false arm=false feedback=false pinweaver=false systemd=false direncryption=false abi_x86_64=true amd64=true opengles=false cert_provision=false msan=false fuzzer=true iwlwifi_dump=false cfm_enabled_device=false tpm2_simulator=false pppoe=false containers=false userland_GNU=true hammerd_api=false profiling=false wake_on_wifi=false elibc_glibc=true gdmwimax=false tpm2=false buffet=false kernel_linux=true test=false binder=false wimax=false cellular=false asan=true vpn=false wired_8021x=false tcmalloc=false power_management=false cheets=false chromeos_dbus=false dbus=false ftdi_tpm=false crypto=false attestation=false dhcpv6=false timers=false tpm=false mtd=false}', '/build/amd64-generic/var/cache/portage/chromeos-base/trunks/out/Default'], cwd=/mnt/host/source/src/platform2
trunks-0.0.1-r2623:  * ERROR: chromeos-base/trunks-0.0.1-r2623::chromiumos failed (configure phase):
 
Seems to be caused by : https://chromium-review.googlesource.com/c/chromiumos/platform2/+/1391610

trunks: Migrate the package to GN

BUG=chromium:767517
TEST=USE=test FEATURES=test emerge-reef trunks
Project Member

Comment 3 by bugdroid1@chromium.org, Jan 8

The following revision refers to this bug:
  https://chromium.googlesource.com/chromiumos/platform2/+/96e62588cafcd58a7238dd521e3f5ab397c40ef0

commit 96e62588cafcd58a7238dd521e3f5ab397c40ef0
Author: Manoj Gupta <manojgupta@chromium.org>
Date: Tue Jan 08 02:14:35 2019

Revert "trunks: Migrate the package to GN"

This reverts commit e030bf3e9ce097f4654c4e96e89790f49a91d4a8.

Reason for revert: Broke fuzzer builds.

Original change's description:
> trunks: Migrate the package to GN
> 
> BUG=chromium:767517
> TEST=USE=test FEATURES=test emerge-reef trunks
> 
> Change-Id: Ie3c54e76b04a54f37a67d517ad837a7ed298c345
> Reviewed-on: https://chromium-review.googlesource.com/1391610
> Commit-Ready: ChromeOS CL Exonerator Bot <chromiumos-cl-exonerator@appspot.gserviceaccount.com>
> Tested-by: Tatsuhisa Yamaguchi <yamaguchi@chromium.org>
> Reviewed-by: Allen Webb <allenwebb@google.com>
> Reviewed-by: Shuhei Takahashi <nya@chromium.org>

Bug: chromium:767517
Bug:  chromium:919671 
Change-Id: I726535cc2dcb63c763845dd86ce3bc6e6fc8dcb0
Reviewed-on: https://chromium-review.googlesource.com/c/1399005
Commit-Queue: Manoj Gupta <manojgupta@chromium.org>
Tested-by: Manoj Gupta <manojgupta@chromium.org>
Trybot-Ready: Manoj Gupta <manojgupta@chromium.org>
Reviewed-by: Tatsuhisa Yamaguchi <yamaguchi@chromium.org>
Reviewed-by: Nicolas Boichat <drinkcat@chromium.org>

[add] https://crrev.com/96e62588cafcd58a7238dd521e3f5ab397c40ef0/trunks/trunks.gyp
[delete] https://crrev.com/9f8d99f792d427bbc1463afcef6e13f4027d1c39/trunks/BUILD.gn

Owner: manojgupta@chromium.org
Status: Verified (was: Untriaged)

Sign in to add a comment