From 700fc6b9ee05f89b39b5afa33f74b3927316a9b6 Mon Sep 17 00:00:00 2001 From: Francis Deslauriers Date: Wed, 21 Dec 2016 16:46:52 -0500 Subject: [PATCH] Lava: Force unbuffered write to stdout for Python lava job submission scripts Signed-off-by: Francis Deslauriers --- scripts/lttng-baremetal-tests/run-baremetal-benchmarks.sh | 2 +- scripts/lttng-baremetal-tests/run-baremetal-tests.sh | 2 +- scripts/lttng-baremetal-tests/run-kvm-tests.sh | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/scripts/lttng-baremetal-tests/run-baremetal-benchmarks.sh b/scripts/lttng-baremetal-tests/run-baremetal-benchmarks.sh index 724afa6..70f2105 100644 --- a/scripts/lttng-baremetal-tests/run-baremetal-benchmarks.sh +++ b/scripts/lttng-baremetal-tests/run-baremetal-benchmarks.sh @@ -18,7 +18,7 @@ echo 'At this point, we built the modules and kernel if we needed to.' echo 'We can now launch the lava job using those artefacts' git clone https://github.com/lttng/lttng-ci -python lttng-ci/scripts/lttng-baremetal-tests/lava-submit.py \ +python -u lttng-ci/scripts/lttng-baremetal-tests/lava-submit.py \ -t baremetal-benchmarks \ -j "$JOB_NAME" \ -k "$STORAGE_KERNEL_IMAGE" \ diff --git a/scripts/lttng-baremetal-tests/run-baremetal-tests.sh b/scripts/lttng-baremetal-tests/run-baremetal-tests.sh index da991f4..b58cede 100644 --- a/scripts/lttng-baremetal-tests/run-baremetal-tests.sh +++ b/scripts/lttng-baremetal-tests/run-baremetal-tests.sh @@ -18,7 +18,7 @@ echo 'At this point, we built the modules and kernel if we needed to.' echo 'We can now launch the lava job using those artefacts' git clone https://github.com/lttng/lttng-ci -python lttng-ci/scripts/lttng-baremetal-tests/lava-submit.py \ +python -u lttng-ci/scripts/lttng-baremetal-tests/lava-submit.py \ -t baremetal-tests \ -j "$JOB_NAME" \ -k "$STORAGE_KERNEL_IMAGE" \ diff --git a/scripts/lttng-baremetal-tests/run-kvm-tests.sh b/scripts/lttng-baremetal-tests/run-kvm-tests.sh index 8b52fe1..66c8bab 100644 --- a/scripts/lttng-baremetal-tests/run-kvm-tests.sh +++ b/scripts/lttng-baremetal-tests/run-kvm-tests.sh @@ -18,7 +18,7 @@ echo 'At this point, we built the modules and kernel if we needed to.' echo 'We can now launch the lava job using those artefacts' git clone https://github.com/lttng/lttng-ci -python lttng-ci/scripts/lttng-baremetal-tests/lava-submit.py \ +python -u lttng-ci/scripts/lttng-baremetal-tests/lava-submit.py \ -t kvm-tests \ -j "$JOB_NAME" \ -k "$STORAGE_KERNEL_IMAGE" \ -- 2.34.1