Repository navigation
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
Activity
raulcd commentedon Apr 30, 2025
@amoeba @jonkeane @thisisnic @assignUser any idea what could be happening here?
This seem to have started failing on the 28th, I can't see any commit that should have caused this but this was the day 20.0.0 was released and version bump happened.
thisisnic commentedon May 1, 2025
I suspect it could be some of the changes in this PR perhaps? #41559
jonkeane commentedon May 2, 2025
It looks like these have resolved themselves: https://github.com/ursacomputing/crossbow/actions/runs/14786266958/job/41515130801 I suspect there was something off between 19 and 20 (the jobs linked referenced arrow 19, but like @raulcd mentioned we had just bumped the version. I'm not sure why that's the case (it looks like both jobs built arrow from source regardless, so it's not that it fetched a binary that wasn't compatible).
I'm going to close this, but please reopen if I'm wrong (or we figure out that there's something we need to update here).
assignUser commentedon May 7, 2025
I looked into this and discussed in zulip the issue is that these jobs use the nightly binaries, something we might want to stop?