Wind River Support Network

HomeDefectsLIN1019-3257
Fixed

LIN1019-3257 : [KTS] create cgroup ("cgroup_ad-hoc") failed on bcm-2xxx-rpi4 BSP target

Created: Nov 4, 2019    Updated: Dec 11, 2019
Resolved Date: Nov 20, 2019
Found In Version: 10.19.45.1
Fix Version: 10.19.45.2
Severity: Standard
Applicable for: Wind River Linux LTS 19
Component/s: BSP

Description

1. Build project
setup.sh --machines=bcm-2xxx-rpi4 --templates feature/test --accept-eula=yes --dl-layers

. ./oe-init-build-env build_test

bitbake-layers add-layer wr-testing/kts-dev

echo "WRTEMPLATE_append = \" feature/wr-kts\"" >> conf/local.conf

bitbake wrlinux-image-glibc-std

2. Load images to the target

3. Run the following commands on the target

root@bcm-2xxx-rpi4:/opt/wr-test#./main_test.py -s cgroup_ad-hoc

#########################################################
Start testcase cgroup_ad-hoc (keyword: ) testing #########################################################

<< [do_prepare] start Check kernel config>>
********************
Check kernel config is PASS

<<end Check kernel config>>
********************
<<clean subcase>>
********************
<< [do_test1] start Ad-hoc groups testing>>
********************
root@bcm-2xxx-rpi4:/opt/wr-test/testcases/kts/cgroup_ad-hoc# cgcreate -a root -g memory,cpu:adhoc
cgcreate: can't create cgroup adhoc: Cgroup one of the needed subsystems is not mounted
cat: test.log: No such file or directory <<end Ad-hoc groups testing>>
********************
<<clean subcase>>
********************

<< [do_check_call_trace] start check testcase call trace>>
********************
root@bcm-2xxx-rpi4:/opt/wr-test/testcases/kts/cgroup_ad-hoc# dmesg |grep -i -w -E -B10 -A50 'Call Trace|BUG:|WARNING:' ||return 0

<<end check testcase call trace>>
********************
<<clean subcase>>
********************

<< [do_clean] start do clean>>
********************
root@bcm-2xxx-rpi4:/opt/wr-test/testcases/kts/cgroup_ad-hoc# rm test.log
rm: cannot remove 'test.log': No such file or directory <<end do clean>>
********************
<<clean subcase>>
********************

#########################################################################
cgroup_ad-hoc (keyword: ) test results:

Check kernel config(do_prepare) PASS
*1 Ad-hoc groups testing(do_test1) FAIL
ERROR CMD OR INFO IS :
line:43 "cgcreate -a root -g memory,cpu:adhoc"
*2 check testcase call trace(do_check_call_trace) PASS
do clean(do_clean) FAIL
ERROR CMD OR INFO IS :
line:56 "rm test.log"
Test Summary
Total number : 2
Pass number : 1
Fail number : 1
Skip number : 0
Excution Time: 4 seconds
#########################################################
End testcase cgroup_ad-hoc (keyword: ) testing #########################################################

Steps to Reproduce

1. Build project
/lpg-build/cdc/fast_prod/WRL10_19/WRL10_19_GIT/wrlinux-10/setup.sh --machines=bcm-2xxx-rpi4 --templates feature/test --accept-eula=yes --dl-layers

. ./oe-init-build-env build_test

bitbake-layers add-layer wr-testing/kts-dev 

echo "WRTEMPLATE_append = \" feature/wr-kts\"" >> conf/local.conf

bitbake wrlinux-image-glibc-std

2. Load images to the target

3. Run the following commands on the target 

root@bcm-2xxx-rpi4:/opt/wr-test#./main_test.py -s cgroup_ad-hoc
Live chat
Online