From 88ca9813bbe4d26e5c9f59f1fdfbf0db3384a131 Mon Sep 17 00:00:00 2001 From: Tino Vazquez Date: Thu, 31 Jan 2019 15:05:45 +0100 Subject: [PATCH] Add install gems --- .travis/tests/03-oned.sh | 3 +++ .travis/tests/04-sunstone.sh | 8 ++++++-- 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/.travis/tests/03-oned.sh b/.travis/tests/03-oned.sh index 77bfe4bf2b..54fe1bb7e4 100755 --- a/.travis/tests/03-oned.sh +++ b/.travis/tests/03-oned.sh @@ -22,6 +22,9 @@ sudo ./install.sh -u travis mkdir $HOME/.one echo "oneadmin:opennebula" > $HOME/.one/one_auth +# Install gems +/usr/share/one/install_gems --yes + # start oned one start diff --git a/.travis/tests/04-sunstone.sh b/.travis/tests/04-sunstone.sh index da935ecbac..dc37e263b2 100755 --- a/.travis/tests/04-sunstone.sh +++ b/.travis/tests/04-sunstone.sh @@ -18,9 +18,13 @@ sunstone-server start # check it's up -timeout 60 sh -c 'until nc -z $0 $1; do sleep 1; done' localhost 9869 +RC=`timeout 60 sh -c 'until nc -z $0 $1; do sleep 1; done' localhost 9869` +echo "Sunstone log" cat /var/log/one/sunstone.log +echo +echo "Sunstone error log" cat /var/log/one/sunstone.error +echo "---------" -exit 1 +exit $RC