.osh warning: PID 23278 stopped, but osh didn't start it osh warning: PID 23279 stopped, but osh didn't start it osh warning: PID 23280 stopped, but osh didn't start it Eosh warning: PID 23282 stopped, but osh didn't start it osh warning: PID 23283 stopped, but osh didn't start it ETue Jan 29 22:20:43 PST 2019 date returned 0 osh error: 'does-not-exist': No such file or directory E. ====================================================================== ERROR: testPipeline (__main__.ProcessTest) ---------------------------------------------------------------------- Traceback (most recent call last): File "core/process_test.py", line 101, in testPipeline pipe_status = p.Run(_WAITER, _FD_STATE) File "/home/andy/git/oilshell/oil/core/process.py", line 706, in Run ex.ExecuteAndCatch(node) File "/home/andy/git/oilshell/oil/osh/cmd_exec.py", line 1217, in ExecuteAndCatch status = self._Execute(node, fork_external=fork_external) File "/home/andy/git/oilshell/oil/osh/cmd_exec.py", line 1165, in _Execute status, check_errexit = self._Dispatch(node, fork_external) File "/home/andy/git/oilshell/oil/osh/cmd_exec.py", line 723, in _Dispatch status = self._RunSimpleCommand(argv, fork_external, span_id) File "/home/andy/git/oilshell/oil/osh/cmd_exec.py", line 599, in _RunSimpleCommand status = p.Run(self.waiter) File "/home/andy/git/oilshell/oil/core/process.py", line 581, in Run self.Start() File "/home/andy/git/oilshell/oil/core/process.py", line 553, in Start self.thunk.Run() File "/home/andy/git/oilshell/oil/core/process.py", line 427, in Run self.ext_prog.Exec(self.argv, self.environ) AttributeError: 'NoneType' object has no attribute 'Exec' ====================================================================== ERROR: testPipeline2 (__main__.ProcessTest) ---------------------------------------------------------------------- Traceback (most recent call last): File "core/process_test.py", line 119, in testPipeline2 print(p.Run(_WAITER, _FD_STATE)) File "/home/andy/git/oilshell/oil/core/process.py", line 706, in Run ex.ExecuteAndCatch(node) File "/home/andy/git/oilshell/oil/osh/cmd_exec.py", line 1217, in ExecuteAndCatch status = self._Execute(node, fork_external=fork_external) File "/home/andy/git/oilshell/oil/osh/cmd_exec.py", line 1165, in _Execute status, check_errexit = self._Dispatch(node, fork_external) File "/home/andy/git/oilshell/oil/osh/cmd_exec.py", line 723, in _Dispatch status = self._RunSimpleCommand(argv, fork_external, span_id) File "/home/andy/git/oilshell/oil/osh/cmd_exec.py", line 599, in _RunSimpleCommand status = p.Run(self.waiter) File "/home/andy/git/oilshell/oil/core/process.py", line 581, in Run self.Start() File "/home/andy/git/oilshell/oil/core/process.py", line 553, in Start self.thunk.Run() File "/home/andy/git/oilshell/oil/core/process.py", line 427, in Run self.ext_prog.Exec(self.argv, self.environ) AttributeError: 'NoneType' object has no attribute 'Exec' ====================================================================== ERROR: testProcess (__main__.ProcessTest) ---------------------------------------------------------------------- Traceback (most recent call last): File "core/process_test.py", line 83, in testProcess print(p.Run(_WAITER)) File "/home/andy/git/oilshell/oil/core/process.py", line 581, in Run self.Start() File "/home/andy/git/oilshell/oil/core/process.py", line 553, in Start self.thunk.Run() File "/home/andy/git/oilshell/oil/core/process.py", line 427, in Run self.ext_prog.Exec(self.argv, self.environ) File "/home/andy/git/oilshell/oil/core/process.py", line 411, in Exec sys.exit(status) # raises SystemExit SystemExit: 127 ---------------------------------------------------------------------- Ran 5 tests in 0.008s FAILED (errors=3) ('BEFORE', ['0', '1', '2', '3', '4', '10', '11', '12', '13', '14', '15']) ------------------------------------------------------------ ls | cut -d . -f 1 | head ('FDS BEFORE', ['0', '1', '2', '3', '4', '6', '8', '10', '11', '12', '13', '14', '15']) ------------------------------------------------------------ date ------------------------------------------------------------ does-not-exist .. ====================================================================== ERROR: testPipeline (__main__.ProcessTest) ---------------------------------------------------------------------- Traceback (most recent call last): File "core/process_test.py", line 101, in testPipeline pipe_status = p.Run(_WAITER, _FD_STATE) File "/home/andy/git/oilshell/oil/core/process.py", line 706, in Run ex.ExecuteAndCatch(node) File "/home/andy/git/oilshell/oil/osh/cmd_exec.py", line 1217, in ExecuteAndCatch status = self._Execute(node, fork_external=fork_external) File "/home/andy/git/oilshell/oil/osh/cmd_exec.py", line 1165, in _Execute status, check_errexit = self._Dispatch(node, fork_external) File "/home/andy/git/oilshell/oil/osh/cmd_exec.py", line 723, in _Dispatch status = self._RunSimpleCommand(argv, fork_external, span_id) File "/home/andy/git/oilshell/oil/osh/cmd_exec.py", line 599, in _RunSimpleCommand status = p.Run(self.waiter) File "/home/andy/git/oilshell/oil/core/process.py", line 581, in Run self.Start() File "/home/andy/git/oilshell/oil/core/process.py", line 553, in Start self.thunk.Run() File "/home/andy/git/oilshell/oil/core/process.py", line 427, in Run self.ext_prog.Exec(self.argv, self.environ) AttributeError: 'NoneType' object has no attribute 'Exec' ====================================================================== ERROR: testPipeline2 (__main__.ProcessTest) ---------------------------------------------------------------------- Traceback (most recent call last): File "core/process_test.py", line 119, in testPipeline2 print(p.Run(_WAITER, _FD_STATE)) File "/home/andy/git/oilshell/oil/core/process.py", line 706, in Run ex.ExecuteAndCatch(node) File "/home/andy/git/oilshell/oil/osh/cmd_exec.py", line 1217, in ExecuteAndCatch status = self._Execute(node, fork_external=fork_external) File "/home/andy/git/oilshell/oil/osh/cmd_exec.py", line 1165, in _Execute status, check_errexit = self._Dispatch(node, fork_external) File "/home/andy/git/oilshell/oil/osh/cmd_exec.py", line 723, in _Dispatch status = self._RunSimpleCommand(argv, fork_external, span_id) File "/home/andy/git/oilshell/oil/osh/cmd_exec.py", line 599, in _RunSimpleCommand status = p.Run(self.waiter) File "/home/andy/git/oilshell/oil/core/process.py", line 581, in Run self.Start() File "/home/andy/git/oilshell/oil/core/process.py", line 553, in Start self.thunk.Run() File "/home/andy/git/oilshell/oil/core/process.py", line 427, in Run self.ext_prog.Exec(self.argv, self.environ) AttributeError: 'NoneType' object has no attribute 'Exec' ---------------------------------------------------------------------- Ran 5 tests in 0.015s FAILED (errors=2) ('BEFORE', ['0', '1', '2', '3', '4', '10', '11', '12', '13', '14', '15']) ------------------------------------------------------------ ls | cut -d . -f 1 | head ('FDS BEFORE', ['0', '1', '2', '3', '4', '6', '8', '10', '11', '12', '13', '14', '15']) ------------------------------------------------------------ date ------------------------------------------------------------ does-not-exist 1 ('FDS AFTER', ['0', '1', '2', '3', '4', '6', '8', '10', '11', '12', '13', '14', '15']) EEEEdate returned 0 date returned 0 date returned 0 Tue Jan 29 22:20:43 PST 2019 date returned 0 osh error: 'does-not-exist': No such file or directory osh error: 'does-not-exist': No such file or directory osh error: 'does-not-exist': No such file or directoryosh error: 'does-not-exist': No such file or directory EEEE.... ============================================================================================================================================ ERROR: testPipeline (__main__.ProcessTest)ERROR: testPipeline (__main__.ProcessTest) ====================================================================== ----------------------------------------------------------------------======================================================================---------------------------------------------------------------------- Traceback (most recent call last): File "core/process_test.py", line 101, in testPipeline pipe_status = p.Run(_WAITER, _FD_STATE) File "/home/andy/git/oilshell/oil/core/process.py", line 706, in Run ex.ExecuteAndCatch(node) File "/home/andy/git/oilshell/oil/osh/cmd_exec.py", line 1217, in ExecuteAndCatch status = self._Execute(node, fork_external=fork_external) File "/home/andy/git/oilshell/oil/osh/cmd_exec.py", line 1165, in _Execute status, check_errexit = self._Dispatch(node, fork_external) File "/home/andy/git/oilshell/oil/osh/cmd_exec.py", line 723, in _Dispatch status = self._RunSimpleCommand(argv, fork_external, span_id) File "/home/andy/git/oilshell/oil/osh/cmd_exec.py", line 599, in _RunSimpleCommand status = p.Run(self.waiter) File "/home/andy/git/oilshell/oil/core/process.py", line 581, in Run self.Start() File "/home/andy/git/oilshell/oil/core/process.py", line 553, in Start self.thunk.Run() File "/home/andy/git/oilshell/oil/core/process.py", line 427, in Run self.ext_prog.Exec(self.argv, self.environ) AttributeError: 'NoneType' object has no attribute 'Exec' ERROR: testPipeline (__main__.ProcessTest)Traceback (most recent call last): File "core/process_test.py", line 101, in testPipeline pipe_status = p.Run(_WAITER, _FD_STATE) File "/home/andy/git/oilshell/oil/core/process.py", line 706, in Run ex.ExecuteAndCatch(node) File "/home/andy/git/oilshell/oil/osh/cmd_exec.py", line 1217, in ExecuteAndCatch status = self._Execute(node, fork_external=fork_external) File "/home/andy/git/oilshell/oil/osh/cmd_exec.py", line 1165, in _Execute status, check_errexit = self._Dispatch(node, fork_external) File "/home/andy/git/oilshell/oil/osh/cmd_exec.py", line 723, in _Dispatch status = self._RunSimpleCommand(argv, fork_external, span_id) File "/home/andy/git/oilshell/oil/osh/cmd_exec.py", line 599, in _RunSimpleCommand status = p.Run(self.waiter) File "/home/andy/git/oilshell/oil/core/process.py", line 581, in Run self.Start() File "/home/andy/git/oilshell/oil/core/process.py", line 553, in Start self.thunk.Run() File "/home/andy/git/oilshell/oil/core/process.py", line 427, in Run self.ext_prog.Exec(self.argv, self.environ) AttributeError: 'NoneType' object has no attribute 'Exec' ----------------------------------------------------------------------====================================================================== ====================================================================== Traceback (most recent call last): File "core/process_test.py", line 101, in testPipeline pipe_status = p.Run(_WAITER, _FD_STATE) File "/home/andy/git/oilshell/oil/core/process.py", line 706, in Run ex.ExecuteAndCatch(node) File "/home/andy/git/oilshell/oil/osh/cmd_exec.py", line 1217, in ExecuteAndCatch status = self._Execute(node, fork_external=fork_external) File "/home/andy/git/oilshell/oil/osh/cmd_exec.py", line 1165, in _Execute status, check_errexit = self._Dispatch(node, fork_external) File "/home/andy/git/oilshell/oil/osh/cmd_exec.py", line 723, in _Dispatch status = self._RunSimpleCommand(argv, fork_external, span_id) File "/home/andy/git/oilshell/oil/osh/cmd_exec.py", line 599, in _RunSimpleCommand status = p.Run(self.waiter) File "/home/andy/git/oilshell/oil/core/process.py", line 581, in Run self.Start() File "/home/andy/git/oilshell/oil/core/process.py", line 553, in Start self.thunk.Run() File "/home/andy/git/oilshell/oil/core/process.py", line 427, in Run self.ext_prog.Exec(self.argv, self.environ) AttributeError: 'NoneType' object has no attribute 'Exec' ERROR: testPipeline (__main__.ProcessTest) ERROR: testPipeline2 (__main__.ProcessTest)======================================================================----------------------------------------------------------------------ERROR: testPipeline2 (__main__.ProcessTest) ----------------------------------------------------------------------ERROR: testPipeline2 (__main__.ProcessTest)Traceback (most recent call last): File "core/process_test.py", line 101, in testPipeline pipe_status = p.Run(_WAITER, _FD_STATE) File "/home/andy/git/oilshell/oil/core/process.py", line 706, in Run ex.ExecuteAndCatch(node) File "/home/andy/git/oilshell/oil/osh/cmd_exec.py", line 1217, in ExecuteAndCatch status = self._Execute(node, fork_external=fork_external) File "/home/andy/git/oilshell/oil/osh/cmd_exec.py", line 1165, in _Execute status, check_errexit = self._Dispatch(node, fork_external) File "/home/andy/git/oilshell/oil/osh/cmd_exec.py", line 723, in _Dispatch status = self._RunSimpleCommand(argv, fork_external, span_id) File "/home/andy/git/oilshell/oil/osh/cmd_exec.py", line 599, in _RunSimpleCommand status = p.Run(self.waiter) File "/home/andy/git/oilshell/oil/core/process.py", line 581, in Run self.Start() File "/home/andy/git/oilshell/oil/core/process.py", line 553, in Start self.thunk.Run() File "/home/andy/git/oilshell/oil/core/process.py", line 427, in Run self.ext_prog.Exec(self.argv, self.environ) AttributeError: 'NoneType' object has no attribute 'Exec' ---------------------------------------------------------------------- ----------------------------------------------------------------------Traceback (most recent call last): File "core/process_test.py", line 134, in testPipeline2 print(p.Run(_WAITER, _FD_STATE)) File "/home/andy/git/oilshell/oil/core/process.py", line 691, in Run self.Start(waiter) File "/home/andy/git/oilshell/oil/core/process.py", line 660, in Start pid = proc.Start() File "/home/andy/git/oilshell/oil/core/process.py", line 553, in Start self.thunk.Run() File "/home/andy/git/oilshell/oil/core/process.py", line 442, in Run self.ex.ExecuteAndCatch(self.node, fork_external=False) File "/home/andy/git/oilshell/oil/osh/cmd_exec.py", line 1217, in ExecuteAndCatch status = self._Execute(node, fork_external=fork_external) File "/home/andy/git/oilshell/oil/osh/cmd_exec.py", line 1165, in _Execute status, check_errexit = self._Dispatch(node, fork_external) File "/home/andy/git/oilshell/oil/osh/cmd_exec.py", line 723, in _Dispatch status = self._RunSimpleCommand(argv, fork_external, span_id) File "/home/andy/git/oilshell/oil/osh/cmd_exec.py", line 602, in _RunSimpleCommand self.ext_prog.Exec(argv, environ) # NEVER RETURNS AttributeError: 'NoneType' object has no attribute 'Exec' ====================================================================== Traceback (most recent call last): File "core/process_test.py", line 134, in testPipeline2 print(p.Run(_WAITER, _FD_STATE)) File "/home/andy/git/oilshell/oil/core/process.py", line 691, in Run self.Start(waiter) File "/home/andy/git/oilshell/oil/core/process.py", line 660, in Start pid = proc.Start() File "/home/andy/git/oilshell/oil/core/process.py", line 553, in Start self.thunk.Run() File "/home/andy/git/oilshell/oil/core/process.py", line 442, in Run self.ex.ExecuteAndCatch(self.node, fork_external=False) File "/home/andy/git/oilshell/oil/osh/cmd_exec.py", line 1217, in ExecuteAndCatch status = self._Execute(node, fork_external=fork_external) File "/home/andy/git/oilshell/oil/osh/cmd_exec.py", line 1165, in _Execute status, check_errexit = self._Dispatch(node, fork_external) File "/home/andy/git/oilshell/oil/osh/cmd_exec.py", line 723, in _Dispatch status = self._RunSimpleCommand(argv, fork_external, span_id) File "/home/andy/git/oilshell/oil/osh/cmd_exec.py", line 602, in _RunSimpleCommand self.ext_prog.Exec(argv, environ) # NEVER RETURNS AttributeError: 'NoneType' object has no attribute 'Exec' Traceback (most recent call last): File "core/process_test.py", line 134, in testPipeline2 print(p.Run(_WAITER, _FD_STATE)) File "/home/andy/git/oilshell/oil/core/process.py", line 706, in Run ex.ExecuteAndCatch(node) File "/home/andy/git/oilshell/oil/osh/cmd_exec.py", line 1217, in ExecuteAndCatch status = self._Execute(node, fork_external=fork_external) File "/home/andy/git/oilshell/oil/osh/cmd_exec.py", line 1165, in _Execute status, check_errexit = self._Dispatch(node, fork_external) File "/home/andy/git/oilshell/oil/osh/cmd_exec.py", line 723, in _Dispatch status = self._RunSimpleCommand(argv, fork_external, span_id) File "/home/andy/git/oilshell/oil/osh/cmd_exec.py", line 599, in _RunSimpleCommand status = p.Run(self.waiter) File "/home/andy/git/oilshell/oil/core/process.py", line 581, in Run self.Start() File "/home/andy/git/oilshell/oil/core/process.py", line 553, in Start self.thunk.Run() File "/home/andy/git/oilshell/oil/core/process.py", line 427, in Run self.ext_prog.Exec(self.argv, self.environ) AttributeError: 'NoneType' object has no attribute 'Exec' ======================================================================ERROR: testPipeline2 (__main__.ProcessTest) ====================================================================== ====================================================================== ---------------------------------------------------------------------- ERROR: testProcess (__main__.ProcessTest) ERROR: testProcess (__main__.ProcessTest)ERROR: testProcess (__main__.ProcessTest) Traceback (most recent call last): File "core/process_test.py", line 134, in testPipeline2 print(p.Run(_WAITER, _FD_STATE)) File "/home/andy/git/oilshell/oil/core/process.py", line 691, in Run self.Start(waiter) File "/home/andy/git/oilshell/oil/core/process.py", line 660, in Start pid = proc.Start() File "/home/andy/git/oilshell/oil/core/process.py", line 553, in Start self.thunk.Run() File "/home/andy/git/oilshell/oil/core/process.py", line 442, in Run self.ex.ExecuteAndCatch(self.node, fork_external=False) File "/home/andy/git/oilshell/oil/osh/cmd_exec.py", line 1217, in ExecuteAndCatch status = self._Execute(node, fork_external=fork_external) File "/home/andy/git/oilshell/oil/osh/cmd_exec.py", line 1165, in _Execute status, check_errexit = self._Dispatch(node, fork_external) File "/home/andy/git/oilshell/oil/osh/cmd_exec.py", line 723, in _Dispatch status = self._RunSimpleCommand(argv, fork_external, span_id) File "/home/andy/git/oilshell/oil/osh/cmd_exec.py", line 602, in _RunSimpleCommand self.ext_prog.Exec(argv, environ) # NEVER RETURNS AttributeError: 'NoneType' object has no attribute 'Exec' ---------------------------------------------------------------------- -------------------------------------------------------------------------------------------------------------------------------------------- ====================================================================== Traceback (most recent call last): File "core/process_test.py", line 83, in testProcess print(p.Run(_WAITER)) File "/home/andy/git/oilshell/oil/core/process.py", line 581, in Run self.Start() File "/home/andy/git/oilshell/oil/core/process.py", line 553, in Start self.thunk.Run() File "/home/andy/git/oilshell/oil/core/process.py", line 427, in Run self.ext_prog.Exec(self.argv, self.environ) File "/home/andy/git/oilshell/oil/core/process.py", line 411, in Exec sys.exit(status) # raises SystemExit SystemExit: 127 Traceback (most recent call last): File "core/process_test.py", line 83, in testProcess print(p.Run(_WAITER)) File "/home/andy/git/oilshell/oil/core/process.py", line 581, in Run self.Start() File "/home/andy/git/oilshell/oil/core/process.py", line 553, in Start self.thunk.Run() File "/home/andy/git/oilshell/oil/core/process.py", line 427, in Run self.ext_prog.Exec(self.argv, self.environ) File "/home/andy/git/oilshell/oil/core/process.py", line 411, in Exec sys.exit(status) # raises SystemExit SystemExit: 127 Traceback (most recent call last): File "core/process_test.py", line 83, in testProcess print(p.Run(_WAITER)) File "/home/andy/git/oilshell/oil/core/process.py", line 581, in Run self.Start() File "/home/andy/git/oilshell/oil/core/process.py", line 553, in Start self.thunk.Run() File "/home/andy/git/oilshell/oil/core/process.py", line 427, in Run self.ext_prog.Exec(self.argv, self.environ) File "/home/andy/git/oilshell/oil/core/process.py", line 411, in Exec sys.exit(status) # raises SystemExit SystemExit: 127 ERROR: testProcess (__main__.ProcessTest) ---------------------------------------------------------------------- -------------------------------------------------------------------------------------------------------------------------------------------- ----------------------------------------------------------------------Traceback (most recent call last): File "core/process_test.py", line 83, in testProcess print(p.Run(_WAITER)) File "/home/andy/git/oilshell/oil/core/process.py", line 581, in Run self.Start() File "/home/andy/git/oilshell/oil/core/process.py", line 553, in Start self.thunk.Run() File "/home/andy/git/oilshell/oil/core/process.py", line 427, in Run self.ext_prog.Exec(self.argv, self.environ) File "/home/andy/git/oilshell/oil/core/process.py", line 411, in Exec sys.exit(status) # raises SystemExit SystemExit: 127 Ran 5 tests in 0.029s---------------------------------------------------------------------- Ran 5 tests in 0.029sRan 5 tests in 0.029sRan 5 tests in 0.029sFAILED (errors=3) FAILEDFAILEDFAILED (errors=3) (errors=3) (errors=3) ('BEFORE', ['0', '1', '2', '3', '4', '10', '11', '12', '13', '14', '15']) ------------------------------------------------------------ ls | cut -d . -f 1 | head [-1, -1, 1] ('FDS BEFORE', ['0', '1', '2', '3', '4', '6', '8', '10', '11', '12', '13', '14', '15', '16']) ------------------------------------------------------------ date ------------------------------------------------------------ does-not-exist ..F ====================================================================== ERROR: testPipeline (__main__.ProcessTest) ---------------------------------------------------------------------- Traceback (most recent call last): File "core/process_test.py", line 101, in testPipeline pipe_status = p.Run(_WAITER, _FD_STATE) File "/home/andy/git/oilshell/oil/core/process.py", line 706, in Run ex.ExecuteAndCatch(node) File "/home/andy/git/oilshell/oil/osh/cmd_exec.py", line 1217, in ExecuteAndCatch status = self._Execute(node, fork_external=fork_external) File "/home/andy/git/oilshell/oil/osh/cmd_exec.py", line 1165, in _Execute status, check_errexit = self._Dispatch(node, fork_external) File "/home/andy/git/oilshell/oil/osh/cmd_exec.py", line 723, in _Dispatch status = self._RunSimpleCommand(argv, fork_external, span_id) File "/home/andy/git/oilshell/oil/osh/cmd_exec.py", line 599, in _RunSimpleCommand status = p.Run(self.waiter) File "/home/andy/git/oilshell/oil/core/process.py", line 581, in Run self.Start() File "/home/andy/git/oilshell/oil/core/process.py", line 553, in Start self.thunk.Run() File "/home/andy/git/oilshell/oil/core/process.py", line 427, in Run self.ext_prog.Exec(self.argv, self.environ) AttributeError: 'NoneType' object has no attribute 'Exec' . ====================================================================== ERROR: testPipeline2 (__main__.ProcessTest) ---------------------------------------------------------------------- Traceback (most recent call last): File "core/process_test.py", line 134, in testPipeline2 print(p.Run(_WAITER, _FD_STATE)) File "/home/andy/git/oilshell/oil/core/process.py", line 706, in Run ex.ExecuteAndCatch(node) File "/home/andy/git/oilshell/oil/osh/cmd_exec.py", line 1217, in ExecuteAndCatch status = self._Execute(node, fork_external=fork_external) File "/home/andy/git/oilshell/oil/osh/cmd_exec.py", line 1165, in _Execute status, check_errexit = self._Dispatch(node, fork_external) File "/home/andy/git/oilshell/oil/osh/cmd_exec.py", line 723, in _Dispatch status = self._RunSimpleCommand(argv, fork_external, span_id) File "/home/andy/git/oilshell/oil/osh/cmd_exec.py", line 599, in _RunSimpleCommand status = p.Run(self.waiter) File "/home/andy/git/oilshell/oil/core/process.py", line 581, in Run self.Start() File "/home/andy/git/oilshell/oil/core/process.py", line 553, in Start self.thunk.Run() File "/home/andy/git/oilshell/oil/core/process.py", line 427, in Run self.ext_prog.Exec(self.argv, self.environ) AttributeError: 'NoneType' object has no attribute 'Exec' ====================================================================== FAIL: testStdinRedirect (__main__.ProcessTest) ---------------------------------------------------------------------- Traceback (most recent call last): File "core/process_test.py", line 67, in testStdinRedirect self.assertEqual('one\n', line2) AssertionError: 'one\n' != '' ======================================================================---------------------------------------------------------------------- Ran 5 tests in 0.040s ERROR: testPipeline (__main__.ProcessTest) ---------------------------------------------------------------------- FAILEDTraceback (most recent call last): File "core/process_test.py", line 101, in testPipeline pipe_status = p.Run(_WAITER, _FD_STATE) File "/home/andy/git/oilshell/oil/core/process.py", line 706, in Run ex.ExecuteAndCatch(node) File "/home/andy/git/oilshell/oil/osh/cmd_exec.py", line 1217, in ExecuteAndCatch status = self._Execute(node, fork_external=fork_external) File "/home/andy/git/oilshell/oil/osh/cmd_exec.py", line 1165, in _Execute status, check_errexit = self._Dispatch(node, fork_external) File "/home/andy/git/oilshell/oil/osh/cmd_exec.py", line 723, in _Dispatch status = self._RunSimpleCommand(argv, fork_external, span_id) File "/home/andy/git/oilshell/oil/osh/cmd_exec.py", line 599, in _RunSimpleCommand status = p.Run(self.waiter) File "/home/andy/git/oilshell/oil/core/process.py", line 581, in Run self.Start() File "/home/andy/git/oilshell/oil/core/process.py", line 553, in Start self.thunk.Run() File "/home/andy/git/oilshell/oil/core/process.py", line 427, in Run self.ext_prog.Exec(self.argv, self.environ) AttributeError: 'NoneType' object has no attribute 'Exec' (failures=1, errors=2)====================================================================== ERROR: testPipeline2 (__main__.ProcessTest) ---------------------------------------------------------------------- Traceback (most recent call last): File "core/process_test.py", line 134, in testPipeline2 print(p.Run(_WAITER, _FD_STATE)) File "/home/andy/git/oilshell/oil/core/process.py", line 691, in Run self.Start(waiter) File "/home/andy/git/oilshell/oil/core/process.py", line 660, in Start pid = proc.Start() File "/home/andy/git/oilshell/oil/core/process.py", line 553, in Start self.thunk.Run() File "/home/andy/git/oilshell/oil/core/process.py", line 442, in Run self.ex.ExecuteAndCatch(self.node, fork_external=False) File "/home/andy/git/oilshell/oil/osh/cmd_exec.py", line 1217, in ExecuteAndCatch status = self._Execute(node, fork_external=fork_external) File "/home/andy/git/oilshell/oil/osh/cmd_exec.py", line 1165, in _Execute status, check_errexit = self._Dispatch(node, fork_external) File "/home/andy/git/oilshell/oil/osh/cmd_exec.py", line 723, in _Dispatch status = self._RunSimpleCommand(argv, fork_external, span_id) File "/home/andy/git/oilshell/oil/osh/cmd_exec.py", line 602, in _RunSimpleCommand self.ext_prog.Exec(argv, environ) # NEVER RETURNS AttributeError: 'NoneType' object has no attribute 'Exec' ---------------------------------------------------------------------- Ran 5 tests in 0.040s ('BEFORE', ['0', '1', '2', '3', '4', '10', '11', '12', '13', '14', '15']) ------------------------------------------------------------ ls | cut -d . -f 1 | head [-1, -1, 1] ('FDS BEFORE', ['0', '1', '2', '3', '4', '6', '8', '10', '11', '12', '13', '14', '15', '16']) ------------------------------------------------------------ date ------------------------------------------------------------ does-not-exist 1 ('FDS AFTER', ['0', '1', '2', '3', '4', '6', '8', '10', '11', '12', '13', '14', '15', '16']) FAILED (errors=2) .. ====================================================================== ERROR: testPipeline (__main__.ProcessTest) ---------------------------------------------------------------------- Traceback (most recent call last): File "core/process_test.py", line 101, in testPipeline pipe_status = p.Run(_WAITER, _FD_STATE) File "/home/andy/git/oilshell/oil/core/process.py", line 706, in Run ex.ExecuteAndCatch(node) File "/home/andy/git/oilshell/oil/osh/cmd_exec.py", line 1217, in ExecuteAndCatch status = self._Execute(node, fork_external=fork_external) File "/home/andy/git/oilshell/oil/osh/cmd_exec.py", line 1165, in _Execute status, check_errexit = self._Dispatch(node, fork_external) File "/home/andy/git/oilshell/oil/osh/cmd_exec.py", line 723, in _Dispatch status = self._RunSimpleCommand(argv, fork_external, span_id) File "/home/andy/git/oilshell/oil/osh/cmd_exec.py", line 599, in _RunSimpleCommand status = p.Run(self.waiter) File "/home/andy/git/oilshell/oil/core/process.py", line 581, in Run self.Start() File "/home/andy/git/oilshell/oil/core/process.py", line 553, in Start self.thunk.Run() File "/home/andy/git/oilshell/oil/core/process.py", line 427, in Run self.ext_prog.Exec(self.argv, self.environ) AttributeError: 'NoneType' object has no attribute 'Exec' ====================================================================== ERROR: testPipeline2 (__main__.ProcessTest) ---------------------------------------------------------------------- Traceback (most recent call last): File "core/process_test.py", line 134, in testPipeline2 print(p.Run(_WAITER, _FD_STATE)) File "/home/andy/git/oilshell/oil/core/process.py", line 691, in Run self.Start(waiter) File "/home/andy/git/oilshell/oil/core/process.py", line 660, in Start pid = proc.Start() File "/home/andy/git/oilshell/oil/core/process.py", line 553, in Start self.thunk.Run() File "/home/andy/git/oilshell/oil/core/process.py", line 442, in Run self.ex.ExecuteAndCatch(self.node, fork_external=False) File "/home/andy/git/oilshell/oil/osh/cmd_exec.py", line 1217, in ExecuteAndCatch status = self._Execute(node, fork_external=fork_external) File "/home/andy/git/oilshell/oil/osh/cmd_exec.py", line 1165, in _Execute status, check_errexit = self._Dispatch(node, fork_external) File "/home/andy/git/oilshell/oil/osh/cmd_exec.py", line 723, in _Dispatch status = self._RunSimpleCommand(argv, fork_external, span_id) File "/home/andy/git/oilshell/oil/osh/cmd_exec.py", line 602, in _RunSimpleCommand self.ext_prog.Exec(argv, environ) # NEVER RETURNS AttributeError: 'NoneType' object has no attribute 'Exec' ---------------------------------------------------------------------- Ran 5 tests in 0.040s FAILED (errors=2) .. ====================================================================== ERROR: testPipeline (__main__.ProcessTest) ---------------------------------------------------------------------- Traceback (most recent call last): File "core/process_test.py", line 101, in testPipeline pipe_status = p.Run(_WAITER, _FD_STATE) File "/home/andy/git/oilshell/oil/core/process.py", line 706, in Run ex.ExecuteAndCatch(node) File "/home/andy/git/oilshell/oil/osh/cmd_exec.py", line 1217, in ExecuteAndCatch status = self._Execute(node, fork_external=fork_external) File "/home/andy/git/oilshell/oil/osh/cmd_exec.py", line 1165, in _Execute status, check_errexit = self._Dispatch(node, fork_external) File "/home/andy/git/oilshell/oil/osh/cmd_exec.py", line 723, in _Dispatch status = self._RunSimpleCommand(argv, fork_external, span_id) File "/home/andy/git/oilshell/oil/osh/cmd_exec.py", line 599, in _RunSimpleCommand status = p.Run(self.waiter) File "/home/andy/git/oilshell/oil/core/process.py", line 581, in Run self.Start() File "/home/andy/git/oilshell/oil/core/process.py", line 553, in Start self.thunk.Run() File "/home/andy/git/oilshell/oil/core/process.py", line 427, in Run self.ext_prog.Exec(self.argv, self.environ) AttributeError: 'NoneType' object has no attribute 'Exec' ====================================================================== ERROR: testPipeline2 (__main__.ProcessTest) ---------------------------------------------------------------------- Traceback (most recent call last): File "core/process_test.py", line 134, in testPipeline2 print(p.Run(_WAITER, _FD_STATE)) File "/home/andy/git/oilshell/oil/core/process.py", line 691, in Run self.Start(waiter) File "/home/andy/git/oilshell/oil/core/process.py", line 660, in Start pid = proc.Start() File "/home/andy/git/oilshell/oil/core/process.py", line 553, in Start self.thunk.Run() File "/home/andy/git/oilshell/oil/core/process.py", line 442, in Run self.ex.ExecuteAndCatch(self.node, fork_external=False) File "/home/andy/git/oilshell/oil/osh/cmd_exec.py", line 1217, in ExecuteAndCatch status = self._Execute(node, fork_external=fork_external) File "/home/andy/git/oilshell/oil/osh/cmd_exec.py", line 1165, in _Execute status, check_errexit = self._Dispatch(node, fork_external) File "/home/andy/git/oilshell/oil/osh/cmd_exec.py", line 723, in _Dispatch status = self._RunSimpleCommand(argv, fork_external, span_id) File "/home/andy/git/oilshell/oil/osh/cmd_exec.py", line 602, in _RunSimpleCommand self.ext_prog.Exec(argv, environ) # NEVER RETURNS AttributeError: 'NoneType' object has no attribute 'Exec' ---------------------------------------------------------------------- Ran 5 tests in 0.042s FAILED (errors=2) .Tue Jan 29 22:20:43 PST 2019 date returned 0 osh error: 'does-not-exist': No such file or directory E. ====================================================================== ERROR: testPipeline (__main__.ProcessTest) ---------------------------------------------------------------------- Traceback (most recent call last): File "core/process_test.py", line 101, in testPipeline pipe_status = p.Run(_WAITER, _FD_STATE) File "/home/andy/git/oilshell/oil/core/process.py", line 706, in Run ex.ExecuteAndCatch(node) File "/home/andy/git/oilshell/oil/osh/cmd_exec.py", line 1217, in ExecuteAndCatch status = self._Execute(node, fork_external=fork_external) File "/home/andy/git/oilshell/oil/osh/cmd_exec.py", line 1165, in _Execute status, check_errexit = self._Dispatch(node, fork_external) File "/home/andy/git/oilshell/oil/osh/cmd_exec.py", line 723, in _Dispatch status = self._RunSimpleCommand(argv, fork_external, span_id) File "/home/andy/git/oilshell/oil/osh/cmd_exec.py", line 599, in _RunSimpleCommand status = p.Run(self.waiter) File "/home/andy/git/oilshell/oil/core/process.py", line 581, in Run self.Start() File "/home/andy/git/oilshell/oil/core/process.py", line 553, in Start self.thunk.Run() File "/home/andy/git/oilshell/oil/core/process.py", line 427, in Run self.ext_prog.Exec(self.argv, self.environ) AttributeError: 'NoneType' object has no attribute 'Exec' ====================================================================== ERROR: testProcess (__main__.ProcessTest) ---------------------------------------------------------------------- Traceback (most recent call last): File "core/process_test.py", line 83, in testProcess print(p.Run(_WAITER)) File "/home/andy/git/oilshell/oil/core/process.py", line 581, in Run self.Start() File "/home/andy/git/oilshell/oil/core/process.py", line 553, in Start self.thunk.Run() File "/home/andy/git/oilshell/oil/core/process.py", line 427, in Run self.ext_prog.Exec(self.argv, self.environ) File "/home/andy/git/oilshell/oil/core/process.py", line 411, in Exec sys.exit(status) # raises SystemExit SystemExit: 127 ---------------------------------------------------------------------- Ran 5 tests in 0.054s FAILED (errors=2) ('BEFORE', ['0', '1', '2', '3', '4', '10', '11', '12', '13', '14', '15']) ------------------------------------------------------------ ls | cut -d . -f 1 | head [-1, -1, 1] [1, 1, 1, 1] ('FDS BEFORE', ['0', '1', '2', '3', '4', '6', '8', '10', '11', '12', '13', '14', '15', '16']) ------------------------------------------------------------ date ------------------------------------------------------------ does-not-exist .. ====================================================================== ERROR: testPipeline (__main__.ProcessTest) ---------------------------------------------------------------------- Traceback (most recent call last): File "core/process_test.py", line 101, in testPipeline pipe_status = p.Run(_WAITER, _FD_STATE) File "/home/andy/git/oilshell/oil/core/process.py", line 706, in Run ex.ExecuteAndCatch(node) File "/home/andy/git/oilshell/oil/osh/cmd_exec.py", line 1217, in ExecuteAndCatch status = self._Execute(node, fork_external=fork_external) File "/home/andy/git/oilshell/oil/osh/cmd_exec.py", line 1165, in _Execute status, check_errexit = self._Dispatch(node, fork_external) File "/home/andy/git/oilshell/oil/osh/cmd_exec.py", line 723, in _Dispatch status = self._RunSimpleCommand(argv, fork_external, span_id) File "/home/andy/git/oilshell/oil/osh/cmd_exec.py", line 599, in _RunSimpleCommand status = p.Run(self.waiter) File "/home/andy/git/oilshell/oil/core/process.py", line 581, in Run self.Start() File "/home/andy/git/oilshell/oil/core/process.py", line 553, in Start self.thunk.Run() File "/home/andy/git/oilshell/oil/core/process.py", line 427, in Run self.ext_prog.Exec(self.argv, self.environ) AttributeError: 'NoneType' object has no attribute 'Exec' ---------------------------------------------------------------------- Ran 5 tests in 0.060s FAILED (errors=1) ('BEFORE', ['0', '1', '2', '3', '4', '10', '11', '12', '13', '14', '15']) ------------------------------------------------------------ ls | cut -d . -f 1 | head [-1, -1, 1] [1, 1, 1, 1] ('FDS BEFORE', ['0', '1', '2', '3', '4', '6', '8', '10', '11', '12', '13', '14', '15', '16']) ------------------------------------------------------------ date ------------------------------------------------------------ does-not-exist 1 ('FDS AFTER', ['0', '1', '2', '3', '4', '6', '8', '10', '11', '12', '13', '14', '15', '16']) pipe_status: [-1, -1, -1, 1] .osh warning: PID 23301 stopped, but osh didn't start it osh warning: PID 23302 stopped, but osh didn't start it ETue Jan 29 22:20:43 PST 2019 date returned 0 osh error: 'does-not-exist': No such file or directory E. ====================================================================== ERROR: testPipeline2 (__main__.ProcessTest) ---------------------------------------------------------------------- Traceback (most recent call last): File "core/process_test.py", line 119, in testPipeline2 print(p.Run(_WAITER, _FD_STATE)) File "/home/andy/git/oilshell/oil/core/process.py", line 706, in Run ex.ExecuteAndCatch(node) File "/home/andy/git/oilshell/oil/osh/cmd_exec.py", line 1217, in ExecuteAndCatch status = self._Execute(node, fork_external=fork_external) File "/home/andy/git/oilshell/oil/osh/cmd_exec.py", line 1165, in _Execute status, check_errexit = self._Dispatch(node, fork_external) File "/home/andy/git/oilshell/oil/osh/cmd_exec.py", line 723, in _Dispatch status = self._RunSimpleCommand(argv, fork_external, span_id) File "/home/andy/git/oilshell/oil/osh/cmd_exec.py", line 599, in _RunSimpleCommand status = p.Run(self.waiter) File "/home/andy/git/oilshell/oil/core/process.py", line 581, in Run self.Start() File "/home/andy/git/oilshell/oil/core/process.py", line 553, in Start self.thunk.Run() File "/home/andy/git/oilshell/oil/core/process.py", line 427, in Run self.ext_prog.Exec(self.argv, self.environ) AttributeError: 'NoneType' object has no attribute 'Exec' ====================================================================== ERROR: testProcess (__main__.ProcessTest) ---------------------------------------------------------------------- Traceback (most recent call last): File "core/process_test.py", line 83, in testProcess print(p.Run(_WAITER)) File "/home/andy/git/oilshell/oil/core/process.py", line 581, in Run self.Start() File "/home/andy/git/oilshell/oil/core/process.py", line 553, in Start self.thunk.Run() File "/home/andy/git/oilshell/oil/core/process.py", line 427, in Run self.ext_prog.Exec(self.argv, self.environ) File "/home/andy/git/oilshell/oil/core/process.py", line 411, in Exec sys.exit(status) # raises SystemExit SystemExit: 127 ---------------------------------------------------------------------- Ran 5 tests in 0.072s FAILED (errors=2) ('BEFORE', ['0', '1', '2', '3', '4', '10', '11', '12', '13', '14', '15']) ('AFTER', ['0', '1', '2', '3', '4', '8', '10', '11', '12', '13', '14', '15']) ------------------------------------------------------------ ls | cut -d . -f 1 | head ('FDS BEFORE', ['0', '1', '2', '3', '4', '6', '8', '10', '11', '12', '13', '14', '15']) ------------------------------------------------------------ date ------------------------------------------------------------ does-not-exist .. ====================================================================== ERROR: testPipeline2 (__main__.ProcessTest) ---------------------------------------------------------------------- Traceback (most recent call last): File "core/process_test.py", line 119, in testPipeline2 print(p.Run(_WAITER, _FD_STATE)) File "/home/andy/git/oilshell/oil/core/process.py", line 706, in Run ex.ExecuteAndCatch(node) File "/home/andy/git/oilshell/oil/osh/cmd_exec.py", line 1217, in ExecuteAndCatch status = self._Execute(node, fork_external=fork_external) File "/home/andy/git/oilshell/oil/osh/cmd_exec.py", line 1165, in _Execute status, check_errexit = self._Dispatch(node, fork_external) File "/home/andy/git/oilshell/oil/osh/cmd_exec.py", line 723, in _Dispatch status = self._RunSimpleCommand(argv, fork_external, span_id) File "/home/andy/git/oilshell/oil/osh/cmd_exec.py", line 599, in _RunSimpleCommand status = p.Run(self.waiter) File "/home/andy/git/oilshell/oil/core/process.py", line 581, in Run self.Start() File "/home/andy/git/oilshell/oil/core/process.py", line 553, in Start self.thunk.Run() File "/home/andy/git/oilshell/oil/core/process.py", line 427, in Run self.ext_prog.Exec(self.argv, self.environ) AttributeError: 'NoneType' object has no attribute 'Exec' ---------------------------------------------------------------------- Ran 5 tests in 0.081s FAILED (errors=1) ('BEFORE', ['0', '1', '2', '3', '4', '10', '11', '12', '13', '14', '15']) ('AFTER', ['0', '1', '2', '3', '4', '8', '10', '11', '12', '13', '14', '15']) ------------------------------------------------------------ ls | cut -d . -f 1 | head ('FDS BEFORE', ['0', '1', '2', '3', '4', '6', '8', '10', '11', '12', '13', '14', '15']) ------------------------------------------------------------ date ------------------------------------------------------------ does-not-exist 1 ('FDS AFTER', ['0', '1', '2', '3', '4', '6', '8', '10', '11', '12', '13', '14', '15']) EEEEdate returned 0 date returned 0 date returned 0 osh error: 'does-not-exist': No such file or directory osh error: 'does-not-exist': No such file or directory ETue Jan 29 22:20:43 PST 2019 osh error: 'does-not-exist': No such file or directoryE date returned 0 E. ====================================================================== ERROR: testPipeline2 (__main__.ProcessTest) ---------------------------------------------------------------------- FTraceback (most recent call last): File "core/process_test.py", line 134, in testPipeline2 print(p.Run(_WAITER, _FD_STATE)) File "/home/andy/git/oilshell/oil/core/process.py", line 691, in Run self.Start(waiter) File "/home/andy/git/oilshell/oil/core/process.py", line 660, in Start pid = proc.Start() File "/home/andy/git/oilshell/oil/core/process.py", line 553, in Start self.thunk.Run() File "/home/andy/git/oilshell/oil/core/process.py", line 442, in Run self.ex.ExecuteAndCatch(self.node, fork_external=False) File "/home/andy/git/oilshell/oil/osh/cmd_exec.py", line 1217, in ExecuteAndCatch status = self._Execute(node, fork_external=fork_external) File "/home/andy/git/oilshell/oil/osh/cmd_exec.py", line 1165, in _Execute status, check_errexit = self._Dispatch(node, fork_external) File "/home/andy/git/oilshell/oil/osh/cmd_exec.py", line 723, in _Dispatch status = self._RunSimpleCommand(argv, fork_external, span_id) File "/home/andy/git/oilshell/oil/osh/cmd_exec.py", line 602, in _RunSimpleCommand self.ext_prog.Exec(argv, environ) # NEVER RETURNS AttributeError: 'NoneType' object has no attribute 'Exec' ====================================================================== ERROR: testProcess (__main__.ProcessTest) ---------------------------------------------------------------------- Traceback (most recent call last): File "core/process_test.py", line 83, in testProcess print(p.Run(_WAITER)) File "/home/andy/git/oilshell/oil/core/process.py", line 581, in Run self.Start() File "/home/andy/git/oilshell/oil/core/process.py", line 553, in Start self.thunk.Run() File "/home/andy/git/oilshell/oil/core/process.py", line 427, in Run self.ext_prog.Exec(self.argv, self.environ) File "/home/andy/git/oilshell/oil/core/process.py", line 411, in Exec sys.exit(status) # raises SystemExit SystemExit: 127 ---------------------------------------------------------------------- Ran 5 tests in 0.094s FAILED (errors=2) ====================================================================== ERROR: testPipeline2 (__main__.ProcessTest) ---------------------------------------------------------------------- Traceback (most recent call last): File "core/process_test.py", line 134, in testPipeline2 print(p.Run(_WAITER, _FD_STATE)) File "/home/andy/git/oilshell/oil/core/process.py", line 691, in Run self.Start(waiter) File "/home/andy/git/oilshell/oil/core/process.py", line 660, in Start pid = proc.Start() File "/home/andy/git/oilshell/oil/core/process.py", line 553, in Start self.thunk.Run() File "/home/andy/git/oilshell/oil/core/process.py", line 442, in Run self.ex.ExecuteAndCatch(self.node, fork_external=False) File "/home/andy/git/oilshell/oil/osh/cmd_exec.py", line 1217, in ExecuteAndCatch status = self._Execute(node, fork_external=fork_external) File "/home/andy/git/oilshell/oil/osh/cmd_exec.py", line 1165, in _Execute status, check_errexit = self._Dispatch(node, fork_external) File "/home/andy/git/oilshell/oil/osh/cmd_exec.py", line 723, in _Dispatch status = self._RunSimpleCommand(argv, fork_external, span_id) File "/home/andy/git/oilshell/oil/osh/cmd_exec.py", line 602, in _RunSimpleCommand self.ext_prog.Exec(argv, environ) # NEVER RETURNS AttributeError: 'NoneType' object has no attribute 'Exec' ====================================================================== ERROR: testProcess (__main__.ProcessTest) ---------------------------------------------------------------------- Traceback (most recent call last): File "core/process_test.py", line 83, in testProcess print(p.Run(_WAITER)) File "/home/andy/git/oilshell/oil/core/process.py", line 581, in Run self.Start() File "/home/andy/git/oilshell/oil/core/process.py", line 553, in Start self.thunk.Run() File "/home/andy/git/oilshell/oil/core/process.py", line 427, in Run self.ext_prog.Exec(self.argv, self.environ) File "/home/andy/git/oilshell/oil/core/process.py", line 411, in Exec sys.exit(status) # raises SystemExit SystemExit: 127 ====================================================================== FAIL: testStdinRedirect (__main__.ProcessTest) ---------------------------------------------------------------------- Traceback (most recent call last): File "core/process_test.py", line 66, in testStdinRedirect self.assertEqual('one\n', line1) AssertionError: 'one\n' != '' ---------------------------------------------------------------------- osh error: 'does-not-exist': No such file or directoryRan 5 tests in 0.094s FAILED (failures=1, errors=2) . ====================================================================== ERROR: testPipeline2 (__main__.ProcessTest) ---------------------------------------------------------------------- Traceback (most recent call last): File "core/process_test.py", line 134, in testPipeline2 print(p.Run(_WAITER, _FD_STATE)) File "/home/andy/git/oilshell/oil/core/process.py", line 691, in Run self.Start(waiter) File "/home/andy/git/oilshell/oil/core/process.py", line 660, in Start pid = proc.Start() File "/home/andy/git/oilshell/oil/core/process.py", line 553, in Start self.thunk.Run() File "/home/andy/git/oilshell/oil/core/process.py", line 442, in Run self.ex.ExecuteAndCatch(self.node, fork_external=False) File "/home/andy/git/oilshell/oil/osh/cmd_exec.py", line 1217, in ExecuteAndCatch status = self._Execute(node, fork_external=fork_external) File "/home/andy/git/oilshell/oil/osh/cmd_exec.py", line 1165, in _Execute status, check_errexit = self._Dispatch(node, fork_external) File "/home/andy/git/oilshell/oil/osh/cmd_exec.py", line 723, in _Dispatch status = self._RunSimpleCommand(argv, fork_external, span_id) File "/home/andy/git/oilshell/oil/osh/cmd_exec.py", line 602, in _RunSimpleCommand self.ext_prog.Exec(argv, environ) # NEVER RETURNS AttributeError: 'NoneType' object has no attribute 'Exec' ====================================================================== ERROR: testProcess (__main__.ProcessTest) ---------------------------------------------------------------------- Traceback (most recent call last): File "core/process_test.py", line 83, in testProcess print(p.Run(_WAITER)) File "/home/andy/git/oilshell/oil/core/process.py", line 581, in Run self.Start() File "/home/andy/git/oilshell/oil/core/process.py", line 553, in Start self.thunk.Run() File "/home/andy/git/oilshell/oil/core/process.py", line 427, in Run self.ext_prog.Exec(self.argv, self.environ) File "/home/andy/git/oilshell/oil/core/process.py", line 411, in Exec sys.exit(status) # raises SystemExit SystemExit: 127 ---------------------------------------------------------------------- Ran 5 tests in 0.095s FAILED (errors=2) E. ====================================================================== ERROR: testPipeline2 (__main__.ProcessTest) ---------------------------------------------------------------------- Traceback (most recent call last): File "core/process_test.py", line 134, in testPipeline2 print(p.Run(_WAITER, _FD_STATE)) File "/home/andy/git/oilshell/oil/core/process.py", line 706, in Run ex.ExecuteAndCatch(node) File "/home/andy/git/oilshell/oil/osh/cmd_exec.py", line 1217, in ExecuteAndCatch status = self._Execute(node, fork_external=fork_external) File "/home/andy/git/oilshell/oil/osh/cmd_exec.py", line 1165, in _Execute status, check_errexit = self._Dispatch(node, fork_external) File "/home/andy/git/oilshell/oil/osh/cmd_exec.py", line 723, in _Dispatch status = self._RunSimpleCommand(argv, fork_external, span_id) File "/home/andy/git/oilshell/oil/osh/cmd_exec.py", line 599, in _RunSimpleCommand status = p.Run(self.waiter) File "/home/andy/git/oilshell/oil/core/process.py", line 581, in Run self.Start() File "/home/andy/git/oilshell/oil/core/process.py", line 553, in Start self.thunk.Run() File "/home/andy/git/oilshell/oil/core/process.py", line 427, in Run self.ext_prog.Exec(self.argv, self.environ) AttributeError: 'NoneType' object has no attribute 'Exec' ====================================================================== ERROR: testProcess (__main__.ProcessTest) ---------------------------------------------------------------------- Traceback (most recent call last): File "core/process_test.py", line 83, in testProcess print(p.Run(_WAITER)) File "/home/andy/git/oilshell/oil/core/process.py", line 581, in Run self.Start() File "/home/andy/git/oilshell/oil/core/process.py", line 553, in Start self.thunk.Run() File "/home/andy/git/oilshell/oil/core/process.py", line 427, in Run self.ext_prog.Exec(self.argv, self.environ) File "/home/andy/git/oilshell/oil/core/process.py", line 411, in Exec sys.exit(status) # raises SystemExit SystemExit: 127 ---------------------------------------------------------------------- Ran 5 tests in 0.096s FAILED (errors=2) ('BEFORE', ['0', '1', '2', '3', '4', '10', '11', '12', '13', '14', '15']) ('AFTER', ['0', '1', '2', '3', '4', '8', '10', '11', '12', '13', '14', '15']) ------------------------------------------------------------ ls | cut -d . -f 1 | head [-1, -1, 1] ('FDS BEFORE', ['0', '1', '2', '3', '4', '6', '8', '10', '11', '12', '13', '14', '15', '16']) ------------------------------------------------------------ date ------------------------------------------------------------ does-not-exist .. ====================================================================== ERROR: testPipeline2 (__main__.ProcessTest) ---------------------------------------------------------------------- Traceback (most recent call last): File "core/process_test.py", line 134, in testPipeline2 print(p.Run(_WAITER, _FD_STATE)) File "/home/andy/git/oilshell/oil/core/process.py", line 691, in Run self.Start(waiter) File "/home/andy/git/oilshell/oil/core/process.py", line 660, in Start pid = proc.Start() File "/home/andy/git/oilshell/oil/core/process.py", line 553, in Start self.thunk.Run() File "/home/andy/git/oilshell/oil/core/process.py", line 442, in Run self.ex.ExecuteAndCatch(self.node, fork_external=False) File "/home/andy/git/oilshell/oil/osh/cmd_exec.py", line 1217, in ExecuteAndCatch status = self._Execute(node, fork_external=fork_external) File "/home/andy/git/oilshell/oil/osh/cmd_exec.py", line 1165, in _Execute status, check_errexit = self._Dispatch(node, fork_external) File "/home/andy/git/oilshell/oil/osh/cmd_exec.py", line 723, in _Dispatch status = self._RunSimpleCommand(argv, fork_external, span_id) File "/home/andy/git/oilshell/oil/osh/cmd_exec.py", line 602, in _RunSimpleCommand self.ext_prog.Exec(argv, environ) # NEVER RETURNS AttributeError: 'NoneType' object has no attribute 'Exec' ---------------------------------------------------------------------- Ran 5 tests in 0.104s FAILED (errors=1) .. ====================================================================== ERROR: testPipeline2 (__main__.ProcessTest) ---------------------------------------------------------------------- Traceback (most recent call last): File "core/process_test.py", line 134, in testPipeline2 print(p.Run(_WAITER, _FD_STATE)) File "/home/andy/git/oilshell/oil/core/process.py", line 691, in Run self.Start(waiter) File "/home/andy/git/oilshell/oil/core/process.py", line 660, in Start pid = proc.Start() File "/home/andy/git/oilshell/oil/core/process.py", line 553, in Start self.thunk.Run() File "/home/andy/git/oilshell/oil/core/process.py", line 442, in Run self.ex.ExecuteAndCatch(self.node, fork_external=False) File "/home/andy/git/oilshell/oil/osh/cmd_exec.py", line 1217, in ExecuteAndCatch status = self._Execute(node, fork_external=fork_external) File "/home/andy/git/oilshell/oil/osh/cmd_exec.py", line 1165, in _Execute status, check_errexit = self._Dispatch(node, fork_external) File "/home/andy/git/oilshell/oil/osh/cmd_exec.py", line 723, in _Dispatch status = self._RunSimpleCommand(argv, fork_external, span_id) File "/home/andy/git/oilshell/oil/osh/cmd_exec.py", line 602, in _RunSimpleCommand self.ext_prog.Exec(argv, environ) # NEVER RETURNS AttributeError: 'NoneType' object has no attribute 'Exec' ---------------------------------------------------------------------- Ran 5 tests in 0.105s FAILED (errors=1) .. ====================================================================== ERROR: testPipeline2 (__main__.ProcessTest) ---------------------------------------------------------------------- Traceback (most recent call last): File "core/process_test.py", line 134, in testPipeline2 print(p.Run(_WAITER, _FD_STATE)) File "/home/andy/git/oilshell/oil/core/process.py", line 706, in Run ex.ExecuteAndCatch(node) File "/home/andy/git/oilshell/oil/osh/cmd_exec.py", line 1217, in ExecuteAndCatch status = self._Execute(node, fork_external=fork_external) File "/home/andy/git/oilshell/oil/osh/cmd_exec.py", line 1165, in _Execute status, check_errexit = self._Dispatch(node, fork_external) File "/home/andy/git/oilshell/oil/osh/cmd_exec.py", line 723, in _Dispatch status = self._RunSimpleCommand(argv, fork_external, span_id) File "/home/andy/git/oilshell/oil/osh/cmd_exec.py", line 599, in _RunSimpleCommand status = p.Run(self.waiter) File "/home/andy/git/oilshell/oil/core/process.py", line 581, in Run self.Start() File "/home/andy/git/oilshell/oil/core/process.py", line 553, in Start self.thunk.Run() File "/home/andy/git/oilshell/oil/core/process.py", line 427, in Run self.ext_prog.Exec(self.argv, self.environ) AttributeError: 'NoneType' object has no attribute 'Exec' ---------------------------------------------------------------------- Ran 5 tests in 0.107s FAILED (errors=1) ('BEFORE', ['0', '1', '2', '3', '4', '10', '11', '12', '13', '14', '15']) ('AFTER', ['0', '1', '2', '3', '4', '8', '10', '11', '12', '13', '14', '15']) ------------------------------------------------------------ ls | cut -d . -f 1 | head [-1, -1, 1] ('FDS BEFORE', ['0', '1', '2', '3', '4', '6', '8', '10', '11', '12', '13', '14', '15', '16']) ------------------------------------------------------------ date ------------------------------------------------------------ does-not-exist 1 ('FDS AFTER', ['0', '1', '2', '3', '4', '6', '8', '10', '11', '12', '13', '14', '15', '16']) .. ====================================================================== ERROR: testPipeline2 (__main__.ProcessTest) ---------------------------------------------------------------------- Traceback (most recent call last): File "core/process_test.py", line 134, in testPipeline2 print(p.Run(_WAITER, _FD_STATE)) File "/home/andy/git/oilshell/oil/core/process.py", line 691, in Run self.Start(waiter) File "/home/andy/git/oilshell/oil/core/process.py", line 660, in Start pid = proc.Start() File "/home/andy/git/oilshell/oil/core/process.py", line 553, in Start self.thunk.Run() File "/home/andy/git/oilshell/oil/core/process.py", line 442, in Run self.ex.ExecuteAndCatch(self.node, fork_external=False) File "/home/andy/git/oilshell/oil/osh/cmd_exec.py", line 1217, in ExecuteAndCatch status = self._Execute(node, fork_external=fork_external) File "/home/andy/git/oilshell/oil/osh/cmd_exec.py", line 1165, in _Execute status, check_errexit = self._Dispatch(node, fork_external) File "/home/andy/git/oilshell/oil/osh/cmd_exec.py", line 723, in _Dispatch status = self._RunSimpleCommand(argv, fork_external, span_id) File "/home/andy/git/oilshell/oil/osh/cmd_exec.py", line 602, in _RunSimpleCommand self.ext_prog.Exec(argv, environ) # NEVER RETURNS AttributeError: 'NoneType' object has no attribute 'Exec' ---------------------------------------------------------------------- Ran 5 tests in 0.109s FAILED (errors=1) osh warning: PID 23307 stopped, but osh didn't start it osh warning: PID 23306 stopped, but osh didn't start it osh warning: PID 23308 stopped, but osh didn't start it .Tue Jan 29 22:20:43 PST 2019 date returned 0 osh error: 'does-not-exist': No such file or directory E. ====================================================================== ERROR: testProcess (__main__.ProcessTest) ---------------------------------------------------------------------- Traceback (most recent call last): File "core/process_test.py", line 83, in testProcess print(p.Run(_WAITER)) File "/home/andy/git/oilshell/oil/core/process.py", line 581, in Run self.Start() File "/home/andy/git/oilshell/oil/core/process.py", line 553, in Start self.thunk.Run() File "/home/andy/git/oilshell/oil/core/process.py", line 427, in Run self.ext_prog.Exec(self.argv, self.environ) File "/home/andy/git/oilshell/oil/core/process.py", line 411, in Exec sys.exit(status) # raises SystemExit SystemExit: 127 ---------------------------------------------------------------------- Ran 5 tests in 0.119s FAILED (errors=1) ('BEFORE', ['0', '1', '2', '3', '4', '10', '11', '12', '13', '14', '15']) ('AFTER', ['0', '1', '2', '3', '4', '8', '10', '11', '12', '13', '14', '15']) ------------------------------------------------------------ ls | cut -d . -f 1 | head [-1, -1, 1] [-1, -1, -1, 1] ('FDS BEFORE', ['0', '1', '2', '3', '4', '6', '8', '10', '11', '12', '13', '14', '15', '16']) ------------------------------------------------------------ date ------------------------------------------------------------ does-not-exist .. ---------------------------------------------------------------------- Ran 5 tests in 0.125s OK ('BEFORE', ['0', '1', '2', '3', '4', '10', '11', '12', '13', '14', '15']) ('AFTER', ['0', '1', '2', '3', '4', '8', '10', '11', '12', '13', '14', '15']) ------------------------------------------------------------ ls | cut -d . -f 1 | head [-1, -1, 1] [-1, -1, -1, 1] ('FDS BEFORE', ['0', '1', '2', '3', '4', '6', '8', '10', '11', '12', '13', '14', '15', '16']) ------------------------------------------------------------ date ------------------------------------------------------------ does-not-exist 1 ('FDS AFTER', ['0', '1', '2', '3', '4', '6', '8', '10', '11', '12', '13', '14', '15', '16'])