LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (http://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   ns2 - some validation tests failed (http://www.linuxquestions.org/questions/linux-newbie-8/ns2-some-validation-tests-failed-732164/)

shojaru 06-11-2009 05:14 AM

ns2 - some validation tests failed
 
Dear all,

After many modifications, I managed to install ns2.28 , but some validation tests failed. I got the following message at the end of validation test:
validate overall report: some tests failed:
./test-all-simple ./test-all-tcp ./test-all-testReno ./test-all-newreno ./test-all-sack ./test-all-tcpOptions ./test-all-sack-full ./test-all-tcpVariants ./test-all-LimTransmit ./test-all-aimd ./test-all-greis ./test-all-rfc2581 ./test-all-sctp ./test-all-tcpHighspeed ./test-all-frto ./test-all-friendly ./test-all-srm ./test-all-realaudio ./test-all-ecn ./test-all-ecn-full ./test-all-quickstart ./test-all-hier-routing ./test-all-lan ./test-all-mcast ./test-all-vc ./test-all-mixmode ./test-all-red ./test-all-adaptive-red ./test-all-red-pd ./test-all-rio ./test-all-vq ./test-all-rem ./test-all-gk ./test-all-pi ./test-all-cbq ./test-all-schedule ./test-all-jobs ./test-all-intserv
to re-run a specific test, cd tcl/test; ./test-all-TEST-NAME
Notice that some tests in webcache will fail on freebsd when -O is turned on.
This is due to some event reordering, which will disappear when -g is turned on.


I have searched the mailing list for the problem, I found many mails about it, but no reply to the mails. Is it a very silly thing, that people don't bother to reply? I have no idea what to do now. I found something like reporting bug about this. I tried to run the test individually one after another, but that is too time consuming, it prompts for permission after every test and thus runs many test & opens a lot of xgraph window. The tests I run so far individually, agreed with the reference output.

Now I am wondering, should I report a bug about it, or should I hire a kid to run those failed 40 tests( which require hitting the ENTER key 1200 times,maybe ) , or what else should I do.

Thank you for your time and attention.

jamescondron 06-11-2009 09:51 PM

Hire a kid, I must admit that made me laugh.

With the number of tests it says have failed, it may be an idea to do a clean install again. Of course, try using the fix it suggests for BSD systems, see what happens then

knudfl 06-13-2009 06:32 AM

Please tell, which Linux, you are using.
Linux, name, version ( like Ubuntu 9.04, Fedora 10 ...)

And you must have a very good reason to use ns-2.28 ?
The current version is 2.33 .

http://www.linuxquestions.org/linux/...Ask_a_Question
http://linuxsilo.net/docs/smart-questions_en.html
.....
.....

shojaru 06-15-2009 12:58 AM

Quote:

Originally Posted by knudfl (Post 3572610)
Please tell, which Linux, you are using.
Linux, name, version ( like Ubuntu 9.04, Fedora 10 ...)

I am sorry. I use Ubuntu 9.04.

Quote:

Originally Posted by knudfl (Post 3572610)
And you must have a very good reason to use ns-2.28 ?
The current version is 2.33 .

I have installed ns2.33 earlier,which doesn't contain the 802.11e mac.I want to simulate 802.11e network and then modify 802.11e, but the only one I have found so far is the 802.11e patch from TKN , which is applicable to ns2.28 only. I asked before some support person about the compatibility of the patch with ns2.33. But all that I have found is any patch is only applicable to the specific release it was created for. Other releases might not be compatible and no support is available for that purpose.

I am struggling with this thing for months, but no luck. I still could not manage to run 802.11e . I know this forum is not meant for ns2 problems, but I am asking questions after questions everywhere, but only this forum is responsive to the questions. I post questions in the hope that maybe some ns2 expert will see the question and be kind enough to reply.


I really do search a lot in Google and the forums before posting the questions, I only try to post when I cannot find the exact similar solution. I don't mean to violate any forum regulation, since this is the only place where I can get solution, if there is any.
I know I am posting too many threads, I am sorry about that.

fahimeh_ak 07-03-2009 12:49 AM

I have same problem, if u get a result, tell me pleaaaaaaaaaaaaaaaase!
 
hi i have this problem.helpme please!
Quote:

Originally Posted by shojaru (Post 3574008)
I am sorry. I use Ubuntu 9.04.



I have installed ns2.33 earlier,which doesn't contain the 802.11e mac.I want to simulate 802.11e network and then modify 802.11e, but the only one I have found so far is the 802.11e patch from TKN , which is applicable to ns2.28 only. I asked before some support person about the compatibility of the patch with ns2.33. But all that I have found is any patch is only applicable to the specific release it was created for. Other releases might not be compatible and no support is available for that purpose.

I am struggling with this thing for months, but no luck. I still could not manage to run 802.11e . I know this forum is not meant for ns2 problems, but I am asking questions after questions everywhere, but only this forum is responsive to the questions. I post questions in the hope that maybe some ns2 expert will see the question and be kind enough to reply.


I really do search a lot in Google and the forums before posting the questions, I only try to post when I cannot find the exact similar solution. I don't mean to violate any forum regulation, since this is the only place where I can get solution, if there is any.
I know I am posting too many threads, I am sorry about that.


sharafi12 08-28-2010 11:20 PM

Quote:

Originally Posted by fahimeh_ak (Post 3595131)
hi i have this problem.helpme please!

hi i have this problem.helpme please!

sharafi12 08-28-2010 11:20 PM

hi i have this problem.helpme please!

knudfl 08-30-2010 08:48 AM

@ sharafi12, posts # 6-7 : Welcome to LQ. ... :) ..

Very simple : Just use ns-allinone-2.28 .
No problem having several ns2 installs at the same time.

Required : Please tell, which Linux, you are using.
... Like Ubuntu 10.04 Lucid, Fedora 13, CentOS5 etc. etc.
http://www.linuxquestions.org/linux/...Ask_a_Question
http://www.catb.org/~esr/faqs/smart-questions.html
..

sharafi12 08-30-2010 11:18 PM

Quote:

Originally Posted by knudfl (Post 4082351)
@ sharafi12, posts # 6-7 : Welcome to LQ. ... :) ..

Very simple : Just use ns-allinone-2.28 .
No problem having several ns2 installs at the same time.

Required : Please tell, which Linux, you are using.
... Like Ubuntu 10.04 Lucid, Fedora 13, CentOS5 etc. etc.
http://www.linuxquestions.org/linux/...Ask_a_Question
http://www.catb.org/~esr/faqs/smart-questions.html
..

Thanks 4 ur response.I am using Fedora10.

knudfl 09-04-2010 02:51 PM

Fedora 10...13 , ns-allinone-2.28
 
1 Attachment(s)
Same well tested Ubuntu method as ns-allinone-2.27, using some "ns-allinone-2.34 files".
http://www.linuxquestions.org/questi...10-a-782356/#3
'ns-allinone-2.34/' is required too.
EDIT : Fedora, CentOS : Please see post # 55.

# yum install compat-gcc-34-c++ libX11-devel libXext-devel libXau-devel \
libXmu-devel xorg-x11-proto-devel gcc-c++ make automake autoconf libtool

**** All these commands can also be run as a script : 'sh script_228.txt' :
cd ns-allinone-2.28/
mv otcl-1.9/ back-otcl-1.9/
mv tclcl-1.16/ back-tclcl-1.16
mv tcl8.4.5/ back-tcl8.4.5
mv tk8.4.5/ back-tk8.4.5
mv nam-1.11/ back-nam-1.11

ln -s ../ns-allinone-2.34/otcl-1.13/
ln -s ../ns-allinone-2.34/tclcl-1.19/
ln -s ../ns-allinone-2.34/tcl8.4.18/
ln -s ../ns-allinone-2.34/tk8.4.18/
ln -s ../ns-allinone-2.34/nam-1.14/

ln -s otcl-1.13/ otcl-1.9
ln -s tclcl-1.19/ tclcl-1.16
ln -s tcl8.4.18/ tcl8.4.5
ln -s tk8.4.18/ tk8.4.5
ln -s nam-1.14/ nam-1.11

mv nam-1.10/ back-nam-1.10
ln -s ../ns-allinone-2.34/nam-1.14/
ln -s nam-1.14/ nam-1.11

mkdir -p include
cd include/
ln -s ../tcl8.4.18/generic/tclInt.h
ln -s ../tcl8.4.18/generic/tclIntDecls.h

cd ../tk8.4.18/
patch -p0 < tk-8.4-lastevent.patch
exit
****

Edit ns-allinone-2.28/ns-2.28/Makefile.in, line 36-37 to
CC = gcc34
CPP = g++34

cd ns-allinone-2.28/ && ./install
.............
.............

And a reasonable "validation".
"" validate overall report: some tests failed:
./test-all-newreno ./test-all-tcpHighspeed ./test-all-red ./test-all-cbq ./test-all-xcp "".

knudfl 09-07-2010 07:11 AM

Fedora 12 , ns-allinone-2.28
 
1 Attachment(s)
A better result was achieved, using the 'ns228-gcc40.patch'.
cd <folder-with ns-allinone-2.28/>
patch -p0 < ns228-gcc40.patch

Still with the g++34 for ns-allinone-2.28/ns-2.28/.
And same method like post # 10.
Code:

validate overall report: some tests failed:
    ./test-all-newreno ./test-all-red

... Which is more like other ns2 versions.

sharafi12 09-15-2010 08:21 PM

Got it
 
Quote:

Originally Posted by knudfl (Post 4088112)
Same well tested method as ns-allinone-2.27, using some "ns-allinone-2.34 files".
# yum install compat-gcc-34-c++ libX11-devel libXext-devel libXau-devel \
libXmu-devel xorg-x11-proto-devel gcc-c++ make automake autoconf libtool

**** All these commands can also be run as a script : 'sh <script>' :
cd ns-allinone-2.28/
mv otcl-1.9/ back-otcl-1.9/
mv tclcl-1.16/ back-tclcl-1.16
mv tcl8.4.5/ back-tcl8.4.5
mv tk8.4.5/ back-tk8.4.5
mv nam-1.11/ back-nam-1.11

ln -s ../ns-allinone-2.34/otcl-1.13/
ln -s ../ns-allinone-2.34/tclcl-1.19/
ln -s ../ns-allinone-2.34/tcl8.4.18/
ln -s ../ns-allinone-2.34/tk8.4.18/
ln -s ../ns-allinone-2.34/nam-1.14/

ln -s otcl-1.13/ otcl-1.9
ln -s tclcl-1.19/ tclcl-1.16
ln -s tcl8.4.18/ tcl8.4.5
ln -s tk8.4.18/ tk8.4.5
ln -s nam-1.14/ nam-1.11

cd tk8.4.18/
patch -p0 < tk-8.4-lastevent.patch
exit
****

Edit ns-allinone-2.28/ns-2.28/Makefile.in, line 36-37 to
CC = gcc34
CPP = g++34

cd ns-allinone-2.28/ && ./install
.............
.............

And a reasonable "validation".
"" validate overall report: some tests failed:
./test-all-newreno ./test-all-tcpHighspeed ./test-all-red ./test-all-cbq ./test-all-xcp "".

Many Thanks. It was very useful. I have installed ns-allinone-2.28 on Fedora 10 successfully. Next I'll try to setup IEEE802.11e for the ns-2.

NewStar 11-23-2010 09:43 PM

ns2.28 installation
 
Hi all,

I need to install ns2.28 on fedora (either 6 or 10). for those run ns2.28 successfully, could you please share with me your experience in installing and validating ns2.28 so i do it the right way. I have tried to install it on RedHat 5 previously but i got errors.

Thank you in advance.

knudfl 11-24-2010 11:30 AM

@ NewStar, post # 13 : Welcome to LQ.

Using the procedure in posts #10, #11 : No errors RH EL5, CentOS5, SL55.

EL 5 is based on Fedora 6 : Use the same procedure for Fedora 6.

Fedora 10 is included, when you read posts #10, #11.
..

The perfect 'validate report' : see post #11. ( Fedora 12.)
..


Fedora 10 validate , no patching with 'ns228-gcc40.patch' :
validate overall report: some tests failed:
./test-all-newreno ./test-all-tcpHighspeed ./test-all-red ./test-all-cbq ./test-all-xcp

Fedora 10, the patch is included : 'patch -p0 < ns228-gcc40.patch
No improvement like in Fedora 12. Same result as above.
..

NewStar 11-25-2010 01:34 AM

on redhat 5
 
Hi knudfl... Thank you for the welcoming and answering.

Below is the errors i got when i did step 1. I am trying it on RedHat 5.


******************************************************************************
[root@localhost ns-allinone-2.34]# yum install compat-gcc-34-c++ libX11-devel libXext-devel libXau-devel\libXmu-devel xorg-x11-proto-devel gcc-c++ make automake autoconf libtool
Loaded plugins: rhnplugin, security
This system is not registered with RHN.
RHN support will be disabled.
Setting up Install Process
Parsing package install arguments
No package compat-gcc-34-c++ available.
No package libX11-devel available.
No package libXext-devel available.
No package libXau-devellibXmu-devel available.
No package xorg-x11-proto-devel available.
No package gcc-c++ available.
Package 1:make-3.81-3.el5.i386 installed and not available
No package automake available.
No package autoconf available.
No package libtool available.
Nothing to do
[root@localhost ns-allinone-2.34]# cd
[root@localhost ~]# cd Desktop/ns-allinone-2.28
[root@localhost ns-allinone-2.28]# mv otcl-1.9/back-otcl-1.9/
mv: missing destination file operand after `otcl-1.9/back-otcl-1.9/'
Try `mv --help' for more information.
[root@localhost ns-allinone-2.28]#

*************************************************************************************
I appreciate your help.
Thank you.


All times are GMT -5. The time now is 10:48 PM.