From 2f312c4cfb54aa5f2edbbfca72c8c8e2eca9b3f2 Mon Sep 17 00:00:00 2001 From: Elliot Saba Date: Wed, 29 Jun 2022 22:39:25 +0000 Subject: [PATCH 1/2] Set `JULIA_TEST_TIMEOUT_SIGNUM=3` to catch more coredumps SIGQUIT generally causes a process to coredump, so let's use that as the termination signal throughout our test suite. X-ref: https://github.com/JuliaLang/julia/pull/45864 --- utilities/test_julia.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/utilities/test_julia.sh b/utilities/test_julia.sh index abb2f8c8..e392babc 100755 --- a/utilities/test_julia.sh +++ b/utilities/test_julia.sh @@ -125,6 +125,9 @@ echo "JL_TERM_TIMEOUT is: ${JL_TERM_TIMEOUT}" # Show our core dump file pattern and size limit if we're going to be recording them if [[ -z "${USE_RR-}" ]]; then + # Tell Julia to send `SIGQUIT` if something times out internally, generating a coredump + export JULIA_TEST_TIMEOUT_SIGNUM=3 + ulimit -c unlimited if [[ "${OS}" == linux* || "${OS}" == "musl" ]]; then echo "Core dump pattern: $(cat /proc/sys/kernel/core_pattern)" @@ -132,6 +135,7 @@ if [[ -z "${USE_RR-}" ]]; then echo "Core dump pattern: $(sysctl -n kern.corefile)" fi echo "Core dump size limit: $(ulimit -c)" + echo "Timeout signal set to: ${JULIA_TEST_TIMEOUT_SIGNUM}" fi echo "--- Run the Julia test suite" From 5d5bfd4cf8f75064ffa8679e3aeca3ca6c6ffc57 Mon Sep 17 00:00:00 2001 From: Elliot Saba Date: Wed, 29 Jun 2022 22:40:10 +0000 Subject: [PATCH 2/2] [DO NOT MERGE] Use customized julia branch --- .buildkite/hooks/post-checkout | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.buildkite/hooks/post-checkout b/.buildkite/hooks/post-checkout index 8511a873..65d785bf 100755 --- a/.buildkite/hooks/post-checkout +++ b/.buildkite/hooks/post-checkout @@ -5,7 +5,7 @@ set -euo pipefail # Buildkite users can trigger new builds with these values overridden to # test specific julia gitshas UPSTREAM_URL="${UPSTREAM_URL:-https://github.com/JuliaLang/julia.git}" -UPSTREAM_BRANCH="${UPSTREAM_BRANCH:-master}" +UPSTREAM_BRANCH="${UPSTREAM_BRANCH:-sf/core_o_rama}" # All of our workers are required to provide a default for the julia cache dir # We're going to cache repositories in here, just like buildkite itself would: