Not to be fixed
Created: Feb 23, 2014
Updated: Apr 28, 2018
Resolved Date: Apr 17, 2018
Previous ID: CGP5-1102
Found In Version: 6.0.0.3
Severity: Standard
Applicable for: Wind River Linux 6
Component/s: Networking
Problem Description
======================
60 test items failed for L2tp test, cgl std.26.2 need this test pass.
Expected Behavior
======================
No test case fail.
Observed Behavior
======================
all.tcl: Total 652 Passed 530 Skipped 62 Failed 60
Sourced 0 Test Files.
Number of tests skipped for each constraint:
8 !l2tpdRunning && peerProfile
8 !l2tpdRunning && pppProfile
3 !l2tpdRunning && session
8 !l2tpdRunning && sessionProfile
11 !l2tpdRunning && system
4 !l2tpdRunning && tunnel
8 !l2tpdRunning && tunnelProfile
5 l2tpdRunning && thirdpartylns
4 l2tpdRunning && thirdpartylns && kernelModuleLoaded
2 l2tpdRunning && thirdpartylns && kernelModuleLoaded && interactive
1 l2tpdRunning && thirdpartylns && l2tpDebugVersion
Logs
======================
For detailed log see the attached log.
Misc Info
======================
Seems most failed form can not find results/session-*.cfg: No such file or directory
make sure /opt/openl2tp/results dir is created before running the tests.
1 configure a CGL kernel/rootfs project
../wrlinux-5/wrlinux/configure --enable-board=intel-xeon-core --enable-kernel=cgl --enable-rootfs=glibc_cgl --enable-parallel-pkgbuilds=16 --enable-jobs=8 --with-layer=examples/hello-world --with-template=feature/lsbtesting,feature/hello-world,feature/cut
2. make fs
3. start the target with the kernel and rootfs
4. on target:
sed -i 's/eth0/'"$ETH_USED"'/g' /opt/openl2tp/test_procs.tcl
sed -i 's/192.168.0.1/'"$USE_IP"'/g' /opt/openl2tp/tunnel.test
modprobe l2tp_ppp
/usr/sbin/openl2tpd -d all -D -f -p /usr/lib64/openl2tp/ppp_null.so &
cp /usr/bin/l2tpconfig /opt
cd /opt/openl2tp
tclsh all.tcl -preservecore 3 -verbose bps -tmpdir /tmp/results \
-outfile test-l2tpd.result.$DATE \
-constraints "l2tpdRunning peerProfile tunnelProfile sessionProfile pppProfile system tunnel session"