Steps to reproduce: 1) setup with: $ setup.sh --machines=intel-x86-64 --kernel=standard --dl-layers --distros wrlinux --kernel preempt-rt --templates feature/test $ . ./environment-setup-x86_64-wrlinuxsdk-linux $. ./oe-init-build-env build_test 2) build $ bitbake lib32-wrlinux-image-glibc-std 3) start target and run ltp test: # /opt/ltp/wrLinux_ltp/wr-runltp -f containers -s userns05 LTP-userns05 run fail on preempt-rt 32bit rootfs, but 64bit is ok. <<<test_start>>> tag=userns05 stime=1483669659 cmdline="userns05" contacts="" analysis=exit <<<test_output>>> user_namespace5 1 TFAIL : userns05.c:95: userns:parent should be not equal to cpid2 user_namespace5 1 TFAIL : userns05.c:95: userns:parent should be not equal to cpid2 user_namespace5 0 TINFO : Child process returned TPASS user_namespace5 0 TINFO : Child process returned TPASS user_namespace5 0 TINFO : Child process returned TFAIL incrementing stop <<<execution_status>>> initiation_status="ok" duration=0 termination_type=exited termination_id=1 corefile=no cutime=0 cstime=2 <<<test_end>>>
wrlinux-9/setup.sh --machines intel-x86-64 --distros wrlinux --base-url git://pek-git.wrs.com --dl-layers --kernel preempt-rt conf/bblayers.conf add kts layer: /buildarea1/hchen1/testcase/wr-testing/kts-dev conf/local.conf add : WRTEMPLATE_append = " feature/ltp" bitbake lib32-wrlinux-image-glibc-std target : /opt/ltp/wrLinux_ltp/wr-runltp -f containers -s userns05