-
Notifications
You must be signed in to change notification settings - Fork 4k
MINOR: [Dev][C++] Allow ubuntu-cpp-thread-sanitizer Docker build with Ubuntu 24.04 #43619
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
Conversation
… Ubuntu 24.04 Install the clang-rt libraries that are necessary to link Thread Sanitizer-enabled binaries. Note that the C++ test suite then fails on Flight tests, as tracked in apacheGH-36552.
|
cc @kou |
|
@github-actions crossbow submit ubuntucpp* |
|
Revision: 0019b58 Submitted crossbow builds: ursacomputing/crossbow @ actions-d48e76f193 |
|
Do we need this too? diff --git a/dev/tasks/tasks.yml b/dev/tasks/tasks.yml
index 6e1f7609a9..50ef83905d 100644
--- a/dev/tasks/tasks.yml
+++ b/dev/tasks/tasks.yml
@@ -1168,16 +1168,16 @@ tasks:
flags: "-e ARROW_ENABLE_THREADING=OFF"
image: ubuntu-cpp
- test-ubuntu-20.04-cpp-thread-sanitizer:
+ test-ubuntu-24.04-cpp-thread-sanitizer:
ci: github
template: docker-tests/github.linux.yml
params:
env:
# clang-tools and llvm version need to be synchronized so as
# to have the right llvm-symbolizer version
- CLANG_TOOLS: 11
- LLVM: 11
- UBUNTU: 20.04
+ CLANG_TOOLS: 18
+ LLVM: 18
+ UBUNTU: 24.04
image: ubuntu-cpp-thread-sanitizer
test-ubuntu-20.04-cpp-minimal-with-formats: |
|
We can't because of #36552 |
|
Wait, let me try with those LLVM/CLang versions |
|
Indeed, the Flight tests still fail with those versions. However, CLang 18 also surfaces some minor C++ issues that I can fix here. |
|
@kou Do these changes look ok? |
kou
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
+1
I haven't tested this on local but it will work.
|
After merging your PR, Conbench analyzed the 4 benchmarking runs that have been run so far on merge-commit 7c8909a. There were no benchmark performance regressions. 🎉 The full Conbench report has more details. It also includes information about 1 possible false positive for unstable benchmarks that are known to sometimes produce them. |
Install the clang-rt libraries that are necessary to link Thread Sanitizer-enabled binaries. Also fix use of deprecated
BufferReaderconstructor in some tests, so that compilation with CLang 18 succeeds.Note that the C++ test suite still fails on Flight tests, as tracked in GH-36552.