You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
perl, in particular may be present but LWP::Simple may not be installed
if exists wget; then
do_wget $1 $2 && return 0
fi
if exists curl; then
do_curl $1 $2 && return 0
fi
if exists fetch; then
do_fetch $1 $2 && return 0
fi
if exists perl; then
do_perl $1 $2 && return 0
fi
if exists python; then
do_python $1 $2 && return 0
fi
echo ">>>>>> wget, curl, fetch, perl or python not found on this instance."
return 16
}
# Fix for https://github.com/test-kitchen/busser/issues/12
if [ -h /usr/bin/ruby ]; then
L=$(readlink -f /usr/bin/ruby)
sudo -E rm /usr/bin/ruby
sudo -E ln -s $L /usr/bin/ruby
fi
# install chef omnibus so that busser works as this is needed to run tests :(
if [ ! -d "/opt/chef" ]
then
echo "-----> Installing Chef Omnibus to install busser to run tests"
do_download https://www.chef.io/chef/install.sh /tmp/install.sh
sudo -E sh /tmp/install.sh > /dev/null
fi
]
E, [2021-04-18T23:34:00.520233 #12784] ERROR -- web-ubuntu-1604: ----------------------
E, [2021-04-18T23:34:00.520286 #12784] ERROR -- web-ubuntu-1604: ------Backtrace-------
E, [2021-04-18T23:34:00.520365 #12784] ERROR -- web-ubuntu-1604: C:/opscode/chefdk/embedded/lib/ruby/gems/2.6.0/gems/test-kitchen-2.8.0/lib/kitchen/provisioner/base.rb:95:in rescue in call' E, [2021-04-18T23:34:00.520418 #12784] ERROR -- web-ubuntu-1604: C:/opscode/chefdk/embedded/lib/ruby/gems/2.6.0/gems/test-kitchen-2.8.0/lib/kitchen/provisioner/base.rb:94:in call'
E, [2021-04-18T23:34:00.520470 #12784] ERROR -- web-ubuntu-1604: C:/opscode/chefdk/embedded/lib/ruby/gems/2.6.0/gems/test-kitchen-2.8.0/lib/kitchen/instance.rb:419:in block in converge_action' E, [2021-04-18T23:34:00.520522 #12784] ERROR -- web-ubuntu-1604: C:/opscode/chefdk/embedded/lib/ruby/gems/2.6.0/gems/test-kitchen-2.8.0/lib/kitchen/instance.rb:563:in synchronize_or_call'
E, [2021-04-18T23:34:00.520577 #12784] ERROR -- web-ubuntu-1604: C:/opscode/chefdk/embedded/lib/ruby/gems/2.6.0/gems/test-kitchen-2.8.0/lib/kitchen/instance.rb:524:in block in action' E, [2021-04-18T23:34:00.520630 #12784] ERROR -- web-ubuntu-1604: C:/opscode/chefdk/embedded/lib/ruby/2.6.0/benchmark.rb:293:in measure'
E, [2021-04-18T23:34:00.520682 #12784] ERROR -- web-ubuntu-1604: C:/opscode/chefdk/embedded/lib/ruby/gems/2.6.0/gems/test-kitchen-2.8.0/lib/kitchen/instance.rb:523:in action' E, [2021-04-18T23:34:00.520734 #12784] ERROR -- web-ubuntu-1604: C:/opscode/chefdk/embedded/lib/ruby/gems/2.6.0/gems/test-kitchen-2.8.0/lib/kitchen/instance.rb:414:in converge_action'
E, [2021-04-18T23:34:00.520785 #12784] ERROR -- web-ubuntu-1604: C:/opscode/chefdk/embedded/lib/ruby/gems/2.6.0/gems/test-kitchen-2.8.0/lib/kitchen/instance.rb:392:in block (2 levels) in transition_to' E, [2021-04-18T23:34:00.520837 #12784] ERROR -- web-ubuntu-1604: C:/opscode/chefdk/embedded/lib/ruby/gems/2.6.0/gems/test-kitchen-2.8.0/lib/kitchen/lifecycle_hooks.rb:44:in run_with_hooks'
E, [2021-04-18T23:34:00.520889 #12784] ERROR -- web-ubuntu-1604: C:/opscode/chefdk/embedded/lib/ruby/gems/2.6.0/gems/test-kitchen-2.8.0/lib/kitchen/instance.rb:391:in block in transition_to' E, [2021-04-18T23:34:00.520940 #12784] ERROR -- web-ubuntu-1604: C:/opscode/chefdk/embedded/lib/ruby/gems/2.6.0/gems/test-kitchen-2.8.0/lib/kitchen/instance.rb:390:in each'
E, [2021-04-18T23:34:00.520992 #12784] ERROR -- web-ubuntu-1604: C:/opscode/chefdk/embedded/lib/ruby/gems/2.6.0/gems/test-kitchen-2.8.0/lib/kitchen/instance.rb:390:in transition_to' E, [2021-04-18T23:34:00.521042 #12784] ERROR -- web-ubuntu-1604: C:/opscode/chefdk/embedded/lib/ruby/gems/2.6.0/gems/test-kitchen-2.8.0/lib/kitchen/instance.rb:139:in converge'
E, [2021-04-18T23:34:00.521093 #12784] ERROR -- web-ubuntu-1604: C:/opscode/chefdk/embedded/lib/ruby/gems/2.6.0/gems/test-kitchen-2.8.0/lib/kitchen/command.rb:195:in public_send' E, [2021-04-18T23:34:00.521144 #12784] ERROR -- web-ubuntu-1604: C:/opscode/chefdk/embedded/lib/ruby/gems/2.6.0/gems/test-kitchen-2.8.0/lib/kitchen/command.rb:195:in run_action_in_thread'
E, [2021-04-18T23:34:00.521195 #12784] ERROR -- web-ubuntu-1604: C:/opscode/chefdk/embedded/lib/ruby/gems/2.6.0/gems/test-kitchen-2.8.0/lib/kitchen/command.rb:166:in `block (2 levels) in run_action'
E, [2021-04-18T23:34:00.521247 #12784] ERROR -- web-ubuntu-1604: ----End Backtrace-----
</details>
The text was updated successfully, but these errors were encountered:
Describe the problem
kitchen converge
stuck with this error!RUNNING
curl
on another computer gives this response.Software Version
Replication Case
Stacktrace
do_download URL FILENAME
do_download() {
PATH=/opt/local/bin:/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin
export PATH
echo "downloading $1"
echo " to file $2"
we try all of these until we get success.
perl, in particular may be present but LWP::Simple may not be installed
if exists wget; then
do_wget $1 $2 && return 0
fi
if exists curl; then
do_curl $1 $2 && return 0
fi
if exists fetch; then
do_fetch $1 $2 && return 0
fi
if exists perl; then
do_perl $1 $2 && return 0
fi
if exists python; then
do_python $1 $2 && return 0
fi
echo ">>>>>> wget, curl, fetch, perl or python not found on this instance."
return 16
}
]
E, [2021-04-18T23:34:00.520233 #12784] ERROR -- web-ubuntu-1604: ----------------------
E, [2021-04-18T23:34:00.520286 #12784] ERROR -- web-ubuntu-1604: ------Backtrace-------
E, [2021-04-18T23:34:00.520365 #12784] ERROR -- web-ubuntu-1604: C:/opscode/chefdk/embedded/lib/ruby/gems/2.6.0/gems/test-kitchen-2.8.0/lib/kitchen/provisioner/base.rb:95:in
rescue in call' E, [2021-04-18T23:34:00.520418 #12784] ERROR -- web-ubuntu-1604: C:/opscode/chefdk/embedded/lib/ruby/gems/2.6.0/gems/test-kitchen-2.8.0/lib/kitchen/provisioner/base.rb:94:in
call'E, [2021-04-18T23:34:00.520470 #12784] ERROR -- web-ubuntu-1604: C:/opscode/chefdk/embedded/lib/ruby/gems/2.6.0/gems/test-kitchen-2.8.0/lib/kitchen/instance.rb:419:in
block in converge_action' E, [2021-04-18T23:34:00.520522 #12784] ERROR -- web-ubuntu-1604: C:/opscode/chefdk/embedded/lib/ruby/gems/2.6.0/gems/test-kitchen-2.8.0/lib/kitchen/instance.rb:563:in
synchronize_or_call'E, [2021-04-18T23:34:00.520577 #12784] ERROR -- web-ubuntu-1604: C:/opscode/chefdk/embedded/lib/ruby/gems/2.6.0/gems/test-kitchen-2.8.0/lib/kitchen/instance.rb:524:in
block in action' E, [2021-04-18T23:34:00.520630 #12784] ERROR -- web-ubuntu-1604: C:/opscode/chefdk/embedded/lib/ruby/2.6.0/benchmark.rb:293:in
measure'E, [2021-04-18T23:34:00.520682 #12784] ERROR -- web-ubuntu-1604: C:/opscode/chefdk/embedded/lib/ruby/gems/2.6.0/gems/test-kitchen-2.8.0/lib/kitchen/instance.rb:523:in
action' E, [2021-04-18T23:34:00.520734 #12784] ERROR -- web-ubuntu-1604: C:/opscode/chefdk/embedded/lib/ruby/gems/2.6.0/gems/test-kitchen-2.8.0/lib/kitchen/instance.rb:414:in
converge_action'E, [2021-04-18T23:34:00.520785 #12784] ERROR -- web-ubuntu-1604: C:/opscode/chefdk/embedded/lib/ruby/gems/2.6.0/gems/test-kitchen-2.8.0/lib/kitchen/instance.rb:392:in
block (2 levels) in transition_to' E, [2021-04-18T23:34:00.520837 #12784] ERROR -- web-ubuntu-1604: C:/opscode/chefdk/embedded/lib/ruby/gems/2.6.0/gems/test-kitchen-2.8.0/lib/kitchen/lifecycle_hooks.rb:44:in
run_with_hooks'E, [2021-04-18T23:34:00.520889 #12784] ERROR -- web-ubuntu-1604: C:/opscode/chefdk/embedded/lib/ruby/gems/2.6.0/gems/test-kitchen-2.8.0/lib/kitchen/instance.rb:391:in
block in transition_to' E, [2021-04-18T23:34:00.520940 #12784] ERROR -- web-ubuntu-1604: C:/opscode/chefdk/embedded/lib/ruby/gems/2.6.0/gems/test-kitchen-2.8.0/lib/kitchen/instance.rb:390:in
each'E, [2021-04-18T23:34:00.520992 #12784] ERROR -- web-ubuntu-1604: C:/opscode/chefdk/embedded/lib/ruby/gems/2.6.0/gems/test-kitchen-2.8.0/lib/kitchen/instance.rb:390:in
transition_to' E, [2021-04-18T23:34:00.521042 #12784] ERROR -- web-ubuntu-1604: C:/opscode/chefdk/embedded/lib/ruby/gems/2.6.0/gems/test-kitchen-2.8.0/lib/kitchen/instance.rb:139:in
converge'E, [2021-04-18T23:34:00.521093 #12784] ERROR -- web-ubuntu-1604: C:/opscode/chefdk/embedded/lib/ruby/gems/2.6.0/gems/test-kitchen-2.8.0/lib/kitchen/command.rb:195:in
public_send' E, [2021-04-18T23:34:00.521144 #12784] ERROR -- web-ubuntu-1604: C:/opscode/chefdk/embedded/lib/ruby/gems/2.6.0/gems/test-kitchen-2.8.0/lib/kitchen/command.rb:195:in
run_action_in_thread'E, [2021-04-18T23:34:00.521195 #12784] ERROR -- web-ubuntu-1604: C:/opscode/chefdk/embedded/lib/ruby/gems/2.6.0/gems/test-kitchen-2.8.0/lib/kitchen/command.rb:166:in `block (2 levels) in run_action'
E, [2021-04-18T23:34:00.521247 #12784] ERROR -- web-ubuntu-1604: ----End Backtrace-----
The text was updated successfully, but these errors were encountered: