Created
October 2, 2015 20:05
-
-
Save equick/acbc54bb93dacf155e0b to your computer and use it in GitHub Desktop.
kitchen verify
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ kitchen verify | |
-----> Starting Kitchen (v1.4.2) | |
-----> Setting up <default-centos-65>... | |
Finished setting up <default-centos-65> (0m0.00s). | |
-----> Verifying <default-centos-65>... | |
Preparing files for transfer | |
-----> Installing Busser (busser) | |
ERROR: Could not find a valid gem 'busser' (>= 0), here is why: | |
Unable to download data from https://rubygems.org/ - Errno::ETIMEDOUT: Connection timed out - connect(2) for "api.rubygems.org" port 443 (https://api.rubygems.org/specs.4.8.gz) | |
sh: line 23: /tmp/verifier/gems/bin/busser: No such file or directory | |
Installing Busser plugins: busser-serverspec | |
sudo: /tmp/verifier/bin/busser: command not found | |
>>>>>> Verify failed on instance <default-centos-65>. | |
>>>>>> Please see .kitchen/logs/default-centos-65.log for more details | |
>>>>>> ------Exception------- | |
>>>>>> Class: Kitchen::ActionFailed | |
>>>>>> Message: SSH exited (1) for command: [sh -c ' | |
BUSSER_ROOT="/tmp/verifier"; export BUSSER_ROOT | |
GEM_HOME="/tmp/verifier/gems"; export GEM_HOME | |
GEM_PATH="/tmp/verifier/gems"; export GEM_PATH | |
GEM_CACHE="/tmp/verifier/gems/cache"; export GEM_CACHE | |
ruby="/opt/chef/embedded/bin/ruby" | |
gem="/opt/chef/embedded/bin/gem" | |
version="busser" | |
gem_install_args="busser --no-rdoc --no-ri" | |
busser="sudo -E /tmp/verifier/bin/busser" | |
plugins="busser-serverspec" | |
$gem list busser -i 2>&1 >/dev/null | |
if test $? -ne 0; then | |
echo "-----> Installing Busser ($version)" | |
$gem install $gem_install_args | |
else | |
echo "-----> Busser installation detected ($version)" | |
fi | |
if test ! -f "$BUSSER_ROOT/bin/busser"; then | |
gem_bindir=`$ruby -rrubygems -e "puts Gem.bindir"` | |
$gem_bindir/busser setup | |
fi | |
echo " Installing Busser plugins: $plugins" | |
$busser plugin install $plugins | |
'] | |
>>>>>> ---------------------- | |
zlib(finalizer): the stream was freed prematurely. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment