-
Notifications
You must be signed in to change notification settings - Fork 4k
Closed
Labels
Description
Describe the bug, including details regarding any error messages, version, and platform.
Several nightly jobs for R are failing:
- test-r-depsource-system
- test-r-dev-duckdb
- test-r-gcc-11
- test-r-gcc-12
- test-r-rhub-ubuntu-release-latest
- test-r-rstudio-r-base-4.2-focal
- test-r-ubuntu-22.04
- test-r-versions
They all seem to fail registering filesystems:
══ Failed tests ════════════════════════════════════════════════════════════════
── Error ('test-s3-minio.R:64:1'): open_dataset errors if passed URIs mixing s3 and local fs ──
Error: Key error: Attempted to register factory for scheme 'file' but that scheme is already registered.
Backtrace:
▆
1. ├─testthat::expect_error(...) at tests/testthat/helper-filesystems.R:110:7
2. │ └─testthat:::expect_condition_matching(...)
3. │ └─testthat:::quasi_capture(...)
4. │ ├─testthat (local) .capture(...)
5. │ │ └─base::withCallingHandlers(...)
6. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
7. └─arrow::open_dataset(...)
8. └─DatasetFactory$create(...)
9. └─arrow:::get_paths_and_filesystem(x, filesystem)
10. └─base::lapply(x, FileSystem$from_uri)
11. └─arrow (local) FUN(X[[i]], ...)
12. └─arrow:::fs___FileSystemFromUri(uri)
── Error ('test-s3-minio.R:64:1'): copy files with s3 ──────────────────────────
Error: Key error: Attempted to register factory for scheme 'file' but that scheme is already registered.
Backtrace:
▆
1. └─arrow::copy_files(uri_formatter("hive_dir"), td) at tests/testthat/helper-filesystems.R:173:7
2. └─arrow:::get_path_and_filesystem(to)
3. └─arrow:::get_paths_and_filesystem(x, filesystem)
4. ├─filesystem %||% LocalFileSystem$create()
5. └─LocalFileSystem$create()
6. └─FileSystem$from_uri("file:///_")
7. └─arrow:::fs___FileSystemFromUri(uri)
── Error ('test-udf.R:232:3'): user-defined functions work during multi-threaded execution ──
Error: Key error: Attempted to register factory for scheme 'file' but that scheme is already registered.
Backtrace:
▆
1. └─arrow::write_dataset(example_df, tf_dataset, partitioning = "part") at test-udf.R:232:3
2. └─arrow:::get_path_and_filesystem(path)
3. └─arrow:::get_paths_and_filesystem(x, filesystem)
4. ├─filesystem %||% LocalFileSystem$create()
5. └─LocalFileSystem$create()
6. └─FileSystem$from_uri("file:///_")
7. └─arrow:::fs___FileSystemFromUri(uri)
[ FAIL 3 | WARN 0 | SKIP 28 | PASS 8307 ]
Error: Test failures
Component(s)
R