Bug 15055

Summary: AB-INT: busybox compile fails and caused gdb self-test failure.
Product: [QA/Testing] Functional (self) Testing Reporter: Alexandre Belloni <alexandre.belloni>
Component: oe-selftestAssignee: Unassigned <unassigned>
Status: RESOLVED OBSOLETE QA Contact:
Severity: normal    
Priority: Medium+ CC: alexandre.belloni, randy.macleod, richard.purdie, tgamblin, Yash.Shinde
Version: unspecified   
Target Milestone: 5.99   
Hardware: x86   
OS: Multiple   
Whiteboard: AB-INT
OS type for building Yocto: --- Type of Regression: ---
Verified: Documentation change: No (bug/feature does not impact docs)

Description Alexandre Belloni 2023-03-01 20:03:38 UTC
https://autobuilder.yoctoproject.org/typhoon/#/builders/127/builds/992/steps/14/logs/stdio

oe-selftest-armhost ubuntu2204-arm-1


2023-02-21 02:25:15,051 - oe-selftest - INFO - package.PackageTests.test_gdb_hardlink_debug (subunit.RemotedTestCase)
2023-02-21 02:25:15,052 - oe-selftest - INFO -  ... FAIL

[...]

ERROR: busybox-1.36.0-r0 do_configure: ExecutionError('/home/pokybuild/yocto-worker/oe-selftest-armhost/build/build-st-778267/tmp/work/cortexa57-poky-linux/busybox/1.36.0-r0/temp/run.do_configure.1553295', 1, None, None)
NOTE: recipe sqlite3-3_3.40.1-r0: task do_install: Succeeded
NOTE: Running task 2306 of 2931 (/home/pokybuild/yocto-worker/oe-selftest-armhost/build/meta/recipes-support/sqlite/sqlite3_3.40.1.bb:do_populate_sysroot)
NOTE: recipe sqlite3-3_3.40.1-r0: task do_populate_sysroot: Started
NOTE: recipe sqlite3-3_3.40.1-r0: task do_populate_sysroot: Succeeded
NOTE: Task /home/pokybuild/yocto-worker/oe-selftest-armhost/build/meta/recipes-support/sqlite/sqlite3_3.40.1.bb:do_populate_sysroot unihash changed to 7a04566c47ec9f288632b62b0ae194e1afd3fd9a7928950397641e47f88b9514
NOTE: recipe gdbm-1.23-r0: task do_package: Succeeded
NOTE: Task /home/pokybuild/yocto-worker/oe-selftest-armhost/build/meta/recipes-support/gdbm/gdbm_1.23.bb:do_package unihash changed to 13a6bd9dc015e22fb06ab307e034d1c33159e7e8dd1ecf71d6e7d585509dda3e
NOTE: Setscene task /home/pokybuild/yocto-worker/oe-selftest-armhost/build/meta/recipes-support/gdbm/gdbm_1.23.bb:do_packagedata became valid
NOTE: Running setscene task 1089 of 1089 (/home/pokybuild/yocto-worker/oe-selftest-armhost/build/meta/recipes-support/gdbm/gdbm_1.23.bb:do_packagedata_setscene)
ERROR: Logfile of failure stored in: /home/pokybuild/yocto-worker/oe-selftest-armhost/build/build-st-778267/tmp/work/cortexa57-poky-linux/busybox/1.36.0-r0/temp/log.do_configure.1553295
Log data follows:
| DEBUG: Executing python function extend_recipe_sysroot
| NOTE: Direct dependencies are ['/home/pokybuild/yocto-worker/oe-selftest-armhost/build/meta/recipes-core/glibc/glibc_2.37.bb:do_populate_sysroot', '/home/pokybuild/yocto-worker/oe-selftest-armhost/build/meta/recipes-core/initscripts/initscripts_1.0.bb:do_populate_sysroot', '/home/pokybuild/yocto-worker/oe-selftest-armhost/build/meta/recipes-core/libxcrypt/libxcrypt_4.4.33.bb:do_populate_sysroot', '/home/pokybuild/yocto-worker/oe-selftest-armhost/build/meta/recipes-core/update-rc.d/update-rc.d_0.8.bb:do_populate_sysroot', '/home/pokybuild/yocto-worker/oe-selftest-armhost/build/meta/recipes-devtools/gcc/gcc-cross_12.2.bb:do_populate_sysroot', '/home/pokybuild/yocto-worker/oe-selftest-armhost/build/meta/recipes-devtools/gcc/gcc-runtime_12.2.bb:do_populate_sysroot', '/home/pokybuild/yocto-worker/oe-selftest-armhost/build/meta/recipes-devtools/opkg-utils/opkg-utils_0.5.0.bb:do_populate_sysroot', '/home/pokybuild/yocto-worker/oe-selftest-armhost/build/meta/recipes-devtools/quilt/quilt-native_0.67.bb:do_populate_sysroot', '/home/pokybuild/yocto-worker/oe-selftest-armhost/build/meta/recipes-kernel/kern-tools/kern-tools-native_git.bb:do_populate_sysroot', 'virtual:native:/home/pokybuild/yocto-worker/oe-selftest-armhost/build/meta/recipes-devtools/patch/patch_2.7.6.bb:do_populate_sysroot', 'virtual:native:/home/pokybuild/yocto-worker/oe-selftest-armhost/build/meta/recipes-devtools/pseudo/pseudo_git.bb:do_populate_sysroot']
| NOTE: Installed into sysroot: []
| NOTE: Skipping as already exists in sysroot: ['glibc', 'initscripts', 'libxcrypt', 'update-rc.d', 'gcc-cross-aarch64', 'gcc-runtime', 'opkg-utils', 'quilt-native', 'kern-tools-native', 'patch-native', 'pseudo-native', 'gmp-native', 'linux-libc-headers', 'flex-native', 'gnu-config-native', 'binutils-cross-aarch64', 'mpfr-native', 'libtool-native', 'libmpc-native', 'zstd-native', 'zlib-native', 'texinfo-dummy-native', 'xz-native', 'attr-native', 'libgcc', 'gettext-minimal-native', 'm4-native']
| DEBUG: Python function extend_recipe_sysroot finished
| DEBUG: Executing shell function do_configure
| + do_prepare_config
| + export KCONFIG_NOTIMESTAMP=1
| + sed -e /CONFIG_STATIC/d
| + echo # CONFIG_STATIC is not set
| + echo ### CROSS
| + echo ### DISTRO FEATURES
| + sed -i -e /CONFIG_EXTRA_CFLAGS/d; 		/^[# ]*CONFIG_FEATURE_IPV6[ =]/d
| /^[# ]*CONFIG_LFS[ =]/d
| /^[# ]*CONFIG_FDISK_SUPPORT_LARGE_DISKS[ =]/d
| /^[# ]*CONFIG_LOCALE_SUPPORT[ =]/d
| /^[# ]*CONFIG_FEATURE_IFUPDOWN_IPV4[ =]/d
| /^[# ]*CONFIG_FEATURE_IFUPDOWN_IPV6[ =]/d
| /^[# ]*CONFIG_RFKILL[ =]/d
| /^### DISTRO FEATURES$/a\
| CONFIG_FEATURE_IPV6=y\nCONFIG_LFS=y\nCONFIG_FDISK_SUPPORT_LARGE_DISKS=y\n# CONFIG_LOCALE_SUPPORT is not set\nCONFIG_FEATURE_IFUPDOWN_IPV4=y\nCONFIG_FEATURE_IFUPDOWN_IPV6=y\nCONFIG_RFKILL=y
| 
| /^### CROSS$/a\
| CONFIG_EXTRA_CFLAGS=" -O2 -pipe -g -feliminate-unused-debug-types -fmacro-prefix-map=/home/pokybuild/yocto-worker/oe-selftest-armhost/build/build-st-778267/tmp/work/cortexa57-poky-linux/busybox/1.36.0-r0/busybox-1.36.0=/usr/src/debug/busybox/1.36.0-r0  -fdebug-prefix-map=/home/pokybuild/yocto-worker/oe-selftest-armhost/build/build-st-778267/tmp/work/cortexa57-poky-linux/busybox/1.36.0-r0/busybox-1.36.0=/usr/src/debug/busybox/1.36.0-r0  -fmacro-prefix-map=/home/pokybuild/yocto-worker/oe-selftest-armhost/build/build-st-778267/tmp/work/cortexa57-poky-linux/busybox/1.36.0-r0/busybox-1.36.0=/usr/src/debug/busybox/1.36.0-r0  -fdebug-prefix-map=/home/pokybuild/yocto-worker/oe-selftest-armhost/build/build-st-778267/tmp/work/cortexa57-poky-linux/busybox/1.36.0-r0/busybox-1.36.0=/usr/src/debug/busybox/1.36.0-r0  -fdebug-prefix-map=/home/pokybuild/yocto-worker/oe-selftest-armhost/build/build-st-778267/tmp/work/cortexa57-poky-linux/busybox/1.36.0-r0/recipe-sysroot=  -fmacro-prefix-map=/home/pokybuild/yocto-worker/oe-selftest-armhost/build/build-st-778267/tmp/work/cortexa57-poky-linux/busybox/1.36.0-r0/recipe-sysroot=  -fdebug-prefix-map=/home/pokybuild/yocto-worker/oe-selftest-armhost/build/build-st-778267/tmp/work/cortexa57-poky-linux/busybox/1.36.0-r0/recipe-sysroot-native=   -mcpu=cortex-a57 -march=armv8-a+crc -fstack-protector-strong  -O2 -D_FORTIFY_SOURCE=2 "
|  /home/pokybuild/yocto-worker/oe-selftest-armhost/build/build-st-778267/tmp/work/cortexa57-poky-linux/busybox/1.36.0-r0/busybox-1.36.0/.config
| + test 1 -eq 0
| + sed -i s/CONFIG_IFUPDOWN_UDHCPC_CMD_OPTIONS="-R -n"/CONFIG_IFUPDOWN_UDHCPC_CMD_OPTIONS="-R -b"/ /home/pokybuild/yocto-worker/oe-selftest-armhost/build/build-st-778267/tmp/work/cortexa57-poky-linux/busybox/1.36.0-r0/busybox-1.36.0/.config
| + [ -n -fmacro-prefix-map=/home/pokybuild/yocto-worker/oe-selftest-armhost/build/build-st-778267/tmp/work/cortexa57-poky-linux/busybox/1.36.0-r0/busybox-1.36.0=/usr/src/debug/busybox/1.36.0-r0  -fdebug-prefix-map=/home/pokybuild/yocto-worker/oe-selftest-armhost/build/build-st-778267/tmp/work/cortexa57-poky-linux/busybox/1.36.0-r0/busybox-1.36.0=/usr/src/debug/busybox/1.36.0-r0  -fmacro-prefix-map=/home/pokybuild/yocto-worker/oe-selftest-armhost/build/build-st-778267/tmp/work/cortexa57-poky-linux/busybox/1.36.0-r0/busybox-1.36.0=/usr/src/debug/busybox/1.36.0-r0  -fdebug-prefix-map=/home/pokybuild/yocto-worker/oe-selftest-armhost/build/build-st-778267/tmp/work/cortexa57-poky-linux/busybox/1.36.0-r0/busybox-1.36.0=/usr/src/debug/busybox/1.36.0-r0  -fdebug-prefix-map=/home/pokybuild/yocto-worker/oe-selftest-armhost/build/build-st-778267/tmp/work/cortexa57-poky-linux/busybox/1.36.0-r0/recipe-sysroot=  -fmacro-prefix-map=/home/pokybuild/yocto-worker/oe-selftest-armhost/build/build-st-778267/tmp/work/cortexa57-poky-linux/busybox/1.36.0-r0/recipe-sysroot=  -fdebug-prefix-map=/home/pokybuild/yocto-worker/oe-selftest-armhost/build/build-st-778267/tmp/work/cortexa57-poky-linux/busybox/1.36.0-r0/recipe-sysroot-native=  ]
| + sed -i s|-fmacro-prefix-map=/home/pokybuild/yocto-worker/oe-selftest-armhost/build/build-st-778267/tmp/work/cortexa57-poky-linux/busybox/1.36.0-r0/busybox-1.36.0=/usr/src/debug/busybox/1.36.0-r0  -fdebug-prefix-map=/home/pokybuild/yocto-worker/oe-selftest-armhost/build/build-st-778267/tmp/work/cortexa57-poky-linux/busybox/1.36.0-r0/busybox-1.36.0=/usr/src/debug/busybox/1.36.0-r0  -fmacro-prefix-map=/home/pokybuild/yocto-worker/oe-selftest-armhost/build/build-st-778267/tmp/work/cortexa57-poky-linux/busybox/1.36.0-r0/busybox-1.36.0=/usr/src/debug/busybox/1.36.0-r0  -fdebug-prefix-map=/home/pokybuild/yocto-worker/oe-selftest-armhost/build/build-st-778267/tmp/work/cortexa57-poky-linux/busybox/1.36.0-r0/busybox-1.36.0=/usr/src/debug/busybox/1.36.0-r0  -fdebug-prefix-map=/home/pokybuild/yocto-worker/oe-selftest-armhost/build/build-st-778267/tmp/work/cortexa57-poky-linux/busybox/1.36.0-r0/recipe-sysroot=  -fmacro-prefix-map=/home/pokybuild/yocto-worker/oe-selftest-armhost/build/build-st-778267/tmp/work/cortexa57-poky-linux/busybox/1.36.0-r0/recipe-sysroot=  -fdebug-prefix-map=/home/pokybuild/yocto-worker/oe-selftest-armhost/build/build-st-778267/tmp/work/cortexa57-poky-linux/busybox/1.36.0-r0/recipe-sysroot-native= ||g /home/pokybuild/yocto-worker/oe-selftest-armhost/build/build-st-778267/tmp/work/cortexa57-poky-linux/busybox/1.36.0-r0/busybox-1.36.0/.config
| + merge_config.sh -m .config /home/pokybuild/yocto-worker/oe-selftest-armhost/build/meta/recipes-core/busybox/files/login-utilities.cfg /home/pokybuild/yocto-worker/oe-selftest-armhost/build/meta/recipes-core/busybox/files/mount-via-label.cfg /home/pokybuild/yocto-worker/oe-selftest-armhost/build/meta/recipes-core/busybox/files/sha1sum.cfg /home/pokybuild/yocto-worker/oe-selftest-armhost/build/meta/recipes-core/busybox/files/sha256sum.cfg /home/pokybuild/yocto-worker/oe-selftest-armhost/build/meta/recipes-core/busybox/files/getopts.cfg /home/pokybuild/yocto-worker/oe-selftest-armhost/build/meta/recipes-core/busybox/files/longopts.cfg /home/pokybuild/yocto-worker/oe-selftest-armhost/build/meta/recipes-core/busybox/files/resize.cfg /home/pokybuild/yocto-worker/oe-selftest-armhost/build/meta/recipes-core/busybox/files/syslog.cfg /home/pokybuild/yocto-worker/oe-selftest-armhost/build/meta/recipes-core/busybox/files/unicode.cfg /home/pokybuild/yocto-worker/oe-selftest-armhost/build/meta/recipes-core/busybox/files/rev.cfg /home/pokybuild/yocto-worker/oe-selftest-armhost/build/meta/recipes-core/busybox/files/pgrep.cfg
| Using .config as base
| Merging /home/pokybuild/yocto-worker/oe-selftest-armhost/build/meta/recipes-core/busybox/files/login-utilities.cfg
| The merge file '/home/pokybuild/yocto-worker/oe-selftest-armhost/build/meta/recipes-core/busybox/files/login-utilities.cfg' does not exist.  Exit.
| + bb_sh_exit_handler
| + ret=1
| WARNING: exit code 1 from a shell command.
| + [ 1 != 0 ]
| + echo WARNING: exit code 1 from a shell command.
| + exit 1
NOTE: recipe busybox-1.36.0-r0: task do_configure: Failed
NOTE: Running task 2307 of 2931 (/home/pokybuild/yocto-worker/oe-selftest-armhost/build/meta/recipes-support/sqlite/sqlite3_3.40.1.bb:do_package)
ERROR: Task (/home/pokybuild/yocto-worker/oe-selftest-armhost/build/meta/recipes-core/busybox/busybox_1.36.0.bb:do_configure) failed with exit code '1'
Comment 1 Alexandre Belloni 2023-03-01 20:03:59 UTC
Is this 15041?
Comment 2 Alexandre Belloni 2023-06-01 21:14:52 UTC
https://autobuilder.yoctoproject.org/typhoon/#/builders/131/builds/2472/steps/12/logs/stdio

qemuarm64-alt debian11-ty-3
Comment 3 Randy MacLeod 2023-07-26 21:22:03 UTC
Bulk move of 64 bugs to 4.3 M3 after a quick review.
If a bug is actually fixed, please add a commit link and resolve it.
-- Randy for YP bug team.
Comment 4 Trevor Gamblin 2023-09-14 15:34:31 UTC
Moved to M4.
Comment 5 Randy MacLeod 2023-10-30 15:29:07 UTC
Bulk move to 5.0 M1. -- Randy
Comment 6 Randy MacLeod 2023-12-21 23:28:33 UTC
Bulk move of 52 5.0-M1 bugs to M2.
Comment 7 Randy MacLeod 2024-01-25 14:28:45 UTC
Bulk move of bugs owned by "unassigned" from 5.0-M2 to 5.0-M3.
Comment 8 Randy MacLeod 2024-02-22 19:53:22 UTC
Bulk move of bugs from 5.0-M3 to 5.99.
The bugs in this list are all unassigned and are ones that I consider to be nice to do some time but not essential track from milestone to milestone in 5.0 or 5.1. We agreed on this bug handling approach in the YP bug review on Feb 22, 2024.

If you disagree, please move back to a 5.[012...]-M* milestone.
Comment 9 Richard Purdie 2024-12-19 15:52:32 UTC
Hopefully changes in the unpack code have removed this race issue on the cfg file.