From c4f06be3216c9a96ac98142af993af2ce9b68726 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20Dulko?= Date: Tue, 10 Oct 2023 17:57:37 +0200 Subject: [PATCH] CI: Fix "error: externally-managed-environment" in CSI PR #2414 missed fixing this for Cinder and Manila e2e tests, this makes sure these tests work too. --- tests/ci-csi-cinder-e2e.sh | 3 ++- tests/ci-csi-manila-e2e.sh | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/tests/ci-csi-cinder-e2e.sh b/tests/ci-csi-cinder-e2e.sh index c1d40b9d4a..eb0c791350 100755 --- a/tests/ci-csi-cinder-e2e.sh +++ b/tests/ci-csi-cinder-e2e.sh @@ -44,7 +44,8 @@ cleanup() { } trap cleanup EXIT -python3 -m pip install requests ansible +apt-get update +apt-get install -y python3-requests ansible # If BOSKOS_HOST is set then acquire a resource of type ${RESOURCE_TYPE} from Boskos. if [ -n "${BOSKOS_HOST:-}" ]; then diff --git a/tests/ci-csi-manila-e2e.sh b/tests/ci-csi-manila-e2e.sh index dd9f146f44..9d1a8986a5 100755 --- a/tests/ci-csi-manila-e2e.sh +++ b/tests/ci-csi-manila-e2e.sh @@ -44,7 +44,8 @@ cleanup() { } trap cleanup EXIT -python3 -m pip install requests ansible +apt-get update +apt-get install -y python3-requests ansible # If BOSKOS_HOST is set then acquire a resource of type ${RESOURCE_TYPE} from Boskos. if [ -n "${BOSKOS_HOST:-}" ]; then