"[Errno 3] No such process" problem on Ubuntu

Edisson Braga Jr. theedisson at yahoo.com.br
Fri Mar 30 15:40:04 UTC 2007


Hi,

We're trying to work with QMTest, but we are getting some problems to have it running on Ubuntu machines.

The problem we have is similar to the ones reported in http://www.codesourcery.com/archives/qmtest/msg01223.html and http://www.codesourcery.com/archives/qmtest/msg01196.html. In some situations, like running a shell command test on the GUI or just calling "python setup.py check", QMTest returns an exception "[Errno 3] No such process".

I got this problem on Ubuntu Edgy (6.10), which is the current stable version. I also tried on Ubuntu Feisty (7.04), which is currently in a beta version, but I also got the same problem. 

I also tried on an older Ubuntu version - Ubuntu Dapper (6.06) -  and it worked fine.

So, do you guys have some new information about this? There is some way to have it running on the current Ubuntu versions? Since this problem was also seen in other distributions, there is some solution for this problem on the QMTest side?

BTW, I followed the workaround suggested by Stefan in a previous e-mail (catch and ignore that particular exception thrown by os.setpgid() ) and I didn't get the "[Errno 3] No such process" anymore. However, when I run "python setup.py check" sometimes the test freezes at the beginning of the tests during the execution of "xmldb.signals_unblocked". When it doesn't freeze on this point, it will freeze during the SSH test. If I interrupt the execution at this point, the Traceback will show this:

qmtest: Interrupted.
Traceback (most recent call last):
  File "/home/edisson/src/qmsrc/qm-svn/build/scripts-2.4/qmtest", line 132, in ?
    exit_code = main()
  File "/home/edisson/src/qmsrc/qm-svn/build/scripts-2.4/qmtest", line 110, in main
    exit_code = command.Execute()
  File "/home/edisson/src/qmsrc/qm-svn/build/lib.linux-i686-2.4/qm/test/cmdline.py", line 784, in Execute
    return method()
  File "/home/edisson/src/qmsrc/qm-svn/build/lib.linux-i686-2.4/qm/test/cmdline.py", line 1691, in __ExecuteRun
    if engine.Run():
  File "/home/edisson/src/qmsrc/qm-svn/build/lib.linux-i686-2.4/qm/test/execution_engine.py", line 275, in Run
    self._RunTests()
  File "/home/edisson/src/qmsrc/qm-svn/build/lib.linux-i686-2.4/qm/test/execution_engine.py", line 375, in _RunTests
    self.__CheckForResponse(wait=1)
  File "/home/edisson/src/qmsrc/qm-svn/build/lib.linux-i686-2.4/qm/test/execution_engine.py", line 760, in __CheckForResponse
    fds = select.select (fds, [], [], 0.1)[0]
KeyboardInterrupt
interrupted

I'm using python2.4.

I would appreciate to have some help on this subject!

Thanks in advance,
Edisson Braga Jr.



__________________________________________________
Fale com seus amigos  de graça com o novo Yahoo! Messenger 
http://br.messenger.yahoo.com/ 



More information about the qmtest mailing list