Not to be fixed
Created: May 4, 2022
Updated: Aug 29, 2022
Resolved Date: Aug 29, 2022
Found In Version: 10.22.33.1
Severity: Standard
Applicable for: Wind River Linux LTS 22
Component/s: Kernel
setup.sh --machines=intel-x86-64 --distro wrlinux --accept-eula=yes --dl-layers
source environment-setup-x86_64-wrlinuxsdk-linux
source oe-init-build-env
bitbake-layers add-layer /lpg-build/cdc/WASSP_LINUX_1021/testcases/wrlinux/wr-testing/kts-dev
echo "require templates/feature/ltp/template.conf" >> conf/local.conf
bitbake wrlinux-image-std
root@intel-x86-64:/opt/wr-test/testcases/ltp/ltp_hugetlb# /opt/ltp/wrLinux_ltp/wr-runltp -f hugetlb
The broken tests are hugeshmdt01, hugeshmget01, hugeshmctl03, hugeshmat04 and hugeshmget05.
They run on the intel-x86-64 BSP Elkhart_Lake target.
<<<test_start>>>
tag=hugeshmdt01 stime=1627718178
cmdline="hugeshmdt01 -i 5"
contacts=""
analysis=exit
<<<test_output>>>
tst_hugepage.c:58: TINFO: 128 hugepage(s) reserved
tst_test.c:1261: TINFO: Timeout per run is 0h 05m 00s
hugeshmdt01.c:130: TBROK: shmget: ENOMEM (12)
Summary:
passed 0
failed 0
broken 1
skipped 0
warnings 0
<<<execution_status>>>
initiation_status="ok"
duration=0 termination_type=exited termination_id=2 corefile=no
cutime=0 cstime=7
<<<test_end>>>
...
<<<test_start>>>
tag=hugeshmget01 stime=1627718178
cmdline="hugeshmget01 -i 10"
contacts=""
analysis=exit
<<<test_output>>>
tst_hugepage.c:58: TINFO: 128 hugepage(s) reserved
tst_test.c:1261: TINFO: Timeout per run is 0h 05m 00s
hugeshmget01.c:64: TBROK: shmget: ENOMEM (12)
Summary:
passed 0
failed 0
broken 1
skipped 0
warnings 0
<<<execution_status>>>
initiation_status="ok"
duration=0 termination_type=exited termination_id=2 corefile=no
cutime=0 cstime=7
<<<test_end>>>
...
<<<test_start>>>
tag=hugeshmctl03 stime=1627718178
cmdline="hugeshmctl03 -i 5"
contacts=""
analysis=exit
<<<test_output>>>
tst_hugepage.c:58: TINFO: 128 hugepage(s) reserved
tst_test.c:1261: TINFO: Timeout per run is 0h 05m 00s
hugeshmctl03.c:115: TBROK: shmget: ENOMEM (12)
Summary:
passed 0
failed 0
broken 1
skipped 0
warnings 0
<<<execution_status>>>
initiation_status="ok"
duration=0 termination_type=exited termination_id=2 corefile=no
cutime=0 cstime=8
<<<test_end>>>
...
<<<test_start>>>
tag=hugeshmat04 stime=1627718172
cmdline="hugeshmat04 -i 5"
contacts=""
analysis=exit
<<<test_output>>>
tst_hugepage.c:58: TINFO: 1 hugepage(s) reserved
tst_test.c:1261: TINFO: Timeout per run is 0h 05m 00s
tst_hugepage.c:58: TINFO: 513 hugepage(s) reserved
hugeshmat04.c:60: TBROK: shmat: EINVAL (22)
Summary:
passed 0
failed 0
broken 1
skipped 0
warnings 0
<<<execution_status>>>
initiation_status="ok"
duration=0 termination_type=exited termination_id=2 corefile=no
cutime=0 cstime=10
<<<test_end>>>
...
<<<test_start>>>
tag=hugeshmget05 stime=1627718178
cmdline="hugeshmget05 -i 10"
contacts=""
analysis=exit
<<<test_output>>>
tst_hugepage.c:58: TINFO: 128 hugepage(s) reserved
tst_test.c:1261: TINFO: Timeout per run is 0h 05m 00s
hugeshmget05.c:75: TBROK: shmget #setup: ENOMEM (12)
Summary:
passed 0
failed 0
broken 1
skipped 0
warnings 0
incrementing stop
<<<execution_status>>>
initiation_status="ok"
duration=0 termination_type=exited termination_id=2 corefile=no
cutime=0 cstime=7
<<<test_end>>>
...
To build project with the following commands.
/lpg-build/cdc/fast_prod/WRL10_21/WRL10_21_GIT/wrlinux-10/setup.sh --machines=intel-x86-64 --distro wrlinux --accept-eula=yes --dl-layers
source environment-setup-x86_64-wrlinuxsdk-linux
source oe-init-build-env
bitbake-layers add-layer /lpg-build/cdc/WASSP_LINUX_1021/testcases/wrlinux/wr-testing/kts-dev
echo "require templates/feature/ltp/template.conf" >> conf/local.conf
bitbake wrlinux-image-std
Deploy images to the target of Elkhart_Lake (#29173)
Run the following command after booting up the target
root@intel-x86-64:/opt/wr-test/testcases/ltp/ltp_hugetlb# /opt/ltp/wrLinux_ltp/wr-runltp -f hugetlb