From e338a8dd37cb6b8e8b0662e043519652dc9695ea Mon Sep 17 00:00:00 2001 From: Michal Berger Date: Mon, 17 Feb 2020 17:01:55 +0100 Subject: [PATCH] test/common: Don't attempt to install tsocks package on fedora 31 Currently, this particular package is not available in fedora 31's repos, thus don't exit the setup if its installation fails. Change-Id: I56852ed172c95b23c92e25b1cec391b4e909f2bd Signed-off-by: Michal Berger Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/936 Reviewed-by: Darek Stojaczyk Reviewed-by: Tomasz Zawadzki Tested-by: SPDK CI Jenkins --- test/common/config/vm_setup.sh | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/test/common/config/vm_setup.sh b/test/common/config/vm_setup.sh index a49ff1fff..4bb3f8eb7 100755 --- a/test/common/config/vm_setup.sh +++ b/test/common/config/vm_setup.sh @@ -441,7 +441,10 @@ if $INSTALL; then if [ $PACKAGEMNG == 'dnf' ]; then if echo $CONF | grep -q tsocks; then - sudo dnf install -y tsocks + # currently, tsocks package is retired in fedora 31, so don't exit in case + # installation failed + # FIXME: Review when fedora starts to successfully build this package again. + sudo dnf install -y tsocks || echo "Installation of the tsocks package failed, proxy may not be available" fi sudo dnf install -y \