Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

GH-41450: [R][CI] rhub/container follow ons #41451

Merged
merged 6 commits into from
May 12, 2024
Merged

Conversation

jonkeane
Copy link
Member

@jonkeane jonkeane commented Apr 29, 2024

More CI changes:

@jonkeane
Copy link
Member Author

@github-actions crossbow submit test-r-rhub-debian-gcc-devel-lto-latest

Copy link

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

Copy link

Revision: 6536162

Submitted crossbow builds: ursacomputing/crossbow @ actions-9240543e1c

Task Status
test-r-rhub-debian-gcc-devel-lto-latest Azure

Comment on lines +308 to 310
- {image: "rstudio/r-base:4.1-focal"}
- {image: "rstudio/r-base:4.2-jammy"}
- {image: "rstudio/r-base:4.3-noble"}
Copy link
Member Author

Choose a reason for hiding this comment

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

These probably shouldn't be all ubuntus. Any suggestions on other images we should use? centos8? RHEL? debian?

Copy link
Member

Choose a reason for hiding this comment

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

I think rockylinux8 gets at the centos/RHEL line.

@github-actions github-actions bot added awaiting changes Awaiting changes and removed awaiting committer review Awaiting committer review labels Apr 29, 2024
@jonkeane jonkeane changed the title GH-41450: [R][CI] GH-41450: [R][CI] rhub/container follow ons Apr 29, 2024
@jonkeane
Copy link
Member Author

@github-actions crossbow submit test-r-rhub-debian-gcc-devel-lto-latest

Copy link

Revision: 020f8e1

Submitted crossbow builds: ursacomputing/crossbow @ actions-4a7b53ff9c

Task Status
test-r-rhub-debian-gcc-devel-lto-latest Azure

@github-actions github-actions bot added awaiting change review Awaiting change review and removed awaiting changes Awaiting changes labels Apr 30, 2024
@jonkeane
Copy link
Member Author

@github-actions crossbow submit test-r-clang-sanitizer

Copy link

Revision: 3185879

Submitted crossbow builds: ursacomputing/crossbow @ actions-09f0dd36e9

Task Status
test-r-clang-sanitizer GitHub Actions

@jonkeane
Copy link
Member Author

@github-actions crossbow submit test-r-clang-sanitizer

Copy link

Revision: 9664a4c

Submitted crossbow builds: ursacomputing/crossbow @ actions-6816ab39a7

Task Status
test-r-clang-sanitizer GitHub Actions

@jonkeane
Copy link
Member Author

@github-actions crossbow submit test-r-clang-sanitizer

Copy link

Revision: cb4ecea

Submitted crossbow builds: ursacomputing/crossbow @ actions-1cccdf27a2

Task Status
test-r-clang-sanitizer GitHub Actions

@jonkeane
Copy link
Member Author

jonkeane commented May 1, 2024

@github-actions crossbow submit test-r-clang-sanitizer

Copy link

github-actions bot commented May 1, 2024

Revision: 9843835

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

Task Status
test-r-clang-sanitizer GitHub Actions

@@ -28,35 +28,6 @@ For `gcc`, this generally means version 7 or newer. Most contemporary Linux
distributions have a new enough compiler; however, CentOS 7 is a notable
exception, as it ships with gcc 4.8.

If you are on CentOS 7, to build arrow you will need to install a newer `devtoolset`, and you'll need to update R's Makevars to define the `CXX17` variables. This script installs `devtoolset-8` and configures R to be able to use C++17:
Copy link
Member

Choose a reason for hiding this comment

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

The note in the paragraph above also mentions CentOS 7.

Maybe we should keep this discussion and say something like, we don't officially support CentOS 7 anymore, but if you want to try building on it, you'll need to:

Copy link
Member Author

Choose a reason for hiding this comment

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

nods ok yeah, I also like that it leaves a bit of a more obvious breadcrumb trail for folks debugging. I know it's in the git history, but I don't think folks would know to look here in that history necessarily to find out "what do I do with non-standard compiler setups?"

@@ -517,10 +488,6 @@ The install script should work everywhere, so if libarrow fails to compile,
please [report an issue](https://issues.apache.org/jira/projects/ARROW/issues)
so that we can improve the script.

### Known installation issues
Copy link
Member

Choose a reason for hiding this comment

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

Similarly, maybe this should stick around in some form since we direct people here for troubleshooting.

@nealrichardson
Copy link
Member

@github-actions crossbow submit -g r

@github-actions github-actions bot added awaiting changes Awaiting changes and removed awaiting change review Awaiting change review labels May 10, 2024
Copy link

Only contributors can submit requests to this bot. Please ask someone from the community for help with getting the first commit in.
The Archery job run can be found at: https://github.com/apache/arrow/actions/runs/9033697943

@nealrichardson
Copy link
Member

Remove CentOS 7 CI support for R

To be clear, it seems we are still building libarrow binaries on CentOS 7, at least as of this PR.

@jonkeane
Copy link
Member Author

@github-actions crossbow submit -g r

Copy link

Revision: 9843835

Submitted crossbow builds: ursacomputing/crossbow @ actions-3ba4bec650

Task Status
r-binary-packages GitHub Actions
test-r-arrow-backwards-compatibility GitHub Actions
test-r-clang-sanitizer GitHub Actions
test-r-depsource-bundled Azure
test-r-depsource-system GitHub Actions
test-r-dev-duckdb GitHub Actions
test-r-devdocs GitHub Actions
test-r-gcc-11 GitHub Actions
test-r-gcc-12 GitHub Actions
test-r-install-local GitHub Actions
test-r-install-local-minsizerel GitHub Actions
test-r-linux-as-cran GitHub Actions
test-r-linux-rchk GitHub Actions
test-r-linux-valgrind GitHub Actions
test-r-minimal-build Azure
test-r-offline-maximal GitHub Actions
test-r-offline-minimal Azure
test-r-rhub-debian-gcc-devel-lto-latest Azure
test-r-rhub-debian-gcc-release-custom-ccache Azure
test-r-rhub-ubuntu-release-latest Azure
test-r-rocker-r-ver-latest Azure
test-r-rstudio-r-base-4.1-opensuse153 Azure
test-r-rstudio-r-base-4.2-focal Azure
test-r-ubuntu-22.04 GitHub Actions
test-r-versions GitHub Actions
test-ubuntu-r-sanitizer GitHub Actions

@nealrichardson
Copy link
Member

@github-actions crossbow submit test-r-arrow-backwards-compatibility

Copy link

Revision: 9843835

Submitted crossbow builds: ursacomputing/crossbow @ actions-76bf294813

Task Status
test-r-arrow-backwards-compatibility GitHub Actions

@assignUser
Copy link
Member

To be clear, it seems we are still building libarrow binaries on CentOS 7, at least as of this PR.

This brings up the whole support thing again... we use centos7 for the old glibc right? Do we just bump to the next non-eol alma/rocky version?

@jonkeane jonkeane merged commit 6d03215 into apache:main May 12, 2024
60 of 65 checks passed
@jonkeane jonkeane removed the awaiting changes Awaiting changes label May 12, 2024
Copy link

After merging your PR, Conbench analyzed the 0 benchmarking runs that have been run so far on merge-commit 6d03215.

None of the specified runs were found on the Conbench server.

The full Conbench report has more details.

@jonkeane jonkeane deleted the CI_follow_on branch May 13, 2024 13:08
CurtHagenlocher pushed a commit to CurtHagenlocher/arrow that referenced this pull request May 13, 2024
More CI changes:

* GitHub Issue: apache#41450 (specifically use the rhub containers approach for clang sanitizer, remove some of our work arounds)
* Remove CentOS 7 CI support for R

Authored-by: Jonathan Keane <jkeane@gmail.com>
Signed-off-by: Jonathan Keane <jkeane@gmail.com>
@@ -35,9 +35,6 @@ echo "=== Clear output directories and leftovers ==="
rm -rf ${build_dir}

echo "=== Building Arrow C++ libraries ==="
devtoolset_version=$(rpm -qa "devtoolset-*-gcc" --queryformat %{VERSION} | \
grep -o "^[0-9]*")
devtoolset_include_cpp="/opt/rh/devtoolset-${devtoolset_version}/root/usr/include/c++/${devtoolset_version}"
Copy link
Member

Choose a reason for hiding this comment

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

@jonkeane Is it expected change?

Copy link
Member Author

Choose a reason for hiding this comment

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

Aaaah, I might have been overly aggressive in removing from this file.

I thought we only used the devtoolset_version on the R CentOS 7 builds and that other places we added that to were borrowing from those and no longer necessary. But if we need to add it back here that's totally fine. Sorry for not confirming that and the hassle.

Copy link
Member

Choose a reason for hiding this comment

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

No problem. :-)
Thanks for confirming this.

@github-actions github-actions bot added the awaiting changes Awaiting changes label May 15, 2024
kou added a commit that referenced this pull request May 15, 2024
…41661)

### Rationale for this change

Because #41451 removed devtoolset related flags unexpectedly.

### What changes are included in this PR?

Restore devtoolset related flags.

### Are these changes tested?

Yes.

### Are there any user-facing changes?

No.
* GitHub Issue: #41660

Authored-by: Sutou Kouhei <kou@clear-code.com>
Signed-off-by: Sutou Kouhei <kou@clear-code.com>
vibhatha pushed a commit to vibhatha/arrow that referenced this pull request May 25, 2024
More CI changes:

* GitHub Issue: apache#41450 (specifically use the rhub containers approach for clang sanitizer, remove some of our work arounds)
* Remove CentOS 7 CI support for R

Authored-by: Jonathan Keane <jkeane@gmail.com>
Signed-off-by: Jonathan Keane <jkeane@gmail.com>
vibhatha pushed a commit to vibhatha/arrow that referenced this pull request May 25, 2024
…AGS (apache#41661)

### Rationale for this change

Because apache#41451 removed devtoolset related flags unexpectedly.

### What changes are included in this PR?

Restore devtoolset related flags.

### Are these changes tested?

Yes.

### Are there any user-facing changes?

No.
* GitHub Issue: apache#41660

Authored-by: Sutou Kouhei <kou@clear-code.com>
Signed-off-by: Sutou Kouhei <kou@clear-code.com>
JerAguilon pushed a commit to JerAguilon/arrow that referenced this pull request May 29, 2024
More CI changes:

* GitHub Issue: apache#41450 (specifically use the rhub containers approach for clang sanitizer, remove some of our work arounds)
* Remove CentOS 7 CI support for R

Authored-by: Jonathan Keane <jkeane@gmail.com>
Signed-off-by: Jonathan Keane <jkeane@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants