Acknowledged
Created: Jun 10, 2025
Updated: Sep 16, 2025
Found In Version: 10.25.33.1
Severity: Standard
Applicable for: Wind River Linux LTS 25
Component/s: BSP
If the kernel is built with CONFIG_FTRACE_STARTUP_TEST=y, the self-test process during system startup will fail, causing the system to hang in an infinite loop at a certain test, as shown below:
Testing event system syscalls: OK
Testing event system raw_syscalls: OK
Testing event system initcall: OK
Running tests on all trace events:
Testing all events: OK
Running tests again, along with the function tracer
Running tests on trace events:
Testing event initcall_finish: OK
Testing event initcall_start: OK
Testing event initcall_level: OK
Testing event sys_exit: OK
Testing event sys_enter: OK
Testing event task_rename: OK
Testing event task_newtask: OK
Testing event cpuhp_exit: OK
Testing event cpuhp_multi_enter: OK
Testing event cpuhp_enter: OK
Testing event tasklet_exit: OK
Testing event tasklet_entry: OK
Testing event softirq_raise: OK
Testing event softirq_exit: OK
Testing event softirq_entry: OK
Testing event irq_handler_exit: OK
Testing event irq_handler_entry: OK
Testing event signal_deliver: OK
Testing event signal_generate: OK
Testing event workqueue_execute_end: OK
Testing event workqueue_execute_start: OK
Testing event workqueue_activate_work: OK
Testing event workqueue_queue_work: OK
Testing event notifier_run: OK
Testing event notifier_unregister: OK
Testing event notifier_register: OK
Testing event ipi_exit: OK
Testing event ipi_entry:
/lpg-build/cdc/fast_prod/WRL10_25/WRL10_25_GIT/wrlinux-10/setup.sh --machines nxp-imx6 --templates feature/docker --distros wrlinux --dl-layers=1 --accept-eula=yes
source environment-setup-x86_64-wrlinuxsdk-linux
source oe-init-build-env build
echo 'BB_NUMBER_THREADS ?= "24"' >> conf/local.conf
echo 'PARALLEL_MAKE ?= "-j 24"' >> conf/local.conf
bitbake-layers add-layer /lpg-build/cdc/WASSP_LINUX_1025/testcases/wrlinux/wr-testing/kts-dev
cd /lpg-build/cdc/WASSP_LINUX_1025/testcases/wrlinux/wr-testing/kts-dev/tools && ./gen_kernel_plan.py -s wr-kts -b nxp-imx6 -k standard -a arm -p $BUILDDIR ; cd - && cp standard_wr-kts.ini test_plan.list
#####To Clone a whole new testcases layer#####
git clone --depth 1 -b master git://lxgit.wrs.com/wrlinux-testing/testcases.git ../layers/testcases/wrlinux/
bitbake-layers add-layer ../layers/testcases/wrlinux/wr-testing/kts-dev
cd ../layers/testcases/wrlinux/wr-testing/kts-dev/tools && ./gen_kernel_plan.py -s wr-kts -b nxp-imx6 -k standard -a arm -p $BUILDDIR ; cd - && cp standard_wr-kts.ini test_plan.list
#####End#####
echo 'IMAGE_FSTYPES += "tar.bz2"' >> conf/local.conf
echo 'IMAGE_FSTYPES:remove = " live hddimg iso"' >> conf/local.conf
echo 'require templates/feature/wr-kts/template.conf' >> conf/local.conf
open the following kernels configs:
CONFIG_FTRACE_STARTUP_TEST=y
CONFIG_EVENT_TRACE_TEST_SYSCALLS=y
CONFIG_IRQSOFF_TRACER=y
CONFIG_PREEMPT_TRACER=y
CONFIG_FTRACE=y
CONFIG_LOG_BUF_SHIFT=22
bitbake wrlinux-image-std
Share image:
http://pek-lpgtest7408.wrs.com/buildarea1/SharedImage/LTS25/Kernel/nxp-imx6_standard_glibc-std_GIT/20250610_154922