Running 'testthat.R' [32s]
Running the tests in 'tests/testthat.R' failed.
Complete output:
  > library(testthat)
  > library(ps)
  > 
  > if (ps::ps_is_supported() && Sys.getenv("R_COVR", "") != "true" &&
  +     Sys.getenv("NOT_CRAN") != "" ) {
  +   reporter <- ps::CleanupReporter(testthat::SummaryReporter)$new()
  + } else {
  +   ## ps does not support this platform
  +   reporter <- "progress"
  + }
  > 
  > if (ps_is_supported()) test_check("ps", reporter = reporter)
  v |  OK F W S | Context
  
  / |   0       | cleanup-reporter                                                
  / |   0       | cleanup testthat reporter                                       
  - |   1       | cleanup testthat reporter                                       
  | |   3       | cleanup testthat reporter                                       
  - |   5       | cleanup testthat reporter                                       
  - |   9       | cleanup testthat reporter                                       
  / |  12       | cleanup testthat reporter                                       
  | |  15       | cleanup testthat reporter                                       
  - |  17       | cleanup testthat reporter                                       
  \ |  18       | cleanup testthat reporter                                       
  \ |  22       | cleanup testthat reporter                                       
  \ |  26       | cleanup testthat reporter                                       
  - |  29       | cleanup testthat reporter                                       
  - |  33       | cleanup testthat reporter                                       
  - |  37       | cleanup testthat reporter                                       
  - |  41       | cleanup testthat reporter                                       
  - |  45       | cleanup testthat reporter                                       
  / |  48       | cleanup testthat reporter                                       
  / |  52       | cleanup testthat reporter                                       
  / |  56       | cleanup testthat reporter                                       
  | |  59       | cleanup testthat reporter                                       
  | |  63       | cleanup testthat reporter                                       
  v |  66       | cleanup testthat reporter [14.7 s]
  
  / |   0       | common                                                          
  / |   0       | common                                                          
  | |  11       | common                                                          
  - |  21       | common                                                          
  - |  33       | common                                                          
  / |  43 1     | common                                                          
  \ |  53 1     | common                                                          
  x |  55 1   3 | common [1.5 s]
  --------------------------------------------------------------------------------
  ERROR (test-common.R:173:3): environ, environ_raw
  Error: System error: 299
  Backtrace:
   1. testthat::expect_equal(ps_environ(ps)[["FOO"]], rnd) test-common.R:173:2
   4. ps::ps_environ(ps)
   5. ps:::parse_envs(.Call(psll_environ, p))
  
  Skip (test-common.R:264:3): num_fds
  Reason: On CRAN
  
  Skip (test-common.R:280:3): open_files
  Reason: On CRAN
  
  Skip (test-common.R:297:3): interrupt
  Reason: On CRAN
  --------------------------------------------------------------------------------
  
  / |   0       | connections                                                     
  / |   0       | connections                                                     
  - |   4     1 | connections                                                     
  | |   5     2 | connections                                                     
  - |  10     3 | connections                                                     
  \ |  10     8 | connections                                                     
  v |  10     9 | connections [10.6 s]
  --------------------------------------------------------------------------------
  Skip (test-connections.R:22:3): UNIX sockets
  Reason: No UNIX sockets
  
  Skip (test-connections.R:44:3): UNIX sockets with path
  Reason: No UNIX sockets
  
  Skip (test-connections.R:83:3): TCP on loopback
  Reason: socat is not available
  
  Skip (test-connections.R:117:3): UDP
  Reason: socat is not available
  
  Skip (test-connections.R:141:3): UDP on loopback
  Reason: socat is not available
  
  Skip (test-connections.R:174:3): TCP6
  Reason: socat is not available
  
  Skip (test-connections.R:195:3): TCP6 on loopback
  Reason: socat is not available
  
  Skip (test-connections.R:234:3): UDP6
  Reason: Needs working IPv6 connection
  
  Skip (test-connections.R:259:3): UDP6 on loopback
  Reason: socat is not available
  --------------------------------------------------------------------------------
  
  / |   0       | finished                                                        
  / |   0       | process finished                                                
  v |   0     1 | process finished
  --------------------------------------------------------------------------------
  Skip (test-finished.R:5:3): process already finished
  Reason: On CRAN
  --------------------------------------------------------------------------------
  
  / |   0       | kill-tree                                                       
  / |   0       | kill-tree                                                       
  v |   4     7 | kill-tree
  --------------------------------------------------------------------------------
  Skip (test-kill-tree.R:14:3): kill_tree
  Reason: On CRAN
  
  Skip (test-kill-tree.R:61:3): kill_tree, grandchild
  Reason: On CRAN
  
  Skip (test-kill-tree.R:129:3): kill_tree, orphaned grandchild
  Reason: On CRAN
  
  Skip (test-kill-tree.R:157:3): with_process_cleanup
  Reason: On CRAN
  
  Skip (test-kill-tree.R:184:3): find_tree
  Reason: On CRAN
  
  Skip (test-kill-tree.R:209:3): find_tree, grandchild
  Reason: On CRAN
  
  Skip (test-kill-tree.R:257:3): find_tree, orphaned grandchild
  Reason: On CRAN
  --------------------------------------------------------------------------------
  
  / |   0       | linux                                                           
  / |   0       | macos                                                           
  / |   0       | pid-reuse                                                       
  / |   0       | pid reuse                                                       
  | |  51       | pid reuse                                                       
  v |  62       | pid reuse [0.2 s]
  
  / |   0       | posix-zombie                                                    
  / |   0       | posix                                                           
  / |   0       | system                                                          
  / |   0       | system                                                          
  | |   3       | system                                                          
  - |   5       | system                                                          
  \ |   6       | system                                                          psutil-debug> GetActiveProcessorCount() not available; using GetNativeSystemInfo()
  
  v |  18       | system [3.5 s]
  
  / |   0       | utils                                                           
  / |   0       | utils                                                           
  v |  16       | utils
  
  / |   0       | windows                                                         
  / |   0       | windows                                                         
  v |   7       | windows
  
  / |   0       | winver                                                          
  / |   0       | winver                                                          
  v |   6       | winver
  
  == Results =====================================================================
  Duration: 30.8 s
  
  -- Skipped tests  --------------------------------------------------------------
  * Needs working IPv6 connection (1)
  * No UNIX sockets (2)
  * On CRAN (11)
  * socat is not available (6)
  
  [ FAIL 1 | WARN 0 | SKIP 20 | PASS 244 ]
  Error: Test failures
  Execution halted