From 4b7f11ec88b72a50fa897cfd062eacc0edbc9f38 Mon Sep 17 00:00:00 2001 From: Karol Latecki Date: Thu, 23 Apr 2020 07:41:34 +0200 Subject: [PATCH] test/vm_setup: add wget to list of installed packages This might be a bit confusing, but it seems some of the distributions using "minimal" install do not come with wget installed, and it is used frequently in our provisioning scripts. I stumbled upon this issue with Centos7, but am adding wget for all distros, just to be sure. Signed-off-by: Karol Latecki Change-Id: I9621d5ce92014623d76d70c9e22d9eefa9ea0203 Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/1994 Community-CI: Mellanox Build Bot Reviewed-by: Tomasz Zawadzki Reviewed-by: Ben Walker Tested-by: SPDK CI Jenkins --- test/common/config/vm_setup.sh | 15 ++++++++++----- 1 file changed, 10 insertions(+), 5 deletions(-) diff --git a/test/common/config/vm_setup.sh b/test/common/config/vm_setup.sh index a104537e1..4b2d6af38 100755 --- a/test/common/config/vm_setup.sh +++ b/test/common/config/vm_setup.sh @@ -474,7 +474,8 @@ if $INSTALL; then gdisk \ socat \ sshpass \ - py37-pandas + py37-pandas \ + wget elif [ $PACKAGEMNG == 'yum' ]; then sudo yum install -y pciutils \ @@ -518,7 +519,8 @@ if $INSTALL; then bc \ kernel-modules-extra \ systemd-devel \ - python3 + python3 \ + wget sudo yum install -y nbd || { wget -O nbd.rpm https://download-ib01.fedoraproject.org/pub/epel/7/x86_64/Packages/n/nbd-3.14-2.el7.x86_64.rpm @@ -577,7 +579,8 @@ if $INSTALL; then bc \ kernel-modules-extra \ systemd-devel \ - smartmontools + smartmontools \ + wget elif [ $PACKAGEMNG == 'apt-get' ]; then echo "Package perl-open is not available at Ubuntu repositories" >&2 @@ -647,7 +650,8 @@ if $INSTALL; then python3-pandas \ btrfs-tools \ bc \ - smartmontools + smartmontools \ + wget # rpm-build is not used # iptables installed by default @@ -690,7 +694,8 @@ if $INSTALL; then perl-switch \ open-iscsi \ smartmontools \ - parted + parted \ + wget # TODO: # These are either missing or require some other installation method