-
Notifications
You must be signed in to change notification settings - Fork 3.9k
GH-47620: [CI][C++] Use Ubuntu 24.04 for ASAN UBSAN job #47623
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
|
|
44cca41 to
0ffb9f9
Compare
|
We have other Ubuntu 22.04 jobs. Should we disable Azure tests on them? |
|
Yes. |
0ffb9f9 to
1600bd3
Compare
Ubuntu 22.04 ships old Node.js (12). It's too old for Azurite. Ubuntu 24.04 ships newer Node.js (18) that is available for Azurite.
dd57e6e to
568e719
Compare
|
This is ready. I think that the Integration job failure is unrelated but it's persisted... https://github.com/apache/arrow/actions/runs/17970820404/job/51128774114#step:13:1146 |
I see Go failures in the integration test from time to time as well. @zeroshade |
ci/scripts/install_azurite.sh
Outdated
| azurite_version=latest | ||
| v12.*) | ||
| echo "Node.js is too old. We can't install Azurite." | ||
| exit |
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.
Perhaps return an error here?
| exit | |
| exit 1 |
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.
If we return 1 here, docker build is failed on Ubuntu 22.04.
I'll remove this check and remove install_azurite.sh from Ubuntu 22.04 based Dockerfile instead.
|
@github-actions crossbow submit testubuntu |
|
Revision: 34f3ceb Submitted crossbow builds: ursacomputing/crossbow @ actions-b7b2cfe8e8 |
|
@github-actions crossbow submit testubuntu |
|
Revision: 69a1a35 Submitted crossbow builds: ursacomputing/crossbow @ actions-6d2ba234a9 |
|
This is ready. |
| SetUpInternal(env); | ||
| auto env_result = AzuriteEnv::GetInstance(); | ||
| if (!env_result.ok()) { | ||
| GTEST_SKIP() << "Failed to setup: " << env_result.status().ToString(); |
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.
couldn't this makes us miss tests being skipped due to issues with our environment? We could potentially stop testing Azure and not realize
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.
This may happen but disabling Azure tests manually may be inconvenient...
BTW, we can do it by something like:
diff --git a/ci/scripts/cpp_test.sh b/ci/scripts/cpp_test.sh
index 88c06849c8..6b9011d570 100755
--- a/ci/scripts/cpp_test.sh
+++ b/ci/scripts/cpp_test.sh
@@ -46,6 +46,10 @@ ctest_options=()
case "$(uname)" in
Linux)
n_jobs=$(nproc)
+ if ! type azurite >/dev/null 2>&1; then
+ exclude_tests="arrow-azurefs-test"
+ ctest_options+=(--exclude-regex "${exclude_tests}")
+ fi
;;
Darwin)
n_jobs=$(sysctl -n hw.ncpu)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.
Thanks @kou I think I prefer the second approach so at least we have the safeguard of the macOS cpp job that installs azurite to fail if the install_azurite.sh script starts silently failing again.
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.
OK. I've changed to use the approach.
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.
AzureFS tests are excluded On Ubuntu 22.04:
https://github.com/apache/arrow/actions/runs/18025582047/job/51291868066?pr=47623#step:7:6958
+ ctest --label-regex unittest --output-on-failure --parallel 4 --repeat until-pass:3 --timeout 300 --exclude-regex arrow-azurefs-test
AzureFS tests are executed On Ubuntu 24.04:
https://github.com/apache/arrow/actions/runs/18025582047/job/51291868086?pr=47623#step:7:7607
Start 76: arrow-azurefs-test
|
After merging your PR, Conbench analyzed the 4 benchmarking runs that have been run so far on merge-commit 41659b8. 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. |
…#47623) ### Rationale for this change Ubuntu 22.04 ships old Node.js (12). It's too old for Azurite. ### What changes are included in this PR? Use Ubuntu 24.04 instead of 22.04. Ubuntu 24.04 ships newer Node.js (18) that can be used for Azurite. ### Are these changes tested? Yes. ### Are there any user-facing changes? No. * GitHub Issue: apache#47620 Authored-by: Sutou Kouhei <kou@clear-code.com> Signed-off-by: Raúl Cumplido <raulcumplido@gmail.com>
Rationale for this change
Ubuntu 22.04 ships old Node.js (12). It's too old for Azurite.
What changes are included in this PR?
Use Ubuntu 24.04 instead of 22.04. Ubuntu 24.04 ships newer Node.js (18) that can be used for Azurite.
Are these changes tested?
Yes.
Are there any user-facing changes?
No.