Running ‘000.sessionDetails.R’ [0s/1s]
  Running ‘ClusterRegistry.R’ [2s/12s]
  Running ‘Future-class.R’ [1s/5s]
  Running ‘FutureError.R’ [1s/1s]
  Running ‘FutureGlobals.R’ [0s/1s]
  Running ‘FutureRegistry.R’ [1s/2s]
  Running ‘as.cluster.R’ [1s/4s]
  Running ‘availableCores.R’ [0s/1s]
  Running ‘availableWorkers.R’ [0s/1s]
  Running ‘backtrace.R’ [1s/3s]
  Running ‘cluster-missing-future-pkg.R’ [1s/3s]
  Running ‘cluster.R’ [6s/36s]
  Running ‘constant.R’ [0s/1s]
  Running ‘demo.R’ [8s/16s]
  Running ‘dotdotdot.R’ [1s/6s]
  Running ‘early-signaling.R’ [2s/13s]
  Running ‘future,labels.R’ [1s/1s]
  Running ‘future.R’ [1s/1s]
  Running ‘futureAssign.R’ [2s/7s]
  Running ‘futureAssign_OP.R’ [2s/8s]
  Running ‘futureAssign_OP_with_environment.R’ [1s/1s]
  Running ‘futureAssign_OP_with_listenv.R’ [1s/1s]
  Running ‘futureCall.R’ [3s/10s]
  Running ‘futureOf.R’ [0s/1s]
  Running ‘futureOf_with_environment.R’ [1s/1s]
  Running ‘futureOf_with_listenv.R’ [1s/1s]
  Running ‘futures.R’ [15s/48s]
  Running ‘globals,NSE.R’ [1s/2s]
  Running ‘globals,formulas.R’ [3s/9s]
  Running ‘globals,manual.R’ [2s/3s]
  Running ‘globals,resolve.R’ [1s/5s]
  Running ‘globals,subassignment.R’ [3s/7s]
  Running ‘globals,toolarge.R’ [1s/5s]
  Running ‘globals,tricky.R’ [6s/15s]
  Running ‘globals,tricky_recursive.R’ [1s/1s]
  Running ‘globalsOf,tweaks.R’ [1s/1s]
  Running ‘immediateCondition.R’ [1s/2s]
  Running ‘invalid-owner.R’ [1s/3s]
  Running ‘makeClusterPSOCK.R’ [1s/2s]
  Running ‘mandelbrot.R’ [1s/1s]
  Running ‘mpi.R’ [0s/1s]
  Running ‘multicore,multithreading.R’ [1s/1s]
  Running ‘multicore.R’ [1s/2s]
  Running ‘multiprocess.R’ [1s/2s]
  Running ‘multisession.R’ [3s/14s]
  Running ‘nbrOfWorkers.R’ [3s/15s]
  Running ‘nested_futures,mc.cores.R’ [4s/28s]
  Running ‘nested_futures.R’ [1s/1s]
  Running ‘non-exportable,connections.R’ [1s/5s]
  Running ‘objectSize.R’ [1s/1s]
  Running ‘plan.R’ [2s/5s]
  Running ‘relaying.R’ [1s/3s]
  Running ‘remote.R’ [1s/5s]
  Running ‘requestCore.R’ [1s/3s]
  Running ‘requestNode.R’ [1s/11s]
  Running ‘reserved-keyword-functions.R’ [1s/1s]
  Running ‘resolve.R’ [2s/4s]
  Running ‘resolved-non-blocking-test.R’ [2s/35s]
  Running ‘rng.R’ [9s/18s]
  Running ‘sequential.R’ [1s/1s]
  Running ‘sessionDetails.R’ [1s/1s]
  Running ‘startup.R’ [2s/8s]
  Running ‘stdout.R’ [2s/7s]
  Running ‘transparent.R’ [1s/1s]
  Running ‘tweak.R’ [1s/1s]
  Running ‘utils.R’ [1s/2s]
  Running ‘uuid.R’ [1s/2s]
  Running ‘whichIndex.R’ [1s/1s]
Running the tests in ‘tests/invalid-owner.R’ failed.
Complete output:
  > source("incl/start.R")
  [21:41:20.284] plan(): Setting new future strategy stack:
  [21:41:20.286] List of future strategies:
  [21:41:20.286] 1. sequential:
  [21:41:20.286]    - args: function (expr, envir = parent.frame(), substitute = TRUE, lazy = FALSE, seed = NULL, globals = TRUE, local = TRUE, earlySignal = FALSE, label = NULL, ...)
  [21:41:20.286]    - tweaked: FALSE
  [21:41:20.286]    - call: future::plan("sequential")
  [21:41:20.287] plan(): nbrOfWorkers() = 1
  > 
  > ## Local functions
  > usedNodes <- function(future) {
  +   ## Number of unresolved cluster futures
  +   workers <- future$workers
  +   reg <- sprintf("workers-%s", attr(workers, "name"))
  +   c(used = length(future:::FutureRegistry(reg, action = "list")), total = length(workers))
  + }
  > 
  > ## This test requires at least two background processes
  > plan(multisession, workers = 2L)
  [21:41:20.333] plan(): Setting new future strategy stack:
  [21:41:20.334] List of future strategies:
  [21:41:20.334] 1. multisession:
  [21:41:20.334]    - args: function (expr, envir = parent.frame(), substitute = TRUE, lazy = FALSE, seed = NULL, globals = TRUE, persistent = FALSE, workers = 2L, gc = FALSE, earlySignal = FALSE, label = NULL, ...)
  [21:41:20.334]    - tweaked: TRUE
  [21:41:20.334]    - call: plan(multisession, workers = 2L)
  [21:41:20.372] plan(): plan_init() of 'tweaked', 'multisession', 'cluster', 'multiprocess', 'future', 'function' ...
  [21:41:20.372] multisession:
  [21:41:20.372] - args: function (expr, envir = parent.frame(), substitute = TRUE, lazy = FALSE, seed = NULL, globals = TRUE, persistent = FALSE, workers = 2L, gc = FALSE, earlySignal = FALSE, label = NULL, ...)
  [21:41:20.372] - tweaked: TRUE
  [21:41:20.372] - call: plan(multisession, workers = 2L)
  [local output] Workers: [n = 2] 'localhost', 'localhost'
  [local output] Base port: 33012
  [local output] Creating node 1 of 2 ...
  [local output] - setting up node
  Testing if worker's PID can be inferred: ''/home/hornik/tmp/R.check/r-devel-gcc/Work/build/bin/Rscript' -e 'try(suppressWarnings(cat(Sys.getpid(),file="/home/hornik/tmp/scratch/RtmpCOzkwS/future.parent=7865.1eb93199ad9b.pid")), silent = TRUE)' -e "file.exists('/home/hornik/tmp/scratch/RtmpCOzkwS/future.parent=7865.1eb93199ad9b.pid')"'
  - Possible to infer worker's PID: TRUE
  [local output] Starting worker #1 on 'localhost': '/home/hornik/tmp/R.check/r-devel-gcc/Work/build/bin/Rscript' --default-packages=datasets,utils,grDevices,graphics,stats,methods -e '#label=future/tests/invalid-owner.R:gimli2:hornik:7865' -e 'try(suppressWarnings(cat(Sys.getpid(),file="/home/hornik/tmp/scratch/RtmpCOzkwS/future.parent=7865.1eb93199ad9b.pid")), silent = TRUE)' -e 'workRSOCK <- tryCatch(parallel:::.slaveRSOCK, error=function(e) parallel:::.workRSOCK); workRSOCK()' MASTER=localhost PORT=33012 OUT=/dev/null TIMEOUT=120 XDR=TRUE
  [local output] - Exit code of system() call: 0
  [local output] Waiting for worker #1 on 'localhost' to connect back
  [local output] Detected a warning from socketConnection(): 'port 33012 cannot be opened'
  Warning in socketConnection("localhost", port = port, server = TRUE, blocking = TRUE,  :
    port 33012 cannot be opened
  Killing worker process (PID 8900) if still alive
  [21:41:22.679] Attempting to find a working pid_exists_*() function ...
  Call: tools::pskill(7865, signal = 0L)
  [1] TRUE
  Call: tools::pskill(7865, signal = 0L)
  [1] TRUE
  [21:41:22.680] - success
  [21:41:22.681] Attempting to find a working pid_exists_*() function ... done
  Worker (PID 8900) was successfully killed: TRUE
  Error in socketConnection("localhost", port = port, server = TRUE, blocking = TRUE,  : 
    Failed to launch and connect to R worker on local machine 'localhost' from local machine 'gimli2'.
   * The error produced by socketConnection() was: 'cannot open the connection'
   * In addition, socketConnection() produced 1 warning(s):
     - Warning #1: 'port 33012 cannot be opened' (which suggests that this port is either already occupied by another process or blocked by the firewall on your local machine)
   * The localhost socket connection that failed to connect to the R worker used port 33012 using a communication timeout of 120 seconds and a connection timeout of 120 seconds.
   * Worker launch call: '/home/hornik/tmp/R.check/r-devel-gcc/Work/build/bin/Rscript' --default-packages=datasets,utils,grDevices,graphics,stats,methods -e '#label=future/tests/invalid-owner.R:gimli2:hornik:7865' -e 'try(suppressWarnings(cat(Sys.getpid(),file="/home/hornik/tmp/scratch/RtmpCOzkwS/future.parent=7865.1eb93199ad9b.pid")), silent = TRUE)' -e 'workRSOCK <- tryCatch(parallel:::.slaveRSOCK, error=function(e) parallel:::.workRSOCK); workRSOCK()' MASTER=localhost PORT=33012 OUT=/dev/null TIMEOUT=120 XDR=TRUE.
   * Worker (PID 8900) was successfully killed: TRUE
   * Troubleshooting suggestions:
     - Suggestion #1: Set 'outfile=NULL' to see output from worker.
  Calls: plan ... tryCatchList -> tryCatchOne -> <Anonymous> -> <Anonymous>
  Execution halted