diff --git a/ci/rpm/test_daos_node.sh b/ci/rpm/test_daos_node.sh index 9968d1ec49d..36bd44fd4a3 100755 --- a/ci/rpm/test_daos_node.sh +++ b/ci/rpm/test_daos_node.sh @@ -105,6 +105,14 @@ FTEST=/usr/lib/daos/TESTING/ftest python3 -m venv venv # shellcheck disable=SC1091 source venv/bin/activate + +cat < venv/pip.conf +[global] + progress_bar = off + no_color = true + quiet = 1 +EOF + pip install --upgrade pip pip install -r $FTEST/requirements-ftest.txt diff --git a/ci/unit/test_main_node.sh b/ci/unit/test_main_node.sh index 0afbf26fea6..ad03978ee84 100755 --- a/ci/unit/test_main_node.sh +++ b/ci/unit/test_main_node.sh @@ -1,7 +1,7 @@ #!/bin/bash # # Copyright 2020-2023 Intel Corporation. -# Copyright 2025 Hewlett Packard Enterprise Development LP +# Copyright 2025-2026 Hewlett Packard Enterprise Development LP # # SPDX-License-Identifier: BSD-2-Clause-Patent # @@ -84,13 +84,17 @@ rm -rf "$test_log_dir" python3 -m venv venv # shellcheck disable=SC1091 source venv/bin/activate -# touch venv/pip.conf -# pip config set global.progress_bar off -# pip config set global.no_color true + +cat < venv/pip.conf +[global] + progress_bar = off + no_color = true + quiet = 1 +EOF pip install --upgrade pip -pip install --requirement requirements-utest.txt +pip install --requirement requirements-utest.txt pip install /opt/daos/lib/daos/python/ HTTPS_PROXY="${DAOS_HTTPS_PROXY:-}" utils/run_utest.py $RUN_TEST_VALGRIND \ diff --git a/ci/unit/test_nlt_node.sh b/ci/unit/test_nlt_node.sh index fa422586ad9..730dea30423 100755 --- a/ci/unit/test_nlt_node.sh +++ b/ci/unit/test_nlt_node.sh @@ -28,13 +28,17 @@ sudo bash -c ". ./utils/sl/setup_local.sh; ./utils/setup_daos_server_helper.sh" python3.11 -m venv venv # shellcheck disable=SC1091 source venv/bin/activate -touch venv/pip.conf -pip config set global.progress_bar off -pip config set global.no_color true + +cat < venv/pip.conf +[global] + progress_bar = off + no_color = true + quiet = 1 +EOF pip install --upgrade pip -pip install --requirement requirements-utest.txt +pip install --requirement requirements-utest.txt pip install /opt/daos/lib/daos/python/ # set high open file limit in the shell to avoid extra warning diff --git a/src/tests/ftest/dfuse/daos_build.py b/src/tests/ftest/dfuse/daos_build.py index dceba07d233..d5b017074a9 100644 --- a/src/tests/ftest/dfuse/daos_build.py +++ b/src/tests/ftest/dfuse/daos_build.py @@ -1,6 +1,6 @@ """ (C) Copyright 2020-2024 Intel Corporation. - (C) Copyright 2025 Hewlett Packard Enterprise Development LP + (C) Copyright 2025-2026 Hewlett Packard Enterprise Development LP (C) Copyright 2025 Google LLC SPDX-License-Identifier: BSD-2-Clause-Patent diff --git a/src/tests/ftest/scripts/main.sh b/src/tests/ftest/scripts/main.sh index f6b4ebb4500..3f3e2c7cb69 100755 --- a/src/tests/ftest/scripts/main.sh +++ b/src/tests/ftest/scripts/main.sh @@ -27,7 +27,15 @@ python3 -m venv venv # shellcheck disable=SC1091 source venv/bin/activate +cat < venv/pip.conf +[global] + progress_bar = off + no_color = true + quiet = 1 +EOF + pip install --upgrade pip + pip install -r "$PREFIX"/lib/daos/TESTING/ftest/requirements-ftest.txt if $TEST_RPMS; then diff --git a/utils/scripts/helpers/repo-helper-el8.sh b/utils/scripts/helpers/repo-helper-el8.sh index 3572699d634..28b2e7f01a3 100755 --- a/utils/scripts/helpers/repo-helper-el8.sh +++ b/utils/scripts/helpers/repo-helper-el8.sh @@ -134,5 +134,8 @@ if [ -n "$REPO_FILE_URL" ]; then [global] trusted-host = ${trusted_host} index-url = https://${trusted_host}/artifactory/api/pypi/pypi-proxy/simple + progress_bar = off + no_color = true + quiet = 1 EOF fi diff --git a/utils/scripts/helpers/repo-helper-el9.sh b/utils/scripts/helpers/repo-helper-el9.sh index b595d5d5c15..ece81cf786f 100644 --- a/utils/scripts/helpers/repo-helper-el9.sh +++ b/utils/scripts/helpers/repo-helper-el9.sh @@ -130,5 +130,8 @@ if [ -n "$REPO_FILE_URL" ]; then [global] trusted-host = ${trusted_host} index-url = https://${trusted_host}/artifactory/api/pypi/pypi-proxy/simple + progress_bar = off + no_color = true + quiet = 1 EOF fi diff --git a/utils/scripts/helpers/repo-helper-leap15.sh b/utils/scripts/helpers/repo-helper-leap15.sh index 98ced4e82ea..bacae8b2698 100755 --- a/utils/scripts/helpers/repo-helper-leap15.sh +++ b/utils/scripts/helpers/repo-helper-leap15.sh @@ -178,5 +178,8 @@ if [ -n "$REPO_FILE_URL" ]; then [global] trusted-host = ${trusted_host} index-url = https://${trusted_host}/artifactory/api/pypi/pypi-proxy/simple + progress_bar = off + no_color = true + quiet = 1 EOF fi diff --git a/utils/scripts/helpers/repo-helper-ubuntu.sh b/utils/scripts/helpers/repo-helper-ubuntu.sh index c7738a982de..54fd74b669c 100644 --- a/utils/scripts/helpers/repo-helper-ubuntu.sh +++ b/utils/scripts/helpers/repo-helper-ubuntu.sh @@ -115,5 +115,8 @@ if [ -n "$REPO_FILE_URL" ]; then [global] trusted-host = ${trusted_host} index-url = https://${trusted_host}/artifactory/api/pypi/pypi-proxy/simple + progress_bar = off + no_color = true + quiet = 1 EOF fi