Skip to content

Conversation

@thisisnic
Copy link
Member

@thisisnic thisisnic commented Oct 31, 2025

Rationale for this change

CRAN have added Alpine Linux to their additional jobs - we should make sure we can test for this on CI

What changes are included in this PR?

Add CI job for Alpine Linux

Are these changes tested?

Yeah, the CI job should pass

Are there any user-facing changes?

No

@github-actions
Copy link

⚠️ GitHub issue #48013 has been automatically assigned in GitHub to PR creator.

@github-actions github-actions bot added the awaiting committer review Awaiting committer review label Oct 31, 2025
@thisisnic
Copy link
Member Author

@github-actions crossbow submit test-r-alpine-linux

Testing the CI job without the nixlibs change first...

@github-actions
Copy link

Revision: ab2dbc9

Submitted crossbow builds: ursacomputing/crossbow @ actions-75a7216cba

Task Status
test-r-alpine-linux GitHub Actions

@thisisnic
Copy link
Member Author

@github-actions crossbow submit test-r-alpine-linux

@github-actions
Copy link

github-actions bot commented Nov 3, 2025

Unable to match any tasks for `test-r-alpine-linux`
The Archery job run can be found at: https://github.com/apache/arrow/actions/runs/19041901360

@thisisnic
Copy link
Member Author

@github-actions crossbow submit test-r-alpine-linux

@github-actions
Copy link

github-actions bot commented Nov 3, 2025

Revision: ae89e8b

Submitted crossbow builds: ursacomputing/crossbow @ actions-2bcbb2c1d0

Task Status
test-r-alpine-linux GitHub Actions

@thisisnic
Copy link
Member Author

@github-actions crossbow submit test-r-alpine-linux

@github-actions
Copy link

github-actions bot commented Nov 3, 2025

Revision: 97dd549

Submitted crossbow builds: ursacomputing/crossbow @ actions-5ba8e7e3d4

Task Status
test-r-alpine-linux GitHub Actions

@thisisnic
Copy link
Member Author

@github-actions crossbow submit test-r-alpine-linux

@github-actions
Copy link

github-actions bot commented Nov 3, 2025

Revision: f1daf26

Submitted crossbow builds: ursacomputing/crossbow @ actions-edaae374e2

Task Status
test-r-alpine-linux GitHub Actions

@thisisnic
Copy link
Member Author

Latest failure:

/arrow/ci/scripts/r_docker_configure.sh: line 44: apt-get: command not found

So next we just need to update that script to use whatever Alpine Linux uses as a package manager

@thisisnic
Copy link
Member Author

@github-actions crossbow submit test-r-alpine-linux

@github-actions
Copy link

Revision: 0e3a348

Submitted crossbow builds: ursacomputing/crossbow @ actions-c2627c1668

Task Status
test-r-alpine-linux GitHub Actions

@thisisnic
Copy link
Member Author

@github-actions crossbow submit test-r-alpine-linux

@github-actions
Copy link

Revision: 22fadf7

Submitted crossbow builds: ursacomputing/crossbow @ actions-f5214c8c49

Task Status
test-r-alpine-linux GitHub Actions

@thisisnic
Copy link
Member Author

@github-actions crossbow submit test-r-alpine-linux

@github-actions
Copy link

Revision: c45e0f7

Submitted crossbow builds: ursacomputing/crossbow @ actions-70688aa0b2

Task Status
test-r-alpine-linux GitHub Actions

@github-actions github-actions bot added the awaiting changes Awaiting changes label Dec 17, 2025
@github-actions github-actions bot added awaiting change review Awaiting change review and removed awaiting changes Awaiting changes labels Dec 17, 2025
@thisisnic
Copy link
Member Author

@github-actions crossbow submit test-r-alpine-linux-cran

@github-actions github-actions bot added awaiting changes Awaiting changes and removed awaiting change review Awaiting change review labels Dec 17, 2025
@github-actions
Copy link

Revision: b4f611c

Submitted crossbow builds: ursacomputing/crossbow @ actions-65f1d7dddc

Task Status
test-r-alpine-linux-cran GitHub Actions

@thisisnic
Copy link
Member Author

thisisnic commented Dec 17, 2025

@jonkeane So I needed to set NOT_CRAN to FALSE otherwise it runs the Python tests, not sure exactly why but will have a dig and see if I can work it out.

Never mind, we had some missing parentheses in one of our test scripts on CI. Good catch spotting that it shouldn't be doing that, have updated now!

@github-actions github-actions bot added awaiting change review Awaiting change review and removed awaiting changes Awaiting changes labels Dec 17, 2025
@thisisnic
Copy link
Member Author

@github-actions crossbow submit test-r-alpine-linux-cran

@github-actions
Copy link

Revision: 9a81605

Submitted crossbow builds: ursacomputing/crossbow @ actions-4156adbfba

Task Status
test-r-alpine-linux-cran GitHub Actions

@bastistician
Copy link

If you get a segfault when reticulate loads python then this is probably from a known numpy/openblas bug (rstudio/reticulate#1858), which you could work around by setting environment variable UV_NO_BINARY_PACKAGE=numpy.

}
if (!as_cran && requireNamespace('reticulate', quietly = TRUE) && reticulate::py_module_available('pyarrow')) {
if (!as_cran && (requireNamespace('reticulate', quietly = TRUE)) && reticulate::py_module_available('pyarrow')) {

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't understand the added parentheses here, they shouldn't make a difference.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hmm...they don't - I tried it locally before/after, and whatever was invoking a Python module install must have succeeded when I ran the "before" version, and so when I ran it again "after", I conflated the change in the environment (and thus no console output) with the code change working.

@github-actions github-actions bot added awaiting changes Awaiting changes and removed awaiting change review Awaiting change review labels Dec 17, 2025
@github-actions github-actions bot added awaiting change review Awaiting change review and removed awaiting changes Awaiting changes labels Dec 17, 2025
@thisisnic
Copy link
Member Author

Right, we need to manually set NOT_CRAN=false because in r_test.sh if it's empty, it gets set to TRUE.

@thisisnic
Copy link
Member Author

@github-actions crossbow submit test-r-alpine-linux-cran

@github-actions
Copy link

Revision: 5fa4d16

Submitted crossbow builds: ursacomputing/crossbow @ actions-bb37eb6094

Task Status
test-r-alpine-linux-cran GitHub Actions

@thisisnic thisisnic merged commit 5de6aa6 into apache:main Dec 17, 2025
38 of 40 checks passed
@thisisnic thisisnic removed the awaiting change review Awaiting change review label Dec 17, 2025
thisisnic added a commit that referenced this pull request Dec 22, 2025
…ecks (#48014)

### Rationale for this change

CRAN have added Alpine Linux to their additional jobs - we should make sure we can test for this on CI

### What changes are included in this PR?

Add CI job for Alpine Linux

### Are these changes tested?

Yeah, the CI job should pass

### Are there any user-facing changes?

No
* GitHub Issue: #48013

Authored-by: Nic Crane <thisisnic@gmail.com>
Signed-off-by: Nic Crane <thisisnic@gmail.com>
@conbench-apache-arrow
Copy link

After merging your PR, Conbench analyzed the 3 benchmarking runs that have been run so far on merge-commit 5de6aa6.

There were no benchmark performance regressions. 🎉

The full Conbench report has more details. It also includes information about 20 possible false positives for unstable benchmarks that are known to sometimes produce them.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants