CRAN Package Check Results for Package future

Last updated on 2020-08-14 03:47:42 CEST.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 1.18.0 9.24 210.42 219.66 OK
r-devel-linux-x86_64-debian-gcc 1.18.0 7.93 164.71 172.64 OK
r-devel-linux-x86_64-fedora-clang 1.18.0 271.92 OK
r-devel-linux-x86_64-fedora-gcc 1.18.0 303.45 OK
r-devel-windows-ix86+x86_64 1.18.0 23.00 365.00 388.00 OK
r-patched-linux-x86_64 1.18.0 9.25 212.79 222.04 OK
r-patched-solaris-x86 1.18.0 123.30 OK --no-tests
r-release-linux-x86_64 1.18.0 9.67 213.13 222.80 ERROR
r-release-macos-x86_64 1.18.0 OK
r-release-windows-ix86+x86_64 1.18.0 19.00 342.00 361.00 OK
r-oldrel-macos-x86_64 1.18.0 OK
r-oldrel-windows-ix86+x86_64 1.18.0 14.00 550.00 564.00 OK

Check Details

Version: 1.18.0
Check: tests
Result: ERROR
     Running ‘000.sessionDetails.R’ [0s/1s]
     Running ‘ClusterRegistry.R’ [3s/9s]
     Running ‘Future-class.R’ [2s/4s]
     Running ‘FutureError.R’ [1s/1s]
     Running ‘FutureGlobals.R’ [1s/1s]
     Running ‘FutureRegistry.R’ [1s/1s]
     Running ‘as.cluster.R’ [1s/3s]
     Running ‘availableCores.R’ [1s/1s]
     Running ‘availableWorkers.R’ [1s/1s]
     Running ‘backtrace.R’ [1s/2s]
     Running ‘cluster-missing-future-pkg.R’ [1s/2s]
     Running ‘cluster.R’ [7s/30s]
     Running ‘constant.R’ [1s/1s]
     Running ‘demo.R’ [10s/14s]
     Running ‘dotdotdot.R’ [2s/5s]
     Running ‘early-signaling.R’ [2s/12s]
     Running ‘future,labels.R’ [1s/1s]
     Running ‘future.R’ [1s/1s]
     Running ‘futureAssign.R’ [2s/6s]
     Running ‘futureAssign_OP.R’ [3s/7s]
     Running ‘futureAssign_OP_with_environment.R’ [1s/1s]
     Running ‘futureAssign_OP_with_listenv.R’ [1s/1s]
     Running ‘futureCall.R’ [5s/10s]
     Running ‘futureOf.R’ [1s/1s]
     Running ‘futureOf_with_environment.R’ [1s/1s]
     Running ‘futureOf_with_listenv.R’ [1s/1s]
     Running ‘futures.R’ [20s/46s]
     Running ‘globals,NSE.R’ [1s/1s]
     Running ‘globals,formulas.R’ [4s/9s]
     Running ‘globals,manual.R’ [2s/3s]
     Running ‘globals,resolve.R’ [1s/4s]
     Running ‘globals,subassignment.R’ [3s/7s]
     Running ‘globals,toolarge.R’ [1s/4s]
     Running ‘globals,tricky.R’ [7s/13s]
     Running ‘globals,tricky_recursive.R’ [1s/1s]
     Running ‘globalsOf,tweaks.R’ [1s/1s]
     Running ‘immediateCondition.R’ [1s/2s]
     Running ‘invalid-owner.R’ [2s/5s]
     Running ‘makeClusterPSOCK.R’ [1s/2s]
     Running ‘mandelbrot.R’ [1s/1s]
     Running ‘mpi.R’ [1s/1s]
     Running ‘multicore,multithreading.R’ [1s/1s]
     Running ‘multicore.R’ [1s/2s]
     Running ‘multiprocess.R’ [2s/2s]
     Running ‘multisession.R’ [4s/14s]
     Running ‘nbrOfWorkers.R’ [3s/12s]
     Running ‘nested_futures,mc.cores.R’ [4s/19s]
     Running ‘nested_futures.R’ [1s/2s]
     Running ‘non-exportable,connections.R’ [1s/4s]
     Running ‘objectSize.R’ [1s/1s]
     Running ‘plan.R’ [2s/5s]
     Running ‘relaying.R’ [1s/2s]
     Running ‘remote.R’ [1s/4s]
     Running ‘requestCore.R’ [1s/3s]
     Running ‘requestNode.R’ [2s/11s]
     Running ‘reserved-keyword-functions.R’ [1s/1s]
     Running ‘resolve.R’ [2s/4s]
     Running ‘resolved-non-blocking-test.R’ [3s/34s]
     Running ‘rng.R’ [12s/18s]
     Running ‘sequential.R’ [1s/1s]
     Running ‘sessionDetails.R’ [1s/1s]
     Running ‘startup.R’ [2s/7s]
     Running ‘stdout.R’ [2s/6s]
     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/nested_futures,mc.cores.R’ failed.
    Complete output:
     > source("incl/start.R")
     [07:35:24.103] plan(): Setting new future strategy stack:
     [07:35:24.105] List of future strategies:
     [07:35:24.105] 1. sequential:
     [07:35:24.105] - args: function (expr, envir = parent.frame(), substitute = TRUE, lazy = FALSE, seed = NULL, globals = TRUE, local = TRUE, earlySignal = FALSE, label = NULL, ...)
     [07:35:24.105] - tweaked: FALSE
     [07:35:24.105] - call: future::plan("sequential")
     [07:35:24.107] plan(): nbrOfWorkers() = 1
     > library("listenv")
     > options(future.debug = FALSE)
     >
     > message("*** Nested futures - mc.cores ...")
     *** Nested futures - mc.cores ...
     >
     > strategies <- NULL
     > ## Speed up CRAN checks: Skip on CRAN Windows 32-bit
     > if (!isWin32) strategies <- c(strategies, "multisession")
     > if (supportsMulticore()) strategies <- c(strategies, "multicore")
     > pid <- Sys.getpid()
     > cat(sprintf("Main PID: %d\n", pid))
     Main PID: 30285
     >
     > cat("Available cores on this machine:\n")
     Available cores on this machine:
     > cores <- availableCores()
     > print(cores)
     mc.cores
     2
     >
     > for (mc in 1:2) {
     + ## Speed up CRAN checks: Skip on CRAN Windows 32-bit
     + if (!fullTest && isWin32) next
     +
     + message(sprintf("- mc.cores = %d ...", mc))
     + options(mc.cores = mc)
     + mc2 <- min(mc, cores)
     +
     + for (strategy in strategies) {
     + message(sprintf("plan(list('sequential', '%s')):", strategy))
     + plan(list('sequential', strategy))
     + a %<-% {
     + b1 %<-% Sys.getpid()
     + b2 %<-% Sys.getpid()
     + list(pid = Sys.getpid(), cores = availableCores(), pid1 = b1, pid2 = b2)
     + }
     + print(a)
     + stopifnot(a$pid == pid)
     + stopifnot((mc2 <= 1 && a$pid1 == pid) || (a$pid1 != pid))
     + stopifnot((mc2 <= 1 && a$pid2 == pid) || (a$pid2 != pid))
     + stopifnot(((mc2 <= 1 || a$cores <= 2) && a$pid2 == a$pid1) || (a$pid2 != a$pid1))
     +
     + if (mc == 1L) {
     + message(sprintf("plan(list('sequential', '%s':2)):", strategy))
     + plan(list('sequential', tweak(strategy, workers = 2)))
     + a %<-% {
     + b1 %<-% Sys.getpid()
     + b2 %<-% Sys.getpid()
     + list(pid = Sys.getpid(), cores = availableCores(), pid1 = b1, pid2 = b2)
     + }
     + print(a)
     + stopifnot(a$pid == pid)
     + stopifnot((mc2 <= 1 && a$pid1 == pid) || (a$pid1 != pid))
     + stopifnot((mc2 <= 1 && a$pid2 == pid) || (a$pid2 != pid))
     + stopifnot((mc2 <= 1 && a$pid2 == a$pid1) || (a$pid2 != a$pid1))
     + }
     +
     + message(sprintf("plan(list('%s', 'sequential')):", strategy))
     + plan(list(strategy, 'sequential'))
     + a %<-% {
     + b1 %<-% Sys.getpid()
     + b2 %<-% Sys.getpid()
     + list(pid = Sys.getpid(), cores = availableCores(), pid1 = b1, pid2 = b2)
     + }
     + print(a)
     + stopifnot((mc2 <= 1 && a$pid == pid) || (a$pid != pid))
     + stopifnot((mc2 <= 1 && a$pid1 == pid) || (a$pid1 != pid))
     + stopifnot((mc2 <= 1 && a$pid2 == pid) || (a$pid2 != pid))
     + stopifnot(a$pid2 == a$pid1)
     +
     + message(sprintf("plan(list('%s', '%s')):", strategy, strategy))
     + plan(list(strategy, strategy))
     + a %<-% {
     + b1 %<-% { Sys.sleep(0.2); Sys.getpid() }
     + b2 %<-% Sys.getpid()
     + list(pid = Sys.getpid(), cores = availableCores(), pid1 = b1, pid2 = b2)
     + }
     + print(a)
     + stopifnot((mc2 <= 1 && a$pid == pid) || (a$pid != pid))
     + stopifnot((mc2 <= 1 && a$pid1 == pid) || (a$pid1 != pid))
     + stopifnot((mc2 <= 1 && a$pid2 == pid) || (a$pid2 != pid))
     + stopifnot(a$pid2 == a$pid1)
     +
     + if (mc == 1L) {
     + message(sprintf("plan(list('%s':2, '%s':2)):", strategy, strategy))
     + plan(list(tweak(strategy, workers = 2), tweak(strategy, workers = 2)))
     + a %<-% {
     + b1 %<-% Sys.getpid() ## This stalls
     + b2 %<-% Sys.getpid()
     + list(pid = Sys.getpid(), cores = availableCores(), pid1 = b1, pid2 = b2)
     + }
     + print(a)
     + stopifnot(a$pid != pid)
     + stopifnot(a$pid1 != pid)
     + stopifnot(a$pid2 != pid)
     + stopifnot(a$pid2 != a$pid1)
     + }
     +
     + ## Assert that nested the FutureRegistry is not inherited when using
     + ## nested strategies, particularly 'multicore'.
     + ## https://github.com/HenrikBengtsson/future/issues/231
     + fs <- lapply(1:2, FUN = function(i) future( value(future(TRUE)) ))
     + v <- values(fs)
     + } ## for (strategy ...)
     +
     + message(sprintf(" - mc.cores = %d ... DONE", mc))
     + } ## for (mc ...)
     - mc.cores = 1 ...
     plan(list('sequential', 'multisession')):
     $pid
     [1] 30285
    
     $cores
     mc.cores
     1
    
     $pid1
     [1] 30285
    
     $pid2
     [1] 30285
    
     plan(list('sequential', 'multisession':2)):
     $pid
     [1] 30285
    
     $cores
     mc.cores
     1
    
     $pid1
     [1] 31127
    
     $pid2
     [1] 32091
    
     plan(list('multisession', 'sequential')):
     $pid
     [1] 30285
    
     $cores
     mc.cores
     1
    
     $pid1
     [1] 30285
    
     $pid2
     [1] 30285
    
     plan(list('multisession', 'multisession')):
     $pid
     [1] 30285
    
     $cores
     mc.cores
     1
    
     $pid1
     [1] 30285
    
     $pid2
     [1] 30285
    
     plan(list('multisession':2, 'multisession':2)):
     $pid
     [1] 628
    
     $cores
     mc.cores
     1
    
     $pid1
     [1] 2350
    
     $pid2
     [1] 2833
    
     plan(list('sequential', 'multicore')):
     $pid
     [1] 30285
    
     $cores
     mc.cores
     1
    
     $pid1
     [1] 30285
    
     $pid2
     [1] 30285
    
     plan(list('sequential', 'multicore':2)):
     $pid
     [1] 30285
    
     $cores
     mc.cores
     1
    
     $pid1
     [1] 5055
    
     $pid2
     [1] 5070
    
     plan(list('multicore', 'sequential')):
     $pid
     [1] 30285
    
     $cores
     mc.cores
     1
    
     $pid1
     [1] 30285
    
     $pid2
     [1] 30285
    
     plan(list('multicore', 'multicore')):
     $pid
     [1] 30285
    
     $cores
     mc.cores
     1
    
     $pid1
     [1] 30285
    
     $pid2
     [1] 30285
    
     plan(list('multicore':2, 'multicore':2)):
     $pid
     [1] 5175
    
     $cores
     mc.cores
     1
    
     $pid1
     [1] 5184
    
     $pid2
     [1] 5190
    
     - mc.cores = 1 ... DONE
     - mc.cores = 2 ...
     plan(list('sequential', 'multisession')):
     $pid
     [1] 30285
    
     $cores
     mc.cores
     2
    
     $pid1
     [1] 5451
    
     $pid2
     [1] 5965
    
     plan(list('multisession', 'sequential')):
     Warning in socketConnection("localhost", port = port, server = TRUE, blocking = TRUE, :
     port 27017 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 27017 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 27017 using a communication timeout of 120 seconds and a connection timeout of 120 seconds.
     * Worker launch call: '/home/hornik/tmp/R.check/r-release-gcc/Work/build/bin/Rscript' --default-packages=datasets,utils,grDevices,graphics,stats,methods -e '#label=future/tests/nested_futures,mc.cores.R:gimli:hornik:30285' -e 'try(suppressWarnings(cat(Sys.getpid(),file="/tmp/RtmpGaOykc/future.parent=30285.764d215b2220.pid")), silent = TRUE)' -e 'workRSOCK <- tryCatch(parallel:::.slaveRSOCK, error=function(e) parallel:::.workRSOCK); workRSOCK()' MASTER=localhost PORT=27017 OUT=/dev/null TIMEOUT=120 XDR=TRUE.
     * Worker (PID 6479) 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
Flavor: r-release-linux-x86_64