Open Tom-Newton opened 8 months ago
Hmm, it seems that failed tests aren't same... Can we re-run failed tests?
diff --git a/ci/scripts/cpp_test.sh b/ci/scripts/cpp_test.sh
index 1d685c51a9..a23ea8eb1c 100755
--- a/ci/scripts/cpp_test.sh
+++ b/ci/scripts/cpp_test.sh
@@ -86,6 +86,7 @@ ctest \
--label-regex unittest \
--output-on-failure \
--parallel ${n_jobs} \
+ --repeat until-pass:3 \
--timeout ${ARROW_CTEST_TIMEOUT:-300} \
"${ctest_options[@]}" \
"$@"
I expect retries would be an effective mitigation.
Describe the bug, including details regarding any error messages, version, and platform.
Flaky failures like
I've seen the occur in different test cases and in different test suites.
Example failures: I've seen one flake on
main
: https://github.com/apache/arrow/actions/runs/7915689559/job/21608061673 Flakes on my recent PRs: https://github.com/apache/arrow/actions/runs/7951594516/job/21705210845?pr=40080 https://github.com/apache/arrow/actions/runs/7949050250/job/21699789831?pr=40080Component(s)
C++, Continuous Integration