. uniq -c ^~~~ process_test.py:1: 'uniq' not found pipe_status: [-1, -1, -1, 127] . head ^~~~ process_test.py:1: 'head' not found ls ^~ process_test.py:1: 'ls' not found cat ^~~ process_test.py:1: 'cat' not found sort --reverse ^head~~~ ^~~~ process_test.py:1: 'sort' not found process_test.py:1: 'head' not found EEEdate returned 0 date returned 0 date returned 0 uniq -c ^~~~ uniq -c ^process_test.py:1: Can't execute 'does-not-exist': No such file or directory ~~~ process_test.py:1: Can't execute 'does-not-exist': No such file or directory uniq -c ^~~~ Eprocess_test.py:1: Can't execute 'does-not-exist': No such file or directory EEF. ====================================================================== ERROR: testPipeline2 (__main__.ProcessTest) ---------------------------------------------------------------------- Traceback (most recent call last): File "core/process_test.py", line 161, in testPipeline2 print(p.Run(_WAITER, _FD_STATE)) File "/home/andy/git/oilshell/oil/core/process.py", line 1045, in Run self.Start(waiter) File "/home/andy/git/oilshell/oil/core/process.py", line 994, in Start pid = proc.Start() File "/home/andy/git/oilshell/oil/core/process.py", line 866, in Start self.thunk.Run() File "/home/andy/git/oilshell/oil/core/process.py", line 711, in Run exit(status) SystemExit: 127 ====================================================================== ERROR: testProcess (__main__.ProcessTest) ----------------------------------------------------------------------. Traceback (most recent call last): File "core/process_test.py", line 112, in testProcess print(p.Run(_WAITER)) File "/home/andy/git/oilshell/oil/core/process.py", line 912, in Run self.Start() File "/home/andy/git/oilshell/oil/core/process.py", line 866, in Start self.thunk.Run() File "/home/andy/git/oilshell/oil/core/process.py", line 666, in Run self.ext_prog.Exec(self.argv0_path, self.cmd_val, self.environ) File "/home/andy/git/oilshell/oil/core/process.py", line 552, in Exec self._Exec(argv0_path, cmd_val.argv, cmd_val.arg_spids[0], environ, True) File "/home/andy/git/oilshell/oil/core/process.py", line 613, in _Exec exit(status) # raises SystemExit SystemExit: 127 ====================================================================== ====================================================================== FAIL: testStdinRedirect (__main__.ProcessTest) ---------------------------------------------------------------------- ERROR: testPipeline2 (__main__.ProcessTest)Traceback (most recent call last): File "core/process_test.py", line 95, in testStdinRedirect self.assertEqual('one', line1) AssertionError: 'one' != '' -------------------------------------------------------------------------------------------------------------------------------------------- Traceback (most recent call last): File "core/process_test.py", line 161, in testPipeline2 print(p.Run(_WAITER, _FD_STATE)) File "/home/andy/git/oilshell/oil/core/process.py", line 1045, in Run self.Start(waiter) File "/home/andy/git/oilshell/oil/core/process.py", line 994, in Start pid = proc.Start() File "/home/andy/git/oilshell/oil/core/process.py", line 866, in Start self.thunk.Run() File "/home/andy/git/oilshell/oil/core/process.py", line 711, in Run exit(status) SystemExit: 127 ====================================================================== ERROR: testProcess (__main__.ProcessTest) Ran 5 tests in 0.011s---------------------------------------------------------------------- Traceback (most recent call last): File "core/process_test.py", line 112, in testProcess print(p.Run(_WAITER)) File "/home/andy/git/oilshell/oil/core/process.py", line 912, in Run self.Start() File "/home/andy/git/oilshell/oil/core/process.py", line 866, in Start self.thunk.Run() File "/home/andy/git/oilshell/oil/core/process.py", line 666, in Run self.ext_prog.Exec(self.argv0_path, self.cmd_val, self.environ) File "/home/andy/git/oilshell/oil/core/process.py", line 552, in Exec self._Exec(argv0_path, cmd_val.argv, cmd_val.arg_spids[0], environ, True) File "/home/andy/git/oilshell/oil/core/process.py", line 613, in _Exec exit(status) # raises SystemExit SystemExit: 127 FAILED ---------------------------------------------------------------------- (failures=1, errors=2) ====================================================================== Ran 5 tests in 0.011s FAILEDERROR: testPipeline2 (__main__.ProcessTest) (errors=2)---------------------------------------------------------------------- Traceback (most recent call last): File "core/process_test.py", line 161, in testPipeline2 print(p.Run(_WAITER, _FD_STATE)) File "/home/andy/git/oilshell/oil/core/process.py", line 1045, in Run self.Start(waiter) File "/home/andy/git/oilshell/oil/core/process.py", line 994, in Start pid = proc.Start() File "/home/andy/git/oilshell/oil/core/process.py", line 866, in Start self.thunk.Run() File "/home/andy/git/oilshell/oil/core/process.py", line 711, in Run exit(status) SystemExit: 127 ====================================================================== ERROR: testProcess (__main__.ProcessTest) ---------------------------------------------------------------------- Traceback (most recent call last): File "core/process_test.py", line 112, in testProcess print(p.Run(_WAITER)) File "/home/andy/git/oilshell/oil/core/process.py", line 912, in Run self.Start() File "/home/andy/git/oilshell/oil/core/process.py", line 866, in Start self.thunk.Run() File "/home/andy/git/oilshell/oil/core/process.py", line 666, in Run self.ext_prog.Exec(self.argv0_path, self.cmd_val, self.environ) File "/home/andy/git/oilshell/oil/core/process.py", line 552, in Exec self._Exec(argv0_path, cmd_val.argv, cmd_val.arg_spids[0], environ, True) File "/home/andy/git/oilshell/oil/core/process.py", line 613, in _Exec exit(status) # raises SystemExit SystemExit: 127 ---------------------------------------------------------------------- Ran 5 tests in 0.011s FAILED (errors=2) .... ====================================================================== ERROR: testPipeline2 (__main__.ProcessTest) ======================================================================---------------------------------------------------------------------- Traceback (most recent call last): File "core/process_test.py", line 161, in testPipeline2 print(p.Run(_WAITER, _FD_STATE)) File "/home/andy/git/oilshell/oil/core/process.py", line 1045, in Run self.Start(waiter) File "/home/andy/git/oilshell/oil/core/process.py", line 994, in Start pid = proc.Start() File "/home/andy/git/oilshell/oil/core/process.py", line 866, in Start self.thunk.Run() File "/home/andy/git/oilshell/oil/core/process.py", line 711, in Run exit(status) SystemExit: 127 ---------------------------------------------------------------------- ERROR: testPipeline2 (__main__.ProcessTest) Ran 5 tests in 0.021s---------------------------------------------------------------------- Traceback (most recent call last): File "core/process_test.py", line 161, in testPipeline2 print(p.Run(_WAITER, _FD_STATE)) File "/home/andy/git/oilshell/oil/core/process.py", line 1045, in Run self.Start(waiter) File "/home/andy/git/oilshell/oil/core/process.py", line 994, in Start pid = proc.Start() File "/home/andy/git/oilshell/oil/core/process.py", line 866, in Start self.thunk.Run() File "/home/andy/git/oilshell/oil/core/process.py", line 711, in Run exit(status) SystemExit: 127 FAILED---------------------------------------------------------------------- (errors=1) Ran 5 tests in 0.021s FAILED (errors=1) .. ====================================================================== ERROR: testPipeline2 (__main__.ProcessTest) ---------------------------------------------------------------------- Traceback (most recent call last): File "core/process_test.py", line 161, in testPipeline2 print(p.Run(_WAITER, _FD_STATE)) File "/home/andy/git/oilshell/oil/core/process.py", line 1045, in Run self.Start(waiter) File "/home/andy/git/oilshell/oil/core/process.py", line 994, in Start pid = proc.Start() File "/home/andy/git/oilshell/oil/core/process.py", line 866, in Start self.thunk.Run() File "/home/andy/git/oilshell/oil/core/process.py", line 711, in Run exit(status) SystemExit: 127 ---------------------------------------------------------------------- Ran 5 tests in 0.026s FAILED (errors=1) .Thu Oct 8 12:42:29 PDT 2020 date returned 0 uniq -c ^~~~ process_test.py:1: Can't execute 'does-not-exist': No such file or directory E. ====================================================================== ERROR: testProcess (__main__.ProcessTest) ---------------------------------------------------------------------- Traceback (most recent call last): File "core/process_test.py", line 112, in testProcess print(p.Run(_WAITER)) File "/home/andy/git/oilshell/oil/core/process.py", line 912, in Run self.Start() File "/home/andy/git/oilshell/oil/core/process.py", line 866, in Start self.thunk.Run() File "/home/andy/git/oilshell/oil/core/process.py", line 666, in Run self.ext_prog.Exec(self.argv0_path, self.cmd_val, self.environ) File "/home/andy/git/oilshell/oil/core/process.py", line 552, in Exec self._Exec(argv0_path, cmd_val.argv, cmd_val.arg_spids[0], environ, True) File "/home/andy/git/oilshell/oil/core/process.py", line 613, in _Exec exit(status) # raises SystemExit SystemExit: 127 ---------------------------------------------------------------------- Ran 5 tests in 0.038s FAILED (errors=1) ('BEFORE', ['0', '1', '2', '3']) ('AFTER', ['0', '1', '2', '3']) ------------------------------------------------------------ ls | cut -d . -f 1 | head [-1, -1, 127] [-1, -1, -1, 127] ('FDS BEFORE', ['0', '1', '2', '3']) ------------------------------------------------------------ date ------------------------------------------------------------ does-not-exist .. ---------------------------------------------------------------------- Ran 5 tests in 0.046s OK ('BEFORE', ['0', '1', '2', '3']) ('AFTER', ['0', '1', '2', '3']) ------------------------------------------------------------ ls | cut -d . -f 1 | head [-1, -1, 127] [-1, -1, -1, 127] ('FDS BEFORE', ['0', '1', '2', '3']) ------------------------------------------------------------ date ------------------------------------------------------------ does-not-exist 1 ('FDS AFTER', ['0', '1', '2', '3'])