Running 'test-all.equal.connection.R' [1s]
  Running 'test-as.cluster.R' [2s]
  Running 'test-autoStopCluster.R' [2s]
  Running 'test-availableConnections.R' [1s]
  Running 'test-availableCores.R' [1s]
  Running 'test-availableWorkers.R' [1s]
  Running 'test-cgroups.R' [4s]
  Running 'test-cli.R' [1s]
  Running 'test-cloneNode.R' [20s]
  Running 'test-cpuLoad.R' [1s]
  Running 'test-freeCores.R' [1s]
  Running 'test-freePort.R' [1s]
  Running 'test-isConnectionValid.R' [1s]
  Running 'test-isForkedChild.R' [2s]
  Running 'test-isForkedNode.R' [1s]
  Running 'test-isLocalhostNode.R' [2s]
  Running 'test-isNodeAlive.R' [7s]
  Running 'test-killNode.R' [19s]
  Running 'test-makeClusterMPI.R' [1s]
  Running 'test-makeClusterPSOCK.R' [22s]
  Running 'test-makeClusterSequential.R' [1s]
  Running 'test-makeNodePSOCK.R' [4s]
  Running 'test-options-and-envvars.R' [1s]
  Running 'test-r_bug18119.R' [1s]
  Running 'test-registerClusterTypes.R' [2s]
  Running 'test-serializedSize.R' [1s]
  Running 'test-startup.R' [1s]
  Running 'test-stealth_sample.R' [1s]
  Running 'test-supportsMulticore.R' [1s]
  Running 'test-utils,cluster.R' [1s]
  Running 'test-utils,conditions.R' [1s]
  Running 'test-utils,pid.R' [5s]
  Running 'test-utils.R' [4s]
Running the tests in 'tests/test-isConnectionValid.R' failed.
Complete output:
  > #! /usr/bin/env Rscript
  > ## This runs testme test script inst/testme/test-isConnectionValid.R
  > ## Don't edit - it was autogenerated by inst/testme/deploy.R
  > parallelly:::testme("isConnectionValid")
  Test 'isConnectionValid' ...
  
  > library(parallelly)
  
  > message("isConnectionValid() ...")
  isConnectionValid() ...
  
  > stopifnot(connectionId(stdin()) == 0)
  
  > stopifnot(connectionId(stdout()) == 1)
  
  > stopifnot(connectionId(stderr()) == 2)
  
  > con_no_id <- file(tempfile(), open = "w+")
  
  > class(con_no_id) <- c("test_connection", class(con_no_id))
  
  > attr(con_no_id, "conn_id") <- NULL
  
  > res <- connectionId(con_no_id)
  Warning in for (ii in 1L:length(res)) { :
    closing unused connection 3 (D:\temp\2026_03_03_01_50_00_30890\RtmpgVfskb\file46ac28d03d07)
  
  > stopifnot(is.na(res))
  
  > close(con_no_id)
  Error in close.connection(con_no_id) : invalid connection
  Calls: <Anonymous> ... withVisible -> eval -> eval -> close -> close.connection
  Execution halted