Not to be fixed
Created: May 21, 2013
Updated: Apr 19, 2018
Resolved Date: Apr 17, 2018
Previous ID: LIN5-4375, LIN6-2868
Found In Version: 6.0
Severity: Severe
Applicable for: Wind River Linux 6
Component/s: Networking
Problem Description
======================
bonding.sh in CUT failed on BSP: cav-octeon2
Expected Behavior
======================
test case pass.
Observed Behavior
======================
root@CN68xx_2:/opt/cut# cat testlog-May-18-13-05\:21.log
----------------------------------------
Start testcase bonding basic test
----------------------------------------
all active ethernet interfaces: eth0
self ip list: , bond if list: eth0
checking bcast addr 128.224.179.255
bond_ip: ok:1
bond_if: eth0 , bond_ip: , bond_hosts: self_mask:
*****************************************************
Please set your host IP address (the address to which
the target will ping) on the target by
executing the following:
> export HOST_IP_ADDRV4={your host ip address}
and then rerun test.
*****************************************************
Error step : test failed
Test Result : [ FAILED ]
Cleaning up bonding basic test...
Master 'bond0': Error: handshake with driver failed. Aborting
ERROR: Module bonding does not exist in /proc/modules
Exit bonding basic test
root@CN68xx_2:/opt/cut# echo $HOST_IP_ADDRV4
128.224.178.40
root@CN68xx_2:/opt/cut# ping 128.224.178.40
PING 128.224.178.40 (128.224.178.40) 56(84) bytes of data.
64 bytes from 128.224.178.40: icmp_req=1 ttl=64 time=0.231 ms
64 bytes from 128.224.178.40: icmp_req=2 ttl=64 time=0.247 ms
64 bytes from 128.224.178.40: icmp_req=3 ttl=64 time=0.378 ms
^C
--- 128.224.178.40 ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 1999ms
rtt min/avg/max/mdev = 0.231/0.285/0.378/0.067 ms
root@CN68xx_2:/opt/cut#
1 configure a project
/wrlinux-x/wrlinux/configure --enable-board=cav-octeon2 --enable-kernel=cgl --enable-rootfs=glibc-cgl --enable-parallel-pkgbuilds=16 --enable-jobs=8 --with-layer=/wr-testing/cgl,/wr-testing/networking --with-template=feature/cut
2. make fs
3. start the target with the kernel and rootfs
4. on target run: cd /opt/cut; ./cgl_test.sh -e bonding.sh