Skip to content

Instantly share code, notes, and snippets.

@tyler-ball
Created August 26, 2016 15:54
Show Gist options
  • Save tyler-ball/a9f2f06c39eb3e6a91ee8938a4f2d2e6 to your computer and use it in GitHub Desktop.
Save tyler-ball/a9f2f06c39eb3e6a91ee8938a4f2d2e6 to your computer and use it in GitHub Desktop.
automate failure - berkshelf deadlock
Starting job on builder builder-delivered-ubuntu1404-4.shd.chef.co at 2016-08-26T15:48:33+00:00.
Command: delivery job build unit --server delivery.shd.chef.co --user builder --ent Chef --org Chef_Delivery --project delivery --for master --change-id c4a93722-9ef0-42dc-8006-c2593ccdab27 --shasum f6f585b79580e902351fe112b940fa1c5ae25cf4 --git-url ssh://builder@[email protected]:8989/Chef/Chef_Delivery/delivery
Chef Delivery
Loading configuration from /var/opt/delivery/workspace
Starting job for delivery build unit
Creating workspace in /var/opt/delivery/workspace/delivery.shd.chef.co/Chef/Chef_Delivery/delivery/master/build/unit
Cloning repository, and merging f6f585b79580e902351fe112b940fa1c5ae25cf4 to master
Configuring the job
Running the job
Setting up the builder
[2016-08-26T15:48:48+00:00] WARN: Ohai::Config[:disabled_plugins] is set. Ohai::Config[:disabled_plugins] is deprecated and will be removed in future releases of ohai. Use ohai.disabled_plugins in your configuration file to configure :disabled_plugins for ohai.
Starting Chef Client, version 12.13.30
resolving cookbooks for run list: ["delivery_delivery::default"]
Synchronizing Cookbooks:
- delivery_delivery (0.3.36)
- delivery-truck (2.2.2)
- delivery-sugar (1.1.1)
- yum (3.12.0)
- build-essential (2.4.0)
- compat_resource (12.13.38)
- java (1.42.0)
- docker (2.9.5)
- artifactory-pro (1.4.1)
- jenkins (2.4.1)
- oc-artifactory (1.19.10)
- opscode-ci (5.14.90)
- 7-zip (1.0.2)
- apt (2.9.2)
- windows (1.44.3)
- homebrew (2.1.0)
- runit (1.8.0)
- chef-sugar (3.4.0)
- dpkg_autostart (0.2.0)
- git (4.6.0)
- omnibus (3.2.7)
- aws (2.3.0)
- nginx (2.7.6)
- postgresql (3.4.24)
- freebsd (0.6.0)
- languages (0.2.8)
- rsyslog (4.0.1)
- route53 (0.4.4)
- sudo (2.11.0)
- yum-epel (0.7.1)
- chef-ingredient (0.19.0)
- chef_handler (1.4.0)
- packagecloud (0.2.5)
- dmg (2.4.0)
- remote_install (1.0.2)
- wix (2.0.2)
- windows-sdk (1.0.2)
- bluepill (2.4.3)
- ohai (2.1.0)
- openssl (4.4.0)
- xml (2.0.0)
Installing Cookbook Gems:
Compiling Cookbooks...
/var/opt/delivery/workspace/delivery.shd.chef.co/Chef/Chef_Delivery/delivery/master/build/unit/cache/cookbooks/compat_resource/files/lib/chef_compat/monkeypatches/chef/run_context.rb:643: warning: already initialized constant Chef::RunContext::ChildRunContext::CHILD_STATE
/opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/chef-12.13.30/lib/chef/run_context.rb:634: warning: previous definition of CHILD_STATE was here
/var/opt/delivery/workspace/delivery.shd.chef.co/Chef/Chef_Delivery/delivery/master/build/unit/cache/cookbooks/delivery_delivery/libraries/config.rb:9: warning: already initialized constant Delivery::Config::CONFIG_ATTRIBUTE_KEY
/var/opt/delivery/workspace/delivery.shd.chef.co/Chef/Chef_Delivery/delivery/master/build/unit/cache/cookbooks/delivery_delivery/libraries/config.rb:9: warning: previous definition of CONFIG_ATTRIBUTE_KEY was here
[2016-08-26T15:48:55+00:00] WARN: Chef::Provider::AptRepository already exists! Cannot create deprecation class for LWRP provider apt_repository from cookbook apt
[2016-08-26T15:48:55+00:00] WARN: AptRepository already exists! Deprecation class overwrites Custom resource apt_repository from cookbook apt
Converging 25 resources
Recipe: delivery_delivery::_build_cb_dependencies
* chef_gem[artifactory] action install (up to date)
Recipe: delivery_delivery::default
* service[postgresql] action stop (up to date)
* service[postgresql] action disable (up to date)
Recipe: java::notify
* log[jdk-version-changed] action nothing (skipped due to action :nothing)
Recipe: apt::default
* file[/var/lib/apt/periodic/update-success-stamp] action nothing (skipped due to action :nothing)
* directory[/etc/apt/apt.conf.d] action create (up to date)
* cookbook_file[/etc/apt/apt.conf.d/15update-stamp] action create (up to date)
* execute[apt-get update] action nothing (skipped due to action :nothing)
* execute[apt-get autoremove] action nothing (skipped due to action :nothing)
* execute[apt-get autoclean] action nothing (skipped due to action :nothing)
* execute[apt-get-update-periodic] action run (skipped due to not_if)
* directory[/var/cache/local] action create (up to date)
* directory[/var/cache/local/preseeding] action create (up to date)
* template[/etc/apt/apt.conf.d/10recommends] action create (up to date)
* apt_package[apt-transport-https] action install (up to date)
Recipe: java::openjdk
* apt_repository[openjdk-r-ppa] action add
* execute[apt-cache gencaches] action nothing (skipped due to action :nothing)
* apt_update[openjdk-r-ppa] action nothing (skipped due to action :nothing)
* execute[install-key DA1A4A13543B466853BAF164EB9B1D8886F44E2A] action run (skipped due to not_if)
* file[/etc/apt/sources.list.d/openjdk-r-ppa.list] action create (up to date)
(up to date)
* apt_package[openjdk-8-jdk] action install (up to date)
* apt_package[openjdk-8-jre-headless] action install (up to date)
* java_alternatives[set-java-alternatives] action set (up to date)
Recipe: java::default_java_symlink
* link[/usr/lib/jvm/default-java] action create (up to date)
Recipe: java::set_java_home
* ruby_block[set-env-java-home] action run
- execute the ruby block set-env-java-home
* directory[/etc/profile.d] action create (up to date)
* template[/etc/profile.d/jdk.sh] action create (up to date)
Recipe: delivery_delivery::default
* group[docker] action create (up to date)
* docker_service[default] action create
* docker_installation_script[default] action create
* apt_package[curl] action install (up to date)
* execute[install docker] action run (up to date)
(up to date)
(up to date)
* docker_service[default] action start
* docker_service_manager_upstart[default] action start
* directory[/usr/lib/docker] action create (up to date)
* template[/usr/lib/docker/docker-wait-ready] action create (up to date)
* template[/etc/init/docker.conf] action create (up to date)
* template[/etc/default/docker] action create (up to date)
* service[docker] action start (up to date)
(up to date)
(up to date)
* remote_file[/usr/local/bin/docker-compose] action create (up to date)
Running handlers:
Running handlers complete
Deprecated features used!
Default value {} is invalid for property users of resource artifactory_permission_target. In Chef 13 this will become an error: undefined method `validate_permissions' for Chef::Resource::ArtifactoryPermissionTarget:Class. at 1 location:
- /var/opt/delivery/workspace/delivery.shd.chef.co/Chef/Chef_Delivery/delivery/master/build/unit/cache/cookbooks/artifactory-pro/libraries/permission_target.rb:30:in `<class:ArtifactoryPermissionTarget>'
Default value {} is invalid for property groups of resource artifactory_permission_target. In Chef 13 this will become an error: undefined method `validate_permissions' for Chef::Resource::ArtifactoryPermissionTarget:Class. at 1 location:
- /var/opt/delivery/workspace/delivery.shd.chef.co/Chef/Chef_Delivery/delivery/master/build/unit/cache/cookbooks/artifactory-pro/libraries/permission_target.rb:32:in `<class:ArtifactoryPermissionTarget>'
method access to node attributes (node.foo.bar) is deprecated and will be removed in Chef 13, please use bracket syntax (node["foo"]["bar"]) at 1 location:
- /opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/chef-sugar-3.4.0/lib/chef/sugar/node.rb:162:in `method_missing'
Default value 493 is invalid for property mount_point_mode of resource aws_ebs_raid. In Chef 13 this will become an error: Option mount_point_mode must be a kind of [String]! You passed 493.. at 1 location:
- /var/opt/delivery/workspace/delivery.shd.chef.co/Chef/Chef_Delivery/delivery/master/build/unit/cache/cookbooks/aws/resources/ebs_raid.rb:25:in `class_from_file'
Chef Client finished, 1/40 resources updated in 11 seconds
Running phase unit
[2016-08-26T15:49:01+00:00] WARN: Ohai::Config[:disabled_plugins] is set. Ohai::Config[:disabled_plugins] is deprecated and will be removed in future releases of ohai. Use ohai.disabled_plugins in your configuration file to configure :disabled_plugins for ohai.
Starting Chef Client, version 12.13.30
resolving cookbooks for run list: ["delivery_delivery::unit"]
Synchronizing Cookbooks:
- delivery-truck (2.2.2)
- yum (3.12.0)
- delivery-sugar (1.1.1)
- delivery_delivery (0.3.36)
- build-essential (2.4.0)
- java (1.42.0)
- compat_resource (12.13.38)
- docker (2.9.5)
- artifactory-pro (1.4.1)
- jenkins (2.4.1)
- oc-artifactory (1.19.10)
- opscode-ci (5.14.90)
- 7-zip (1.0.2)
- apt (2.9.2)
- windows (1.44.3)
- homebrew (2.1.0)
- runit (1.8.0)
- chef-sugar (3.4.0)
- dpkg_autostart (0.2.0)
- git (4.6.0)
- omnibus (3.2.7)
- aws (2.3.0)
- nginx (2.7.6)
- postgresql (3.4.24)
- freebsd (0.6.0)
- languages (0.2.8)
- rsyslog (4.0.1)
- route53 (0.4.4)
- sudo (2.11.0)
- yum-epel (0.7.1)
- chef-ingredient (0.19.0)
- chef_handler (1.4.0)
- packagecloud (0.2.5)
- dmg (2.4.0)
- remote_install (1.0.2)
- wix (2.0.2)
- windows-sdk (1.0.2)
- bluepill (2.4.3)
- ohai (2.1.0)
- openssl (4.4.0)
- xml (2.0.0)
Installing Cookbook Gems:
Compiling Cookbooks...
/var/opt/delivery/workspace/delivery.shd.chef.co/Chef/Chef_Delivery/delivery/master/build/unit/cache/cookbooks/compat_resource/files/lib/chef_compat/monkeypatches/chef/run_context.rb:643: warning: already initialized constant Chef::RunContext::ChildRunContext::CHILD_STATE
/opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/chef-12.13.30/lib/chef/run_context.rb:634: warning: previous definition of CHILD_STATE was here
/var/opt/delivery/workspace/delivery.shd.chef.co/Chef/Chef_Delivery/delivery/master/build/unit/cache/cookbooks/delivery_delivery/libraries/config.rb:9: warning: already initialized constant Delivery::Config::CONFIG_ATTRIBUTE_KEY
/var/opt/delivery/workspace/delivery.shd.chef.co/Chef/Chef_Delivery/delivery/master/build/unit/cache/cookbooks/delivery_delivery/libraries/config.rb:9: warning: previous definition of CONFIG_ATTRIBUTE_KEY was here
[2016-08-26T15:49:09+00:00] WARN: Chef::Provider::AptRepository already exists! Cannot create deprecation class for LWRP provider apt_repository from cookbook apt
[2016-08-26T15:49:09+00:00] WARN: AptRepository already exists! Deprecation class overwrites Custom resource apt_repository from cookbook apt
Starting Unit for all cookbooks in cookbooks...
Converging 6 resources
Recipe: delivery_delivery::unit
* delivery_builder_exec[berks install for delivery cookbook] action runResolving cookbook dependencies...
Fetching 'delivery' from source at .
Fetching cookbook index from https://supermarket.chef.io...
Using delivery (0.3.85) from source at .
Using enterprise (0.10.0) from https://github.com/chef-cookbooks/enterprise-chef-common.git (at 0.10.0)
Using packagecloud (0.2.0)
Using runit (1.7.6)
- execute berks install
* delivery_builder_exec[bundle install for delivery cookbook] action runFetching gem metadata from https://rubygems.org/
Fetching version metadata from https://rubygems.org/
Fetching dependency metadata from https://rubygems.org/
Resolving dependencies.....
Using addressable 2.4.0
Using artifactory 2.3.3
Using multipart-post 2.0.0
Using httpclient 2.7.2
Using buff-extensions 1.0.0
Using hashie 3.4.4
Using buff-ignore 1.1.1
Using buff-ruby_engine 0.1.0
Using hitimes 1.2.4
Using nio4r 1.2.1
Using fuzzyurl 0.9.0
Using mixlib-config 2.2.2
Using mixlib-shellout 2.2.7
Using erubis 2.7.0
Installing json 2.0.2 with native extensions
Using mixlib-log 1.7.1
Using retryable 2.0.4
Using semverse 1.2.1
Using cleanroom 1.0.0
Using minitar 0.5.4
Using molinillo 0.4.5
Using thor 0.19.1
Using builder 3.2.2
Using bundler 1.12.5
Using libyajl2 1.2.0
Using rack 1.6.4
Using uuidtools 2.1.5
Using diff-lcs 1.2.5
Using highline 1.7.8
Using iniparse 1.4.2
Using mixlib-cli 1.7.0
Using net-ssh 3.2.0
Using ffi 1.9.14
Using ipaddress 0.8.3
Using plist 3.2.0
Using systemu 2.6.5
Using wmi-lite 1.0.0
Using proxifier 1.0.3
Using rspec-support 3.5.0
Using multi_json 1.12.1
Using net-telnet 0.1.1
Using sfl 2.2
Using syslog-logger 1.6.8
Using coderay 1.1.1
Using excon 0.52.0
Using method_source 0.8.2
Using slop 3.6.0
Using rainbow 2.1.0
Using rubyzip 1.2.0
Using sslshake 1.0.12
Using little-plugger 1.1.4
Using nori 2.6.0
Using rubyntlm 0.6.0
Using mixlib-versioning 1.1.0
Using safe_yaml 1.0.4
Using faraday 0.9.2
Using varia_model 0.4.1
Using buff-shell_out 0.2.0
Using timers 4.0.4
Using chef-config 12.13.37
Using mixlib-authentication 1.4.1
Using mixlib-archive 0.2.0
Using solve 2.0.3
Using gyoku 1.3.1
Using ffi-yajl 2.3.0
Using net-sftp 2.1.2
Using net-ssh-gateway 1.2.0
Using net-scp 1.2.1
Using fauxhai 3.8.0
Using gssapi 1.2.0
Using rspec-core 3.5.2
Using rspec-expectations 3.5.0
Using rspec-mocks 3.5.0
Using elasticsearch-api 2.0.0
Using docker-api 1.31.0
Using pry 0.10.4
Using logging 2.1.0
Using mixlib-install 1.1.0
Using sawyer 0.7.0
Using elasticsearch-transport 2.0.0
Using buff-config 1.0.1
Using celluloid 0.16.0
Using chef-zero 4.9.0
Using ohai 8.19.2
Using net-ssh-multi 1.2.1
Using specinfra 2.61.2
Using rspec_junit_formatter 0.2.3
Using rspec-its 1.2.0
Using rspec 3.5.0
Using winrm 1.8.1
Using test-kitchen 1.11.1
Using octokit 4.3.0
Using elasticsearch 2.0.0
Using celluloid-io 0.16.2
Using serverspec 2.36.0
Using winrm-fs 0.4.3
Using kitchen-vagrant 0.20.0
Using ridley 4.6.1
Using chef 12.13.37
Installing train 0.18.0
Using berkshelf-api-client 2.0.2
Using chefspec 5.0.0
Installing inspec 0.32.0
Using berkshelf 4.3.5
Using kitchen-inspec 0.15.0
Bundle complete! 7 Gemfile dependencies, 105 gems now installed.
Use `bundle show [gemname]` to see where a bundled gem is installed.
- execute bundle install
* delivery_builder_exec[chefspec for delivery_delivery cookbook] action runRun options: exclude {:ignore=>true}
Finished in 6.47 seconds (files took 3.41 seconds to load)
0 examples, 0 failures
/opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/berkshelf-4.3.5/lib/berkshelf/installer.rb:27:in `join': No live threads left. Deadlock? (fatal)
from /opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/berkshelf-4.3.5/lib/berkshelf/installer.rb:27:in `map'
from /opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/berkshelf-4.3.5/lib/berkshelf/installer.rb:27:in `build_universe'
from /opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/berkshelf-4.3.5/lib/berkshelf/installer.rb:161:in `install_from_universe'
from /opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/berkshelf-4.3.5/lib/berkshelf/installer.rb:39:in `run'
from /opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/berkshelf-4.3.5/lib/berkshelf/berksfile.rb:421:in `install'
from /opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/berkshelf-4.3.5/lib/berkshelf/berksfile.rb:630:in `block in vendor'
from /opt/chefdk/embedded/lib/ruby/2.1.0/tmpdir.rb:88:in `mktmpdir'
from /opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/berkshelf-4.3.5/lib/berkshelf/berksfile.rb:628:in `vendor'
from /opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/chefspec-5.0.0/lib/chefspec/berkshelf.rb:39:in `block in setup!'
from /opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/thor-0.19.1/lib/thor/shell/basic.rb:20:in `mute'
from /opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/chefspec-5.0.0/lib/chefspec/berkshelf.rb:35:in `setup!'
from /opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/chefspec-5.0.0/lib/chefspec/berkshelf.rb:61:in `block (2 levels) in <top (required)>'
from /opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/rspec-core-3.5.2/lib/rspec/core/example.rb:443:in `instance_exec'
from /opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/rspec-core-3.5.2/lib/rspec/core/example.rb:443:in `instance_exec'
from /opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/rspec-core-3.5.2/lib/rspec/core/hooks.rb:350:in `run'
from /opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/rspec-core-3.5.2/lib/rspec/core/configuration.rb:1879:in `block in run_hooks_with'
from /opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/rspec-core-3.5.2/lib/rspec/core/configuration.rb:1879:in `each'
from /opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/rspec-core-3.5.2/lib/rspec/core/configuration.rb:1879:in `run_hooks_with'
from /opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/rspec-core-3.5.2/lib/rspec/core/configuration.rb:1835:in `with_suite_hooks'
from /opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/rspec-core-3.5.2/lib/rspec/core/runner.rb:112:in `block in run_specs'
from /opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/rspec-core-3.5.2/lib/rspec/core/reporter.rb:77:in `report'
from /opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/rspec-core-3.5.2/lib/rspec/core/runner.rb:111:in `run_specs'
from /opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/rspec-core-3.5.2/lib/rspec/core/runner.rb:87:in `run'
from /opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/rspec-core-3.5.2/lib/rspec/core/runner.rb:71:in `run'
from /opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/rspec-core-3.5.2/lib/rspec/core/runner.rb:45:in `invoke'
from /opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/rspec-core-3.5.2/exe/rspec:4:in `<top (required)>'
from /opt/chefdk/embedded/bin/rspec:22:in `load'
from /opt/chefdk/embedded/bin/rspec:22:in `<main>'
================================================================================
Error executing action `run` on resource 'delivery_builder_exec[chefspec for delivery_delivery cookbook]'
================================================================================
Mixlib::ShellOut::ShellCommandFailed
------------------------------------
Expected process to exit with [0], but received '1'
---- Begin output of rspec --format documentation --color ----
STDOUT: Run options: exclude {:ignore=>true}
Finished in 6.47 seconds (files took 3.41 seconds to load)
0 examples, 0 failures
STDERR: /opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/berkshelf-4.3.5/lib/berkshelf/installer.rb:27:in `join': No live threads left. Deadlock? (fatal)
from /opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/berkshelf-4.3.5/lib/berkshelf/installer.rb:27:in `map'
from /opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/berkshelf-4.3.5/lib/berkshelf/installer.rb:27:in `build_universe'
from /opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/berkshelf-4.3.5/lib/berkshelf/installer.rb:161:in `install_from_universe'
from /opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/berkshelf-4.3.5/lib/berkshelf/installer.rb:39:in `run'
from /opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/berkshelf-4.3.5/lib/berkshelf/berksfile.rb:421:in `install'
from /opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/berkshelf-4.3.5/lib/berkshelf/berksfile.rb:630:in `block in vendor'
from /opt/chefdk/embedded/lib/ruby/2.1.0/tmpdir.rb:88:in `mktmpdir'
from /opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/berkshelf-4.3.5/lib/berkshelf/berksfile.rb:628:in `vendor'
from /opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/chefspec-5.0.0/lib/chefspec/berkshelf.rb:39:in `block in setup!'
from /opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/thor-0.19.1/lib/thor/shell/basic.rb:20:in `mute'
from /opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/chefspec-5.0.0/lib/chefspec/berkshelf.rb:35:in `setup!'
from /opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/chefspec-5.0.0/lib/chefspec/berkshelf.rb:61:in `block (2 levels) in <top (required)>'
from /opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/rspec-core-3.5.2/lib/rspec/core/example.rb:443:in `instance_exec'
from /opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/rspec-core-3.5.2/lib/rspec/core/example.rb:443:in `instance_exec'
from /opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/rspec-core-3.5.2/lib/rspec/core/hooks.rb:350:in `run'
from /opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/rspec-core-3.5.2/lib/rspec/core/configuration.rb:1879:in `block in run_hooks_with'
from /opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/rspec-core-3.5.2/lib/rspec/core/configuration.rb:1879:in `each'
from /opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/rspec-core-3.5.2/lib/rspec/core/configuration.rb:1879:in `run_hooks_with'
from /opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/rspec-core-3.5.2/lib/rspec/core/configuration.rb:1835:in `with_suite_hooks'
from /opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/rspec-core-3.5.2/lib/rspec/core/runner.rb:112:in `block in run_specs'
from /opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/rspec-core-3.5.2/lib/rspec/core/reporter.rb:77:in `report'
from /opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/rspec-core-3.5.2/lib/rspec/core/runner.rb:111:in `run_specs'
from /opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/rspec-core-3.5.2/lib/rspec/core/runner.rb:87:in `run'
from /opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/rspec-core-3.5.2/lib/rspec/core/runner.rb:71:in `run'
from /opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/rspec-core-3.5.2/lib/rspec/core/runner.rb:45:in `invoke'
from /opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/rspec-core-3.5.2/exe/rspec:4:in `<top (required)>'
from /opt/chefdk/embedded/bin/rspec:22:in `load'
from /opt/chefdk/embedded/bin/rspec:22:in `<main>'
---- End output of rspec --format documentation --color ----
Ran rspec --format documentation --color returned 1
Cookbook Trace:
---------------
/var/opt/delivery/workspace/delivery.shd.chef.co/Chef/Chef_Delivery/delivery/master/build/unit/cache/cookbooks/delivery_delivery/libraries/delivery_builder_exec.rb:25:in `block in action_run'
/var/opt/delivery/workspace/delivery.shd.chef.co/Chef/Chef_Delivery/delivery/master/build/unit/cache/cookbooks/delivery_delivery/libraries/delivery_builder_exec.rb:24:in `action_run'
/var/opt/delivery/workspace/delivery.shd.chef.co/Chef/Chef_Delivery/delivery/master/build/unit/cache/cookbooks/compat_resource/files/lib/chef_compat/monkeypatches/chef/runner.rb:78:in `run_action'
/var/opt/delivery/workspace/delivery.shd.chef.co/Chef/Chef_Delivery/delivery/master/build/unit/cache/cookbooks/compat_resource/files/lib/chef_compat/monkeypatches/chef/runner.rb:106:in `block (2 levels) in converge'
/var/opt/delivery/workspace/delivery.shd.chef.co/Chef/Chef_Delivery/delivery/master/build/unit/cache/cookbooks/compat_resource/files/lib/chef_compat/monkeypatches/chef/runner.rb:106:in `each'
/var/opt/delivery/workspace/delivery.shd.chef.co/Chef/Chef_Delivery/delivery/master/build/unit/cache/cookbooks/compat_resource/files/lib/chef_compat/monkeypatches/chef/runner.rb:106:in `block in converge'
/var/opt/delivery/workspace/delivery.shd.chef.co/Chef/Chef_Delivery/delivery/master/build/unit/cache/cookbooks/compat_resource/files/lib/chef_compat/monkeypatches/chef/runner.rb:105:in `converge'
Resource Declaration:
---------------------
# In /var/opt/delivery/workspace/delivery.shd.chef.co/Chef/Chef_Delivery/delivery/master/build/unit/cache/cookbooks/delivery_delivery/recipes/unit.rb
21: delivery_builder_exec "chefspec for delivery_delivery cookbook" do
22: command "rspec --format documentation --color"
23: cwd ::File.join(delivery_workspace_repo, 'cookbooks', 'delivery_delivery')
24: only_if { verify_filter('cookbooks/delivery_delivery') }
25: end
26:
27: delivery_builder_exec "chefspec for delivery cookbook" do
28: command "rspec --format documentation --color"
29: cwd ::File.join(delivery_workspace_repo, 'cookbooks', 'delivery')
30: only_if { verify_filter('cookbooks/delivery') }
31: end
32:
33: delivery_builder_exec "chefspec for delivery-server cookbook" do
34: command "rspec --format documentation --color"
35: cwd ::File.join(delivery_workspace_repo, 'cookbooks', 'delivery-server')
36: only_if { verify_filter('cookbooks/delivery-server') }
37: end
38:
39: execute "parallel unit tests" do
40: environment('QUIET' => 'yes')
41: command './test/unit.sh'
42: cwd repo
43: end
Compiled Resource:
------------------
# Declared in /var/opt/delivery/workspace/delivery.shd.chef.co/Chef/Chef_Delivery/delivery/master/build/unit/cache/cookbooks/delivery_delivery/recipes/unit.rb:21:in `from_file'
delivery_builder_exec("chefspec for delivery_delivery cookbook") do
provider Chef::Provider::DeliveryBuilderExec
action [:run]
retries 0
retry_delay 2
default_guard_interpreter :execute
command "rspec --format documentation --color"
backup 5
cwd "/var/opt/delivery/workspace/delivery.shd.chef.co/Chef/Chef_Delivery/delivery/master/build/unit/repo/cookbooks/delivery_delivery"
returns 0
declared_type :delivery_builder_exec
cookbook_name "delivery_delivery"
recipe_name "unit"
change #<DeliverySugar::Change:0x000000053e80f0 @workspace_repo="/var/opt/delivery/workspace/delivery.shd.chef.co/Chef/Chef_Delivery/delivery/master/build/unit/repo", @workspace_cache="/var/opt/delivery/workspace/delivery.shd.chef.co/Chef/Chef_Delivery/delivery/master/build/unit/cache", @workspace_chef="/var/opt/delivery/workspace/delivery.shd.chef.co/Chef/Chef_Delivery/delivery/master/build/unit/chef", @workspace_path="/var/opt/delivery/workspace", @enterprise="Chef", @organization="Chef_Delivery", @stage="build", @project="delivery", @pipeline="master", @change_id="c4a93722-9ef0-42dc-8006-c2593ccdab27", @merge_sha="f6f585b79580e902351fe112b940fa1c5ae25cf4", @patchset_branch="">
only_if { #code block }
end
Platform:
---------
x86_64-linux
Running handlers:
[2016-08-26T15:49:31+00:00] ERROR: Running exception handlers
Running handlers complete
[2016-08-26T15:49:31+00:00] ERROR: Exception handlers complete
Chef Client failed. 2 resources updated in 29 seconds
[2016-08-26T15:49:31+00:00] FATAL: Stacktrace dumped to /var/opt/delivery/workspace/delivery.shd.chef.co/Chef/Chef_Delivery/delivery/master/build/unit/cache/chef-stacktrace.out
[2016-08-26T15:49:31+00:00] FATAL: Please provide the contents of the stacktrace.out file if you file a bug report
[2016-08-26T15:49:31+00:00] ERROR: delivery_builder_exec[chefspec for delivery_delivery cookbook] (delivery_delivery::unit line 21) had an error: Mixlib::ShellOut::ShellCommandFailed: Expected process to exit with [0], but received '1'
---- Begin output of rspec --format documentation --color ----
STDOUT: Run options: exclude {:ignore=>true}
Finished in 6.47 seconds (files took 3.41 seconds to load)
0 examples, 0 failures
STDERR: /opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/berkshelf-4.3.5/lib/berkshelf/installer.rb:27:in `join': No live threads left. Deadlock? (fatal)
from /opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/berkshelf-4.3.5/lib/berkshelf/installer.rb:27:in `map'
from /opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/berkshelf-4.3.5/lib/berkshelf/installer.rb:27:in `build_universe'
from /opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/berkshelf-4.3.5/lib/berkshelf/installer.rb:161:in `install_from_universe'
from /opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/berkshelf-4.3.5/lib/berkshelf/installer.rb:39:in `run'
from /opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/berkshelf-4.3.5/lib/berkshelf/berksfile.rb:421:in `install'
from /opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/berkshelf-4.3.5/lib/berkshelf/berksfile.rb:630:in `block in vendor'
from /opt/chefdk/embedded/lib/ruby/2.1.0/tmpdir.rb:88:in `mktmpdir'
from /opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/berkshelf-4.3.5/lib/berkshelf/berksfile.rb:628:in `vendor'
from /opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/chefspec-5.0.0/lib/chefspec/berkshelf.rb:39:in `block in setup!'
from /opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/thor-0.19.1/lib/thor/shell/basic.rb:20:in `mute'
from /opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/chefspec-5.0.0/lib/chefspec/berkshelf.rb:35:in `setup!'
from /opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/chefspec-5.0.0/lib/chefspec/berkshelf.rb:61:in `block (2 levels) in <top (required)>'
from /opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/rspec-core-3.5.2/lib/rspec/core/example.rb:443:in `instance_exec'
from /opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/rspec-core-3.5.2/lib/rspec/core/example.rb:443:in `instance_exec'
from /opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/rspec-core-3.5.2/lib/rspec/core/hooks.rb:350:in `run'
from /opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/rspec-core-3.5.2/lib/rspec/core/configuration.rb:1879:in `block in run_hooks_with'
from /opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/rspec-core-3.5.2/lib/rspec/core/configuration.rb:1879:in `each'
from /opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/rspec-core-3.5.2/lib/rspec/core/configuration.rb:1879:in `run_hooks_with'
from /opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/rspec-core-3.5.2/lib/rspec/core/configuration.rb:1835:in `with_suite_hooks'
from /opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/rspec-core-3.5.2/lib/rspec/core/runner.rb:112:in `block in run_specs'
from /opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/rspec-core-3.5.2/lib/rspec/core/reporter.rb:77:in `report'
from /opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/rspec-core-3.5.2/lib/rspec/core/runner.rb:111:in `run_specs'
from /opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/rspec-core-3.5.2/lib/rspec/core/runner.rb:87:in `run'
from /opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/rspec-core-3.5.2/lib/rspec/core/runner.rb:71:in `run'
from /opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/rspec-core-3.5.2/lib/rspec/core/runner.rb:45:in `invoke'
from /opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/rspec-core-3.5.2/exe/rspec:4:in `<top (required)>'
from /opt/chefdk/embedded/bin/rspec:22:in `load'
from /opt/chefdk/embedded/bin/rspec:22:in `<main>'
---- End output of rspec --format documentation --color ----
Ran rspec --format documentation --color returned 1
[2016-08-26T15:49:32+00:00] FATAL: Chef::Exceptions::ChildConvergeError: Chef run process exited unsuccessfully (exit code 1)
Chef Client failed
STDOUT:
STDERR:
Job ended at 2016-08-26T15:49:32+00:00 (ran in 59 seconds)
Chef Stacktrace
Generated at 2016-08-26 15:49:31 +0000
Mixlib::ShellOut::ShellCommandFailed: delivery_builder_exec[chefspec for delivery_delivery cookbook] (delivery_delivery::unit line 21) had an error: Mixlib::ShellOut::ShellCommandFailed: Expected process to exit with [0], but received '1'
---- Begin output of rspec --format documentation --color ----
STDOUT: Run options: exclude {:ignore=>true}
Finished in 6.47 seconds (files took 3.41 seconds to load)
0 examples, 0 failures
STDERR: /opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/berkshelf-4.3.5/lib/berkshelf/installer.rb:27:in `join': No live threads left. Deadlock? (fatal)
from /opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/berkshelf-4.3.5/lib/berkshelf/installer.rb:27:in `map'
from /opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/berkshelf-4.3.5/lib/berkshelf/installer.rb:27:in `build_universe'
from /opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/berkshelf-4.3.5/lib/berkshelf/installer.rb:161:in `install_from_universe'
from /opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/berkshelf-4.3.5/lib/berkshelf/installer.rb:39:in `run'
from /opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/berkshelf-4.3.5/lib/berkshelf/berksfile.rb:421:in `install'
from /opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/berkshelf-4.3.5/lib/berkshelf/berksfile.rb:630:in `block in vendor'
from /opt/chefdk/embedded/lib/ruby/2.1.0/tmpdir.rb:88:in `mktmpdir'
from /opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/berkshelf-4.3.5/lib/berkshelf/berksfile.rb:628:in `vendor'
from /opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/chefspec-5.0.0/lib/chefspec/berkshelf.rb:39:in `block in setup!'
from /opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/thor-0.19.1/lib/thor/shell/basic.rb:20:in `mute'
from /opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/chefspec-5.0.0/lib/chefspec/berkshelf.rb:35:in `setup!'
from /opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/chefspec-5.0.0/lib/chefspec/berkshelf.rb:61:in `block (2 levels) in <top (required)>'
from /opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/rspec-core-3.5.2/lib/rspec/core/example.rb:443:in `instance_exec'
from /opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/rspec-core-3.5.2/lib/rspec/core/example.rb:443:in `instance_exec'
from /opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/rspec-core-3.5.2/lib/rspec/core/hooks.rb:350:in `run'
from /opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/rspec-core-3.5.2/lib/rspec/core/configuration.rb:1879:in `block in run_hooks_with'
from /opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/rspec-core-3.5.2/lib/rspec/core/configuration.rb:1879:in `each'
from /opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/rspec-core-3.5.2/lib/rspec/core/configuration.rb:1879:in `run_hooks_with'
from /opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/rspec-core-3.5.2/lib/rspec/core/configuration.rb:1835:in `with_suite_hooks'
from /opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/rspec-core-3.5.2/lib/rspec/core/runner.rb:112:in `block in run_specs'
from /opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/rspec-core-3.5.2/lib/rspec/core/reporter.rb:77:in `report'
from /opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/rspec-core-3.5.2/lib/rspec/core/runner.rb:111:in `run_specs'
from /opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/rspec-core-3.5.2/lib/rspec/core/runner.rb:87:in `run'
from /opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/rspec-core-3.5.2/lib/rspec/core/runner.rb:71:in `run'
from /opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/rspec-core-3.5.2/lib/rspec/core/runner.rb:45:in `invoke'
from /opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/rspec-core-3.5.2/exe/rspec:4:in `<top (required)>'
from /opt/chefdk/embedded/bin/rspec:22:in `load'
from /opt/chefdk/embedded/bin/rspec:22:in `<main>'
---- End output of rspec --format documentation --color ----
Ran rspec --format documentation --color returned 1
/opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/mixlib-shellout-2.2.6/lib/mixlib/shellout.rb:289:in `invalid!'
/opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/mixlib-shellout-2.2.6/lib/mixlib/shellout.rb:276:in `error!'
/opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/chef-12.13.30/lib/chef/mixin/shell_out.rb:45:in `shell_out!'
/var/opt/delivery/workspace/delivery.shd.chef.co/Chef/Chef_Delivery/delivery/master/build/unit/cache/cookbooks/delivery_delivery/libraries/delivery_builder_exec.rb:25:in `block in action_run'
/opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/chef-12.13.30/lib/chef/mixin/why_run.rb:52:in `add_action'
/opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/chef-12.13.30/lib/chef/provider.rb:176:in `converge_by'
/var/opt/delivery/workspace/delivery.shd.chef.co/Chef/Chef_Delivery/delivery/master/build/unit/cache/cookbooks/delivery_delivery/libraries/delivery_builder_exec.rb:24:in `action_run'
/opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/chef-12.13.30/lib/chef/provider.rb:145:in `run_action'
/opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/chef-12.13.30/lib/chef/resource.rb:603:in `run_action'
/var/opt/delivery/workspace/delivery.shd.chef.co/Chef/Chef_Delivery/delivery/master/build/unit/cache/cookbooks/compat_resource/files/lib/chef_compat/monkeypatches/chef/runner.rb:78:in `run_action'
/var/opt/delivery/workspace/delivery.shd.chef.co/Chef/Chef_Delivery/delivery/master/build/unit/cache/cookbooks/compat_resource/files/lib/chef_compat/monkeypatches/chef/runner.rb:106:in `block (2 levels) in converge'
/var/opt/delivery/workspace/delivery.shd.chef.co/Chef/Chef_Delivery/delivery/master/build/unit/cache/cookbooks/compat_resource/files/lib/chef_compat/monkeypatches/chef/runner.rb:106:in `each'
/var/opt/delivery/workspace/delivery.shd.chef.co/Chef/Chef_Delivery/delivery/master/build/unit/cache/cookbooks/compat_resource/files/lib/chef_compat/monkeypatches/chef/runner.rb:106:in `block in converge'
/opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/chef-12.13.30/lib/chef/resource_collection/resource_list.rb:94:in `block in execute_each_resource'
/opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/chef-12.13.30/lib/chef/resource_collection/stepable_iterator.rb:116:in `call'
/opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/chef-12.13.30/lib/chef/resource_collection/stepable_iterator.rb:116:in `call_iterator_block'
/opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/chef-12.13.30/lib/chef/resource_collection/stepable_iterator.rb:85:in `step'
/opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/chef-12.13.30/lib/chef/resource_collection/stepable_iterator.rb:104:in `iterate'
/opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/chef-12.13.30/lib/chef/resource_collection/stepable_iterator.rb:55:in `each_with_index'
/opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/chef-12.13.30/lib/chef/resource_collection/resource_list.rb:92:in `execute_each_resource'
/var/opt/delivery/workspace/delivery.shd.chef.co/Chef/Chef_Delivery/delivery/master/build/unit/cache/cookbooks/compat_resource/files/lib/chef_compat/monkeypatches/chef/runner.rb:105:in `converge'
/opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/chef-12.13.30/lib/chef/client.rb:669:in `block in converge'
/opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/chef-12.13.30/lib/chef/client.rb:664:in `catch'
/opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/chef-12.13.30/lib/chef/client.rb:664:in `converge'
/opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/chef-12.13.30/lib/chef/client.rb:703:in `converge_and_save'
/opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/chef-12.13.30/lib/chef/client.rb:283:in `run'
/opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/chef-12.13.30/lib/chef/application.rb:302:in `block in fork_chef_client'
/opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/chef-12.13.30/lib/chef/application.rb:290:in `fork'
/opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/chef-12.13.30/lib/chef/application.rb:290:in `fork_chef_client'
/opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/chef-12.13.30/lib/chef/application.rb:255:in `block in run_chef_client'
/opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/chef-12.13.30/lib/chef/local_mode.rb:44:in `with_server_connectivity'
/opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/chef-12.13.30/lib/chef/application.rb:243:in `run_chef_client'
/opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/chef-12.13.30/lib/chef/application/client.rb:464:in `sleep_then_run_chef_client'
/opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/chef-12.13.30/lib/chef/application/client.rb:451:in `block in interval_run_chef_client'
/opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/chef-12.13.30/lib/chef/application/client.rb:450:in `loop'
/opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/chef-12.13.30/lib/chef/application/client.rb:450:in `interval_run_chef_client'
/opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/chef-12.13.30/lib/chef/application/client.rb:434:in `run_application'
/opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/chef-12.13.30/lib/chef/application.rb:60:in `run'
/opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/chef-12.13.30/bin/chef-client:26:in `<top (required)>'
/opt/chefdk/bin/chef-client:53:in `load'
/opt/chefdk/bin/chef-client:53:in `<main>'
>>>> Caused by Mixlib::ShellOut::ShellCommandFailed: Expected process to exit with [0], but received '1'
---- Begin output of rspec --format documentation --color ----
STDOUT: Run options: exclude {:ignore=>true}
Finished in 6.47 seconds (files took 3.41 seconds to load)
0 examples, 0 failures
STDERR: /opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/berkshelf-4.3.5/lib/berkshelf/installer.rb:27:in `join': No live threads left. Deadlock? (fatal)
from /opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/berkshelf-4.3.5/lib/berkshelf/installer.rb:27:in `map'
from /opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/berkshelf-4.3.5/lib/berkshelf/installer.rb:27:in `build_universe'
from /opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/berkshelf-4.3.5/lib/berkshelf/installer.rb:161:in `install_from_universe'
from /opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/berkshelf-4.3.5/lib/berkshelf/installer.rb:39:in `run'
from /opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/berkshelf-4.3.5/lib/berkshelf/berksfile.rb:421:in `install'
from /opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/berkshelf-4.3.5/lib/berkshelf/berksfile.rb:630:in `block in vendor'
from /opt/chefdk/embedded/lib/ruby/2.1.0/tmpdir.rb:88:in `mktmpdir'
from /opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/berkshelf-4.3.5/lib/berkshelf/berksfile.rb:628:in `vendor'
from /opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/chefspec-5.0.0/lib/chefspec/berkshelf.rb:39:in `block in setup!'
from /opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/thor-0.19.1/lib/thor/shell/basic.rb:20:in `mute'
from /opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/chefspec-5.0.0/lib/chefspec/berkshelf.rb:35:in `setup!'
from /opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/chefspec-5.0.0/lib/chefspec/berkshelf.rb:61:in `block (2 levels) in <top (required)>'
from /opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/rspec-core-3.5.2/lib/rspec/core/example.rb:443:in `instance_exec'
from /opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/rspec-core-3.5.2/lib/rspec/core/example.rb:443:in `instance_exec'
from /opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/rspec-core-3.5.2/lib/rspec/core/hooks.rb:350:in `run'
from /opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/rspec-core-3.5.2/lib/rspec/core/configuration.rb:1879:in `block in run_hooks_with'
from /opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/rspec-core-3.5.2/lib/rspec/core/configuration.rb:1879:in `each'
from /opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/rspec-core-3.5.2/lib/rspec/core/configuration.rb:1879:in `run_hooks_with'
from /opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/rspec-core-3.5.2/lib/rspec/core/configuration.rb:1835:in `with_suite_hooks'
from /opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/rspec-core-3.5.2/lib/rspec/core/runner.rb:112:in `block in run_specs'
from /opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/rspec-core-3.5.2/lib/rspec/core/reporter.rb:77:in `report'
from /opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/rspec-core-3.5.2/lib/rspec/core/runner.rb:111:in `run_specs'
from /opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/rspec-core-3.5.2/lib/rspec/core/runner.rb:87:in `run'
from /opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/rspec-core-3.5.2/lib/rspec/core/runner.rb:71:in `run'
from /opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/rspec-core-3.5.2/lib/rspec/core/runner.rb:45:in `invoke'
from /opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/rspec-core-3.5.2/exe/rspec:4:in `<top (required)>'
from /opt/chefdk/embedded/bin/rspec:22:in `load'
from /opt/chefdk/embedded/bin/rspec:22:in `<main>'
---- End output of rspec --format documentation --color ----
Ran rspec --format documentation --color returned 1
/opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/mixlib-shellout-2.2.6/lib/mixlib/shellout.rb:289:in `invalid!'
/opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/mixlib-shellout-2.2.6/lib/mixlib/shellout.rb:276:in `error!'
/opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/chef-12.13.30/lib/chef/mixin/shell_out.rb:45:in `shell_out!'
/var/opt/delivery/workspace/delivery.shd.chef.co/Chef/Chef_Delivery/delivery/master/build/unit/cache/cookbooks/delivery_delivery/libraries/delivery_builder_exec.rb:25:in `block in action_run'
/opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/chef-12.13.30/lib/chef/mixin/why_run.rb:52:in `add_action'
/opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/chef-12.13.30/lib/chef/provider.rb:176:in `converge_by'
/var/opt/delivery/workspace/delivery.shd.chef.co/Chef/Chef_Delivery/delivery/master/build/unit/cache/cookbooks/delivery_delivery/libraries/delivery_builder_exec.rb:24:in `action_run'
/opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/chef-12.13.30/lib/chef/provider.rb:145:in `run_action'
/opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/chef-12.13.30/lib/chef/resource.rb:603:in `run_action'
/var/opt/delivery/workspace/delivery.shd.chef.co/Chef/Chef_Delivery/delivery/master/build/unit/cache/cookbooks/compat_resource/files/lib/chef_compat/monkeypatches/chef/runner.rb:78:in `run_action'
/var/opt/delivery/workspace/delivery.shd.chef.co/Chef/Chef_Delivery/delivery/master/build/unit/cache/cookbooks/compat_resource/files/lib/chef_compat/monkeypatches/chef/runner.rb:106:in `block (2 levels) in converge'
/var/opt/delivery/workspace/delivery.shd.chef.co/Chef/Chef_Delivery/delivery/master/build/unit/cache/cookbooks/compat_resource/files/lib/chef_compat/monkeypatches/chef/runner.rb:106:in `each'
/var/opt/delivery/workspace/delivery.shd.chef.co/Chef/Chef_Delivery/delivery/master/build/unit/cache/cookbooks/compat_resource/files/lib/chef_compat/monkeypatches/chef/runner.rb:106:in `block in converge'
/opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/chef-12.13.30/lib/chef/resource_collection/resource_list.rb:94:in `block in execute_each_resource'
/opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/chef-12.13.30/lib/chef/resource_collection/stepable_iterator.rb:116:in `call'
/opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/chef-12.13.30/lib/chef/resource_collection/stepable_iterator.rb:116:in `call_iterator_block'
/opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/chef-12.13.30/lib/chef/resource_collection/stepable_iterator.rb:85:in `step'
/opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/chef-12.13.30/lib/chef/resource_collection/stepable_iterator.rb:104:in `iterate'
/opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/chef-12.13.30/lib/chef/resource_collection/stepable_iterator.rb:55:in `each_with_index'
/opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/chef-12.13.30/lib/chef/resource_collection/resource_list.rb:92:in `execute_each_resource'
/var/opt/delivery/workspace/delivery.shd.chef.co/Chef/Chef_Delivery/delivery/master/build/unit/cache/cookbooks/compat_resource/files/lib/chef_compat/monkeypatches/chef/runner.rb:105:in `converge'
/opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/chef-12.13.30/lib/chef/client.rb:669:in `block in converge'
/opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/chef-12.13.30/lib/chef/client.rb:664:in `catch'
/opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/chef-12.13.30/lib/chef/client.rb:664:in `converge'
/opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/chef-12.13.30/lib/chef/client.rb:703:in `converge_and_save'
/opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/chef-12.13.30/lib/chef/client.rb:283:in `run'
/opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/chef-12.13.30/lib/chef/application.rb:302:in `block in fork_chef_client'
/opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/chef-12.13.30/lib/chef/application.rb:290:in `fork'
/opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/chef-12.13.30/lib/chef/application.rb:290:in `fork_chef_client'
/opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/chef-12.13.30/lib/chef/application.rb:255:in `block in run_chef_client'
/opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/chef-12.13.30/lib/chef/local_mode.rb:44:in `with_server_connectivity'
/opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/chef-12.13.30/lib/chef/application.rb:243:in `run_chef_client'
/opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/chef-12.13.30/lib/chef/application/client.rb:464:in `sleep_then_run_chef_client'
/opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/chef-12.13.30/lib/chef/application/client.rb:451:in `block in interval_run_chef_client'
/opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/chef-12.13.30/lib/chef/application/client.rb:450:in `loop'
/opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/chef-12.13.30/lib/chef/application/client.rb:450:in `interval_run_chef_client'
/opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/chef-12.13.30/lib/chef/application/client.rb:434:in `run_application'
/opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/chef-12.13.30/lib/chef/application.rb:60:in `run'
/opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/chef-12.13.30/bin/chef-client:26:in `<top (required)>'
/opt/chefdk/bin/chef-client:53:in `load'
/opt/chefdk/bin/chef-client:53:in `<main>'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment