[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[certi-dev] dtest
From: |
Jan-Patrick Osterloh |
Subject: |
[certi-dev] dtest |
Date: |
Wed, 28 Sep 2011 19:35:59 +0200 |
User-agent: |
Mozilla/5.0 (Windows NT 5.1; rv:6.0.2) Gecko/20110902 Thunderbird/6.0.2 |
Hi,
if I try to run dtest I get some errors. First I executed cmake in order
to create the makefiles. I also installed dtest and the dependencies. Do
I have to set the PYTHONPATH to my python executable, or to the dtest
folder that I downloaded?
Must I call just make test, or a normal make before?
$>make test
Running tests...
"/C/Programme/CMake 2.8/bin/ctest.exe" --force-new-ctest-process
Test project D:/home/patrick/eclipse/certi/applications/HLA_TestsSuite
Start 1: create_destroy-1
1/10 Test #1: create_destroy-1 .................***Not Run 0.00 sec
Start 2: test_Sync-1
2/10 Test #2: test_Sync-1 ......................***Not Run 0.00 sec
Start 3: test_TRTCCallbacks-1
3/10 Test #3: test_TRTCCallbacks-1 .............***Not Run 0.00 sec
Start 4: test_TRTCCallbacks-2
4/10 Test #4: test_TRTCCallbacks-2 .............***Not Run 0.00 sec
Start 5: Interactive_Federate-1
5/10 Test #5: Interactive_Federate-1 ...........***Not Run 0.00 sec
Start 6: Interactive_Federate1516-1
6/10 Test #6: Interactive_Federate1516-1 .......***Not Run 0.00 sec
Start 7: test_NotificationSwitches-1
7/10 Test #7: test_NotificationSwitches-1 ......***Not Run 0.00 sec
Start 8: test_FOMParse-1
8/10 Test #8: test_FOMParse-1 ..................***Not Run 0.00 sec
Start 9: 01-FederationExecutionTest-1
9/10 Test #9: 01-FederationExecutionTest-1 .....***Not Run 0.00 sec
Start 10: 02-HandlesAndNamesTest-1
10/10 Test #10: 02-HandlesAndNamesTest-1 .........***Not Run 0.00 sec
0% tests passed, 10 tests failed out of 10
Total Test time (real) = 0.30 sec
The following tests FAILED:
1 - create_destroy-1 (BAD_COMMAND)
2 - test_Sync-1 (BAD_COMMAND)
3 - test_TRTCCallbacks-1 (BAD_COMMAND)
4 - test_TRTCCallbacks-2 (BAD_COMMAND)
5 - Interactive_Federate-1 (BAD_COMMAND)
6 - Interactive_Federate1516-1 (BAD_COMMAND)
7 - test_NotificationSwitches-1 (BAD_COMMAND)
8 - test_FOMParse-1 (BAD_COMMAND)
9 - 01-FederationExecutionTest-1 (BAD_COMMAND)
10 - 02-HandlesAndNamesTest-1 (BAD_COMMAND)
Errors while running CTest
make: *** [test] Error 8
If I just run one test manually, I get the following:
$> dtest_create_destroy.py
"--federate=D:/home/patrick/eclipse/certi/applications/HLA_TestsSuite/create_destroy"
Exception in thread RTIG:
Traceback (most recent call last):
File "c:\Programme\Entwicklung\Python26\lib\threading.py", line 525,
in __bootstrap_inner
self.run()
File
"c:\Programme\Entwicklung\Python26\lib\site-packages\dtest\dtester.py",
line 442, in run
self.__lastStepStatus = step[0](self,*(step[1]),**(step[2]))
File
"c:\Programme\Entwicklung\Python26\lib\site-packages\dtest\dtester.py",
line 222, in runCommand
return self.session.send(command+self.session.NEWLINE)
File
"c:\Programme\Entwicklung\Python26\lib\site-packages\dtest\ssh_session_handler.py",
line 73, in send
self.SSHShell.send(string)
AttributeError: 'NoneType' object has no attribute 'send'
Exception in thread create_destroy:
Traceback (most recent call last):
File "c:\Programme\Entwicklung\Python26\lib\threading.py", line 525,
in __bootstrap_inner
self.run()
File
"c:\Programme\Entwicklung\Python26\lib\site-packages\dtest\dtester.py",
line 442, in run
self.__lastStepStatus = step[0](self,*(step[1]),**(step[2]))
File
"c:\Programme\Entwicklung\Python26\lib\site-packages\dtest\dtester.py",
line 222, in runCommand
return self.session.send(command+self.session.NEWLINE)
File
"c:\Programme\Entwicklung\Python26\lib\site-packages\dtest\ssh_session_handler.py",
line 73, in send
self.SSHShell.send(string)
AttributeError: 'NoneType' object has no attribute 'send'
## Test Sequence <HLA test create_destroy Starts> ...
## Number of DTesters = 2
## Description:
## Launch RTIG + one create_destroy federate for testing
create,destroy,...
1..17
ok 1 - HLA test create_destroy Starts.
not ok 2 - Barrier <RTIG started> timed-out for DTester <create_destroy>
waiting no more than <20.000000 seconds>
not ok 3 - Tester <create_destroy> did timeout
## Test Sequence <HLA test create_destroy Starts>: FAILED.
# Looks like you planned 17 tests but ran 3.
JPO
--
Dipl. Inform. Jan-Patrick Osterloh
FuE Bereich Verkehr | R&D Division Transportation
Human Centered Design Group
OFFIS
FuE Bereich Verkehr | R&D Division Transport
Escherweg 2 - 26121 Oldenburg - Germany
Phone/Fax: +49 441 97 22-524/502
E-Mail: address@hidden
URL: http://www.offis.de
signature.asc
Description: OpenPGP digital signature
- [certi-dev] dtest,
Jan-Patrick Osterloh <=