Skip to content

Commit e2b2a2f

Browse files
authored
Add psutil to pip install directives (#4782)
1 parent ed4224c commit e2b2a2f

13 files changed

+16
-16
lines changed

tests/libs/utils.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ function setup_tests() {
4141

4242
export DEBIAN_FRONTEND=noninteractive
4343
apt-get install python3-pip -y
44-
pip3 install -U pytest requests pyyaml sh
44+
pip3 install -U pytest requests pyyaml sh psutil
4545
apt-get install jq -y
4646
snap install kubectl --classic
4747
export ARCH=$(uname -m)

tests/lxc/install-deps/images_almalinux-8

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ systemctl enable --now snapd.socket
99
ln -s /var/lib/snapd/snap /snap
1010
yum install python3-pip -y
1111
yum install docker -y
12-
pip3 install pytest requests pyyaml sh
12+
pip3 install pytest requests pyyaml sh psutil
1313

1414
# wait for the snapd seeding to take place!
1515
n=0

tests/lxc/install-deps/images_centos-7

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ systemctl enable --now snapd.socket
77
ln -s /var/lib/snapd/snap /snap
88
yum install python3-pip -y
99
yum install docker -y
10-
pip3 install pytest requests pyyaml sh
10+
pip3 install pytest requests pyyaml sh psutil
1111

1212
# wait for the snapd seeding to take place!
1313
n=0

tests/lxc/install-deps/images_centos-8-Stream

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ systemctl enable --now snapd.socket
99
ln -s /var/lib/snapd/snap /snap
1010
yum install python3-pip -y
1111
yum install docker -y
12-
pip3 install pytest requests pyyaml sh
12+
pip3 install pytest requests pyyaml sh psutil
1313

1414
# wait for the snapd seeding to take place!
1515
n=0

tests/lxc/install-deps/images_debian-10

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ export DEBIAN_FRONTEND=noninteractive
55

66
apt-get update
77
apt-get install python3-pip docker.io libsquashfuse0 squashfuse fuse snapd -y
8-
pip3 install pytest requests pyyaml sh
8+
pip3 install pytest requests pyyaml sh psutil
99
# Attempting to address https://forum.snapcraft.io/t/lxd-refresh-cause-container-socket-error/8698
1010
# if core is to be installed by microk8s it fails
1111

@@ -24,4 +24,4 @@ do
2424
sudo snap install core20 && break # substitute your command here
2525
n=$[$n+1]
2626
sleep 10
27-
done
27+
done

tests/lxc/install-deps/images_debian-11

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ export DEBIAN_FRONTEND=noninteractive
55

66
apt-get update
77
apt-get install python3-pip docker.io libsquashfuse0 squashfuse fuse snapd -y
8-
pip3 install pytest requests pyyaml sh
8+
pip3 install pytest requests pyyaml sh psutil
99
# Attempting to address https://forum.snapcraft.io/t/lxd-refresh-cause-container-socket-error/8698
1010
# if core is to be installed by microk8s it fails
1111

@@ -25,4 +25,4 @@ do
2525
sudo snap install core20 && break # substitute your command here
2626
n=$[$n+1]
2727
sleep 10
28-
done
28+
done

tests/lxc/install-deps/images_debian-12

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ export DEBIAN_FRONTEND=noninteractive
55

66
apt-get update
77
apt-get install python3-pip docker.io libsquashfuse0 squashfuse fuse snapd -y
8-
pip3 install pytest requests pyyaml sh --break-system-packages
8+
pip3 install pytest requests pyyaml sh psutil --break-system-packages
99
# Attempting to address https://forum.snapcraft.io/t/lxd-refresh-cause-container-socket-error/8698
1010
# if core is to be installed by microk8s it fails
1111

@@ -16,4 +16,4 @@ do
1616
sudo snap install core20 && break # substitute your command here
1717
n=$[$n+1]
1818
sleep 10
19-
done
19+
done

tests/lxc/install-deps/images_fedora-37

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ systemctl enable --now snapd.socket
88
ln -s /var/lib/snapd/snap /snap
99
yum install python3-pip -y
1010
yum install docker -y
11-
pip3 install pytest requests pyyaml sh
11+
pip3 install pytest requests pyyaml sh psutil
1212

1313
# wait for the snapd seeding to take place!
1414
n=0

tests/lxc/install-deps/images_fedora-38

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ systemctl enable --now snapd.socket
88
ln -s /var/lib/snapd/snap /snap
99
yum install python3-pip -y
1010
yum install docker -y
11-
pip3 install pytest requests pyyaml sh
11+
pip3 install pytest requests pyyaml sh psutil
1212

1313
# wait for the snapd seeding to take place!
1414
n=0

tests/lxc/install-deps/images_rockylinux-8

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ systemctl enable --now snapd.socket
99
ln -s /var/lib/snapd/snap /snap
1010
yum install python3-pip -y
1111
yum install docker -y
12-
pip3 install pytest requests pyyaml sh
12+
pip3 install pytest requests pyyaml sh psutil
1313

1414
# wait for the snapd seeding to take place!
1515
n=0

0 commit comments

Comments
 (0)