Running 'testthat.R' [14s]
Running the tests in 'tests/testthat.R' failed.
Complete output:
  > library(testthat)
  > library(starburst)
  > 
  > test_check("starburst")
    workers=50, launch_type=EC2, instance_type=c7g.xlarge
  
  [Cost] Estimated cost: ~$7.25/hour (50 x c7g.xlarge)
    workers=10, launch_type=EC2, instance_type=c7g.xlarge
  Failed to download result for task task-aaa: unable to load shared object 'D:/RCompile/CRANpkg/lib/4.7/stringfish/libs/x64/stringfish.dll':
    LoadLibrary failure:  Das angegebene Modul wurde nicht gefunden.
  
  Failed to download result for task task-bbb: unable to load shared object 'D:/RCompile/CRANpkg/lib/4.7/stringfish/libs/x64/stringfish.dll':
    LoadLibrary failure:  Das angegebene Modul wurde nicht gefunden.
  
  [OK] Collected 0 results
  Saving _problems/test-detached-sessions-267.R
  Failed to download result for task task-ok: unable to load shared object 'D:/RCompile/CRANpkg/lib/4.7/stringfish/libs/x64/stringfish.dll':
    LoadLibrary failure:  Das angegebene Modul wurde nicht gefunden.
  
  [OK] Collected 1 results
  Saving _problems/test-detached-sessions-297.R
  Saving _problems/test-detached-sessions-299.R
  [Starting] Starting warm pool: 5 instances of c8a.xlarge...
  [EC2] Capacity provider for c8a.xlarge not found; provisioning it now (once)...
  [Starting] Starting warm pool: 5 instances of c7g.xlarge...
  
  [Start] staRburst Setup
  
  
  This will configure AWS resources for staRburst:
    * S3 bucket for data transfer
    * ECR repository for Docker images
    * ECS cluster (used by both EC2 and Fargate backends)
    * VPC resources (subnets, security groups)
    * EC2 capacity provider + Auto Scaling Group for the default
      instance type (so the default EC2 backend works immediately)
  
  [1/5] Checking AWS credentials...
  [OK] AWS credentials valid
  
  [2/5] Setting up S3 bucket...
  [OK] S3 bucket created: starburst-test-bucket
  
  [3/5] Setting up ECR repository...
  [OK] ECR repository created: acct.dkr.ecr/starburst-worker
     * ECR auto-cleanup disabled (images kept indefinitely)
       Idle cost: ~$0.50/month for stored images
       To enable: starburst_setup(ecr_image_ttl_days = 30)
  
  [4/5] Setting up ECS cluster...
  [OK] ECS cluster created: starburst-cluster
  
  [5/5] Setting up VPC resources...
  [OK] VPC resources created
  
  [EC2] Provisioning default EC2 capacity provider (c7g.xlarge)...
     * Creates a Launch Template + Auto Scaling Group at 0 instances
     * No instances launch until you run a job (no cost from setup)
  
  [Status] Checking Fargate quotas...
  Current Fargate vCPU quota: 1000
    Allows ~250 workers with 4 vCPUs each
  [OK] Quota is sufficient (1000 vCPUs)
  
  [Build] Skipping environment image build (build_image = FALSE)
    The worker image will be built automatically on first launch.
  
  [OK] staRburst setup complete!
  
  Quick start:
    results <- starburst_map(inputs, expensive_function, workers = 50)
  
  Already using future/furrr? Set the plan instead:
    library(furrr)
    plan(starburst, workers = 50)
    results <- future_map(inputs, expensive_function)
  
  [Start] staRburst Setup
  
  
  This will configure AWS resources for staRburst:
    * S3 bucket for data transfer
    * ECR repository for Docker images
    * ECS cluster (used by both EC2 and Fargate backends)
    * VPC resources (subnets, security groups)
  
  [1/5] Checking AWS credentials...
  [OK] AWS credentials valid
  
  [2/5] Setting up S3 bucket...
  [OK] S3 bucket created: b
  
  [3/5] Setting up ECR repository...
  [OK] ECR repository created: uri
     * ECR auto-cleanup disabled (images kept indefinitely)
       Idle cost: ~$0.50/month for stored images
       To enable: starburst_setup(ecr_image_ttl_days = 30)
  
  [4/5] Setting up ECS cluster...
  [OK] ECS cluster created: starburst-cluster
  
  [5/5] Setting up VPC resources...
  [OK] VPC resources created
  
  [Status] Checking Fargate quotas...
  Current Fargate vCPU quota: 1000
    Allows ~250 workers with 4 vCPUs each
  [OK] Quota is sufficient (1000 vCPUs)
  
  [Build] Skipping environment image build (build_image = FALSE)
    The worker image will be built automatically on first launch.
  
  [OK] staRburst setup complete!
  
  Quick start:
    results <- starburst_map(inputs, expensive_function, workers = 50)
  
  Already using future/furrr? Set the plan instead:
    library(furrr)
    plan(starburst, workers = 50)
    results <- future_map(inputs, expensive_function)
  [ FAIL 3 | WARN 0 | SKIP 85 | PASS 131 ]
  
  ══ Skipped tests (85) ══════════════════════════════════════════════════════════
  • Cannot locate package R source files (1): 'test-security.R:152:5'
  • Docker not installed (2): 'test-security.R:14:3', 'test-security.R:21:3'
  • Integration tests disabled. Set RUN_INTEGRATION_TESTS=TRUE to enable. (12):
    'test-detached-sessions.R:111:3', 'test-detached-sessions.R:132:3',
    'test-detached-sessions.R:161:3', 'test-integration-examples.R:21:3',
    'test-integration-examples.R:52:3', 'test-integration-examples.R:90:3',
    'test-integration-examples.R:118:3', 'test-integration-examples.R:146:3',
    'test-integration-examples.R:173:3', 'test-integration-examples.R:201:3',
    'test-integration-examples.R:229:3', 'test-integration-examples.R:257:3'
  • On CRAN (67): 'test-cleanup.R:10:3', 'test-cleanup.R:38:3',
    'test-cleanup.R:49:3', 'test-cleanup.R:60:3', 'test-cleanup.R:72:3',
    'test-cleanup.R:84:3', 'test-cleanup.R:96:3', 'test-cleanup.R:116:3',
    'test-clusters.R:2:3', 'test-clusters.R:23:3', 'test-clusters.R:102:3',
    'test-clusters.R:141:3', 'test-clusters.R:162:3', 'test-cost.R:2:3',
    'test-cost.R:21:3', 'test-cost.R:75:3', 'test-cost.R:116:3',
    'test-cost.R:164:3', 'test-detached-sessions.R:2:3',
    'test-detached-sessions.R:194:3', 'test-docker.R:2:3', 'test-docker.R:21:3',
    'test-docker.R:60:3', 'test-docker.R:69:3', 'test-docker.R:105:3',
    'test-docker.R:143:3', 'test-docker.R:164:3', 'test-docker.R:198:3',
    'test-docker.R:211:3', 'test-docker.R:269:3', 'test-docker.R:276:3',
    'test-ec2-e2e.R:6:3', 'test-ec2-e2e.R:62:3', 'test-ec2-e2e.R:87:3',
    'test-ec2-e2e.R:107:3', 'test-ec2-e2e.R:142:3', 'test-ec2-integration.R:5:3',
    'test-ec2-integration.R:83:3', 'test-ec2-integration.R:100:3',
    'test-ecr-cleanup.R:4:3', 'test-ecr-cleanup.R:27:3',
    'test-ecr-cleanup.R:56:3', 'test-ecr-cleanup.R:82:3',
    'test-security.R:106:3', 'test-subnets.R:2:3', 'test-subnets.R:35:3',
    'test-subnets.R:71:3', 'test-subnets.R:130:3', 'test-subnets.R:173:3',
    'test-subnets.R:214:3', 'test-subnets.R:245:3', 'test-task-def.R:2:3',
    'test-task-def.R:24:3', 'test-task-def.R:36:3', 'test-task-def.R:48:3',
    'test-task-def.R:60:3', 'test-task-def.R:113:3', 'test-task-storage.R:2:3',
    'test-task-storage.R:16:3', 'test-task-storage.R:34:3',
    'test-task-storage.R:48:3', 'test-task-storage.R:60:3',
    'test-task-storage.R:83:3', 'test-task-storage.R:97:3', 'test-waves.R:2:3',
    'test-waves.R:22:3', 'test-waves.R:31:3'
  • staRburst not configured (2): 'test-plan.R:2:3', 'test-plan.R:11:3'
  • stdin test requires specific system configuration (1): 'test-security.R:94:3'
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Failure ('test-detached-sessions.R:267:3'): collect(wait=TRUE) returns when user tasks finish despite live bootstrap tasks ──
  Expected `res` to have names `c("task-aaa", "task-bbb")`.
  Actual: 
  Expected: "task-aaa", "task-bbb"
  Absent: "task-aaa", "task-bbb"
  ── Failure ('test-detached-sessions.R:297:3'): collect() returns a structured failure entry for failed tasks ──
  Expected `names(res)` to have the same values as `c("task-ok", "task-fail")`.
  Actual: "task-fail"
  Expected: "task-ok", "task-fail"
  Absent: "task-ok"
  ── Failure ('test-detached-sessions.R:299:3'): collect() returns a structured failure entry for failed tasks ──
  Expected `res[["task-ok"]]$value` to equal 21.
  Differences:
  target is NULL, current is numeric
  
  [ FAIL 3 | WARN 0 | SKIP 85 | PASS 131 ]
  Error:
  ! Test failures.
  Execution halted