. 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 Ecat ^~~ process_test.py:1: 'cat' not found head ^~~~ process_test.py:1: 'head' not found E sort --reverse ^~~~ process_test.py:1: 'sort' not found date returned 0 Edate returned 0 uniq -c ^~~~ process_test.py:1: Can't execute 'does-not-exist': No such file or directory E uniq -c ^~~~ process_test.py:1: Can't execute 'does-not-exist': No such file or directory date returned 0 . ====================================================================== ERROR: testPipeline2 (__main__.ProcessTest) ---------------------------------------------------------------------- Traceback (most recent call last): File "core/process_test.py", line 156, in testPipeline2 print(p.Run(_WAITER, _FD_STATE)) File "/home/andy/git/oilshell/oil/core/process.py", line 981, in Run self.Start(waiter) File "/home/andy/git/oilshell/oil/core/process.py", line 930, in Start pid = proc.Start() File "/home/andy/git/oilshell/oil/core/process.py", line 802, in Start self.thunk.Run() File "/home/andy/git/oilshell/oil/core/process.py", line 651, in Run sys.exit(status) SystemExit: 127 ======================================================================E ERROR: testProcess (__main__.ProcessTest) ---------------------------------------------------------------------- Traceback (most recent call last): File "core/process_test.py", line 107, in testProcess print(p.Run(_WAITER)) File "/home/andy/git/oilshell/oil/core/process.py", line 848, in Run self.Start() File "/home/andy/git/oilshell/oil/core/process.py", line 802, in Start self.thunk.Run() File "/home/andy/git/oilshell/oil/core/process.py", line 607, in Run self.ext_prog.Exec(self.argv0_path, self.cmd_val, self.environ) File "/home/andy/git/oilshell/oil/core/process.py", line 499, 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 560, in _Exec sys.exit(status) # raises SystemExit SystemExit: 127 ---------------------------------------------------------------------- Ran 5 tests in 0.012s FAILED (errors=2) uniq -c ^~~~ process_test.py:1: Can't execute 'does-not-exist': No such file or directory . ====================================================================== ERROR: testPipeline2 (__main__.ProcessTest) ---------------------------------------------------------------------- Traceback (most recent call last): File "core/process_test.py", line 156, in testPipeline2 print(p.Run(_WAITER, _FD_STATE)) File "/home/andy/git/oilshell/oil/core/process.py", line 981, in Run self.Start(waiter) File "/home/andy/git/oilshell/oil/core/process.py", line 930, in Start pid = proc.Start() File "/home/andy/git/oilshell/oil/core/process.py", line 802, in Start self.thunk.Run() File "/home/andy/git/oilshell/oil/core/process.py", line 651, in Run sys.exit(status) SystemExit: 127 ====================================================================== ERROR: testProcess (__main__.ProcessTest) ---------------------------------------------------------------------- Traceback (most recent call last): File "core/process_test.py", line 107, in testProcess print(p.Run(_WAITER)) File "/home/andy/git/oilshell/oil/core/process.py", line 848, in Run self.Start() File "/home/andy/git/oilshell/oil/core/process.py", line 802, in Start self.thunk.Run() File "/home/andy/git/oilshell/oil/core/process.py", line 607, in Run self.ext_prog.Exec(self.argv0_path, self.cmd_val, self.environ) File "/home/andy/git/oilshell/oil/core/process.py", line 499, 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 560, in _Exec sys.exit(status) # raises SystemExit SystemExit: 127 ---------------------------------------------------------------------- Ran 5 tests in 0.013s FAILED (errors=2) E. ====================================================================== ERROR: testPipeline2 (__main__.ProcessTest) ---------------------------------------------------------------------- Traceback (most recent call last): File "core/process_test.py", line 156, in testPipeline2 print(p.Run(_WAITER, _FD_STATE)) File "/home/andy/git/oilshell/oil/core/process.py", line 981, in Run self.Start(waiter) File "/home/andy/git/oilshell/oil/core/process.py", line 930, in Start pid = proc.Start() File "/home/andy/git/oilshell/oil/core/process.py", line 802, in Start self.thunk.Run() File "/home/andy/git/oilshell/oil/core/process.py", line 651, in Run sys.exit(status) SystemExit: 127 ====================================================================== ERROR: testProcess (__main__.ProcessTest) ---------------------------------------------------------------------- Traceback (most recent call last): File "core/process_test.py", line 107, in testProcess print(p.Run(_WAITER)) File "/home/andy/git/oilshell/oil/core/process.py", line 848, in Run self.Start() File "/home/andy/git/oilshell/oil/core/process.py", line 802, in Start self.thunk.Run() File "/home/andy/git/oilshell/oil/core/process.py", line 607, in Run self.ext_prog.Exec(self.argv0_path, self.cmd_val, self.environ) File "/home/andy/git/oilshell/oil/core/process.py", line 499, 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 560, in _Exec sys.exit(status) # raises SystemExit SystemExit: 127 ---------------------------------------------------------------------- Ran 5 tests in 0.015s FAILED (errors=2) ..F. ====================================================================== ERROR: testPipeline2 (__main__.ProcessTest) ---------------------------------------------------------------------- Traceback (most recent call last): File "core/process_test.py", line 156, in testPipeline2 print(p.Run(_WAITER, _FD_STATE)) File "/home/andy/git/oilshell/oil/core/process.py", line 981, in Run self.Start(waiter) File "/home/andy/git/oilshell/oil/core/process.py", line 930, in Start pid = proc.Start() File "/home/andy/git/oilshell/oil/core/process.py", line 802, in Start self.thunk.Run() File "/home/andy/git/oilshell/oil/core/process.py", line 651, in Run sys.exit(status) SystemExit: 127 ====================================================================== FAIL: testStdinRedirect (__main__.ProcessTest) ---------------------------------------------------------------------- ======================================================================Traceback (most recent call last): File "core/process_test.py", line 90, in testStdinRedirect self.assertEqual('one\n', line1) AssertionError: 'one\n' != '' ---------------------------------------------------------------------- ERROR: testPipeline2 (__main__.ProcessTest) ----------------------------------------------------------------------Ran 5 tests in 0.023s Traceback (most recent call last): File "core/process_test.py", line 156, in testPipeline2 print(p.Run(_WAITER, _FD_STATE)) File "/home/andy/git/oilshell/oil/core/process.py", line 981, in Run self.Start(waiter) File "/home/andy/git/oilshell/oil/core/process.py", line 930, in Start pid = proc.Start() File "/home/andy/git/oilshell/oil/core/process.py", line 802, in Start self.thunk.Run() File "/home/andy/git/oilshell/oil/core/process.py", line 651, in Run sys.exit(status) SystemExit: 127 FAILED---------------------------------------------------------------------- (failures=1, errors=1) Ran 5 tests in 0.023s FAILED (errors=1) .. ====================================================================== ERROR: testPipeline2 (__main__.ProcessTest) ---------------------------------------------------------------------- Traceback (most recent call last): File "core/process_test.py", line 156, in testPipeline2 print(p.Run(_WAITER, _FD_STATE)) File "/home/andy/git/oilshell/oil/core/process.py", line 981, in Run self.Start(waiter) File "/home/andy/git/oilshell/oil/core/process.py", line 930, in Start pid = proc.Start() File "/home/andy/git/oilshell/oil/core/process.py", line 802, in Start self.thunk.Run() File "/home/andy/git/oilshell/oil/core/process.py", line 651, in Run sys.exit(status) SystemExit: 127 ---------------------------------------------------------------------- Ran 5 tests in 0.027s FAILED (errors=1) .Mon Mar 2 12:22:35 PST 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 107, in testProcess print(p.Run(_WAITER)) File "/home/andy/git/oilshell/oil/core/process.py", line 848, in Run self.Start() File "/home/andy/git/oilshell/oil/core/process.py", line 802, in Start self.thunk.Run() File "/home/andy/git/oilshell/oil/core/process.py", line 607, in Run self.ext_prog.Exec(self.argv0_path, self.cmd_val, self.environ) File "/home/andy/git/oilshell/oil/core/process.py", line 499, 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 560, in _Exec sys.exit(status) # raises SystemExit SystemExit: 127 ---------------------------------------------------------------------- Ran 5 tests in 0.042s FAILED (errors=1) ('BEFORE', ['0', '1', '2', '3', '4', '10', '11', '12', '13', '14', '15']) ('AFTER', ['0', '1', '2', '3', '4', '10', '11', '12', '13', '14', '15']) ------------------------------------------------------------ ls | cut -d . -f 1 | head [-1, -1, 127] [-1, -1, -1, 127] ('FDS BEFORE', ['0', '1', '2', '3', '4', '10', '11', '12', '13', '14', '15']) ------------------------------------------------------------ date ------------------------------------------------------------ does-not-exist .. ---------------------------------------------------------------------- Ran 5 tests in 0.052s OK ('BEFORE', ['0', '1', '2', '3', '4', '10', '11', '12', '13', '14', '15']) ('AFTER', ['0', '1', '2', '3', '4', '10', '11', '12', '13', '14', '15']) ------------------------------------------------------------ ls | cut -d . -f 1 | head [-1, -1, 127] [-1, -1, -1, 127] ('FDS BEFORE', ['0', '1', '2', '3', '4', '10', '11', '12', '13', '14', '15']) ------------------------------------------------------------ date ------------------------------------------------------------ does-not-exist 1 ('FDS AFTER', ['0', '1', '2', '3', '4', '10', '11', '12', '13', '14', '15'])