Not to be fixed
Created: May 29, 2013
Updated: Apr 19, 2018
Resolved Date: Apr 17, 2018
Previous ID: LIN5-3948
Found In Version: 6.0
Severity: Severe
Applicable for: Wind River Linux 6
Component/s: Networking
Problem Description
======================
snmp.sh in cut failed on xilinx on wrlinux-5.0.1.4 lx05
Expected Behavior
======================
the case pass
Observed Behavior
======================
root@localhost:/opt/cut# ps -A|grep snmpd
Unknown HZ value! (72) Assume 100.
root@localhost:/opt/cut# echo $?
1
root@localhost:/opt/cut# snmpd
snmpd snmpdelta snmpdf
root@localhost:/opt/cut# snmpd
pcilib: Cannot open /proc/bus/pci
pcilib: Cannot find any working access method.
root@localhost:/opt/cut#
root@localhost:/opt/cut# ./cgl_test.sh -e snmp.sh
==============================================================
Networking CGL5.0 Registration Test Suite
==============================================================
STD.7.1 STD.7.2 snmp basic test [ FAIL ]
=============================================================
Testcase execution completed
=============================================================
Passed : 0
Failed : 1
Not run : 0
-------
Total : 1
root@localhost:/opt/cut# cat testlog-May-28-13-1
testlog-May-28-13-15:52.log testlog-May-28-13-16:02.log
root@localhost:/opt/cut# cat testlog-May-28-13-16\:02.log
----------------------------------------
Start testcase STD.7.1 STD.7.2 snmp basic test
----------------------------------------
Starting network management services pcilib: Cannot open /proc/bus/pci
pcilib: Cannot find any working access method.
Stopping network management services
Starting network management services pcilib: Cannot open /proc/bus/pci
pcilib: Cannot find any working access method.
Unknown HZ value! (70) Assume 100.
no snmpd process, try to run snmpd
pcilib: Cannot open /proc/bus/pci
pcilib: Cannot find any working access method.
Unknown HZ value! (70) Assume 100.
Error step : test failed:still no snmpd process
Test Result : [ FAILED ]
exit STD.7.1 STD.7.2 snmp basic test
root@localhost:/opt/cut#
1 configure a project
/lpg-build/cdc/sustaining/WR5014LX05/wrlinux-5/wrlinux/configure --enable-board=xilinx-zynq --enable-kernel=cgl --enable-rootfs=glibc-cgl --enable-parallel-pkgbuilds=16 --enable-jobs=8 --with-layer=wr-features,/wr-testing/cgl,/wr-testing/ltp,/wr-testing/networking --with-template=feature/cut,feature/analysis,feature/debug,feature/kexec --enable-build=profiling
2. make fs
3. boot the target; cd /opt/cut; ./cgl_test.sh -e snmp.sh