[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[ns] Need Help!!!Validation failed!



Hi all,
After compling ns-2.1b6 under win98 with VC6.0,
I install cygwin and perl5 as suggested!
then i patch test-all-template1,
then i lauch cygwin and type ./validate under ns-2.1b6(is it necessary
to lauch cygwin?)
but the output seems the validation failed!
Could anyone help me?
Follows are parts of my test-all-template1 and validation output!
test-all-template1:
...
...
    if [ -f $datafile ]; then
	if [ ! -f $directory/$t.Z ]; then
	    echo saving output for future validation
	    success="unknown"
	    cp $datafile $datafile.bk; compress $datafile  
	    cp $datafile.bk $datafile
	    mv $datafile.Z $directory/$t.Z
	else
	    gzip -dc $directory/$t.Z | perl -ne 'print $_;' | cmp -s - $datafile 
	    if [ $? = 0 ]; then
		echo Test output agrees with reference output
	    else
		echo Test output differs from reference output
		success="false"
		cp $datafile $directory/$t.test
		gzip -dc $directory/$t.Z > $directory/$t
		echo "Diagnose with: diff $directory/$t.test $directory/$t"

validation output:

*** ./test-all-simple
Tests: tahoe1 tahoe2 tahoe3 tahoe4 no_bug bug reno1 reno renoA reno2 reno3 reno4 reno4a reno5 telnet delayed phase phase1 phase2 timers stats
../../ns test-suite-simple.tcl tahoe1 QUIET
../../ns test-suite-simple.tcl tahoe2 QUIET
../../ns test-suite-simple.tcl tahoe3 QUIET
../../ns test-suite-simple.tcl tahoe4 QUIET
../../ns test-suite-simple.tcl no_bug QUIET
../../ns test-suite-simple.tcl bug QUIET
../../ns test-suite-simple.tcl reno1 QUIET
../../ns test-suite-simple.tcl reno QUIET
../../ns test-suite-simple.tcl renoA QUIET
../../ns test-suite-simple.tcl reno2 QUIET
../../ns test-suite-simple.tcl reno3 QUIET
../../ns test-suite-simple.tcl reno4 QUIET
../../ns test-suite-simple.tcl reno4a QUIET
../../ns test-suite-simple.tcl reno5 QUIET
../../ns test-suite-simple.tcl telnet QUIET
../../ns test-suite-simple.tcl delayed QUIET
../../ns test-suite-simple.tcl phase QUIET
../../ns test-suite-simple.tcl phase1 QUIET
../../ns test-suite-simple.tcl phase2 QUIET
../../ns test-suite-simple.tcl timers QUIET
../../ns test-suite-simple.tcl stats QUIET
tcp0/window=30/packetSize=1000/bugFix=1
tcp1/window=30/packetSize=1000/bugFix=1
tcp0/time=0/cwnd=1.0000/ssthresh=30/ack=-1/rtt=0
tcp1/time=0/cwnd=1.0000/ssthresh=30/ack=-1/rtt=0
Some test failed.
*** ./test-all-tcp
Tests: ecn timers timersA timersA1 timersA2 timersA3 timers1 timers2 timers3 timers4 timers5 stats1 quiescent_100ms quiescentB quiescentB_qoption underutilized_100ms underutilized_100ms_control underutilized_100ms_control_Q underutilized_100ms_Q underutilized_100ms_control_Reno underutilized_100ms_control_Newreno underutilized_100ms_control_Sack quiescent_100ms_fine quiescent_100ms_coarse quiescent_1ms_fine quiescent_1ms_coarse quiescent_500ms_fine quiescent_500ms_coarse
../../ns test-suite-tcp.tcl ecn QUIET
../../ns test-suite-tcp.tcl timers QUIET
../../ns test-suite-tcp.tcl timersA QUIET
../../ns test-suite-tcp.tcl timersA1 QUIET
../../ns test-suite-tcp.tcl timersA2 QUIET
../../ns test-suite-tcp.tcl timersA3 QUIET
../../ns test-suite-tcp.tcl timers1 QUIET
../../ns test-suite-tcp.tcl timers2 QUIET
../../ns test-suite-tcp.tcl timers3 QUIET
../../ns test-suite-tcp.tcl timers4 QUIET
../../ns test-suite-tcp.tcl timers5 QUIET
../../ns test-suite-tcp.tcl stats1 QUIET
tcp1/window=30/packetSize=1000/bugFix=1
tcp2/window=3/packetSize=1000/bugFix=1
tcp1/time=0/cwnd=1.0000/ssthresh=30/ack=-1/rtt=0
tcp2/time=0/cwnd=1.0000/ssthresh=3/ack=-1/rtt=0
../../ns test-suite-tcp.tcl quiescent_100ms QUIET
../../ns test-suite-tcp.tcl quiescentB QUIET
../../ns test-suite-tcp.tcl quiescentB_qoption QUIET
../../ns test-suite-tcp.tcl underutilized_100ms QUIET
../../ns test-suite-tcp.tcl underutilized_100ms_control QUIET
../../ns test-suite-tcp.tcl underutilized_100ms_control_Q QUIET
../../ns test-suite-tcp.tcl underutilized_100ms_Q QUIET
../../ns test-suite-tcp.tcl underutilized_100ms_control_Reno QUIET
../../ns test-suite-tcp.tcl underutilized_100ms_control_Newreno QUIET
../../ns test-suite-tcp.tcl underutilized_100ms_control_Sack QUIET
../../ns test-suite-tcp.tcl quiescent_100ms_fine QUIET
../../ns test-suite-tcp.tcl quiescent_100ms_coarse QUIET
../../ns test-suite-tcp.tcl quiescent_1ms_fine QUIET
../../ns test-suite-tcp.tcl quiescent_1ms_coarse QUIET
../../ns test-suite-tcp.tcl quiescent_500ms_fine QUIET
../../ns test-suite-tcp.tcl quiescent_500ms_coarse QUIET
Some test failed.
*** ./test-all-full
Tests: full close twoway twoway1 twowayrandom delack iw=4 droppedsyn droppedfirstseg droppedsecondseg simul-open simul-close droppednearfin droppedlastseg droppedretransmit droppednearretransmit droppedfastrexmit ecn1 ecn2 droppedfin smallpkts telnet telnet2 SSR SSR2 tsopt winlimited
../../ns test-suite-full.tcl full QUIET
../../ns test-suite-full.tcl close QUIET
../../ns test-suite-full.tcl twoway QUIET
../../ns test-suite-full.tcl twoway1 QUIET
../../ns test-suite-full.tcl twowayrandom QUIET
second TCP starting at time 1
../../ns test-suite-full.tcl delack QUIET
../../ns test-suite-full.tcl iw=4 QUIET
../../ns test-suite-full.tcl droppedsyn QUIET
../../ns test-suite-full.tcl droppedfirstseg QUIET
../../ns test-suite-full.tcl droppedsecondseg QUIET
../../ns test-suite-full.tcl simul-open QUIET
Test output agrees with reference output
../../ns test-suite-full.tcl simul-close QUIET
Test output agrees with reference output
../../ns test-suite-full.tcl droppednearfin QUIET
../../ns test-suite-full.tcl droppedlastseg QUIET
../../ns test-suite-full.tcl droppedretransmit QUIET
../../ns test-suite-full.tcl droppednearretransmit QUIET
../../ns test-suite-full.tcl droppedfastrexmit QUIET
../../ns test-suite-full.tcl ecn1 QUIET
../../ns test-suite-full.tcl ecn2 QUIET
../../ns test-suite-full.tcl droppedfin QUIET
../../ns test-suite-full.tcl smallpkts QUIET
../../ns test-suite-full.tcl telnet QUIET
../../ns test-suite-full.tcl telnet2 QUIET
../../ns test-suite-full.tcl SSR QUIET
../../ns test-suite-full.tcl SSR2 QUIET
../../ns test-suite-full.tcl tsopt QUIET
../../ns test-suite-full.tcl winlimited QUIET
Some test failed.
*** ./test-all-monitor
Tests: tcp tcp-monitor
../../ns test-suite-monitor.tcl tcp QUIET
Test output differs from reference output
Diagnose with: diff test-output-monitor/tcp.test test-output-monitor/tcp
Or see URL "http://www-mash.cs.berkeley.edu/ns/ns-problems.html".
../../ns test-suite-monitor.tcl tcp-monitor QUIET
Test output differs from reference output
Diagnose with: diff test-output-monitor/tcp-monitor.test test-output-monitor/tcp-monitor
Or see URL "http://www-mash.cs.berkeley.edu/ns/ns-problems.html".
Some test failed.
*** ./test-all-red
Tests: red1 ecn red2 red_twoway red_twowaybytes flows_unforced flows_forced flows_combined ungentle gentle gentleEcn ungentleBadParams gentleBadParams
../../ns test-suite-red.tcl red1 QUIET
../../ns test-suite-red.tcl ecn QUIET
../../ns test-suite-red.tcl red2 QUIET
../../ns test-suite-red.tcl red_twoway QUIET
../../ns test-suite-red.tcl red_twowaybytes QUIET
../../ns test-suite-red.tcl flows_unforced QUIET
../../ns test-suite-red.tcl flows_forced QUIET
../../ns test-suite-red.tcl flows_combined QUIET
../../ns test-suite-red.tcl ungentle QUIET
../../ns test-suite-red.tcl gentle QUIET
../../ns test-suite-red.tcl gentleEcn QUIET
../../ns test-suite-red.tcl ungentleBadParams QUIET
../../ns test-suite-red.tcl gentleBadParams QUIET
Some test failed.
*** ./test-all-sack
Tests: sack1 sack1z sack1a sack1aa sack1b sack1c sack3 sack5 sack5a sackB2 sackB4 sackB4a
../../ns test-suite-sack.tcl sack1 QUIET
../../ns test-suite-sack.tcl sack1z QUIET
../../ns test-suite-sack.tcl sack1a QUIET
../../ns test-suite-sack.tcl sack1aa QUIET
../../ns test-suite-sack.tcl sack1b QUIET
../../ns test-suite-sack.tcl sack1c QUIET
../../ns test-suite-sack.tcl sack3 QUIET
../../ns test-suite-sack.tcl sack5 QUIET
../../ns test-suite-sack.tcl sack5a QUIET
../../ns test-suite-sack.tcl sackB2 QUIET
../../ns test-suite-sack.tcl sackB4 QUIET
../../ns test-suite-sack.tcl sackB4a QUIET
Some test failed.
*** ./test-all-schedule
Tests: fifo-droptail fifo-red sfq fq fq_small_queue drr
../../ns test-suite-schedule.tcl fifo-droptail QUIET
../../ns test-suite-schedule.tcl fifo-red QUIET
../../ns test-suite-schedule.tcl sfq QUIET
../../ns test-suite-schedule.tcl fq QUIET
../../ns test-suite-schedule.tcl fq_small_queue QUIET
../../ns test-suite-schedule.tcl drr QUIET
Some test failed.
*** ./test-all-cbq
Tests: WRR PRR AO TL FORMAL FORMAL_TCP MAX1 MAX2 EXTRA1 EXTRA2 MIN1 MIN3 MIN4 MIN6 TwoAO TwoAO2 TwoAO3 TwoTL TwoF TwoDynamic TwoDynamic1 TwoDynamic1WRR TwoWRR
../../ns test-suite-cbq.tcl WRR QUIET
Test output differs from reference output
Diagnose with: diff test-output-cbq/WRR.test test-output-cbq/WRR
Or see URL "http://www-mash.cs.berkeley.edu/ns/ns-problems.html".
../../ns test-suite-cbq.tcl PRR QUIET
Test output differs from reference output
Diagnose with: diff test-output-cbq/PRR.test test-output-cbq/PRR
Or see URL "http://www-mash.cs.berkeley.edu/ns/ns-problems.html".
../../ns test-suite-cbq.tcl AO QUIET
Test output differs from reference output
Diagnose with: diff test-output-cbq/AO.test test-output-cbq/AO
Or see URL "http://www-mash.cs.berkeley.edu/ns/ns-problems.html".
../../ns test-suite-cbq.tcl TL QUIET
Test output differs from reference output
Diagnose with: diff test-output-cbq/TL.test test-output-cbq/TL
Or see URL "http://www-mash.cs.berkeley.edu/ns/ns-problems.html".
../../ns test-suite-cbq.tcl FORMAL QUIET
Test output differs from reference output
Diagnose with: diff test-output-cbq/FORMAL.test test-output-cbq/FORMAL
...
...
BTW:my configuration:Win98+VC6.0+ns-2.1b6+tclcl-1.0b9+otcl-1.0a4+
tk8.0.5+tcl8.0.5+cygwin+perl5
when validating,the first error in screen is No target for slot 5,
then a lot of the same error,
would anyone help me pls!
thanks in advances!

_____________________________________________
һ·�����㣬��һ��ҲԸ�⣡
--Ϊ��ϲ����֧�ֵ�263�׶����ߣ�http://www.263.net��ͶһƱ��
��ҪͶƱ����http://fsurvey.cnnic.net.cn/survey/index.html��