[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: Parallel make check failure in os.wait()

From: Hyrum K. Wright <hyrum_wright_at_mail.utexas.edu>
Date: 2007-06-14 04:13:14 CEST

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Blair Zajac wrote:
> Doing a build today on trunk with
>
> $ make check CLEANUP=true PARALLEL=true
>
> These lines appeared in my tests.log
> $ cat tests.log
> PASS: revert_tests.py 15: revert a file that was replaced by a copied file
> CLEANUP: svn-test-work/working_copies/revert_tests-15
> CLEANUP: svn-test-work/repositories/revert_tests-15
> END: revert_tests.py
>
> START: stat_tests.py
> Exception in thread Thread-29:
> Traceback (most recent call last):
> File "/usr/local/lib/python2.4/threading.py", line 442, in __bootstrap
> self.run()
> File "/tmp/blair/svn-trunk/subversion/tests/cmdline/svntest/main.py",
> line 807, in run
> self.result, self.stdout_lines, self.stderr_lines =\
> File "/tmp/blair/svn-trunk/subversion/tests/cmdline/svntest/main.py",
> line 305, in spawn_process
> pid, wait_code = os.wait()
> OSError: [Errno 10] No child processes
>
>
> I control-C'ed it and this appeared:
>
> Running all tests in export_tests.py [31/55]...success
> Running all tests in externals_tests.py [32/55]...success
> Running all tests in merge_tests.py [33/55]...success
> Running all tests in revert_tests.py [34/55]...success
> Running all tests in stat_tests.py [35/55]...Traceback (most recent call
> last):
> File "./build/run_tests.py", line 217, in ?
> main()
> File "./build/run_tests.py", line 210, in main
> failed = th.run(args[2:])
> File "./build/run_tests.py", line 58, in run
> failed = self._run_test(prog, cnt, len(list)) or failed
> File "./build/run_tests.py", line 131, in _run_test
> failed = self._run_prog(progname, cmdline)
> File "./build/run_tests.py", line 167, in _run_prog
> rv = os.spawnv(os.P_WAIT, progname, cmdline)
> File "/usr/local/lib/python2.4/os.py", line 552, in spawnv
> return _spawnvef(mode, file, args, None, execv)
> File "/usr/local/lib/python2.4/os.py", line 535, in _spawnvef
> wpid, sts = waitpid(pid, 0)
> KeyboardInterrupt
> make: *** [check] Error 1
>
> Regards,
> Blair

For what it's worth, I get similar errors when running the test suite on
a static build with Python 2.5:

hwright@spock:~/dev/svn-static/subversion/tests/cmdline$ ./basic_tests.py
UNEXPECTED EXCEPTION:
Traceback (most recent call last):
  File
"/home/hwright/dev/svn-static/subversion/tests/cmdline/svntest/main.py",
line 854, in run
    rc = apply(self.pred.run, (), kw)
  File
"/home/hwright/dev/svn-static/subversion/tests/cmdline/svntest/testcase.py",
line 116, in run
    return self.func(sandbox)
  File "./basic_tests.py", line 54, in basic_checkout
    wc_dir)
  File
"/home/hwright/dev/svn-static/subversion/tests/cmdline/svntest/actions.py",
line 210, in run_and_verify_svn
    out, err = main.run_svn(want_err, *varargs)
  File
"/home/hwright/dev/svn-static/subversion/tests/cmdline/svntest/main.py",
line 373, in run_svn
    *varargs + ('--config-dir', default_config_dir))
  File
"/home/hwright/dev/svn-static/subversion/tests/cmdline/svntest/main.py",
line 269, in run_command
    None, *varargs)
  File
"/home/hwright/dev/svn-static/subversion/tests/cmdline/svntest/main.py",
line 333, in run_command_stdin
    *varargs)
  File
"/home/hwright/dev/svn-static/subversion/tests/cmdline/svntest/main.py",
line 305, in spawn_process
    pid, wait_code = os.wait()
OSError: [Errno 10] No child processes
FAIL: basic_tests.py 1: basic checkout of a wc
Interrupted
hwright@spock:~/dev/svn-static/subversion/tests/cmdline$

This happens for all python tests.

- -Hyrum
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFGcKQ6CwOubk4kUXwRAg2VAJ0Y0PlviNUi3cRiPhtq8DBcXjKzwgCfcTJ5
883Pua6Dm7kWqk/ONSi8lJo=
=hqYa
-----END PGP SIGNATURE-----

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Thu Jun 14 04:26:58 2007

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.