Test Information

TitleThe partial_bytes_acked is set to 0 when all of the data transmitted has been acknowledged
CommandLine./ResetPartialBytesAck.seq -pkt ./ResetPartialBytesAck.def -log 10.html -ti The partial_bytes_acked is set to 0 when all of the data transmitted has been acknowledged
TestVersionREL_1_0_0
ToolVersionREL_3_1_0
Start2009/02/13 14:32:49
Tn.//../etc//tn.def
Nu.//../etc//nut.def
Pkt./ResetPartialBytesAck.def
Systemlinux-v6
TargetNameRHEL5GA
HostNameFNST
TypeIPv4

Test Sequence Execution Log

14:32:51Start
14:32:51Start Capturing Packets (Link0)

=============== sctpCheckEnv ===============
14:32:51 vRemote(rcommand.rmt) ``/usr/local/v6eval//bin/linux-v6//rcommand.rmt -t linux-v6 -u root -p goodluck -d ttyS0 -o 1 cmd="killall -9 sctp_test ; killall -9 sctp_darn ; killall -9 sctp_status; checksctp" ''
Connected.

[root@RHEL ~]# 
[root@RHEL ~]# killall -9 sctp_test ; killall -9 sctp_darn ; killall -9 sctp_sta tus; checksctp 
sctp_test: no process killed
sctp_darn: no process killed
sctp_status: no process killed
SCTP supported
[root@RHEL ~]# sendMessagesSync: never got killall -9 sctp_test ; killall -9 sctp_darn ; killall -9 sctp_status; checksctp 
echo $?
0
[root@RHEL ~]#~. 
Disconnected.

============== sctpPingToHost ==============
14:33:00 vSend(Link0,echo4_request_on_link0)
Send Echo Request on Link0
14:33:00 vRecv(Link0,echo4_reply_on_link0 arp_request_on_link0) timeout:5 cntLimit:0 seektime:0
Recv ARP Request on Link0
14:33:01 vSend(Link0,arp_reply_on_link0)
Send ARP Reply on Link0
14:33:01 vRecv(Link0,echo4_reply_on_link0) timeout:5 cntLimit:0 seektime:0
Recv Echo Reply on Link0

== Modify MAX.BURST configure to let test easy ==

============= sctpGetRemoteSys =============
14:33:01 vRemote(getsysconfig.rmt) ``/usr/local/v6eval//bin/linux-v6//getsysconfig.rmt -t linux-v6 -u root -p goodluck -d ttyS0 -o 1 name=MAX.BURST to=max_burst''
Connected.

[root@RHEL ~]# 
[root@RHEL ~]# ~s
cu: echocheck: unknown variable (~v lists variables)

[root@RHEL ~]# 
[root@RHEL ~]# ~t
[file transfer complete]
[connected]

[root@RHEL ~]# 
[root@RHEL ~]# ~.
Disconnected.

Paramater MAX.BURST of Remote System is : 4

============= sctpSetRemoteSys =============
14:33:11 vRemote(setsysconfig.rmt) ``/usr/local/v6eval//bin/linux-v6//setsysconfig.rmt -t linux-v6 -u root -p goodluck -d ttyS0 -o 1 name=MAX.BURST value=10''
Connected.

[root@RHEL ~]# 
[root@RHEL ~]# echo 10 > /proc/sys/net/sctp/max_burst 
[root@RHEL ~]# echo $?
0
[root@RHEL ~]# ~.
Disconnected.

Set paramater MAX.BURST of Remote System to value: 10================ Main Test =================

============= sctpStatusClient =============
14:33:15 vRemote(rcommandasync.rmt) ``/usr/local/v6eval//bin/linux-v6//rcommandasync.rmt -t linux-v6 -u root -p goodluck -d ttyS0 -o 1 cmd="sleep 5 && sctp_status -H 192.168.0.21 -P 4587 -h 192.168.0.100 -p 3587 -s -X 7 -x 8 -c 1452 -I 7 -D -f /tmp/sctpstatus > /tmp/tstcmd.log 2>&1 &" ''
Connected.

[root@RHEL ~]# 
[root@RHEL ~]# ~.
Disconnected.

================= vListen ==================
14:33:19 vRecv(Link0,sctp_chunk_init_rcv arp_request_on_link0 ) timeout:10 cntLimit:0 seektime:0
Recv SCTP CHUNK_INIT
14:33:24 vSend(Link0,sctp_chunk_init_ack_snd)
Send SCTP CHUNK_INIT_ACK

================= vAccept ==================
14:33:25 vRecv(Link0,sctp_chunk_cookie_echo_rcv arp_request_on_link0 ) timeout:10 cntLimit:0 seektime:0
Recv SCTP CHUNK_COOKIE_ECHO
14:33:25 vSend(Link0,sctp_chunk_cookie_ack_snd)
Send SCTP CHUNK_COOKIE_ACK

Now the cwnd is 4380
14:33:25 vRecv(Link0,sctp_chunk_data_1 arp_request_on_link0 ) timeout:30 cntLimit:0 seektime:0
Recv SCTP CHUNK_DATA (1)
14:33:25 vRecv(Link0,sctp_chunk_data_2 arp_request_on_link0 ) timeout:30 cntLimit:0 seektime:0
Recv SCTP CHUNK_DATA (2)
14:33:25 vRecv(Link0,sctp_chunk_data_3 arp_request_on_link0 ) timeout:30 cntLimit:0 seektime:0
Recv SCTP CHUNK_DATA (3)
14:33:26 vRecv(Link0,sctp_chunk_data_4 arp_request_on_link0 ) timeout:30 cntLimit:0 seektime:0
Recv SCTP CHUNK_DATA (4)

Now the cwnd is 5832
14:33:26 vSend(Link0,sctp_chunk_sack_snd)
Send SCTP CHUNK_SACK
14:33:26 vRecv(Link0,sctp_chunk_data_5 arp_request_on_link0 ) timeout:30 cntLimit:0 seektime:0
Recv SCTP CHUNK_DATA (5)
14:33:26 vSend(Link0,sctp_chunk_sack_2)
Send SCTP CHUNK_SACK (1 and 2)
14:33:26 vSend(Link0,sctp_chunk_sack_3)
Send SCTP CHUNK_SACK (1 and 3)
14:33:26 vSend(Link0,sctp_chunk_sack_4)
Send SCTP CHUNK_SACK (1, 3 and 4)
14:33:27 vSend(Link0,sctp_chunk_sack_5)
Send SCTP CHUNK_SACK (1, 3 to 4)
14:33:27 vRecv(Link0,sctp_chunk_data_6 arp_request_on_link0 ) timeout:30 cntLimit:0 seektime:0
Recv SCTP CHUNK_DATA (6)
14:33:27 vRecv(Link0,sctp_chunk_data_7 arp_request_on_link0 ) timeout:30 cntLimit:0 seektime:0
Recv SCTP CHUNK_DATA (7)
14:33:27 vRecv(Link0,sctp_chunk_data_2 arp_request_on_link0 ) timeout:30 cntLimit:0 seektime:0
Recv SCTP CHUNK_DATA (2)

Now the cwnd is 6000, partial_bytes_acked = 0
14:33:27 vSend(Link0,sctp_chunk_sack_snd)
Send SCTP CHUNK_SACK
14:33:28 vSend(Link0,sctp_chunk_data_snd)
Send SCTP CHUNK_DATA
14:33:28 vRecv(Link0,sctp_chunk_data_1 arp_request_on_link0 ) timeout:30 cntLimit:0 seektime:0
recv unexpect packet at 14:33:28
Recv SCTP CHUNK_DATA (1)
14:33:28 vRecv(Link0,sctp_chunk_data_2 arp_request_on_link0 ) timeout:30 cntLimit:0 seektime:0
Recv SCTP CHUNK_DATA (2)
14:33:28 vRecv(Link0,sctp_chunk_data_3 arp_request_on_link0 ) timeout:30 cntLimit:0 seektime:0
Recv SCTP CHUNK_DATA (3)
14:33:29 vRecv(Link0,sctp_chunk_data_4 arp_request_on_link0 ) timeout:30 cntLimit:0 seektime:0
Recv SCTP CHUNK_DATA (4)
14:33:29 vRecv(Link0,sctp_chunk_data_5 arp_request_on_link0 ) timeout:30 cntLimit:0 seektime:0
Recv SCTP CHUNK_DATA (5)
14:33:29 vSend(Link0,sctp_chunk_sack_snd)
Send SCTP CHUNK_SACK

Now the cwnd is 7500
14:33:29 vRecv(Link0,sctp_chunk_data_6 arp_request_on_link0 ) timeout:30 cntLimit:0 seektime:0
Recv SCTP CHUNK_DATA (6)
14:33:29 vRecv(Link0,sctp_chunk_data_7 arp_request_on_link0 ) timeout:30 cntLimit:0 seektime:0
Recv SCTP CHUNK_DATA (7)
14:33:30 vSend(Link0,sctp_chunk_sack_snd)
Send SCTP CHUNK_SACK
14:33:30 vSend(Link0,sctp_chunk_data_snd)
Send SCTP CHUNK_DATA
14:33:30 vRecv(Link0,sctp_chunk_data_1 arp_request_on_link0 ) timeout:30 cntLimit:0 seektime:0
Recv SCTP CHUNK_DATA (1)
14:33:30 vRecv(Link0,sctp_chunk_data_2 arp_request_on_link0 ) timeout:30 cntLimit:0 seektime:0
Recv SCTP CHUNK_DATA (2)
14:33:31 vRecv(Link0,sctp_chunk_data_3 arp_request_on_link0 ) timeout:30 cntLimit:0 seektime:0
Recv SCTP CHUNK_DATA (3)
14:33:31 vRecv(Link0,sctp_chunk_data_4 arp_request_on_link0 ) timeout:30 cntLimit:0 seektime:0
Recv SCTP CHUNK_DATA (4)
14:33:31 vRecv(Link0,sctp_chunk_data_5 arp_request_on_link0 ) timeout:30 cntLimit:0 seektime:0
Recv SCTP CHUNK_DATA (5)
14:33:31 vSend(Link0,sctp_chunk_sack_snd)
Send SCTP CHUNK_SACK

Now the cwnd is 7500, partial_bytes_acked = 1452
14:33:32 vRecv(Link0,sctp_chunk_data_6 arp_request_on_link0 ) timeout:30 cntLimit:0 seektime:0
Recv SCTP CHUNK_DATA (6)
14:33:32 vRecv(Link0,sctp_chunk_data_7 arp_request_on_link0 ) timeout:30 cntLimit:0 seektime:0
recv unexpect packet at 14:33:30
Recv SCTP CHUNK_DATA (7)
14:33:32 vSend(Link0,sctp_chunk_sack_snd)
Send SCTP CHUNK_SACK

Now the cwnd is 7500, partial_bytes_acked = 0
14:33:32 Wait 5 second
14:33:37 vSend(Link0,sctp_chunk_data_snd)
Send SCTP CHUNK_DATA
14:33:38 vRecv(Link0,sctp_chunk_data_1 arp_request_on_link0 ) timeout:30 cntLimit:0 seektime:0
Recv SCTP CHUNK_DATA (1)
14:33:38 vRecv(Link0,sctp_chunk_data_2 arp_request_on_link0 ) timeout:30 cntLimit:0 seektime:0
Recv SCTP CHUNK_DATA (2)
14:33:38 vRecv(Link0,sctp_chunk_data_3 arp_request_on_link0 ) timeout:30 cntLimit:0 seektime:0
Recv SCTP CHUNK_DATA (3)
14:33:38 vRecv(Link0,sctp_chunk_data_4 arp_request_on_link0 ) timeout:30 cntLimit:0 seektime:0
Recv SCTP CHUNK_DATA (4)
14:33:38 vRecv(Link0,sctp_chunk_data_5 arp_request_on_link0 ) timeout:30 cntLimit:0 seektime:0
Recv SCTP CHUNK_DATA (5)
14:33:39 vSend(Link0,sctp_chunk_sack_snd)
Send SCTP CHUNK_SACK

Now the cwnd is 7500, partial_bytes_acked = 1452
14:33:39 vRecv(Link0,sctp_chunk_data_6 arp_request_on_link0 ) timeout:30 cntLimit:0 seektime:0
Recv SCTP CHUNK_DATA (6)
14:33:39 vRecv(Link0,sctp_chunk_data_7 arp_request_on_link0 ) timeout:30 cntLimit:0 seektime:0
recv unexpect packet at 14:33:38
Recv SCTP CHUNK_DATA (7)
14:33:39 vSend(Link0,sctp_chunk_sack_snd)
Send SCTP CHUNK_SACK

Now the cwnd is 7500, partial_bytes_acked = 0
14:33:40 Wait 5 second
14:33:45 vSend(Link0,sctp_chunk_data_snd)
Send SCTP CHUNK_DATA
14:33:45 vRecv(Link0,sctp_chunk_data_1 arp_request_on_link0 ) timeout:30 cntLimit:0 seektime:0
Recv SCTP CHUNK_DATA (1)
14:33:45 vRecv(Link0,sctp_chunk_data_2 arp_request_on_link0 ) timeout:30 cntLimit:0 seektime:0
Recv SCTP CHUNK_DATA (2)
14:33:45 vRecv(Link0,sctp_chunk_data_3 arp_request_on_link0 ) timeout:30 cntLimit:0 seektime:0
Recv SCTP CHUNK_DATA (3)
14:33:45 vRecv(Link0,sctp_chunk_data_4 arp_request_on_link0 ) timeout:30 cntLimit:0 seektime:0
Recv SCTP CHUNK_DATA (4)
14:33:46 vRecv(Link0,sctp_chunk_data_5 arp_request_on_link0 ) timeout:30 cntLimit:0 seektime:0
Recv SCTP CHUNK_DATA (5)
14:33:46 vSend(Link0,sctp_chunk_sack_snd)
Send SCTP CHUNK_SACK

Now the cwnd is 7500, partial_bytes_acked = 1452
14:33:46 vRecv(Link0,sctp_chunk_data_6 arp_request_on_link0 ) timeout:30 cntLimit:0 seektime:0
Recv SCTP CHUNK_DATA (6)
14:33:46 vRecv(Link0,sctp_chunk_data_7 arp_request_on_link0 ) timeout:30 cntLimit:0 seektime:0
recv unexpect packet at 14:33:45
Recv SCTP CHUNK_DATA (7)
14:33:47 vSend(Link0,sctp_chunk_sack_snd)
Send SCTP CHUNK_SACK

Now the cwnd is 7500, partial_bytes_acked = 0
14:33:47 Wait 5 second
14:33:52 vSend(Link0,sctp_chunk_data_snd)
Send SCTP CHUNK_DATA
14:33:52 vRecv(Link0,sctp_chunk_data_1 arp_request_on_link0 ) timeout:30 cntLimit:0 seektime:0
Recv ARP Request on Link0
14:33:52 vSend(Link0,arp_reply_on_link0)
Send ARP Reply on Link0
14:33:53 vRecv(Link0,sctp_chunk_data_1 arp_request_on_link0 ) timeout:30 cntLimit:0 seektime:0
Recv ARP Request on Link0
14:33:53 vSend(Link0,arp_reply_on_link0)
Send ARP Reply on Link0
14:33:53 vRecv(Link0,sctp_chunk_data_1 arp_request_on_link0 ) timeout:30 cntLimit:0 seektime:0
Recv ARP Request on Link0
14:33:53 vSend(Link0,arp_reply_on_link0)
Send ARP Reply on Link0
14:33:53 vRecv(Link0,sctp_chunk_data_1 arp_request_on_link0 ) timeout:30 cntLimit:0 seektime:0
Recv SCTP CHUNK_DATA (1)
14:33:53 vRecv(Link0,sctp_chunk_data_2 arp_request_on_link0 ) timeout:30 cntLimit:0 seektime:0
Recv SCTP CHUNK_DATA (2)
14:33:54 vRecv(Link0,sctp_chunk_data_3 arp_request_on_link0 ) timeout:30 cntLimit:0 seektime:0
Recv SCTP CHUNK_DATA (3)
14:33:54 vRecv(Link0,sctp_chunk_data_4 arp_request_on_link0 ) timeout:30 cntLimit:0 seektime:0
Recv SCTP CHUNK_DATA (4)
14:33:54 vRecv(Link0,sctp_chunk_data_5 arp_request_on_link0 ) timeout:30 cntLimit:0 seektime:0
Recv SCTP CHUNK_DATA (5)
14:33:54 vSend(Link0,sctp_chunk_sack_snd)
Send SCTP CHUNK_SACK

Now the cwnd is 7500, partial_bytes_acked = 1452
14:33:55 vRecv(Link0,sctp_chunk_data_6 arp_request_on_link0 ) timeout:30 cntLimit:0 seektime:0
Recv SCTP CHUNK_DATA (6)
14:33:55 vRecv(Link0,sctp_chunk_data_7 arp_request_on_link0 ) timeout:30 cntLimit:0 seektime:0
recv unexpect packet at 14:33:53
Recv SCTP CHUNK_DATA (7)
14:33:55 vSend(Link0,sctp_chunk_sack_snd)
Send SCTP CHUNK_SACK

Now the cwnd is 7500, partial_bytes_acked = 0
14:33:55 Wait 5 second
14:34:00 vSend(Link0,sctp_chunk_data_snd)
Send SCTP CHUNK_DATA
14:34:01 vRecv(Link0,sctp_chunk_data_1 arp_request_on_link0 ) timeout:30 cntLimit:0 seektime:0
Recv SCTP CHUNK_DATA (1)
14:34:01 vRecv(Link0,sctp_chunk_data_2 arp_request_on_link0 ) timeout:30 cntLimit:0 seektime:0
Recv SCTP CHUNK_DATA (2)
14:34:01 vRecv(Link0,sctp_chunk_data_3 arp_request_on_link0 ) timeout:30 cntLimit:0 seektime:0
Recv SCTP CHUNK_DATA (3)
14:34:01 vRecv(Link0,sctp_chunk_data_4 arp_request_on_link0 ) timeout:30 cntLimit:0 seektime:0
Recv SCTP CHUNK_DATA (4)
14:34:01 vRecv(Link0,sctp_chunk_data_5 arp_request_on_link0 ) timeout:30 cntLimit:0 seektime:0
Recv SCTP CHUNK_DATA (5)
14:34:02 vSend(Link0,sctp_chunk_sack_snd)
Send SCTP CHUNK_SACK

Now the cwnd is 7500, partial_bytes_acked = 1452
14:34:02 vRecv(Link0,sctp_chunk_data_6 arp_request_on_link0 ) timeout:30 cntLimit:0 seektime:0
Recv SCTP CHUNK_DATA (6)
14:34:02 vRecv(Link0,sctp_chunk_data_7 arp_request_on_link0 ) timeout:30 cntLimit:0 seektime:0
recv unexpect packet at 14:34:01
Recv SCTP CHUNK_DATA (7)
14:34:02 vSend(Link0,sctp_chunk_sack_snd)
Send SCTP CHUNK_SACK

Now the cwnd is 7500, partial_bytes_acked = 0
14:34:03 Wait 5 second
14:34:08 vSend(Link0,sctp_chunk_data_snd)
Send SCTP CHUNK_DATA
14:34:08 vRecv(Link0,sctp_chunk_data_1 arp_request_on_link0 ) timeout:30 cntLimit:0 seektime:0
Recv SCTP CHUNK_DATA (1)
14:34:08 vRecv(Link0,sctp_chunk_data_2 arp_request_on_link0 ) timeout:30 cntLimit:0 seektime:0
Recv SCTP CHUNK_DATA (2)
14:34:08 vRecv(Link0,sctp_chunk_data_3 arp_request_on_link0 ) timeout:30 cntLimit:0 seektime:0
Recv SCTP CHUNK_DATA (3)
14:34:09 vRecv(Link0,sctp_chunk_data_4 arp_request_on_link0 ) timeout:30 cntLimit:0 seektime:0
Recv SCTP CHUNK_DATA (4)
14:34:09 vRecv(Link0,sctp_chunk_data_5 arp_request_on_link0 ) timeout:30 cntLimit:0 seektime:0
Recv SCTP CHUNK_DATA (5)
14:34:09 vSend(Link0,sctp_chunk_sack_snd)
Send SCTP CHUNK_SACK

Now the cwnd is 7500, partial_bytes_acked = 1452
14:34:09 vRecv(Link0,sctp_chunk_data_6 arp_request_on_link0 ) timeout:30 cntLimit:0 seektime:0
Recv SCTP CHUNK_DATA (6)
14:34:10 vRecv(Link0,sctp_chunk_data_7 arp_request_on_link0 ) timeout:30 cntLimit:0 seektime:0
recv unexpect packet at 14:34:08
Recv SCTP CHUNK_DATA (7)
14:34:10 vSend(Link0,sctp_chunk_sack_snd)
Send SCTP CHUNK_SACK

Now the cwnd is 7500, partial_bytes_acked = 0
14:34:10 Wait 5 second

================== vClose ==================
14:34:15 vSend(Link0,sctp_chunk_shutdown_snd)
Send SCTP CHUNK_SHUTDOWN
14:34:15 vRecv(Link0,sctp_chunk_shutdown_ack_rcv arp_request_on_link0 ) timeout:10 cntLimit:0 seektime:0
Recv SCTP CHUNK_SHUTDOWN_ACK
14:34:15 vSend(Link0,sctp_chunk_shutdown_complete_snd)
Send SCTP CHUNK_SHUTDOWN_COMPLETE

============ sctpGetRemoteStatus ===========
14:34:16 vRemote(getfile.rmt) ``/usr/local/v6eval//bin/linux-v6//getfile.rmt -t linux-v6 -u root -p goodluck -d ttyS0 -o 1 from=/tmp/sctpstatus to=.sctpstatus''
Connected.

[1]+  Done                    sleep 5 && sctp_status -H 192.168.0.21 -P 4587 -h 192.168.0.100 -p 3587 -s -X 7 -x 8 -c 1452 -I 7 -D -f /tmp/sctpstatus > /tmp/tstcmd.log 2>&1
[root@RHEL ~]# 
[root@RHEL ~]# ~sechocheck

[root@RHEL ~]# 
[root@RHEL ~]# ~t/tmp/sctpstatus .sctpstatus
[file transfer complete]
[connected]
L ~]# 
[root@RHEL ~]# 
[root~.
Disconnected.

NO. ASSOC-ID STATE             RWND     UNACKDATA PENDDATA INSTRMS OUTSTRMS FRAG-POINT SPINFO-STATE SPINFO-CWDN SPINFO-SRTT SPINFO-RTO SPINFO-MTU
1   1        ESTABLISHED       54784    0         0        100     10       1452       ACTIVE       4380        0           3000       1500
2   1        ESTABLISHED       47180    5         0        100     10       1452       ACTIVE       5832        516         1548       1500
3   1        ESTABLISHED       50256    3         0        100     10       1452       ACTIVE       6000        508         1352       1500
4   1        ESTABLISHED       48632    4         0        100     10       1452       ACTIVE       7500        529         1329       1500
OK

============= sctpSetRemoteSys =============
14:34:25 vRemote(setsysconfig.rmt) ``/usr/local/v6eval//bin/linux-v6//setsysconfig.rmt -t linux-v6 -u root -p goodluck -d ttyS0 -o 1 name=MAX.BURST value=4''
Connected.

[root@RHEL ~]# 
[root@RHEL ~]# echo 4 > /proc/sys/net/sctp/max_burst 
[root@RHEL ~]# echo $?
0
[root@R~.
Disconnected.

Set paramater MAX.BURST of Remote System to value: 4
14:34:29End

Packet Reverse Log