From 5a2f847558a7f55790f1ad1fb5ee930b4ad1a3a9 Mon Sep 17 00:00:00 2001 From: Dick Carter Date: Fri, 18 Feb 2022 00:37:34 -0800 Subject: [PATCH] Temporarily add '-s' to pytest serial tests --- ci/docker/runtime_functions.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/ci/docker/runtime_functions.sh b/ci/docker/runtime_functions.sh index 05f80032cd15..69453c39e538 100755 --- a/ci/docker/runtime_functions.sh +++ b/ci/docker/runtime_functions.sh @@ -801,7 +801,8 @@ cd_unittest_ubuntu() { local mxnet_variant=${1:?"This function requires a mxnet variant as the first argument"} OMP_NUM_THREADS=$(expr $(nproc) / 4) pytest -m 'not serial' -n 4 --durations=50 --verbose tests/python/unittest - pytest -m 'serial' --durations=50 --verbose tests/python/unittest + # Temporarily tell pytest to not capture output ('-s') to get more insight into Python: Aborted error + pytest -m 'serial' --durations=50 --verbose -s --log-cli-level=DEBUG tests/python/unittest # https://github.com/apache/incubator-mxnet/issues/11801 # if [[ ${mxnet_variant} = "cpu" ]] || [[ ${mxnet_variant} = "mkl" ]]; then