tsp-devel
[Top][All Lists]
Advanced

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

Re: [Tsp-devel] dtest: a distributed test framework


From: Eric Noulard
Subject: Re: [Tsp-devel] dtest: a distributed test framework
Date: Tue, 24 Apr 2007 11:00:33 +0200

2007/3/27, Frederik Deweerdt <address@hidden>:
Hi,

Following the discussion on the need of a distributed test system, I
remembered that I had a python piece of code that just does that. See
below for more details on how it works.
[...]

then recently
2007/4/23, Frederik Deweerdt <address@hidden>:

Distributed tests are definely something we need to work on. One way to
contribute, besides sponsoring the development of the TSP tests, would be
to use and improve dtest in your projects.

Yes you are right and I've planned to do it.


Eg. if you've got an old application that you want to improve, why
not develop a battery of tests with dtest, so that you can catch
non-regressions?

I agree on that.

> [Fred already posted dtest on this list and I'm working on it
> but any support is welcomed]

We'll try to use it to test an in-house project, but time limits are
tight. I hope I'll be able to work on it soon. Did you manage to launch
the sample tests? What do you think about it overall?

I'm in the process of trying to make it work :))
By the way I'm wondering about the need of the XMLRPC server
for synchronization purpose.
I mean I think THERE IS a real need but I think I may have done
it in another way, I would think of remotely controlled process through
an ssh link, I will try this and submit the idea.

I like the idea of being able to build autonomous binary which
could be deployed without python being installed I wonder
if it could be optional.

When I get to clarify my own ideas I will get back to you :))

By the way,  the tests says:

make test
Running tests...
Start processing tests
Test project /udd/deri/enoulard/TSP/Contrib/Dtest/dtest
 1/  1 Testing test_001                         Passed

100% tests passed, 0 tests failed out of 1


But I see in Testing/Temporary/LastTest.log:

Start testing: Apr 24 10:34 CEST
----------------------------------------------------------
Changing directory into: /udd/deri/enoulard/TSP/Contrib/Dtest/dtest
1/1 Testing: test_001
1/1 Test: test_001
Command: "/udd/deri/enoulard/TSP/Contrib/Dtest/dtest/launch.sh" "test_001"
Directory: /udd/deri/enoulard/TSP/Contrib/Dtest/dtest
"test_001" start time: Apr 24 10:34 CEST
Output:
----------------------------------------------------------
#Proceeding with test_001
#       Launch the test engine
#       Setup the environment on the target...
#       Launch client on localhost
#       Launch client on localhost
#       Setup the environment on the target...
Traceback (most recent call last):
 File 
"/mnt/udd/deri/enoulard/TSP/Contrib/Dtest/dtest/cx_Freeze-3.0.3/initscripts/Console.py",
line 27, in ?
   exec code in m.__dict__
 File "/udd/deri/enoulard/TSP/Contrib/Dtest/dtest/tests/test_001//client.py",
line 5, in ?
   import test_helper
ImportError: No module named test_helper
Warning: No xauth data; using fake authentication data for X11 forwarding.^M
Traceback (most recent call last):
 File 
"/mnt/udd/deri/enoulard/TSP/Contrib/Dtest/dtest/cx_Freeze-3.0.3/initscripts/Console.py",
line 27, in ?
   exec code in m.__dict__
 File "/udd/deri/enoulard/TSP/Contrib/Dtest/dtest/tests/test_001//client.py",
line 5, in ?
   import test_helper
ImportError: No module named test_helper
#       Launch server on localhost
Traceback (most recent call last):
 File 
"/mnt/udd/deri/enoulard/TSP/Contrib/Dtest/dtest/cx_Freeze-3.0.3/initscripts/Console.py",
line 27, in ?
   exec code in m.__dict__
 File "/udd/deri/enoulard/TSP/Contrib/Dtest/dtest/tests/test_001//server.py",
line 5, in ?
   import test_helper
ImportError: No module named test_helper
Bail out! Cannot start XMLRPC server on engine
1..0
----------------------------------------------------------
"test_001" end time: Apr 24 10:34 CEST
"test_001" time elapsed: 00:00:03
----------------------------------------------------------


--
Erk




reply via email to

[Prev in Thread] Current Thread [Next in Thread]