-----> Starting Kitchen (v1.4.2)
D [kitchen::driver::docker command] BEGIN (sudo -E docker >> /dev/null 2>&1)
D [kitchen::driver::docker command] END (0m0.12s)
-----> Verifying <Common-ubuntu-1404>...
$$$$$$ Running legacy verify for 'Docker' Driver
Preparing files for transfer
D Creating local sandbox in /tmp/Common-ubuntu-1404-sandbox-20160331-1348-10kxkcg
Transferring files to <Common-ubuntu-1404>
D Transfer complete
Running Serverspec
D [SSH] kitchen@localhost<{:user_known_hosts_file=>"/dev/null", :paranoid=>false, :port=>32807, :compression=>true, :compression_level=>6, :keepalive=>true, :keepalive_interval=>60, :timeout=>15, :keys_only=>true, :keys=>["/tmp/ansible/base-project/.kitchen/docker_id_rsa"], :auth_methods=>["publickey"], :password=>"kitchen"}> ( if [ -d /tmp/kitchen ]; then
cd /tmp/kitchen
rspec -c -f documentation --default-path /tmp/kitchen -P roles/common/spec/common_spec.rb
else
echo "ERROR: Default path '/tmp/kitchen' does not exist"
exit 1
fi
)
D [SSH] opening connection to kitchen@localhost<{:user_known_hosts_file=>"/dev/null", :paranoid=>false, :port=>32807, :compression=>true, :compression_level=>6, :keepalive=>true, :keepalive_interval=>60, :timeout=>15, :keys_only=>true, :keys=>["/tmp/ansible/base-project/.kitchen/docker_id_rsa"], :auth_methods=>["publickey"], :password=>"kitchen"}>
bash: line 2: rspec: command not found
D Cleaning up local sandbox in /tmp/Common-ubuntu-1404-sandbox-20160331-1348-10kxkcg
>>>>>> Verify failed on instance <Common-ubuntu-1404>.
>>>>>> Please see .kitchen/logs/Common-ubuntu-1404.log for more details
>>>>>> ------Exception-------
>>>>>> Class: Kitchen::ActionFailed
>>>>>> Message: SSH exited (127) for command: [ if [ -d /tmp/kitchen ]; then
cd /tmp/kitchen
rspec -c -f documentation --default-path /tmp/kitchen -P roles/common/spec/common_spec.rb
else
echo "ERROR: Default path '/tmp/kitchen' does not exist"
exit 1
fi
]
>>>>>> ----------------------
D Verify failed on instance <Common-ubuntu-1404>.
D ------Exception-------
D Class: Kitchen::InstanceFailure
D Message: Verify failed on instance <Common-ubuntu-1404>. Please see .kitchen/logs/Common-ubuntu-1404.log for more details
D ---Nested Exception---
D Class: Kitchen::ActionFailed
D Message: SSH exited (127) for command: [ if [ -d /tmp/kitchen ]; then
cd /tmp/kitchen
rspec -c -f documentation --default-path /tmp/kitchen -P roles/common/spec/common_spec.rb
else
echo "ERROR: Default path '/tmp/kitchen' does not exist"
exit 1
fi
]
D ------Backtrace-------
D /var/lib/gems/2.1.0/gems/test-kitchen-1.4.2/lib/kitchen/driver/ssh_base.rb:116:in `rescue in verify'
D /var/lib/gems/2.1.0/gems/test-kitchen-1.4.2/lib/kitchen/driver/ssh_base.rb:119:in `verify'
D /var/lib/gems/2.1.0/gems/test-kitchen-1.4.2/lib/kitchen/instance.rb:591:in `legacy_ssh_base_verify'
D /var/lib/gems/2.1.0/gems/test-kitchen-1.4.2/lib/kitchen/instance.rb:396:in `block in verify_action'
D /var/lib/gems/2.1.0/gems/test-kitchen-1.4.2/lib/kitchen/instance.rb:488:in `call'
D /var/lib/gems/2.1.0/gems/test-kitchen-1.4.2/lib/kitchen/instance.rb:488:in `synchronize_or_call'
D /var/lib/gems/2.1.0/gems/test-kitchen-1.4.2/lib/kitchen/instance.rb:453:in `block in action'
D /usr/lib/ruby/2.1.0/benchmark.rb:279:in `measure'
D /var/lib/gems/2.1.0/gems/test-kitchen-1.4.2/lib/kitchen/instance.rb:452:in `action'
D /var/lib/gems/2.1.0/gems/test-kitchen-1.4.2/lib/kitchen/instance.rb:394:in `verify_action'
D /var/lib/gems/2.1.0/gems/test-kitchen-1.4.2/lib/kitchen/instance.rb:341:in `block in transition_to'
D /var/lib/gems/2.1.0/gems/test-kitchen-1.4.2/lib/kitchen/instance.rb:340:in `each'
D /var/lib/gems/2.1.0/gems/test-kitchen-1.4.2/lib/kitchen/instance.rb:340:in `transition_to'
D /var/lib/gems/2.1.0/gems/test-kitchen-1.4.2/lib/kitchen/instance.rb:160:in `verify'
D /var/lib/gems/2.1.0/gems/test-kitchen-1.4.2/lib/kitchen/command.rb:176:in `public_send'
D /var/lib/gems/2.1.0/gems/test-kitchen-1.4.2/lib/kitchen/command.rb:176:in `block (2 levels) in run_action'
D ----------------------
zlib(finalizer): the stream was freed prematurely.