exceptions.OSError: [Errno 3] No such process

Pierre Chifflier chifflier at cpe.fr
Mon Jun 19 14:20:09 UTC 2006


Hi,

I'm trying to use qmtest on Debian Sid (Unstable), and encounter some
problems when using the gui:
Every time I try to run a test using the gui, I got an error
qmtest.exception
  exceptions.OSError: [Errno 3] No such process

The problem seems to be in setpgid (see the end of this mail for a
complete traceback), but I can't tell more.
There is a zombie process remaining:
pollux   31795  0.1  1.0  20544  8276 pts/6    S+   16:10   0:00  |
\_ /usr/bin/python /usr/bin/qmtest gui
pollux   31883  0.0  0.0      0     0 pts/6    Z    16:10   0:00  |
\_ [bash] <defunct>

I tried using command.ExecTest, command.ShellCommandTest and
command.ShellScriptTest without success.


Now, what's weird: all tests succeeds using the CLI:
qmtest run
--- TEST RESULTS
-------------------------------------------------------------

  shell.test_wzd_action                         : PASS


Is there a way to make the gui work ? Or have I done something wrong ?


Thanks for your help,

Pierre



Versions:

QMTest 2.3
Python 2.3.5


Traceback:

File "/usr/lib/python2.3/site-packages/qm/test/target.py", line 225, in RunTest
    descriptor.Run(context, result)

  File "/usr/lib/python2.3/site-packages/qm/test/database.py", line 256, in Run
    self._Execute(context, result, "Run")

  File "/usr/lib/python2.3/site-packages/qm/test/database.py", line 178, in _Execute
    methobj(context, result)

  File "/usr/lib/python2.3/site-packages/qm/test/classes/command.py", line 493, in Run
    self.RunProgram(arguments[0], arguments, context, result)

  File "/usr/lib/python2.3/site-packages/qm/test/classes/command.py", line 221, in RunProgram
    exit_status = e.Run(arguments, environment, path = program)

  File "/usr/lib/python2.3/site-packages/qm/executable.py", line 548, in Run
    path)

  File "/usr/lib/python2.3/site-packages/qm/executable.py", line 257, in Run
    child = self.Spawn(arguments, environment, dir, path, exception_pipe)

  File "/usr/lib/python2.3/site-packages/qm/executable.py", line 209, in Spawn
    self._HandleChild()

  File "/usr/lib/python2.3/site-packages/qm/executable.py", line 714, in _HandleChild
    super(RedirectedExecutable, self)._HandleChild()

  File "/usr/lib/python2.3/site-packages/qm/executable.py", line 492, in _HandleChild
    os.setpgid(self.__monitor_pid, child_pid)




More information about the qmtest mailing list