Running ‘000.sessionDetails.R’ [7s/7s]
  Running ‘ClusterRegistry.R’ [3s/49s]
  Running ‘Future-class.R’ [1s/17s]
  Running ‘FutureError.R’ [1s/1s]
  Running ‘FutureGlobals.R’ [1s/1s]
  Running ‘FutureRegistry.R’ [1s/1s]
  Running ‘as.cluster.R’ [1s/19s]
  Running ‘availableCores.R’ [1s/1s]
  Running ‘availableWorkers.R’ [1s/1s]
  Running ‘backtrace.R’ [1s/2s]
  Running ‘cluster-missing-future-pkg.R’ [1s/3s]
  Running ‘cluster.R’ [6s/113s]
  Running ‘constant.R’ [1s/1s]
  Running ‘demo.R’ [10s/26s]
  Running ‘dotdotdot.R’ [2s/18s]
  Running ‘early-signaling.R’ [2s/19s]
  Running ‘future,labels.R’ [1s/1s]
  Running ‘future.R’ [1s/1s]
  Running ‘futureAssign.R’ [2s/18s]
  Running ‘futureAssign_OP.R’ [3s/20s]
  Running ‘futureAssign_OP_with_environment.R’ [1s/1s]
  Running ‘futureAssign_OP_with_listenv.R’ [1s/1s]
  Running ‘futureCall.R’ [4s/27s]
  Running ‘futureOf.R’ [1s/1s]
  Running ‘futureOf_with_environment.R’ [1s/1s]
  Running ‘futureOf_with_listenv.R’ [1s/1s]
  Running ‘futures.R’ [18s/138s]
  Running ‘globals,NSE.R’ [1s/1s]
  Running ‘globals,formulas.R’ [3s/20s]
  Running ‘globals,manual.R’ [2s/2s]
  Running ‘globals,resolve.R’ [1s/17s]
  Running ‘globals,subassignment.R’ [3s/20s]
  Running ‘globals,toolarge.R’ [1s/17s]
  Running ‘globals,tricky.R’ [6s/26s]
  Running ‘globals,tricky_recursive.R’ [1s/1s]
  Running ‘globalsOf,tweaks.R’ [1s/1s]
  Running ‘immediateCondition.R’ [1s/1s]
  Running ‘invalid-owner.R’ [2s/18s]
  Running ‘makeClusterPSOCK.R’ [1s/8s]
  Running ‘mandelbrot.R’ [1s/1s]
  Running ‘mpi.R’ [1s/1s]
  Running ‘multicore.R’ [1s/1s]
  Running ‘multiprocess.R’ [2s/2s]
  Running ‘multisession.R’ [4s/53s]
  Running ‘nbrOfWorkers.R’ [4s/67s]
  Running ‘nested_futures,mc.cores.R’ [5s/114s]
  Running ‘nested_futures.R’ [1s/2s]
  Running ‘non-exportable,connections.R’ [1s/18s]
  Running ‘objectSize.R’ [1s/1s]
  Running ‘plan.R’ [6s/15s]
  Running ‘relaying.R’ [1s/2s]
  Running ‘remote.R’ [1s/17s]
  Running ‘requestCore.R’ [1s/3s]
  Running ‘requestNode.R’ [2s/31s]
  Running ‘resolve.R’ [2s/4s]
  Running ‘resolved-non-blocking-test.R’ [3s/67s]
  Running ‘rng.R’ [6s/24s]
  Running ‘sequential.R’ [1s/1s]
  Running ‘sessionDetails.R’ [1s/1s]
  Running ‘startup.R’ [2s/34s]
  Running ‘stdout.R’ [2s/18s]
  Running ‘transparent.R’ [1s/1s]
  Running ‘tweak.R’ [1s/1s]
  Running ‘utils.R’ [7s/8s]
  Running ‘uuid.R’ [1s/1s]
  Running ‘whichIndex.R’ [1s/1s]
Running the tests in ‘tests/early-signaling.R’ failed.
Complete output:
  > source("incl/start.R")
  [14:11:33.615] plan(): Setting new future strategy stack:
  [14:11:33.617] List of future strategies:
  [14:11:33.617] 1. sequential:
  [14:11:33.617]    - args: function (expr, envir = parent.frame(), substitute = TRUE, lazy = FALSE, seed = NULL, globals = TRUE, local = TRUE, earlySignal = FALSE, label = NULL, ...)
  [14:11:33.617]    - tweaked: FALSE
  [14:11:33.617]    - call: future::plan("sequential")
  [14:11:33.619] plan(): nbrOfWorkers() = 1
  > 
  > options(future.debug = FALSE)
  > 
  > message("*** Early signaling of conditions ...")
  *** Early signaling of conditions ...
  > 
  > message("*** Early signaling of conditions with sequential futures ...")
  *** Early signaling of conditions with sequential futures ...
  > 
  > plan(sequential)
  > f <- future({ stop("bang!") })
  > r <- resolved(f)
  > stopifnot(r)
  > v <- tryCatch(value(f), error = identity)
  > stopifnot(inherits(v, "error"))
  > 
  > message("- with lazy evaluation ...")
  - with lazy evaluation ...
  > f <- future({ stop("bang!") }, lazy = TRUE)
  > r <- resolved(f)
  > stopifnot(r)
  > v <- tryCatch(value(f), error = identity)
  > stopifnot(inherits(v, "error"))
  > 
  > plan(sequential, earlySignal = TRUE)
  > f <- tryCatch(future({ stop("bang!") }), error = identity)
  > stopifnot(inherits(f, "error"))
  > 
  > message("- with lazy evaluation ...")
  - with lazy evaluation ...
  > 
  > ## Errors
  > f <- future({ stop("bang!") }, lazy = TRUE)
  > r <- tryCatch(resolved(f), error = identity)
  > stopifnot(inherits(r, "error"))
  > v <- tryCatch(value(f), error = identity)
  > stopifnot(inherits(v, "error"))
  > 
  > ## Warnings
  > f <- future({ warning("careful!") }, lazy = TRUE)
  > res <- tryCatch({
  +   r <- resolved(f)
  + }, condition = function(w) w)
  > str(res)
  List of 2
   $ message: chr "careful!"
   $ call   : language eval(quote({     warning("careful!") ...
   - attr(*, "class")= chr [1:3] "simpleWarning" "warning" "condition"
  > stopifnot(inherits(res, "warning"))
  > 
  > ## Messages
  > f <- future({ message("hey!") }, lazy = TRUE)
  > res <- tryCatch({
  +   r <- resolved(f)
  + }, condition = function(w) w)
  > stopifnot(inherits(res, "message"))
  > 
  > ## Condition
  > f <- future({ signalCondition(simpleCondition("hmm")) }, lazy = TRUE)
  > res <- tryCatch({
  +   r <- resolved(f)
  + }, condition = function(w) w)
  > stopifnot(inherits(res, "condition"))
  > 
  > message("*** Early signaling of conditions with sequential futures ... DONE")
  *** Early signaling of conditions with sequential futures ... DONE
  > 
  > 
  > message("Number of available cores: ", availableCores())
  Number of available cores: 2
  > 
  > message("*** Early signaling of conditions with multisession futures ...")
  *** Early signaling of conditions with multisession futures ...
  > 
  > plan(multisession)
  > f <- future({ stop("bang!") })
  > Sys.sleep(0.5)
  > r <- resolved(f)
  > stopifnot(r)
  > v <- tryCatch(value(f), error = identity)
  > stopifnot(inherits(v, "error"))
  > 
  > plan(multisession, earlySignal = TRUE)
  Warning in socketConnection("localhost", port = port, server = TRUE, blocking = TRUE,  :
    port 33872 cannot be opened
  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 'gimli'.
   * The error produced by socketConnection() was: 'cannot open the connection'
   * In addition, socketConnection() produced 1 warning(s):
     - Warning #1: 'port 33872 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 33872 using a communication timeout of 120 seconds and a connection timeout of 120 seconds.
   * Worker launch call: '/home/hornik/tmp/R.check/r-patched-gcc/Work/build/bin/Rscript' --default-packages=datasets,utils,grDevices,graphics,stats,methods -e '#label=future/tests/early-signaling.R:gimli:hornik:9601' -e 'try(suppressWarnings(cat(Sys.getpid(),file="/tmp/Rtmp42BsNo/future.parent=9601.258142371798.pid")), silent = TRUE)' -e 'parallel:::.slaveRSOCK()' MASTER=localhost PORT=33872 OUT=/dev/null TIMEOUT=120 XDR=TRUE.
   * Worker (PID 19818) was successfully killed: TRUE
   * Troubleshooting suggestions:
     - Suggestion #1: Set 'verbose=TRUE' to see more details.
     - Suggestion #2: Set 'outfile=NULL' to see output from worker.
  Calls: plan ... tryCatchList -> tryCatchOne -> <Anonymous> -> <Anonymous>
  Execution halted