A python setup.py check error on threads
Ian Lawrence
root at ianlawrence.info
Mon Aug 13 22:52:10 UTC 2007
Hi,
I followed this process and got an error. Any hints would be great!!
I am on Ubuntu Feisty
Python 2.5.1 (r251:54863, May 2 2007, 16:56:35)
[GCC 4.1.2 (Ubuntu 4.1.2-0ubuntu4)] on linux2
I did:
svn co svn://source.codesourcery.com/qmtest/trunk qmtest
python setup.py build
python setup.py check --thread
gives me the following results:
Setup xmldb.test.classes.tempdir1 : PASS
xmldb.test.classes.tempdir1 : PASS
Cleanup xmldb.test.classes.tempdir1 : PASS
Cleanup xmldb.signals_unblocked_tmpdir : PASS
--- TESTS THAT DID NOT PASS
--------------------------------------------------
regress.env_context1 : FAIL
Child process exited unsuccessfully
regress.xml1 : FAIL
Child process exited unsuccessfully
regress.xml2 : FAIL
Child process exited unsuccessfully
xmldb.common.parser_dup_command_long : FAIL
The test code raised an exception that isn't an exception object
instance. The type of the exception was ''.
xmldb.common.parser_dup_command_short : FAIL
The test code raised an exception that isn't an exception object
instance. The type of the exception was ''.
xmldb.common.parser_no_long : FAIL
The test code raised an exception that isn't an exception object
instance. The type of the exception was ''.
xmldb.common.parser_two_char_short : FAIL
The test code raised an exception that isn't an exception object
instance. The type of the exception was ''.
xmldb.signals_unblocked : ERROR
An exception occurred.
xmldb.test.classes.scripttest1 : ERROR
An exception occurred.
xmldb.test.classes.scripttest_closes_stdin : ERROR
An exception occurred.
--- STATISTICS
---------------------------------------------------------------
47 tests total
3 ( 6%) tests ERROR
7 ( 15%) tests FAIL
37 ( 79%) tests PASS
an example of the actual error generated is (all tests fail on the same
line):
xmldb.test.classes.scripttest_closes_stdin : ERROR
An exception occurred.
qmtest.end_time:
2007-08-13T22:38:30Z
qmtest.exception:
<type 'exceptions.OSError'>: [Errno 3] No such process
qmtest.start_time:
2007-08-13T22:38:30Z
qmtest.target:
thread
qmtest.traceback:
File
"/home/ian/Dev/Indt/Testing/qmtest-upstream/build/lib.linux-i686-2.5/qm/test/target.py",
line 227, in RunTest
descriptor.Run(context, result)
File
"/home/ian/Dev/Indt/Testing/qmtest-upstream/build/lib.linux-i686-2.5/qm/test/database.py",
line 272, in Run
self._Execute(context, result, "Run")
File
"/home/ian/Dev/Indt/Testing/qmtest-upstream/build/lib.linux-i686-2.5/qm/test/database.py",
line 191, in _Execute
methobj(context, result)
File
"/home/ian/Dev/Indt/Testing/qmtest-upstream/qm/test/classes/command.py",
line 456, in Run
self.RunProgram(arguments[0], arguments, context, result)
File
"/home/ian/Dev/Indt/Testing/qmtest-upstream/qm/test/classes/command.py",
line 221, in RunProgram
status = e.Run(arguments, environment, path = program)
File
"/home/ian/Dev/Indt/Testing/qmtest-upstream/build/lib.linux-i686-2.5/qm/executable.py",
line 564, in Run
path)
File
"/home/ian/Dev/Indt/Testing/qmtest-upstream/build/lib.linux-i686-2.5/qm/executable.py",
line 270, in Run
child = self.Spawn(arguments, environment, dir, path,
exception_pipe)
File
"/home/ian/Dev/Indt/Testing/qmtest-upstream/build/lib.linux-i686-2.5/qm/executable.py",
line 222, in Spawn
self._HandleChild()
File
"/home/ian/Dev/Indt/Testing/qmtest-upstream/build/lib.linux-i686-2.5/qm/executable.py",
line 732, in _HandleChild
super(RedirectedExecutable, self)._HandleChild()
File
"/home/ian/Dev/Indt/Testing/qmtest-upstream/build/lib.linux-i686-2.5/qm/executable.py",
line 508, in _HandleChild
os.setpgid(self.__monitor_pid, child_pid)
thanks for your help
[]'s
Ian
--
http://ianlawrence.info
More information about the qmtest
mailing list