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