diff --git a/.ci/bootstrap_spack.sh b/.ci/bootstrap_spack.sh index a4b9e0cc581b7316b2c5f8c2cb1d5ea7d937ecae..d349008d615d2e4d4ad4fa690a50b0266248e2ec 100755 --- a/.ci/bootstrap_spack.sh +++ b/.ci/bootstrap_spack.sh @@ -3,7 +3,7 @@ # Prepare spack by bootstrapping and installing the visionary compiler # set -euo pipefail -shopt -s inherit_errexit +shopt -s inherit_errexit 2>/dev/null || true sourcedir="$(dirname "$(readlink -m "${BASH_SOURCE[0]}")")" source "${sourcedir}/commons.sh" diff --git a/.ci/build_image.sh b/.ci/build_image.sh index 139e3ccee362b64ded62fa8e128912ae1b349686..020161a68e3d1c433da25c791fc5319ff9adf2f2 100755 --- a/.ci/build_image.sh +++ b/.ci/build_image.sh @@ -1,7 +1,7 @@ #!/bin/bash set -euo pipefail -shopt -s inherit_errexit +shopt -s inherit_errexit 2>/dev/null || true if (( $(find sandboxes -mindepth 1 -maxdepth 1 | wc -l) > 1 )); then echo "More than one sandbox found, this should never happen!" >&2 diff --git a/.ci/build_sandbox.sh b/.ci/build_sandbox.sh index c07a41b3eacd81cd35d55e4df19498c8cf239800..e32af6d69bf6fdc1fda238843145e940c3b57948 100755 --- a/.ci/build_sandbox.sh +++ b/.ci/build_sandbox.sh @@ -1,7 +1,7 @@ #!/bin/bash set -euo pipefail -shopt -s inherit_errexit +shopt -s inherit_errexit 2>/dev/null || true # set generic locale for building export LANG=C.UTF-8 diff --git a/.ci/commons.sh b/.ci/commons.sh index 0ef7a1b83d4a44d354cd030c09fb9104cd7086d8..104e893fb282a96ba7a3565232ba5359d97b91c9 100755 --- a/.ci/commons.sh +++ b/.ci/commons.sh @@ -1,7 +1,7 @@ #!/bin/bash set -euo pipefail -shopt -s inherit_errexit +shopt -s inherit_errexit 2>/dev/null || true JENKINS_ENV_FILE_INSIDE="/tmp/spack/jenkins.env" if [ -n "${WORKSPACE:-}" ]; then diff --git a/.ci/complete_spack_install_routine_called_in_post_as_root.sh b/.ci/complete_spack_install_routine_called_in_post_as_root.sh index b78e641d97e59cce9a3e0fe4db8cbd3b4b0c148c..9aca0cb6054af5575b85a9bec765d4bbd29a85b4 100755 --- a/.ci/complete_spack_install_routine_called_in_post_as_root.sh +++ b/.ci/complete_spack_install_routine_called_in_post_as_root.sh @@ -6,7 +6,7 @@ # set -euo pipefail -shopt -s inherit_errexit +shopt -s inherit_errexit 2>/dev/null || true SOURCE_DIR="$(dirname "$(readlink -m "${BASH_SOURCE[0]}")")" source "${SOURCE_DIR}/commons.sh" diff --git a/.ci/generate_modules.sh b/.ci/generate_modules.sh index a3541df784eeb55b010434409b6847786dc806a9..1fa4469882e4465b142cfc6c9b241fb71bcf6bc9 100755 --- a/.ci/generate_modules.sh +++ b/.ci/generate_modules.sh @@ -1,7 +1,7 @@ #!/bin/bash set -euo pipefail -shopt -s inherit_errexit +shopt -s inherit_errexit 2>/dev/null || true # This script searches the environment-modules install folder for the init # folder which contains the init scripts for a variety of shells. diff --git a/.ci/install_singularity_as_root.sh b/.ci/install_singularity_as_root.sh index e1af2cd429d62f9ed3ea3a6be516a59c4e4d2b05..e02844fc88321fdab11c3bed634e0c317ae97f5b 100755 --- a/.ci/install_singularity_as_root.sh +++ b/.ci/install_singularity_as_root.sh @@ -3,7 +3,7 @@ # regenerated!) set -euo pipefail -shopt -s inherit_errexit +shopt -s inherit_errexit 2>/dev/null || true sourcedir="$(dirname "$(readlink -m "${BASH_SOURCE[0]}")")" source "${sourcedir}/commons.sh" diff --git a/.ci/install_visionary_spack.sh b/.ci/install_visionary_spack.sh index 980cee741e9f6c4727c208eb432de6a4e8c33080..5656102d9414101464d2c415547ae472166d4bc0 100755 --- a/.ci/install_visionary_spack.sh +++ b/.ci/install_visionary_spack.sh @@ -3,7 +3,7 @@ # has been installed). set -euo pipefail -shopt -s inherit_errexit +shopt -s inherit_errexit 2>/dev/null || true sourcedir="$(dirname "$(readlink -m "${BASH_SOURCE[0]}")")" source "${sourcedir}/commons.sh" diff --git a/.ci/prepare_spack_as_root.sh b/.ci/prepare_spack_as_root.sh index 38ac0c7ad82aeb6e7dba835a37e5af2bebe32895..c89c31e277a18605806ab8ea709c21cf1dccf30f 100755 --- a/.ci/prepare_spack_as_root.sh +++ b/.ci/prepare_spack_as_root.sh @@ -3,7 +3,7 @@ # prepare spack as root during container setup set -euo pipefail -shopt -s inherit_errexit +shopt -s inherit_errexit 2>/dev/null || true SOURCE_DIR="$(dirname "$(readlink -m "${BASH_SOURCE[0]}")")" source "${SOURCE_DIR}/commons.sh" diff --git a/.ci/preserve_built_spack_packages.sh b/.ci/preserve_built_spack_packages.sh index 40f35027d1eb119f50f00bea1fb9584895f2b85f..7672aadf78fcbfa08702f8de3d5b3bf322a61281 100755 --- a/.ci/preserve_built_spack_packages.sh +++ b/.ci/preserve_built_spack_packages.sh @@ -17,7 +17,7 @@ # .ci/create_temporary_build_cache_after_failure.sh). set -euo pipefail -shopt -s inherit_errexit +shopt -s inherit_errexit 2>/dev/null || true sourcedir="$(dirname "$(readlink -m "${BASH_SOURCE[0]}")")" source "${sourcedir}/commons.sh" diff --git a/.ci/restore_spack_user_settings.sh b/.ci/restore_spack_user_settings.sh index 26cda8058e987ba564d8e4e6b2d20054a22f73bb..ec03def32e16e33d3ece878f317fcbc576be100d 100755 --- a/.ci/restore_spack_user_settings.sh +++ b/.ci/restore_spack_user_settings.sh @@ -5,7 +5,7 @@ # set -euo pipefail -shopt -s inherit_errexit +shopt -s inherit_errexit 2>/dev/null || true sourcedir="$(dirname "$(readlink -m "${BASH_SOURCE[0]}")")" source "${sourcedir}/commons.sh" diff --git a/.ci/restore_spack_user_settings_as_root.sh b/.ci/restore_spack_user_settings_as_root.sh index 75083a0ee1b39c50e0d514b451930971e0890ffb..db7d4e78197648962b2da69fb1b81534b1675eba 100755 --- a/.ci/restore_spack_user_settings_as_root.sh +++ b/.ci/restore_spack_user_settings_as_root.sh @@ -5,7 +5,7 @@ # set -euo pipefail -shopt -s inherit_errexit +shopt -s inherit_errexit 2>/dev/null || true sourcedir="$(dirname "$(readlink -m "${BASH_SOURCE[0]}")")" source "${sourcedir}/commons.sh" diff --git a/.ci/setup_env_spack.sh b/.ci/setup_env_spack.sh index 9f25e6b3f9472b8879849bd90c1b0a84c152ff74..42fbc34fd623f13b777a99348740285842317258 100755 --- a/.ci/setup_env_spack.sh +++ b/.ci/setup_env_spack.sh @@ -1,7 +1,7 @@ #!/bin/bash set -euo pipefail -shopt -s inherit_errexit +shopt -s inherit_errexit 2>/dev/null || true # inside the container the tmpdir is mounted to /tmp/spack export SPACK_TMPDIR="/tmp/spack" diff --git a/.ci/update_build_cache.sh b/.ci/update_build_cache.sh index 5806cc6e439847d46f6ee6a7e8a39c8626c6ba3c..379727b76ab89ed30066e8151fd02d343b60ec88 100755 --- a/.ci/update_build_cache.sh +++ b/.ci/update_build_cache.sh @@ -1,7 +1,7 @@ #!/bin/bash set -euo pipefail -shopt -s inherit_errexit +shopt -s inherit_errexit 2>/dev/null || true # only update build cache for stable builds if [ "${CONTAINER_BUILD_TYPE:-}" != "stable" ]; then diff --git a/.ci/update_build_cache_in_container.sh b/.ci/update_build_cache_in_container.sh index 5c4ffad3bdd187cb9e8a8c222eb2ce448d36b073..aa7061c33f96bee32856a2e83ab96dca61060416 100755 --- a/.ci/update_build_cache_in_container.sh +++ b/.ci/update_build_cache_in_container.sh @@ -7,7 +7,7 @@ # set -euo pipefail -shopt -s inherit_errexit +shopt -s inherit_errexit 2>/dev/null || true usage() { cat 1>&2 <<EOF Usage: ${0} [-c <base-cache>] [-d <destination-folder>]