.osh warning: PID 5359 stopped, but osh didn't start it osh warning: PID 5360 stopped, but osh didn't start it osh warning: PID 5361 stopped, but osh didn't start it Eosh warning: PID 5363 stopped, but osh didn't start it osh warning: PID 5364 stopped, but osh didn't start it ESun Mar 3 09:13:17 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 723, in Run ex.ExecuteAndCatch(node) File "/home/andy/git/oilshell/oil/osh/cmd_exec.py", line 1241, in ExecuteAndCatch status = self._Execute(node, fork_external=fork_external) File "/home/andy/git/oilshell/oil/osh/cmd_exec.py", line 1189, in _Execute status, check_errexit = self._Dispatch(node, fork_external) File "/home/andy/git/oilshell/oil/osh/cmd_exec.py", line 734, in _Dispatch status = self._RunSimpleCommand(argv, fork_external, span_id) File "/home/andy/git/oilshell/oil/osh/cmd_exec.py", line 603, in _RunSimpleCommand status = p.Run(self.waiter) File "/home/andy/git/oilshell/oil/core/process.py", line 593, in Run self.Start() File "/home/andy/git/oilshell/oil/core/process.py", line 565, in Start self.thunk.Run() File "/home/andy/git/oilshell/oil/core/process.py", line 428, 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 723, in Run ex.ExecuteAndCatch(node) File "/home/andy/git/oilshell/oil/osh/cmd_exec.py", line 1241, in ExecuteAndCatch status = self._Execute(node, fork_external=fork_external) File "/home/andy/git/oilshell/oil/osh/cmd_exec.py", line 1189, in _Execute status, check_errexit = self._Dispatch(node, fork_external) File "/home/andy/git/oilshell/oil/osh/cmd_exec.py", line 734, in _Dispatch status = self._RunSimpleCommand(argv, fork_external, span_id) File "/home/andy/git/oilshell/oil/osh/cmd_exec.py", line 603, in _RunSimpleCommand status = p.Run(self.waiter) File "/home/andy/git/oilshell/oil/core/process.py", line 593, in Run self.Start() File "/home/andy/git/oilshell/oil/core/process.py", line 565, in Start self.thunk.Run() File "/home/andy/git/oilshell/oil/core/process.py", line 428, 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 593, in Run self.Start() File "/home/andy/git/oilshell/oil/core/process.py", line 565, in Start self.thunk.Run() File "/home/andy/git/oilshell/oil/core/process.py", line 428, in Run self.ext_prog.Exec(self.argv, self.environ) File "/home/andy/git/oilshell/oil/core/process.py", line 412, in Exec sys.exit(status) # raises SystemExit SystemExit: 127 ---------------------------------------------------------------------- Ran 5 tests in 0.007s 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 723, in Run ex.ExecuteAndCatch(node) File "/home/andy/git/oilshell/oil/osh/cmd_exec.py", line 1241, in ExecuteAndCatch status = self._Execute(node, fork_external=fork_external) File "/home/andy/git/oilshell/oil/osh/cmd_exec.py", line 1189, in _Execute status, check_errexit = self._Dispatch(node, fork_external) File "/home/andy/git/oilshell/oil/osh/cmd_exec.py", line 734, in _Dispatch status = self._RunSimpleCommand(argv, fork_external, span_id) File "/home/andy/git/oilshell/oil/osh/cmd_exec.py", line 603, in _RunSimpleCommand status = p.Run(self.waiter) File "/home/andy/git/oilshell/oil/core/process.py", line 593, in Run self.Start() File "/home/andy/git/oilshell/oil/core/process.py", line 565, in Start self.thunk.Run() File "/home/andy/git/oilshell/oil/core/process.py", line 428, 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 723, in Run ex.ExecuteAndCatch(node) File "/home/andy/git/oilshell/oil/osh/cmd_exec.py", line 1241, in ExecuteAndCatch status = self._Execute(node, fork_external=fork_external) File "/home/andy/git/oilshell/oil/osh/cmd_exec.py", line 1189, in _Execute status, check_errexit = self._Dispatch(node, fork_external) File "/home/andy/git/oilshell/oil/osh/cmd_exec.py", line 734, in _Dispatch status = self._RunSimpleCommand(argv, fork_external, span_id) File "/home/andy/git/oilshell/oil/osh/cmd_exec.py", line 603, in _RunSimpleCommand status = p.Run(self.waiter) File "/home/andy/git/oilshell/oil/core/process.py", line 593, in Run self.Start() File "/home/andy/git/oilshell/oil/core/process.py", line 565, in Start self.thunk.Run() File "/home/andy/git/oilshell/oil/core/process.py", line 428, 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 osh error: 'does-not-exist': No such file or directory Sun Mar 3 09:13:17 PST 2019 date returned 0 Eosh error: 'does-not-exist': No such file or directory osh error: 'does-not-exist': No such file or directory Eosh error: 'does-not-exist': No such file or directory E. ====================================================================== EERROR: 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 723, in Run ex.ExecuteAndCatch(node) File "/home/andy/git/oilshell/oil/osh/cmd_exec.py", line 1241, in ExecuteAndCatch status = self._Execute(node, fork_external=fork_external) File "/home/andy/git/oilshell/oil/osh/cmd_exec.py", line 1189, in _Execute status, check_errexit = self._Dispatch(node, fork_external) File "/home/andy/git/oilshell/oil/osh/cmd_exec.py", line 734, in _Dispatch status = self._RunSimpleCommand(argv, fork_external, span_id) File "/home/andy/git/oilshell/oil/osh/cmd_exec.py", line 603, in _RunSimpleCommand status = p.Run(self.waiter) File "/home/andy/git/oilshell/oil/core/process.py", line 593, in Run self.Start() File "/home/andy/git/oilshell/oil/core/process.py", line 565, in Start self.thunk.Run() File "/home/andy/git/oilshell/oil/core/process.py", line 428, 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 708, in Run self.Start(waiter) File "/home/andy/git/oilshell/oil/core/process.py", line 677, in Start pid = proc.Start() File "/home/andy/git/oilshell/oil/core/process.py", line 565, in Start self.thunk.Run() File "/home/andy/git/oilshell/oil/core/process.py", line 443, in Run self.ex.ExecuteAndCatch(self.node, fork_external=False) File "/home/andy/git/oilshell/oil/osh/cmd_exec.py", line 1241, in ExecuteAndCatch status = self._Execute(node, fork_external=fork_external) File "/home/andy/git/oilshell/oil/osh/cmd_exec.py", line 1189, in _Execute status, check_errexit = self._Dispatch(node, fork_external) File "/home/andy/git/oilshell/oil/osh/cmd_exec.py", line 734, in _Dispatch status = self._RunSimpleCommand(argv, fork_external, span_id) File "/home/andy/git/oilshell/oil/osh/cmd_exec.py", line 606, 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 593, in Run self.Start() File "/home/andy/git/oilshell/oil/core/process.py", line 565, in Start self.thunk.Run() File "/home/andy/git/oilshell/oil/core/process.py", line 428, in Run self.ext_prog.Exec(self.argv, self.environ) File "/home/andy/git/oilshell/oil/core/process.py", line 412, in Exec sys.exit(status) # raises SystemExit SystemExit: 127 ---------------------------------------------------------------------- Ran 5 tests in 0.027s FAILED (errors=3) 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 723, in Run ex.ExecuteAndCatch(node) File "/home/andy/git/oilshell/oil/osh/cmd_exec.py", line 1241, in ExecuteAndCatch status = self._Execute(node, fork_external=fork_external) File "/home/andy/git/oilshell/oil/osh/cmd_exec.py", line 1189, in _Execute status, check_errexit = self._Dispatch(node, fork_external) File "/home/andy/git/oilshell/oil/osh/cmd_exec.py", line 734, in _Dispatch status = self._RunSimpleCommand(argv, fork_external, span_id) File "/home/andy/git/oilshell/oil/osh/cmd_exec.py", line 603, in _RunSimpleCommand status = p.Run(self.waiter) File "/home/andy/git/oilshell/oil/core/process.py", line 593, in Run self.Start() File "/home/andy/git/oilshell/oil/core/process.py", line 565, in Start self.thunk.Run() File "/home/andy/git/oilshell/oil/core/process.py", line 428, 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 708, in Run self.Start(waiter) File "/home/andy/git/oilshell/oil/core/process.py", line 677, in Start pid = proc.Start() File "/home/andy/git/oilshell/oil/core/process.py", line 565, in Start self.thunk.Run() File "/home/andy/git/oilshell/oil/core/process.py", line 443, in Run self.ex.ExecuteAndCatch(self.node, fork_external=False) File "/home/andy/git/oilshell/oil/osh/cmd_exec.py", line 1241, in ExecuteAndCatch status = self._Execute(node, fork_external=fork_external) File "/home/andy/git/oilshell/oil/osh/cmd_exec.py", line 1189, in _Execute status, check_errexit = self._Dispatch(node, fork_external) File "/home/andy/git/oilshell/oil/osh/cmd_exec.py", line 734, in _Dispatch status = self._RunSimpleCommand(argv, fork_external, span_id) File "/home/andy/git/oilshell/oil/osh/cmd_exec.py", line 606, in _RunSimpleCommand self.ext_prog.Exec(argv, environ) # NEVER RETURNS AttributeError: 'NoneType' object has no attribute 'Exec' ====================================================================== ERROR: testPipeline (__main__.ProcessTest)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 593, in Run self.Start() File "/home/andy/git/oilshell/oil/core/process.py", line 565, in Start self.thunk.Run() File "/home/andy/git/oilshell/oil/core/process.py", line 428, in Run self.ext_prog.Exec(self.argv, self.environ) File "/home/andy/git/oilshell/oil/core/process.py", line 412, in Exec sys.exit(status) # raises SystemExit SystemExit: 127 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 723, in Run ex.ExecuteAndCatch(node) File "/home/andy/git/oilshell/oil/osh/cmd_exec.py", line 1241, in ExecuteAndCatch status = self._Execute(node, fork_external=fork_external) File "/home/andy/git/oilshell/oil/osh/cmd_exec.py", line 1189, in _Execute status, check_errexit = self._Dispatch(node, fork_external) File "/home/andy/git/oilshell/oil/osh/cmd_exec.py", line 734, in _Dispatch status = self._RunSimpleCommand(argv, fork_external, span_id) File "/home/andy/git/oilshell/oil/osh/cmd_exec.py", line 603, in _RunSimpleCommand status = p.Run(self.waiter) File "/home/andy/git/oilshell/oil/core/process.py", line 593, in Run self.Start() File "/home/andy/git/oilshell/oil/core/process.py", line 565, in Start self.thunk.Run() File "/home/andy/git/oilshell/oil/core/process.py", line 428, in Run self.ext_prog.Exec(self.argv, self.environ) AttributeError: 'NoneType' object has no attribute 'Exec' ====================================================================== ======================================================================ERROR: testPipeline (__main__.ProcessTest)FAIL: testStdinRedirect (__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 723, in Run ex.ExecuteAndCatch(node) File "/home/andy/git/oilshell/oil/osh/cmd_exec.py", line 1241, in ExecuteAndCatch status = self._Execute(node, fork_external=fork_external) File "/home/andy/git/oilshell/oil/osh/cmd_exec.py", line 1189, in _Execute status, check_errexit = self._Dispatch(node, fork_external) File "/home/andy/git/oilshell/oil/osh/cmd_exec.py", line 734, in _Dispatch status = self._RunSimpleCommand(argv, fork_external, span_id) File "/home/andy/git/oilshell/oil/osh/cmd_exec.py", line 603, in _RunSimpleCommand status = p.Run(self.waiter) File "/home/andy/git/oilshell/oil/core/process.py", line 593, in Run self.Start() File "/home/andy/git/oilshell/oil/core/process.py", line 565, in Start self.thunk.Run() File "/home/andy/git/oilshell/oil/core/process.py", line 428, 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 66, in testStdinRedirect self.assertEqual('one\n', line1) AssertionError: 'one\n' != '' ----------------------------------------------------------------------====================================================================== ----------------------------------------------------------------------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 708, in Run self.Start(waiter) File "/home/andy/git/oilshell/oil/core/process.py", line 677, in Start pid = proc.Start() File "/home/andy/git/oilshell/oil/core/process.py", line 565, in Start self.thunk.Run() File "/home/andy/git/oilshell/oil/core/process.py", line 443, in Run self.ex.ExecuteAndCatch(self.node, fork_external=False) File "/home/andy/git/oilshell/oil/osh/cmd_exec.py", line 1241, in ExecuteAndCatch status = self._Execute(node, fork_external=fork_external) File "/home/andy/git/oilshell/oil/osh/cmd_exec.py", line 1189, in _Execute status, check_errexit = self._Dispatch(node, fork_external) File "/home/andy/git/oilshell/oil/osh/cmd_exec.py", line 734, in _Dispatch status = self._RunSimpleCommand(argv, fork_external, span_id) File "/home/andy/git/oilshell/oil/osh/cmd_exec.py", line 606, in _RunSimpleCommand self.ext_prog.Exec(argv, environ) # NEVER RETURNS AttributeError: 'NoneType' object has no attribute 'Exec' ERROR: testPipeline2 (__main__.ProcessTest) ======================================================================---------------------------------------------------------------------- Ran 5 tests in 0.027sTraceback (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 723, in Run ex.ExecuteAndCatch(node) File "/home/andy/git/oilshell/oil/osh/cmd_exec.py", line 1241, in ExecuteAndCatch status = self._Execute(node, fork_external=fork_external) File "/home/andy/git/oilshell/oil/osh/cmd_exec.py", line 1189, in _Execute status, check_errexit = self._Dispatch(node, fork_external) File "/home/andy/git/oilshell/oil/osh/cmd_exec.py", line 734, in _Dispatch status = self._RunSimpleCommand(argv, fork_external, span_id) File "/home/andy/git/oilshell/oil/osh/cmd_exec.py", line 603, in _RunSimpleCommand status = p.Run(self.waiter) File "/home/andy/git/oilshell/oil/core/process.py", line 593, in Run self.Start() File "/home/andy/git/oilshell/oil/core/process.py", line 565, in Start self.thunk.Run() File "/home/andy/git/oilshell/oil/core/process.py", line 428, in Run self.ext_prog.Exec(self.argv, self.environ) AttributeError: 'NoneType' object has no attribute 'Exec' ERROR: testProcess (__main__.ProcessTest) ====================================================================== ----------------------------------------------------------------------FAILEDERROR: testProcess (__main__.ProcessTest) (failures=1, errors=3)----------------------------------------------------------------------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 593, in Run self.Start() File "/home/andy/git/oilshell/oil/core/process.py", line 565, in Start self.thunk.Run() File "/home/andy/git/oilshell/oil/core/process.py", line 428, in Run self.ext_prog.Exec(self.argv, self.environ) File "/home/andy/git/oilshell/oil/core/process.py", line 412, 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 593, in Run self.Start() File "/home/andy/git/oilshell/oil/core/process.py", line 565, in Start self.thunk.Run() File "/home/andy/git/oilshell/oil/core/process.py", line 428, in Run self.ext_prog.Exec(self.argv, self.environ) File "/home/andy/git/oilshell/oil/core/process.py", line 412, in Exec sys.exit(status) # raises SystemExit SystemExit: 127 ---------------------------------------------------------------------- ---------------------------------------------------------------------- Ran 5 tests in 0.027s FAILEDRan 5 tests in 0.027s (errors=3) FAILED (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 .... ====================================================================== ====================================================================== 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 723, in Run ex.ExecuteAndCatch(node) File "/home/andy/git/oilshell/oil/osh/cmd_exec.py", line 1241, in ExecuteAndCatch status = self._Execute(node, fork_external=fork_external) File "/home/andy/git/oilshell/oil/osh/cmd_exec.py", line 1189, in _Execute status, check_errexit = self._Dispatch(node, fork_external) File "/home/andy/git/oilshell/oil/osh/cmd_exec.py", line 734, in _Dispatch status = self._RunSimpleCommand(argv, fork_external, span_id) File "/home/andy/git/oilshell/oil/osh/cmd_exec.py", line 603, in _RunSimpleCommand status = p.Run(self.waiter) File "/home/andy/git/oilshell/oil/core/process.py", line 593, in Run self.Start() File "/home/andy/git/oilshell/oil/core/process.py", line 565, in Start self.thunk.Run() File "/home/andy/git/oilshell/oil/core/process.py", line 428, 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 723, in Run ex.ExecuteAndCatch(node) File "/home/andy/git/oilshell/oil/osh/cmd_exec.py", line 1241, in ExecuteAndCatch status = self._Execute(node, fork_external=fork_external) File "/home/andy/git/oilshell/oil/osh/cmd_exec.py", line 1189, in _Execute status, check_errexit = self._Dispatch(node, fork_external) File "/home/andy/git/oilshell/oil/osh/cmd_exec.py", line 734, in _Dispatch status = self._RunSimpleCommand(argv, fork_external, span_id) File "/home/andy/git/oilshell/oil/osh/cmd_exec.py", line 603, in _RunSimpleCommand status = p.Run(self.waiter) File "/home/andy/git/oilshell/oil/core/process.py", line 593, in Run self.Start() File "/home/andy/git/oilshell/oil/core/process.py", line 565, in Start self.thunk.Run() File "/home/andy/git/oilshell/oil/core/process.py", line 428, in Run self.ext_prog.Exec(self.argv, self.environ) AttributeError: 'NoneType' object has no attribute 'Exec' ====================================================================== ====================================================================== ERROR: testPipeline2 (__main__.ProcessTest) 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 708, in Run self.Start(waiter) File "/home/andy/git/oilshell/oil/core/process.py", line 677, in Start pid = proc.Start() File "/home/andy/git/oilshell/oil/core/process.py", line 565, in Start self.thunk.Run() File "/home/andy/git/oilshell/oil/core/process.py", line 443, in Run self.ex.ExecuteAndCatch(self.node, fork_external=False) File "/home/andy/git/oilshell/oil/osh/cmd_exec.py", line 1241, in ExecuteAndCatch status = self._Execute(node, fork_external=fork_external) File "/home/andy/git/oilshell/oil/osh/cmd_exec.py", line 1189, in _Execute status, check_errexit = self._Dispatch(node, fork_external) File "/home/andy/git/oilshell/oil/osh/cmd_exec.py", line 734, in _Dispatch status = self._RunSimpleCommand(argv, fork_external, span_id) File "/home/andy/git/oilshell/oil/osh/cmd_exec.py", line 606, 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 723, in Run ex.ExecuteAndCatch(node) File "/home/andy/git/oilshell/oil/osh/cmd_exec.py", line 1241, in ExecuteAndCatch status = self._Execute(node, fork_external=fork_external) File "/home/andy/git/oilshell/oil/osh/cmd_exec.py", line 1189, in _Execute status, check_errexit = self._Dispatch(node, fork_external) File "/home/andy/git/oilshell/oil/osh/cmd_exec.py", line 734, in _Dispatch status = self._RunSimpleCommand(argv, fork_external, span_id) File "/home/andy/git/oilshell/oil/osh/cmd_exec.py", line 603, in _RunSimpleCommand status = p.Run(self.waiter) File "/home/andy/git/oilshell/oil/core/process.py", line 593, in Run self.Start() File "/home/andy/git/oilshell/oil/core/process.py", line 565, in Start self.thunk.Run() File "/home/andy/git/oilshell/oil/core/process.py", line 428, in Run self.ext_prog.Exec(self.argv, self.environ) AttributeError: 'NoneType' object has no attribute 'Exec' ---------------------------------------------------------------------- ---------------------------------------------------------------------- Ran 5 tests in 0.036sRan 5 tests in 0.036s FAILEDFAILED (errors=2) (errors=2) ('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']) .. ====================================================================== 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 723, in Run ex.ExecuteAndCatch(node) File "/home/andy/git/oilshell/oil/osh/cmd_exec.py", line 1241, in ExecuteAndCatch status = self._Execute(node, fork_external=fork_external) File "/home/andy/git/oilshell/oil/osh/cmd_exec.py", line 1189, in _Execute status, check_errexit = self._Dispatch(node, fork_external) File "/home/andy/git/oilshell/oil/osh/cmd_exec.py", line 734, in _Dispatch status = self._RunSimpleCommand(argv, fork_external, span_id) File "/home/andy/git/oilshell/oil/osh/cmd_exec.py", line 603, in _RunSimpleCommand status = p.Run(self.waiter) File "/home/andy/git/oilshell/oil/core/process.py", line 593, in Run self.Start() File "/home/andy/git/oilshell/oil/core/process.py", line 565, in Start self.thunk.Run() File "/home/andy/git/oilshell/oil/core/process.py", line 428, 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 708, in Run self.Start(waiter) File "/home/andy/git/oilshell/oil/core/process.py", line 677, in Start pid = proc.Start() File "/home/andy/git/oilshell/oil/core/process.py", line 565, in Start self.thunk.Run() File "/home/andy/git/oilshell/oil/core/process.py", line 443, in Run self.ex.ExecuteAndCatch(self.node, fork_external=False) File "/home/andy/git/oilshell/oil/osh/cmd_exec.py", line 1241, in ExecuteAndCatch status = self._Execute(node, fork_external=fork_external) File "/home/andy/git/oilshell/oil/osh/cmd_exec.py", line 1189, in _Execute status, check_errexit = self._Dispatch(node, fork_external) File "/home/andy/git/oilshell/oil/osh/cmd_exec.py", line 734, in _Dispatch status = self._RunSimpleCommand(argv, fork_external, span_id) File "/home/andy/git/oilshell/oil/osh/cmd_exec.py", line 606, in _RunSimpleCommand self.ext_prog.Exec(argv, environ) # NEVER RETURNS AttributeError: 'NoneType' object has no attribute 'Exec' ---------------------------------------------------------------------- Ran 5 tests in 0.038s 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 723, in Run ex.ExecuteAndCatch(node) File "/home/andy/git/oilshell/oil/osh/cmd_exec.py", line 1241, in ExecuteAndCatch status = self._Execute(node, fork_external=fork_external) File "/home/andy/git/oilshell/oil/osh/cmd_exec.py", line 1189, in _Execute status, check_errexit = self._Dispatch(node, fork_external) File "/home/andy/git/oilshell/oil/osh/cmd_exec.py", line 734, in _Dispatch status = self._RunSimpleCommand(argv, fork_external, span_id) File "/home/andy/git/oilshell/oil/osh/cmd_exec.py", line 603, in _RunSimpleCommand status = p.Run(self.waiter) File "/home/andy/git/oilshell/oil/core/process.py", line 593, in Run self.Start() File "/home/andy/git/oilshell/oil/core/process.py", line 565, in Start self.thunk.Run() File "/home/andy/git/oilshell/oil/core/process.py", line 428, 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 708, in Run self.Start(waiter) File "/home/andy/git/oilshell/oil/core/process.py", line 677, in Start pid = proc.Start() File "/home/andy/git/oilshell/oil/core/process.py", line 565, in Start self.thunk.Run() File "/home/andy/git/oilshell/oil/core/process.py", line 443, in Run self.ex.ExecuteAndCatch(self.node, fork_external=False) File "/home/andy/git/oilshell/oil/osh/cmd_exec.py", line 1241, in ExecuteAndCatch status = self._Execute(node, fork_external=fork_external) File "/home/andy/git/oilshell/oil/osh/cmd_exec.py", line 1189, in _Execute status, check_errexit = self._Dispatch(node, fork_external) File "/home/andy/git/oilshell/oil/osh/cmd_exec.py", line 734, in _Dispatch status = self._RunSimpleCommand(argv, fork_external, span_id) File "/home/andy/git/oilshell/oil/osh/cmd_exec.py", line 606, in _RunSimpleCommand self.ext_prog.Exec(argv, environ) # NEVER RETURNS AttributeError: 'NoneType' object has no attribute 'Exec' ---------------------------------------------------------------------- Ran 5 tests in 0.039s FAILED (errors=2) .Sun Mar 3 09:13:17 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 723, in Run ex.ExecuteAndCatch(node) File "/home/andy/git/oilshell/oil/osh/cmd_exec.py", line 1241, in ExecuteAndCatch status = self._Execute(node, fork_external=fork_external) File "/home/andy/git/oilshell/oil/osh/cmd_exec.py", line 1189, in _Execute status, check_errexit = self._Dispatch(node, fork_external) File "/home/andy/git/oilshell/oil/osh/cmd_exec.py", line 734, in _Dispatch status = self._RunSimpleCommand(argv, fork_external, span_id) File "/home/andy/git/oilshell/oil/osh/cmd_exec.py", line 603, in _RunSimpleCommand status = p.Run(self.waiter) File "/home/andy/git/oilshell/oil/core/process.py", line 593, in Run self.Start() File "/home/andy/git/oilshell/oil/core/process.py", line 565, in Start self.thunk.Run() File "/home/andy/git/oilshell/oil/core/process.py", line 428, 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 593, in Run self.Start() File "/home/andy/git/oilshell/oil/core/process.py", line 565, in Start self.thunk.Run() File "/home/andy/git/oilshell/oil/core/process.py", line 428, in Run self.ext_prog.Exec(self.argv, self.environ) File "/home/andy/git/oilshell/oil/core/process.py", line 412, in Exec sys.exit(status) # raises SystemExit SystemExit: 127 ---------------------------------------------------------------------- Ran 5 tests in 0.048s 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 723, in Run ex.ExecuteAndCatch(node) File "/home/andy/git/oilshell/oil/osh/cmd_exec.py", line 1241, in ExecuteAndCatch status = self._Execute(node, fork_external=fork_external) File "/home/andy/git/oilshell/oil/osh/cmd_exec.py", line 1189, in _Execute status, check_errexit = self._Dispatch(node, fork_external) File "/home/andy/git/oilshell/oil/osh/cmd_exec.py", line 734, in _Dispatch status = self._RunSimpleCommand(argv, fork_external, span_id) File "/home/andy/git/oilshell/oil/osh/cmd_exec.py", line 603, in _RunSimpleCommand status = p.Run(self.waiter) File "/home/andy/git/oilshell/oil/core/process.py", line 593, in Run self.Start() File "/home/andy/git/oilshell/oil/core/process.py", line 565, in Start self.thunk.Run() File "/home/andy/git/oilshell/oil/core/process.py", line 428, in Run self.ext_prog.Exec(self.argv, self.environ) AttributeError: 'NoneType' object has no attribute 'Exec' ---------------------------------------------------------------------- Ran 5 tests in 0.055s 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 5382 stopped, but osh didn't start it osh warning: PID 5383 stopped, but osh didn't start it ESun Mar 3 09:13:17 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 723, in Run ex.ExecuteAndCatch(node) File "/home/andy/git/oilshell/oil/osh/cmd_exec.py", line 1241, in ExecuteAndCatch status = self._Execute(node, fork_external=fork_external) File "/home/andy/git/oilshell/oil/osh/cmd_exec.py", line 1189, in _Execute status, check_errexit = self._Dispatch(node, fork_external) File "/home/andy/git/oilshell/oil/osh/cmd_exec.py", line 734, in _Dispatch status = self._RunSimpleCommand(argv, fork_external, span_id) File "/home/andy/git/oilshell/oil/osh/cmd_exec.py", line 603, in _RunSimpleCommand status = p.Run(self.waiter) File "/home/andy/git/oilshell/oil/core/process.py", line 593, in Run self.Start() File "/home/andy/git/oilshell/oil/core/process.py", line 565, in Start self.thunk.Run() File "/home/andy/git/oilshell/oil/core/process.py", line 428, 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 593, in Run self.Start() File "/home/andy/git/oilshell/oil/core/process.py", line 565, in Start self.thunk.Run() File "/home/andy/git/oilshell/oil/core/process.py", line 428, in Run self.ext_prog.Exec(self.argv, self.environ) File "/home/andy/git/oilshell/oil/core/process.py", line 412, in Exec sys.exit(status) # raises SystemExit SystemExit: 127 ---------------------------------------------------------------------- Ran 5 tests in 0.066s 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 723, in Run ex.ExecuteAndCatch(node) File "/home/andy/git/oilshell/oil/osh/cmd_exec.py", line 1241, in ExecuteAndCatch status = self._Execute(node, fork_external=fork_external) File "/home/andy/git/oilshell/oil/osh/cmd_exec.py", line 1189, in _Execute status, check_errexit = self._Dispatch(node, fork_external) File "/home/andy/git/oilshell/oil/osh/cmd_exec.py", line 734, in _Dispatch status = self._RunSimpleCommand(argv, fork_external, span_id) File "/home/andy/git/oilshell/oil/osh/cmd_exec.py", line 603, in _RunSimpleCommand status = p.Run(self.waiter) File "/home/andy/git/oilshell/oil/core/process.py", line 593, in Run self.Start() File "/home/andy/git/oilshell/oil/core/process.py", line 565, in Start self.thunk.Run() File "/home/andy/git/oilshell/oil/core/process.py", line 428, in Run self.ext_prog.Exec(self.argv, self.environ) AttributeError: 'NoneType' object has no attribute 'Exec' ---------------------------------------------------------------------- Ran 5 tests in 0.073s 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 Sun Mar 3 09:13:17 PST 2019 osh error: 'does-not-exist': No such file or directory date returned 0 osh error: 'does-not-exist': No such file or directory Eosh error: 'does-not-exist': No such file or directory Eosh 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 134, in testPipeline2 print(p.Run(_WAITER, _FD_STATE)) File "/home/andy/git/oilshell/oil/core/process.py", line 708, in Run self.Start(waiter) File "/home/andy/git/oilshell/oil/core/process.py", line 677, in Start pid = proc.Start() File "/home/andy/git/oilshell/oil/core/process.py", line 565, in Start self.thunk.Run() File "/home/andy/git/oilshell/oil/core/process.py", line 443, in Run self.ex.ExecuteAndCatch(self.node, fork_external=False) File "/home/andy/git/oilshell/oil/osh/cmd_exec.py", line 1241, in ExecuteAndCatch status = self._Execute(node, fork_external=fork_external) File "/home/andy/git/oilshell/oil/osh/cmd_exec.py", line 1189, in _Execute status, check_errexit = self._Dispatch(node, fork_external) File "/home/andy/git/oilshell/oil/osh/cmd_exec.py", line 734, in _Dispatch status = self._RunSimpleCommand(argv, fork_external, span_id) File "/home/andy/git/oilshell/oil/osh/cmd_exec.py", line 606, 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 593, in Run self.Start() File "/home/andy/git/oilshell/oil/core/process.py", line 565, in Start self.thunk.Run() File "/home/andy/git/oilshell/oil/core/process.py", line 428, in Run self.ext_prog.Exec(self.argv, self.environ) File "/home/andy/git/oilshell/oil/core/process.py", line 412, in Exec sys.exit(status) # raises SystemExit SystemExit: 127 ---------------------------------------------------------------------- Ran 5 tests in 0.087s 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 708, in Run self.Start(waiter) File "/home/andy/git/oilshell/oil/core/process.py", line 677, in Start pid = proc.Start() File "/home/andy/git/oilshell/oil/core/process.py", line 565, in Start self.thunk.Run() File "/home/andy/git/oilshell/oil/core/process.py", line 443, in Run self.ex.ExecuteAndCatch(self.node, fork_external=False) File "/home/andy/git/oilshell/oil/osh/cmd_exec.py", line 1241, in ExecuteAndCatch status = self._Execute(node, fork_external=fork_external) File "/home/andy/git/oilshell/oil/osh/cmd_exec.py", line 1189, in _Execute status, check_errexit = self._Dispatch(node, fork_external) File "/home/andy/git/oilshell/oil/osh/cmd_exec.py", line 734, in _Dispatch status = self._RunSimpleCommand(argv, fork_external, span_id) File "/home/andy/git/oilshell/oil/osh/cmd_exec.py", line 606, 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 593, in Run self.Start() File "/home/andy/git/oilshell/oil/core/process.py", line 565, in Start self.thunk.Run() File "/home/andy/git/oilshell/oil/core/process.py", line 428, in Run self.ext_prog.Exec(self.argv, self.environ) File "/home/andy/git/oilshell/oil/core/process.py", line 412, in Exec sys.exit(status) # raises SystemExit SystemExit: 127 ====================================================================== ---------------------------------------------------------------------- Ran 5 tests in 0.087s 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 708, in Run self.Start(waiter) File "/home/andy/git/oilshell/oil/core/process.py", line 677, in Start pid = proc.Start() File "/home/andy/git/oilshell/oil/core/process.py", line 565, in Start self.thunk.Run() File "/home/andy/git/oilshell/oil/core/process.py", line 443, in Run self.ex.ExecuteAndCatch(self.node, fork_external=False) File "/home/andy/git/oilshell/oil/osh/cmd_exec.py", line 1241, in ExecuteAndCatch status = self._Execute(node, fork_external=fork_external) File "/home/andy/git/oilshell/oil/osh/cmd_exec.py", line 1189, in _Execute status, check_errexit = self._Dispatch(node, fork_external) File "/home/andy/git/oilshell/oil/osh/cmd_exec.py", line 734, in _Dispatch status = self._RunSimpleCommand(argv, fork_external, span_id) File "/home/andy/git/oilshell/oil/osh/cmd_exec.py", line 606, in _RunSimpleCommand self.ext_prog.Exec(argv, environ) # NEVER RETURNS AttributeError: 'NoneType' object has no attribute 'Exec' FAILED ====================================================================== (errors=2) 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 593, in Run self.Start() File "/home/andy/git/oilshell/oil/core/process.py", line 565, in Start self.thunk.Run() File "/home/andy/git/oilshell/oil/core/process.py", line 428, in Run self.ext_prog.Exec(self.argv, self.environ) File "/home/andy/git/oilshell/oil/core/process.py", line 412, in Exec sys.exit(status) # raises SystemExit SystemExit: 127 ---------------------------------------------------------------------- Ran 5 tests in 0.087s====================================================================== 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 723, in Run ex.ExecuteAndCatch(node) File "/home/andy/git/oilshell/oil/osh/cmd_exec.py", line 1241, in ExecuteAndCatch status = self._Execute(node, fork_external=fork_external) File "/home/andy/git/oilshell/oil/osh/cmd_exec.py", line 1189, in _Execute status, check_errexit = self._Dispatch(node, fork_external) File "/home/andy/git/oilshell/oil/osh/cmd_exec.py", line 734, in _Dispatch status = self._RunSimpleCommand(argv, fork_external, span_id) File "/home/andy/git/oilshell/oil/osh/cmd_exec.py", line 603, in _RunSimpleCommand status = p.Run(self.waiter) File "/home/andy/git/oilshell/oil/core/process.py", line 593, in Run self.Start() File "/home/andy/git/oilshell/oil/core/process.py", line 565, in Start self.thunk.Run() File "/home/andy/git/oilshell/oil/core/process.py", line 428, 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 593, in Run self.Start() File "/home/andy/git/oilshell/oil/core/process.py", line 565, in Start self.thunk.Run() File "/home/andy/git/oilshell/oil/core/process.py", line 428, in Run self.ext_prog.Exec(self.argv, self.environ) File "/home/andy/git/oilshell/oil/core/process.py", line 412, in Exec sys.exit(status) # raises SystemExit SystemExit: 127 ---------------------------------------------------------------------- Ran 5 tests in 0.087s 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 708, in Run self.Start(waiter) File "/home/andy/git/oilshell/oil/core/process.py", line 677, in Start pid = proc.Start() File "/home/andy/git/oilshell/oil/core/process.py", line 565, in Start self.thunk.Run() File "/home/andy/git/oilshell/oil/core/process.py", line 443, in Run self.ex.ExecuteAndCatch(self.node, fork_external=False) File "/home/andy/git/oilshell/oil/osh/cmd_exec.py", line 1241, in ExecuteAndCatch status = self._Execute(node, fork_external=fork_external) File "/home/andy/git/oilshell/oil/osh/cmd_exec.py", line 1189, in _Execute status, check_errexit = self._Dispatch(node, fork_external) File "/home/andy/git/oilshell/oil/osh/cmd_exec.py", line 734, in _Dispatch status = self._RunSimpleCommand(argv, fork_external, span_id) File "/home/andy/git/oilshell/oil/osh/cmd_exec.py", line 606, in _RunSimpleCommand self.ext_prog.Exec(argv, environ) # NEVER RETURNS AttributeError: 'NoneType' object has no attribute 'Exec' ---------------------------------------------------------------------- Ran 5 tests in 0.096s 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 723, in Run ex.ExecuteAndCatch(node) File "/home/andy/git/oilshell/oil/osh/cmd_exec.py", line 1241, in ExecuteAndCatch status = self._Execute(node, fork_external=fork_external) File "/home/andy/git/oilshell/oil/osh/cmd_exec.py", line 1189, in _Execute status, check_errexit = self._Dispatch(node, fork_external) File "/home/andy/git/oilshell/oil/osh/cmd_exec.py", line 734, in _Dispatch status = self._RunSimpleCommand(argv, fork_external, span_id) File "/home/andy/git/oilshell/oil/osh/cmd_exec.py", line 603, in _RunSimpleCommand status = p.Run(self.waiter) File "/home/andy/git/oilshell/oil/core/process.py", line 593, in Run self.Start() File "/home/andy/git/oilshell/oil/core/process.py", line 565, in Start self.thunk.Run() File "/home/andy/git/oilshell/oil/core/process.py", line 428, in Run self.ext_prog.Exec(self.argv, self.environ) AttributeError: 'NoneType' object has no attribute 'Exec' ---------------------------------------------------------------------- Ran 5 tests in 0.097s 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 708, in Run self.Start(waiter) File "/home/andy/git/oilshell/oil/core/process.py", line 677, in Start pid = proc.Start() File "/home/andy/git/oilshell/oil/core/process.py", line 565, in Start self.thunk.Run() File "/home/andy/git/oilshell/oil/core/process.py", line 443, in Run self.ex.ExecuteAndCatch(self.node, fork_external=False) File "/home/andy/git/oilshell/oil/osh/cmd_exec.py", line 1241, in ExecuteAndCatch status = self._Execute(node, fork_external=fork_external) File "/home/andy/git/oilshell/oil/osh/cmd_exec.py", line 1189, in _Execute status, check_errexit = self._Dispatch(node, fork_external) File "/home/andy/git/oilshell/oil/osh/cmd_exec.py", line 734, in _Dispatch status = self._RunSimpleCommand(argv, fork_external, span_id) File "/home/andy/git/oilshell/oil/osh/cmd_exec.py", line 606, in _RunSimpleCommand self.ext_prog.Exec(argv, environ) # NEVER RETURNS AttributeError: 'NoneType' object has no attribute 'Exec' ---------------------------------------------------------------------- Ran 5 tests in 0.099s 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 708, in Run self.Start(waiter) File "/home/andy/git/oilshell/oil/core/process.py", line 677, in Start pid = proc.Start() File "/home/andy/git/oilshell/oil/core/process.py", line 565, in Start self.thunk.Run() File "/home/andy/git/oilshell/oil/core/process.py", line 443, in Run self.ex.ExecuteAndCatch(self.node, fork_external=False) File "/home/andy/git/oilshell/oil/osh/cmd_exec.py", line 1241, in ExecuteAndCatch status = self._Execute(node, fork_external=fork_external) File "/home/andy/git/oilshell/oil/osh/cmd_exec.py", line 1189, in _Execute status, check_errexit = self._Dispatch(node, fork_external) File "/home/andy/git/oilshell/oil/osh/cmd_exec.py", line 734, in _Dispatch status = self._RunSimpleCommand(argv, fork_external, span_id) File "/home/andy/git/oilshell/oil/osh/cmd_exec.py", line 606, in _RunSimpleCommand self.ext_prog.Exec(argv, environ) # NEVER RETURNS AttributeError: 'NoneType' object has no attribute 'Exec' ---------------------------------------------------------------------- Ran 5 tests in 0.099s FAILED (errors=1) osh warning: PID 5387 stopped, but osh didn't start it osh warning: PID 5389 stopped, but osh didn't start it .Sun Mar 3 09:13:17 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 593, in Run self.Start() File "/home/andy/git/oilshell/oil/core/process.py", line 565, in Start self.thunk.Run() File "/home/andy/git/oilshell/oil/core/process.py", line 428, in Run self.ext_prog.Exec(self.argv, self.environ) File "/home/andy/git/oilshell/oil/core/process.py", line 412, in Exec sys.exit(status) # raises SystemExit SystemExit: 127 ---------------------------------------------------------------------- Ran 5 tests in 0.111s 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.117s 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'])