Robin, There seems to be a discrepancy between the version of the nicdrv test suite being distributed via the NICDRV testing page[1] and the OS.o testing community download site[2]
[1] http://www.opensolaris.org/os/community/device_drivers/projects/nicdrvtest/ [2] http://dlc.sun.com/osol/test/downloads/current/ The one at [2] is more recent and presumably more correct. It's necessary to update [1] with updated with the proper pointers? Is it guaranteed that auto_nicdrv_MMDD supplies the latest version of the tests? -Ravindra. Tom Chen wrote on Mon Mar 30 2009 09:11:51 GMT-0700 (PDT): > Robin, > > Thanks! It is a great news to me. > > I tried to install your auto_nicdrv_0323 on March 23rd the day when it > was first released, but it couldn't be installed, always failed in the > middle. So, I have to go back to Feburary version. Can you or those guys > responsible for it to double check? I guess many other people will > encounter the same issue. > > Tom > > ----- Original Message ----- > *From:* tian robin luo <mailto:Robin.Luo at Sun.COM> > *To:* Tom Chen <mailto:chentom60 at hotmail.com> > *Cc:* testing-discuss at opensolaris.org > <mailto:testing-discuss at opensolaris.org> > *Sent:* Monday, March 30, 2009 12:56 AM > *Subject:* Re: [testing-discuss] possible reason for test13 failure > > Hi, Tom > It's caused by a bug, CR6778275 (test13 should consider dladm > field PERM from 6723890 and the unavailable value "--"), which has > been fixed in NICDRV1.9. > You can get the new NICDRV from > > http://www.opensolaris.org/os/community/device_drivers/auto_nicdrv_0323.tar.bz2 > > Thanks, > Robin > > Tom Chen: >> Hi, >> >> I am testing a GLDv3 driver running on a adapter that has limited >> features: >> it can only run at 10g speed, duplex, not auto-negotiation, no any >> adv_autoneg_cap flowctrl en_1000fdx_cap en_1000hdx_cap en_100fdx_cap? etc. >> In the test13, the attached test report is very strange: >> It passed ping, ftp, Corruption, MAXQ tests. If there is anything wrong, >> probably the failure is somewhere in the beginning. However, if the failure >> is due to the following two errors, then, these are not controlled by >> driver, they are system level properties. >> stdout| ERROR: unable set property to possible value: dladm set-linkprop >> -t -p maxbw=-- qlge0 >> stdout| ERROR: dladm set-linkprop -t -p cpus=-- qlge0 (0) >> >> Can someone help me to figure out why test13 failed? >> >> Tom >> >> Start| 20090327 root (0) | tpi 1.4 | 09:03:37 332534713650 0 | >> Start| 1203 SunOS 5.11 snv_107 sun4u euclid | >> STF_ENV| STC_NAME = nicdrv | >> STF_ENV| STC_VERSION = 1.7 | >> STF_ENV| STC_OS_VERSION = 5.11 | >> STF_ENV| STF_EXECUTE_MODE = sparcv9 | >> STF_ENV| cwd = /opt/SUNWstc-nicdrv/tests/functional/test13 | >> Test_Case_Start| 1289 tests/functional/test13/runme | 09:03:42 >> 337981336800 0 | >> stdout| >> stdout| ASSERTION ID: functional/test13 >> stdout| >> stdout| DESCRIPTION: >> stdout| NIC driver parameter configuration testing via dladm >> command(Brussles project) >> stdout| >> stdout| STRATEGY: >> stdout| - List all parameters for the NIC device via dladm >> stdout| - For each parameter, try to set the parameter to all >> possible value. >> stdout| check if the parameter is read-only or not-supported. >> stdout| - Reset each parameter and verify the value is reset to >> its default value >> stdout| - Use dladm to set the link speed to 1000M, 100M, 10M >> and run MAXQ >> stdout| - Use dladm to set the mtu to 1500, 9000 >> stdout| >> stdout| TESTABILITY: statistical and implicit >> stdout| >> stdout| unplumb qlge0 with ip 192.168.43.50 >> stderr| Usage: grep -hblcnsviw pattern file . . . >> stderr| Usage: grep -hblcnsviw pattern file . . . >> stderr| Usage: grep -hblcnsviw pattern file . . . >> stderr| Usage: grep -hblcnsviw pattern file . . . >> stderr| Usage: grep -hblcnsviw pattern file . . . >> stderr| Usage: grep -hblcnsviw pattern file . . . >> stderr| Usage: grep -hblcnsviw pattern file . . . >> stderr| Usage: grep -hblcnsviw pattern file . . . >> stderr| Usage: grep -hblcnsviw pattern file . . . >> stderr| Usage: grep -hblcnsviw pattern file . . . >> stderr| Usage: grep -hblcnsviw pattern file . . . >> stderr| Usage: grep -hblcnsviw pattern file . . . >> stderr| Usage: grep -hblcnsviw pattern file . . . >> stderr| Usage: grep -hblcnsviw pattern file . . . >> stderr| Usage: grep -hblcnsviw pattern file . . . >> stdout| ERROR: unable set property to possible value: dladm set-linkprop >> -t -p maxbw=-- qlge0 >> stderr| Usage: grep -hblcnsviw pattern file . . . >> stdout| ERROR: dladm set-linkprop -t -p cpus=-- qlge0 (0) >> stdout| WARNING: reset_fail_prop: speed duplex state adv_autoneg_cap >> flowctrl adv_1000fdx_cap en_1000fdx_cap adv_1000hdx_cap en_1000hdx_cap >> adv_100fdx_cap en_100fdx_cap adv_100hdx_cap en_100hdx_cap adv_10fdx_cap >> en_10fdx_cap adv_10hdx_cap en_10hdx_cap >> stdout| WARNING: value_unknown_prop: autopush zone >> stdout| WARNING: failed_prop: maxbw cpus >> stdout| WARNING: read_only_prop: duplex state adv_1000fdx_cap >> adv_1000hdx_cap adv_100fdx_cap adv_100hdx_cap adv_10fdx_cap adv_10hdx_cap >> stdout| WARNING: not_supported_prop: speed adv_autoneg_cap flowctrl >> en_1000fdx_cap en_1000hdx_cap en_100fdx_cap en_100hdx_cap en_10fdx_cap >> en_10hdx_cap >> stdout| WARNING: error_unknown_prop: >> stdout| Failed to restore cpus to >> stdout| plumb qlge0 with ip 192.168.43.50 and netmask 0xffffff00 >> stdout| 192.168.43.40 is alive >> stdout| 192.168.43.50 is alive >> stdout| Current link speed is 10000 >> stdout| WARNING: 1000fdx mode not supported. >> stdout| WARNING: 1000hdx mode not supported. >> stdout| WARNING: 100fdx mode not supported. >> stdout| WARNING: 100hdx mode not supported. >> stdout| WARNING: 10fdx mode not supported. >> stdout| WARNING: 10hdx mode not supported. >> stdout| Failed to restore state to down >> stdout| Failed to restore cpus to >> stdout| Current local mtu is 1500 >> stdout| Current remote mtu is 1500 >> stdout| Testing mtu 9000... >> stdout| unplumb qlge0 with ip 192.168.43.50 >> stdout| plumb qlge0 with ip 192.168.43.50 and netmask 0xffffff00 >> stdout| PING 192.168.43.40: 9000 data bytes >> stdout| 9008 bytes from archimedes (192.168.43.40): icmp_seq=0. >> time=1.030 ms >> stdout| 9008 bytes from archimedes (192.168.43.40): icmp_seq=1. >> time=1.238 ms >> stdout| 9008 bytes from archimedes (192.168.43.40): icmp_seq=2. >> time=1.103 ms >> stdout| >> stdout| ----192.168.43.40 PING Statistics---- >> stdout| 3 packets transmitted, 3 packets received, 0% packet loss >> stdout| round-trip (ms) min/avg/max/stddev = 1.030/1.124/1.238/0.106 >> stdout| /opt/SUNWstc-nicdrv/tools/ping/Ping.auto -i qlge0 -r qlge0 -c >> 192.168.43.40 -h 192.168.43.50 >> stdout| TEST Ping.auto BEGINS >> stdout| Ping.auto: ping_zero: begins... >> stderr| Using device qlge0 (promiscuous mode) >> stderr| >> 0 >> 1 1 packets captured >> stdout| 1 0.00000 euclid -> archimedes ICMP Echo request >> (ID: 1875 Sequence number: 1) >> stdout| >> stdout| 0: 0000 0000 0000 0000 0000 0000 0000 0000 ............... >> stdout| 16: 0000 .. >> stdout| >> stdout| Ping.auto: ping_zero: ends >> stdout| Ping.auto: ping_all_size: begins... >> stdout| ping_all_size: 10% Done ...(time)09:05:54 >> stdout| ping_all_size: 20% Done ...(time)09:07:49 >> stdout| ping_all_size: 30% Done ...(time)09:09:46 >> stdout| ping_all_size: 40% Done ...(time)09:11:45 >> stdout| ping_all_size: 50% Done ...(time)09:13:46 >> stdout| ping_all_size: 60% Done ...(time)09:15:47 >> stdout| ping_all_size: 70% Done ...(time)09:17:51 >> stdout| ping_all_size: 80% Done ...(time)09:19:58 >> stdout| ping_all_size: 90% Done ...(time)09:22:06 >> stdout| ping_all_size: 100% Done ...(time)09:24:16 >> stdout| Ping.auto: ping_all_size: 100% done >> stdout| Ping.auto: negative case: ping with payload 65508 >> stdout| ping test succeed! >> stderr| ping: data size too large for IPv4 packet >> stdout| /opt/SUNWstc-nicdrv/tools/ftp/sparcv9/ftp.auto -r 192.168.43.40 >> -s 100m -t 300 -P qlogic -m root at localhost -p qlge -e 0 >> stdout| Setting up client 192.168.43.40 >> stdout| FTP test started at 09.03.27.09.24.21 >> stdout| >> stdout| FTP test started with remote interface 192.168.43.40 at >> 09.03.27.09.24.21 >> stdout| 192.168.43.40:FTP tests - 25% completed... >> stdout| 192.168.43.40:FTP tests - 50% completed... >> stdout| 192.168.43.40:FTP tests - 75% completed... >> stdout| 192.168.43.40:FTP tests - 100% completed... >> stdout| FTP test completed with remote interface 192.168.43.40 at >> 09.03.27.09.29.24 >> stdout| FTP get/put 76 files at 100m in 300 sec on interface >> 192.168.43.40 >> stdout| >> stdout| Setup Summary >> stdout| ====================================== >> stdout| PRODUCT : qlge >> stdout| REMOTE_INT : 192.168.43.40 >> stdout| FTP_SIZE : 100m >> stdout| FTP_TIME : 300 >> stdout| STOP_ON_ERR : 0 >> stdout| >> stdout| FTP Status >> stdout| ====================================== >> stdout| PASSED >> stdout| /opt/SUNWstc-nicdrv/tools/nfscorrupt/sparcv9/Corrupt.auto -c >> 192.168.43.40 -s 192.168.43.50 -n 1 -t 300 -d bi -e root at localhost -p >> qlge -m tcp -r no >> stdout| Cleaning any old mounts . . DONE >> stdout| Checking disk space .archimedes is alive >> stdout| . . DONE >> stderr| svcadm: svc:/milestone/network depends on svc:/network/physical, >> which has multiple instances. >> stderr| svcadm: svc:/milestone/network depends on svc:/network/physical, >> which has multiple instances. >> stderr| svcadm: svc:/milestone/network depends on svc:/network/physical, >> which has multiple instances. >> stderr| svcadm: svc:/milestone/network depends on svc:/network/physical, >> which has multiple instances. >> stderr| svcadm: svc:/milestone/network depends on svc:/network/physical, >> which has multiple instances. >> stderr| svcadm: svc:/milestone/network depends on svc:/network/physical, >> which has multiple instances. >> stderr| svcadm: svc:/milestone/network depends on svc:/network/physical, >> which has multiple instances. >> stderr| svcadm: svc:/milestone/network depends on svc:/network/physical, >> which has multiple instances. >> stdout| Configuring nfs . DONE >> stdout| Distributing the test binary . . DONE >> stdout| Configuring mount points . . DONE >> stdout| Starting Corrupt . . DONE >> stdout| Corrupt Started. Running for 300 seconds >> stdout| Waiting for processes to finish . DONE >> stdout| Corrupt Results for euclid Completed 2009-03-27_09:35:21 >> stdout| >> stdout| Results for 192.168.43.40 --> 192.168.43.50 session# 1 >> stdout| PASS: No Corruption found >> stdout| Total Files Wrote: 812 >> stdout| Total Bytes Wrote: 2020.52MB >> stdout| >> stdout| Results for 192.168.43.50 --> 192.168.43.40 session# 1 >> stdout| PASS: No Corruption found >> stdout| Total Files Wrote: 772 >> stdout| Total Bytes Wrote: 2099.09MB >> stdout| >> stdout| Setup Summary >> stdout| ====================================== >> stdout| PRODUCT : qlge >> stdout| CLIENT_INT : 192.168.43.40 >> stdout| SERVER_INT : 192.168.43.50 >> stdout| SESSIONS : 1 >> stdout| TIME : 300 sec >> stdout| TRAFFIC_TYPE : bi >> stdout| PROTO : tcp >> stdout| RUN_ON_ERROR : no >> stdout| >> stdout| >> stdout| Corrupt Status >> stdout| ====================================== >> stdout| PASSED: Found No Corruption >> stdout| Removing mount points . . . .Restarting nfs . DONE >> stdout| Restarting nfs . DONE >> stdout| DONE >> stdout| nfscorrupt tcp test succeed! >> stdout| /opt/SUNWstc-nicdrv/tools/nfscorrupt/sparcv9/Corrupt.auto -c >> 192.168.43.40 -s 192.168.43.50 -n 1 -t 300 -d bi -e root at localhost -p >> qlge -m udp -r no >> stdout| Cleaning any old mounts . . DONE >> stdout| Checking disk space .archimedes is alive >> stdout| . . DONE >> stderr| svcadm: svc:/milestone/network depends on svc:/network/physical, >> which has multiple instances. >> stderr| svcadm: svc:/milestone/network depends on svc:/network/physical, >> which has multiple instances. >> stderr| svcadm: svc:/milestone/network depends on svc:/network/physical, >> which has multiple instances. >> stderr| svcadm: svc:/milestone/network depends on svc:/network/physical, >> which has multiple instances. >> stderr| svcadm: svc:/milestone/network depends on svc:/network/physical, >> which has multiple instances. >> stderr| svcadm: svc:/milestone/network depends on svc:/network/physical, >> which has multiple instances. >> stderr| svcadm: svc:/milestone/network depends on svc:/network/physical, >> which has multiple instances. >> stderr| svcadm: svc:/milestone/network depends on svc:/network/physical, >> which has multiple instances. >> stdout| Configuring nfs . DONE >> stdout| Distributing the test binary . . DONE >> stdout| Configuring mount points . . DONE >> stdout| Starting Corrupt . . DONE >> stdout| Corrupt Started. Running for 300 seconds >> stdout| Waiting for processes to finish . DONE >> stdout| Corrupt Results for euclid Completed 2009-03-27_09:41:13 >> stdout| >> stdout| Results for 192.168.43.40 --> 192.168.43.50 session# 1 >> stdout| PASS: No Corruption found >> stdout| Total Files Wrote: 820 >> stdout| Total Bytes Wrote: 3114.31MB >> stdout| >> stdout| Results for 192.168.43.50 --> 192.168.43.40 session# 1 >> stdout| PASS: No Corruption found >> stdout| Total Files Wrote: 693 >> stdout| Total Bytes Wrote: 3186.01MB >> stdout| >> stdout| Setup Summary >> stdout| ====================================== >> stdout| PRODUCT : qlge >> stdout| CLIENT_INT : 192.168.43.40 >> stdout| SERVER_INT : 192.168.43.50 >> stdout| SESSIONS : 1 >> stdout| TIME : 300 sec >> stdout| TRAFFIC_TYPE : bi >> stdout| PROTO : udp >> stdout| RUN_ON_ERROR : no >> stdout| >> stdout| >> stdout| Corrupt Status >> stdout| ====================================== >> stdout| PASSED: Found No Corruption >> stdout| Removing mount points . . . .Restarting nfs . DONE >> stdout| Restarting nfs . DONE >> stdout| DONE >> stdout| adv_9000_cap: test of TCP/UDP traffic begins >> stdout| NETPERF_HOME=/opt/SUNWstc-stf/../SUNWstc-netperf2/bin/ >> stdout| Command: MAXQ.auto -s 192.168.43.50 -c 192.168.43.40 -C >> 192.168.43.40 -d 1460 -b 65535 -M 192.168.43.0 -m root at localhost -p >> nicdrv -i 1 -e 10000 -T 180 -t 0 -tr bi -S 1 -P TCP_STREAM >> stdout| Checking super-user permission... >> stdout| Verifying mandatory parameters... >> stdout| TCP_NODELAY is off >> stdout| Verifying client <-> server pairs... >> stdout| Verifying MAXQ.auto is running on SUT system... >> stdout| Detecting system and distributing binaries... >> stdout| Setting up multicasting subnet... >> stdout| add net 224.0.0.0: gateway 192.168.43.50 >> stdout| Multicast subnet gateway: 192.168.43.50/qlge0 >> stdout| Running get_TP on card=1 sess=1 time=180 for performance... >> stderr| Starting netserver at port 12865 >> stderr| Starting netserver at port 12865 >> stdout| Connecting from 192.168.43.50 -> 192.168.43.40 for 1 sessions... >> stdout| Connecting from 192.168.43.40 -> 192.168.43.50 for 1 sessions... >> stdout| rsh 192.168.43.40 /tmp/start_netperf.sh 1 192.168.43.50 12865 >> 192.168.43.40 180 TCP_STREAM 4 65535 65535 1460 1 0 >> stdout| Waiting for 2 connections to establish... >> stdout| Fri Mar 27 09:42:00 PDT 2009:multicast fired on subnet >> 192.168.43.0 >> stdout| >> stdout| Throughput reporting... >> stdout| >> stdout| Test Date: Fri Mar 27 09:41:17 PDT 2009 >> stdout| >> stdout| ========================= SUT info ========================= >> stdout| SunOS euclid 5.11 snv_107 sun4u sparc SUNW,Sun-Fire-V215 >> stdout| >> stdout| ================Begin /etc/system ========================= >> stdout| set kmem_flags = 0xf >> stdout| ==================End /etc/system ========================= >> stdout| >> stdout| SUMMARY: >> stdout| ================================================= >> stdout| SUT : 192.168.43.50 >> stdout| CLIENTS : 192.168.43.40 >> stdout| SOCKET_BUFFER: 65535 >> stdout| MESSAGE_SIZE : 1460 >> stdout| PROTOCOL_TYPE: TCP_STREAM >> stdout| TCP_NODELAY : 0 >> stdout| TRAFFIC_TYPE : bi >> stdout| # OF CARDS : 1 >> stdout| PORT PER CARD: 1 >> stdout| TOTAL_SESSION: 2 >> stdout| timeout_short: 180 >> stdout| THROUGH_PUT TCP TX : 233.61 mbits/s >> stdout| RX : 230.90 mbits/s >> stdout| BI : 464.51 mbits/s >> stdout| >> stdout| >> stdout| ======== MAXQ _STATUS_ ========: _PASSED_ >> stdout| Finish time: Fri Mar 27 09:45:34 PDT 2009 >> stdout| >> stdout| Cleanup the tests... >> stdout| Restoring system routing tables if necessary... >> stdout| delete net 224.0.0.0: gateway 192.168.43.50 >> stdout| Restoring system tcp_time_wait_interval if necessary... >> stdout| adv_9000_cap: test of TCP/UDP traffic ends >> stdout| 192.168.43.40 is alive >> stdout| 192.168.43.50 is alive >> stdout| restore mtu ... >> stdout| unplumb qlge0 with ip 192.168.43.50 >> stdout| plumb qlge0 with ip 192.168.43.50 and netmask 0xffffff00 >> stdout| Test finish! >> Test_Case_End| 1289 tests/functional/test13/runme | FAIL | 09:46:34 >> 2909734215800 0 | >> Test_Case_Start| 14883 tests/cleanup | 09:52:38 3273006034650 0 | >> stdout| Cleanup and generate report... >> stdout| ========================================================== >> stdout| ==================== Test Summary ======================== >> stdout| ========================================================== >> stdout| ------------------------------------------ >> stdout| ----- Print Local Host Configuration ----- >> stdout| ------------------------------------------ >> stdout| SunOS euclid 5.11 snv_107 sun4u sparc SUNW,Sun-Fire-V215 >> stdout| Solaris Express Community Edition snv_107 SPARC >> stdout| 245 7b37a000 189d0 321 1 qlge (QLogic GLD v3 Driver1.00) >> stdout| ------------------------------------------ >> stdout| ----- Print Remote Host Configuration ---- >> stdout| ------------------------------------------ >> stdout| SunOS archimedes 5.11 snv_107 sun4u sparc SUNW,Sun-Fire-V215 >> stdout| Solaris Express Community Edition snv_107 SPARC >> stdout| 249 7ae00000 189d0 321 1 qlge (QLogic GLD v3 Driver1.00) >> stdout| ------------------------------------------ >> stdout| _bAseLinE_STF 1.4 >> stdout| tests/functional/test13/runme FAIL:1 >> stdout| >> stdout| Result Total: >> stdout| FAIL: 1 >> stdout| Cleanup Done. >> Test_Case_End| 14883 tests/cleanup | PASS | 09:52:38 3273626316750 0 | >> End| 14913 09:57:02 3537573359850 | >> >> ------------------------------------------------------------------------ >> >> _______________________________________________ >> testing-discuss mailing list >> testing-discuss at opensolaris.org > > > ------------------------------------------------------------------------ > > _______________________________________________ > testing-discuss mailing list > testing-discuss at opensolaris.org
