Disable -eu on venv activation
authorJonathan Rajotte <jonathan.rajotte-julien@efficios.com>
Mon, 5 Nov 2018 18:59:19 +0000 (13:59 -0500)
committerJonathan Rajotte <jonathan.rajotte-julien@efficios.com>
Mon, 5 Nov 2018 18:59:19 +0000 (13:59 -0500)
Signed-off-by: Jonathan Rajotte <jonathan.rajotte-julien@efficios.com>
scripts/system-tests/run-baremetal-benchmarks.sh
scripts/system-tests/run-baremetal-tests.sh
scripts/system-tests/run-kvm-fuzzing-tests.sh
scripts/system-tests/run-kvm-tests.sh

index 7106afdf9f1476ec1e7449bc0029be8bf6400968..5f656af4cb92adcbf8dd9d2c2dd048fb2fe2d18c 100644 (file)
@@ -19,7 +19,9 @@ echo 'We can now launch the lava job using those artefacts'
 
 venv=$(mktemp -d)
 virtualenv -p python3 "$venv"
+set +eu
 source "${venv}/bin/activate"
+set -eu
 pip install pyyaml
 
 python -u "$LTTNG_CI_PATH"/scripts/system-tests/lava-submit.py \
@@ -37,7 +39,9 @@ python -u "$LTTNG_CI_PATH"/scripts/system-tests/lava2-submit.py \
                           -km "$S3_URL_LINUX_MODULES" \
                           -lm "$S3_URL_LTTNG_MODULES" \
                           -tc "$LTTNG_TOOLS_COMMIT_ID"
+set +eu
 deactivate
+set -eu
 rm -rf "$venv"
 
 # Create a results folder for this job
index 3d60872c42a07cd1338cbc522a57f3e48e6fdd3d..a5323e4fa7930ad2164a211e80836583c4079adc 100644 (file)
@@ -19,7 +19,10 @@ echo 'We can now launch the lava job using those artefacts'
 
 venv=$(mktemp -d)
 virtualenv -p python3 "$venv"
+
+set +eu
 source "${venv}/bin/activate"
+set -eu
 pip install pyyaml
 
 python -u "$LTTNG_CI_PATH"/scripts/system-tests/lava-submit.py \
@@ -39,5 +42,7 @@ python -u "$LTTNG_CI_PATH"/scripts/system-tests/lava2-submit.py \
                           -lm "$S3_URL_LTTNG_MODULES" \
                           -tc "$LTTNG_TOOLS_COMMIT_ID" \
                           -uc "$LTTNG_UST_COMMIT_ID"
+set +eu
 deactivate
+set -eu
 rm -rf "$venv"
index 13e5acff74527687a8d1f1fa92ab5d19363ebe27..a9e1aedbe51402fdd3b055ed1f5416354d002eaa 100644 (file)
@@ -19,7 +19,9 @@ echo 'We can now launch the lava job using those artefacts'
 
 venv=$(mktemp -d)
 virtualenv -p python3 "$venv"
+set +eu
 source "${venv}/bin/activate"
+set -eu
 pip install pyyaml
 
 python -u "$LTTNG_CI_PATH"/scripts/system-tests/lava-submit.py \
@@ -39,5 +41,7 @@ python -u "$LTTNG_CI_PATH"/scripts/system-tests/lava2-submit.py \
                           -lm "$S3_URL_LTTNG_MODULES" \
                           -tc "$LTTNG_TOOLS_COMMIT_ID" \
                           -uc "$LTTNG_UST_COMMIT_ID" \
+set +eu
 deactivate
+set -eu
 rm -rf "$venv"
index 57f462dfd7f3ae70f8ae512b9c3f91901e8ab807..622cfce371478f86c39d42999b9273153f57ccc4 100644 (file)
@@ -19,7 +19,9 @@ echo 'We can now launch the lava job using those artefacts'
 
 venv=$(mktemp -d)
 virtualenv -p python3 "$venv"
+set +eu
 source "${venv}/bin/activate"
+set -eu
 pip install pyyaml
 
 python -u "$LTTNG_CI_PATH"/scripts/system-tests/lava-submit.py \
@@ -39,5 +41,7 @@ python -u "$LTTNG_CI_PATH"/scripts/system-tests/lava2-submit.py \
                           -lm "$S3_URL_LTTNG_MODULES" \
                           -tc "$LTTNG_TOOLS_COMMIT_ID" \
                           -uc "$LTTNG_UST_COMMIT_ID"
+set +eu
 deactivate
+set -eu
 rm -rf "$venv"
This page took 0.025717 seconds and 4 git commands to generate.