with workaround applied: ======================== 0mb@wiggum:~/develop/git/awlsim$ ./tests/run.sh -i /home/mb/develop/hg/jython/dist/bin/jython ./tests/coreserver-cli.sh === Running tests with '/home/mb/develop/hg/jython/dist/bin/jython' interpreter. Running test 'coreserver-cli.sh' with 'jython' ... --- Running coreserver tests Running test 'shutdown.awl' with 'jython' ... [OK: 0:13.87] --- Finished coreserver tests [OK] without workaround applied: =========================== 0mb@wiggum:~/develop/git/awlsim$ ./tests/run.sh -i /home/mb/develop/hg/jython/dist/bin/jython ./tests/coreserver-cli.sh === Running tests with '/home/mb/develop/hg/jython/dist/bin/jython' interpreter. Running test 'coreserver-cli.sh' with 'jython' ... --- Running coreserver tests Running test 'shutdown.awl' with 'jython' ... Jun 19, 2014 11:45:43 AM io.netty.channel.nio.NioEventLoop select WARNING: Selector.select() returned prematurely 512 times in a row; rebuilding selector. Jun 19, 2014 11:45:43 AM io.netty.channel.nio.NioEventLoop rebuildSelector INFO: Migrated 1 channel(s) to the new Selector. Traceback (most recent call last): File "/home/mb/develop/git/awlsim/./tests/../awlsimcli", line 475, in sys.exit(main()) File "/home/mb/develop/git/awlsim/./tests/../awlsimcli", line 471, in main return runWithServerBackend(inputFile) File "/home/mb/develop/git/awlsim/./tests/../awlsimcli", line 251, in runWithServerBackend client.connectToServer() File "/home/mb/develop/git/awlsim/./tests/../awlsimcli", line 251, in runWithServerBackend client.connectToServer() File "/home/mb/develop/git/awlsim/awlsim/coreserver/client.py", line 124, in connectToServer msg = self.transceiver.receive(timeout = 5.0) File "/home/mb/develop/git/awlsim/awlsim/coreserver/client.py", line 124, in connectToServer msg = self.transceiver.receive(timeout = 5.0) File "/home/mb/develop/git/awlsim/awlsim/coreserver/messages.py", line 650, in receive data = self.sock.recv(hdrLen - len(self.buf)) File "/home/mb/develop/hg/jython/dist/Lib/_socket.py", line 1056, in recv data, _ = self._get_message(bufsize, "recv") File "/home/mb/develop/hg/jython/dist/Lib/_socket.py", line 326, in handle_exception return method_or_function(*args, **kwargs) File "/home/mb/develop/hg/jython/dist/Lib/_socket.py", line 326, in handle_exception return method_or_function(*args, **kwargs) File "/home/mb/develop/hg/jython/dist/Lib/_socket.py", line 1022, in _get_message msg = self._get_incoming_msg(reason) File "/home/mb/develop/hg/jython/dist/Lib/_socket.py", line 1003, in _get_incoming_msg self.incoming_head = self._handle_timeout(self.incoming.poll, reason) File "/home/mb/develop/hg/jython/dist/Lib/_socket.py", line 723, in _handle_timeout raise timeout("timed out") _socket.timeout: timed out === TEST FAILED === Test 'shutdown.awl' FAILED Test failed with error code 1