On 02/04/2010 08:53 AM, Aaron Bentley wrote:
Hi all,Now that the windmill tests are mandatory, I would like to run the test suite under xvfb-run, as our test_on_merge.py script does. But it hangs for me reproducibly on testPPAUploadResultingInNoBuilds: $ xvfb-run bin/test -t testPPAUploadResultingInNoBuilds Running canonical.testing.layers.LaunchpadZopelessLayer tests: Set up canonical.testing.layers.BaseLayer in 0.025 seconds. Set up canonical.testing.layers.ZopelessLayer in 7.735 seconds. Set up canonical.testing.layers.DatabaseLayer in 0.866 seconds. Set up canonical.testing.layers.LibrarianLayer in 8.597 seconds. Set up canonical.testing.layers.MemcachedLayer in 0.135 seconds. Set up canonical.testing.layers.LaunchpadLayer in 0.000 seconds. Set up canonical.testing.layers.LaunchpadScriptLayer in 0.008 seconds. Set up canonical.testing.layers.LaunchpadZopelessLayer in 0.000 seconds. It's not tragic, because I can use a VNC server instead, but it worries me that our test suite and xvfb-run can so easily stop working together. Aaron
Try passing the '-e' flag to record the X server errors:
xvfb-run -e /tmp/xvfb-errors.log bin/test...
I've tried using Xvfb myself and found some flaky behaviour with Windmill. I'd
like to isolate it if possible.
(Might be that windmill repeatedly starting Firefox doesn't hold the server display open - I can hack around that by starting xlogo or something for the duration of the test)
Maris
signature.asc
Description: OpenPGP digital signature
_______________________________________________ Mailing list: https://launchpad.net/~launchpad-dev Post to : [email protected] Unsubscribe : https://launchpad.net/~launchpad-dev More help : https://help.launchpad.net/ListHelp

