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

Set JULIA_TEST_TIMEOUT_SIGNUM=3 #165

Draft
wants to merge 4 commits into
base: main
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .buildkite/hooks/post-checkout
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
4 changes: 4 additions & 0 deletions utilities/test_julia.sh
Original file line number Diff line number Diff line change
Expand Up @@ -138,13 +138,17 @@ 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)"
elif [[ "${OS}" == "macos" || "${OS}" == "freebsd" ]]; 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

# Begin with "+++" => Expand test group by default
Expand Down