I discovered something odd. If I run the tests with 'trial -r glib2 landscape', they all run and pass. If I run ./test the test suite hangs, as below [1]. I tried ./test in trunk and the first time I ran it died because of a strange IOError [2], and the subsequent times it worked. [1] jkakar@rex:~/lab/radix/landscape-client/clean-up-environment$ ./test Running unittests... [landscape/lib/tests/test_bootstrap.py] ............................ ---------------------------------------------------------------------- Ran 28 tests in 0.505s OK (tests=28, failures=0, errors=0) [landscape/lib/tests/test_dbus_util.py] ........................ ---------------------------------------------------------------------- Ran 24 tests in 2.607s OK (tests=24, failures=0, errors=0) [landscape/lib/tests/test_timestamp.py] ... ---------------------------------------------------------------------- Ran 3 tests in 0.010s OK (tests=3, failures=0, errors=0) [landscape/lib/tests/test_fetch.py] ............. ---------------------------------------------------------------------- Ran 13 tests in 0.034s OK (tests=13, failures=0, errors=0) [landscape/lib/tests/test_lock.py] .... ---------------------------------------------------------------------- Ran 4 tests in 0.513s OK (tests=4, failures=0, errors=0) [landscape/lib/tests/test_bpickle.py] ........... ---------------------------------------------------------------------- Ran 11 tests in 0.001s OK (tests=11, failures=0, errors=0) [landscape/lib/tests/test_disk.py] ...... ---------------------------------------------------------------------- Ran 6 tests in 0.065s OK (tests=6, failures=0, errors=0) [landscape/lib/tests/test_monitor.py] ........................... ---------------------------------------------------------------------- Ran 27 tests in 0.067s OK (tests=27, failures=0, errors=0) [landscape/lib/tests/test_persist.py] ..................................................................................................... ---------------------------------------------------------------------- Ran 101 tests in 0.350s OK (tests=101, failures=0, errors=0) [landscape/lib/tests/test_bpickle_dbus.py] .... ---------------------------------------------------------------------- Ran 4 tests in 0.000s OK (tests=4, failures=0, errors=0) [landscape/lib/tests/test_sysstats.py] ................ ---------------------------------------------------------------------- Ran 16 tests in 0.109s OK (tests=16, failures=0, errors=0) [landscape/lib/tests/test_process.py] ..... ---------------------------------------------------------------------- Ran 5 tests in 0.003s OK (tests=5, failures=0, errors=0) [landscape/lib/tests/test_scriptcontent.py] ... ---------------------------------------------------------------------- Ran 3 tests in 0.000s OK (tests=3, failures=0, errors=0) [landscape/package/tests/test_store.py] .............................................. ---------------------------------------------------------------------- Ran 46 tests in 7.771s OK (tests=46, failures=0, errors=0) [landscape/package/tests/test_reporter.py] .............................. ---------------------------------------------------------------------- Ran 30 tests in 5.136s OK (tests=30, failures=0, errors=0) [landscape/package/tests/test_interface.py] .... ---------------------------------------------------------------------- Ran 4 tests in 0.118s OK (tests=4, failures=0, errors=0) [landscape/package/tests/test_skeleton.py] .... ---------------------------------------------------------------------- Ran 4 tests in 0.032s OK (tests=4, failures=0, errors=0) [landscape/package/tests/test_taskhandler.py] ........... ---------------------------------------------------------------------- Ran 11 tests in 1.981s OK (tests=11, failures=0, errors=0) [landscape/package/tests/test_changer.py] ...................... ---------------------------------------------------------------------- Ran 22 tests in 3.231s OK (tests=22, failures=0, errors=0) [landscape/package/tests/test_facade.py] ...................... ---------------------------------------------------------------------- Ran 22 tests in 0.286s OK (tests=22, failures=0, errors=0) [landscape/package/tests/helpers.py] ---------------------------------------------------------------------- Ran 0 tests in 0.000s OK (tests=0, failures=0, errors=0) [landscape/monitor/tests/test_mountinfo.py] ........................ ---------------------------------------------------------------------- Ran 24 tests in 2.223s OK (tests=24, failures=0, errors=0) [landscape/monitor/tests/test_hardwareinventory.py] ............. ---------------------------------------------------------------------- Ran 13 tests in 0.177s OK (tests=13, failures=0, errors=0) [landscape/monitor/tests/test_computeruptime.py] ................ ---------------------------------------------------------------------- Ran 16 tests in 0.180s OK (tests=16, failures=0, errors=0) [landscape/monitor/tests/test_activeprocessinfo.py] ..................... ---------------------------------------------------------------------- Ran 21 tests in 0.544s OK (tests=21, failures=0, errors=0) [landscape/monitor/tests/test_temperature.py] .......... ---------------------------------------------------------------------- Ran 10 tests in 0.184s OK (tests=10, failures=0, errors=0) [landscape/monitor/tests/test_loadaverage.py] ......... ---------------------------------------------------------------------- Ran 9 tests in 0.149s OK (tests=9, failures=0, errors=0) [landscape/monitor/tests/test_packagemonitor.py] ............... ---------------------------------------------------------------------- Ran 15 tests in 1.869s OK (tests=15, failures=0, errors=0) [landscape/monitor/tests/test_computerinfo.py] .................. ---------------------------------------------------------------------- Ran 18 tests in 0.283s OK (tests=18, failures=0, errors=0) [landscape/monitor/tests/test_memoryinfo.py] ......... ---------------------------------------------------------------------- Ran 9 tests in 0.160s OK (tests=9, failures=0, errors=0) [landscape/monitor/tests/test_monitor.py] ................... ---------------------------------------------------------------------- Ran 19 tests in 0.474s OK (tests=19, failures=0, errors=0) [landscape/monitor/tests/test_deployment.py] ........... ---------------------------------------------------------------------- Ran 11 tests in 1.536s OK (tests=11, failures=0, errors=0) [landscape/monitor/tests/test_processorinfo.py] ................ ---------------------------------------------------------------------- Ran 16 tests in 0.235s OK (tests=16, failures=0, errors=0) [landscape/monitor/tests/test_usermonitor.py] ............ ---------------------------------------------------------------------- Ran 12 tests in 0.620s OK (tests=12, failures=0, errors=0) [landscape/manager/tests/test_shutdownmanager.py] ...... ---------------------------------------------------------------------- Ran 6 tests in 0.080s OK (tests=6, failures=0, errors=0) [landscape/manager/tests/test_store.py] ............ ---------------------------------------------------------------------- Ran 12 tests in 0.663s OK (tests=12, failures=0, errors=0) [landscape/manager/tests/test_customgraph.py] .......................... ---------------------------------------------------------------------- Ran 26 tests in 0.647s OK (tests=26, failures=0, errors=0) [landscape/manager/tests/test_scriptexecution.py] ................................ ---------------------------------------------------------------------- Ran 32 tests in 1.054s OK (tests=32, failures=0, errors=0) [landscape/manager/tests/test_packagemanager.py] ............ ---------------------------------------------------------------------- Ran 12 tests in 1.302s OK (tests=12, failures=0, errors=0) [landscape/manager/tests/test_manager.py] ....... ---------------------------------------------------------------------- Ran 7 tests in 0.360s OK (tests=7, failures=0, errors=0) [landscape/manager/tests/test_usermanager.py] ........................................ ---------------------------------------------------------------------- Ran 40 tests in 2.139s OK (tests=40, failures=0, errors=0) [landscape/manager/tests/test_deployment.py] ........... ---------------------------------------------------------------------- Ran 11 tests in 0.221s OK (tests=11, failures=0, errors=0) [landscape/manager/tests/test_processkiller.py] ......... ---------------------------------------------------------------------- Ran 9 tests in 0.266s OK (tests=9, failures=0, errors=0) [landscape/upgraders/tests/test_package.py] .. ---------------------------------------------------------------------- Ran 2 tests in 0.007s OK (tests=2, failures=0, errors=0) [landscape/upgraders/tests/test_legacy.py] ................. ---------------------------------------------------------------------- Ran 17 tests in 0.325s OK (tests=17, failures=0, errors=0) [landscape/upgraders/tests/test_monitor.py] .. ---------------------------------------------------------------------- Ran 2 tests in 0.018s OK (tests=2, failures=0, errors=0) [landscape/upgraders/tests/test_broker.py] .. ---------------------------------------------------------------------- Ran 2 tests in 0.006s OK (tests=2, failures=0, errors=0) [landscape/user/tests/test_management.py] ........................................... ---------------------------------------------------------------------- Ran 43 tests in 0.150s OK (tests=43, failures=0, errors=0) [landscape/user/tests/test_provider.py] ............................. ---------------------------------------------------------------------- Ran 29 tests in 0.086s OK (tests=29, failures=0, errors=0) [landscape/user/tests/test_changes.py] ................ ---------------------------------------------------------------------- Ran 16 tests in 0.183s OK (tests=16, failures=0, errors=0) [landscape/user/tests/helpers.py] ---------------------------------------------------------------------- Ran 0 tests in 0.000s OK (tests=0, failures=0, errors=0) [landscape/broker/tests/test_store.py] ................................... ---------------------------------------------------------------------- Ran 35 tests in 0.296s OK (tests=35, failures=0, errors=0) [landscape/broker/tests/test_registration.py] .......................................... ---------------------------------------------------------------------- Ran 42 tests in 0.563s OK (tests=42, failures=0, errors=0) [landscape/broker/tests/test_service.py] ................................... ---------------------------------------------------------------------- Ran 35 tests in 1.942s OK (tests=35, failures=0, errors=0) [landscape/broker/tests/test_remote.py] .................. ---------------------------------------------------------------------- Ran 18 tests in 0.749s OK (tests=18, failures=0, errors=0) [landscape/broker/tests/test_ping.py] ................. ---------------------------------------------------------------------- Ran 17 tests in 0.251s OK (tests=17, failures=0, errors=0) [landscape/broker/tests/test_deployment.py] .......... ---------------------------------------------------------------------- Ran 10 tests in 0.183s OK (tests=10, failures=0, errors=0) [landscape/broker/tests/test_transport.py] ...... ---------------------------------------------------------------------- Ran 6 tests in 0.182s OK (tests=6, failures=0, errors=0) [landscape/broker/tests/test_exchange.py] ........................................................... ---------------------------------------------------------------------- Ran 59 tests in 0.818s OK (tests=59, failures=0, errors=0) [landscape/sysinfo/tests/test_temperature.py] ...... ---------------------------------------------------------------------- Ran 6 tests in 0.035s OK (tests=6, failures=0, errors=0) [landscape/sysinfo/tests/test_landscapelink.py] ... ---------------------------------------------------------------------- Ran 3 tests in 0.008s OK (tests=3, failures=0, errors=0) [landscape/sysinfo/tests/test_disk.py] .................. ---------------------------------------------------------------------- Ran 18 tests in 0.052s OK (tests=18, failures=0, errors=0) [landscape/sysinfo/tests/test_memory.py] ... ---------------------------------------------------------------------- Ran 3 tests in 0.008s OK (tests=3, failures=0, errors=0) [landscape/sysinfo/tests/test_sysinfo.py] ............................... ---------------------------------------------------------------------- Ran 31 tests in 0.083s OK (tests=31, failures=0, errors=0) [landscape/sysinfo/tests/test_deployment.py] ................. ---------------------------------------------------------------------- Ran 17 tests in 0.244s OK (tests=17, failures=0, errors=0) [landscape/sysinfo/tests/test_processes.py] ...... ---------------------------------------------------------------------- Ran 6 tests in 0.079s OK (tests=6, failures=0, errors=0) [landscape/sysinfo/tests/test_load.py] ... ---------------------------------------------------------------------- Ran 3 tests in 0.032s OK (tests=3, failures=0, errors=0) [landscape/sysinfo/tests/test_loggedinusers.py] .... ---------------------------------------------------------------------- Ran 4 tests in 0.044s OK (tests=4, failures=0, errors=0) [landscape/tests/test_hal.py] .... ---------------------------------------------------------------------- Ran 4 tests in 0.255s OK (tests=4, failures=0, errors=0) [landscape/tests/subunit.py] ---------------------------------------------------------------------- Ran 0 tests in 0.000s OK (tests=0, failures=0, errors=0) [landscape/tests/mocker.py] ---------------------------------------------------------------------- Ran 0 tests in 0.000s OK (tests=0, failures=0, errors=0) [landscape/tests/test_log.py] ........... ---------------------------------------------------------------------- Ran 11 tests in 0.028s OK (tests=11, failures=0, errors=0) [landscape/tests/test_textmessage.py] ....... ---------------------------------------------------------------------- Ran 7 tests in 0.049s OK (tests=7, failures=0, errors=0) [landscape/tests/test_diff.py] ....... ---------------------------------------------------------------------- Ran 7 tests in 0.018s OK (tests=7, failures=0, errors=0) [landscape/tests/test_plugin.py] ................. ---------------------------------------------------------------------- Ran 17 tests in 0.485s OK (tests=17, failures=0, errors=0) [landscape/tests/clock.py] ---------------------------------------------------------------------- Ran 0 tests in 0.000s OK (tests=0, failures=0, errors=0) [landscape/tests/test_sysvconfig.py] ............. ---------------------------------------------------------------------- Ran 13 tests in 0.120s OK (tests=13, failures=0, errors=0) [landscape/tests/test_patch.py] ............... ---------------------------------------------------------------------- Ran 15 tests in 0.189s OK (tests=15, failures=0, errors=0) [landscape/tests/test_watchdog.py] ............................................................ ---------------------------------------------------------------------- Ran 60 tests in 8.820s OK (tests=60, failures=0, errors=0) [landscape/tests/test_configuration.py] ...............................................................................Error occurred contacting Landscape Client. Is it running? [2] jkakar@rex:~/lab/projects/landscape-client/trunk$ ./test Running unittests... [landscape/lib/tests/test_bootstrap.py] ............................ ---------------------------------------------------------------------- Ran 28 tests in 0.516s OK (tests=28, failures=0, errors=0) [landscape/lib/tests/test_dbus_util.py] ........................ ---------------------------------------------------------------------- Ran 24 tests in 2.555s OK (tests=24, failures=0, errors=0) [landscape/lib/tests/test_timestamp.py] ... ---------------------------------------------------------------------- Ran 3 tests in 0.007s OK (tests=3, failures=0, errors=0) [landscape/lib/tests/test_fetch.py] ............. ---------------------------------------------------------------------- Ran 13 tests in 0.065s OK (tests=13, failures=0, errors=0) [landscape/lib/tests/test_lock.py] .... ---------------------------------------------------------------------- Ran 4 tests in 0.534s OK (tests=4, failures=0, errors=0) [landscape/lib/tests/test_bpickle.py] ........... ---------------------------------------------------------------------- Ran 11 tests in 0.000s OK (tests=11, failures=0, errors=0) [landscape/lib/tests/test_disk.py] ...... ---------------------------------------------------------------------- Ran 6 tests in 0.016s OK (tests=6, failures=0, errors=0) [landscape/lib/tests/test_monitor.py] ........................... ---------------------------------------------------------------------- Ran 27 tests in 0.068s OK (tests=27, failures=0, errors=0) [landscape/lib/tests/test_persist.py] ..................................................................................................... ---------------------------------------------------------------------- Ran 101 tests in 0.382s OK (tests=101, failures=0, errors=0) [landscape/lib/tests/test_bpickle_dbus.py] .... ---------------------------------------------------------------------- Ran 4 tests in 0.000s OK (tests=4, failures=0, errors=0) [landscape/lib/tests/test_sysstats.py] ................ ---------------------------------------------------------------------- Ran 16 tests in 0.109s OK (tests=16, failures=0, errors=0) [landscape/lib/tests/test_process.py] ..... ---------------------------------------------------------------------- Ran 5 tests in 0.003s OK (tests=5, failures=0, errors=0) [landscape/lib/tests/test_scriptcontent.py] ... ---------------------------------------------------------------------- Ran 3 tests in 0.000s OK (tests=3, failures=0, errors=0) [landscape/package/tests/test_store.py] .............................................. ---------------------------------------------------------------------- Ran 46 tests in 7.838s OK (tests=46, failures=0, errors=0) [landscape/package/tests/test_reporter.py] .............................. ---------------------------------------------------------------------- Ran 30 tests in 5.133s OK (tests=30, failures=0, errors=0) [landscape/package/tests/test_interface.py] .... ---------------------------------------------------------------------- Ran 4 tests in 0.084s OK (tests=4, failures=0, errors=0) [landscape/package/tests/test_skeleton.py] .... ---------------------------------------------------------------------- Ran 4 tests in 0.034s OK (tests=4, failures=0, errors=0) [landscape/package/tests/test_taskhandler.py] ........... ---------------------------------------------------------------------- Ran 11 tests in 1.522s OK (tests=11, failures=0, errors=0) [landscape/package/tests/test_changer.py] .............Traceback (most recent call last): File "./test", line 166, in runner_func() File "./test", line 130, in test_with_unittest result = runner.run(test) File "/usr/lib/python2.5/unittest.py", line 705, in run test(result) File "/usr/lib/python2.5/unittest.py", line 437, in __call__ return self.run(*args, **kwds) File "/usr/lib/python2.5/unittest.py", line 433, in run test(result) File "/usr/lib/python2.5/unittest.py", line 437, in __call__ return self.run(*args, **kwds) File "/usr/lib/python2.5/unittest.py", line 433, in run test(result) File "/home/jkakar/lab/projects/twisted/trunk/twisted/trial/unittest.py", line 792, in __call__ return self.run(*args, **kwargs) File "/home/jkakar/lab/projects/landscape-client/trunk/landscape/tests/mocker.py", line 134, in run_wrapper return run_method(*args, **kwargs) File "/home/jkakar/lab/projects/landscape-client/trunk/landscape/tests/helpers.py", line 126, in run run_isolated(LandscapeTest, self, result) File "/home/jkakar/lab/projects/landscape-client/trunk/landscape/tests/subunit.py", line 370, in run_isolated protocol.readFrom(os.fdopen(c2pread, 'rU')) File "/home/jkakar/lab/projects/landscape-client/trunk/landscape/tests/subunit.py", line 181, in readFrom self.lineReceived(line) File "/home/jkakar/lab/projects/landscape-client/trunk/landscape/tests/subunit.py", line 151, in lineReceived self._addSuccess(offset, line) File "/home/jkakar/lab/projects/landscape-client/trunk/landscape/tests/subunit.py", line 100, in _addSuccess self.client.addSuccess(self._current_test) File "/usr/lib/python2.5/unittest.py", line 657, in addSuccess self.stream.write('.') IOError: [Errno 4] Interrupted system call