Another update: it seems to be a deadlock in
zope.testing.testrunner.runner.spawn_layer_in_subprocess(). Just
looking at the code made me cry "deadlock".

Changing:

        child = subprocess.Popen(args, shell=False, stdin=subprocess.PIPE,
            stdout=subprocess.PIPE, stderr=subprocess.PIPE,
            close_fds=not sys.platform.startswith('win'))

to:

        child = subprocess.Popen(args, shell=False, stdin=subprocess.PIPE,
            close_fds=not sys.platform.startswith('win'))

prevents the test process from hanging. This is not a fix, but it
seems to indicate a problem with how the streams are being handled.
I'm going to dig some more.

_______________________________________________
Mailing list: https://launchpad.net/~launchpad-dev
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~launchpad-dev
More help   : https://help.launchpad.net/ListHelp

Reply via email to