Created
September 3, 2014 14:18
-
-
Save solarce/d286fade3f0ecb1a43e4 to your computer and use it in GitHub Desktop.
zk-wrapper converge failure
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
[7:02:58] bburton@althalus ~/code/lookout/cookbooks/zk-wrapper kitchen converge | |
-----> Starting Kitchen (v1.2.1) | |
-----> Creating <default-ubuntu-1204>... | |
EC2 instance <i-bf0b2bb4> created. | |
.......................... (server ready) | |
Waiting for 10.32.1.143:22... | |
Waiting for 10.32.1.143:22... | |
(ssh ready)\n | |
Finished creating <default-ubuntu-1204> (0m48.38s). | |
-----> Converging <default-ubuntu-1204>... | |
Preparing files for transfer | |
Resolving cookbook dependencies with Berkshelf 3.1.5... | |
Removing non-cookbook files before transfer | |
-----> Installing Chef Omnibus (true) | |
downloading https://www.getchef.com/chef/install.sh | |
to file /tmp/install.sh | |
trying wget... | |
Downloading Chef for ubuntu... | |
downloading https://www.getchef.com/chef/metadata?v=&prerelease=false&nightlies=false&p=ubuntu&pv=12.04&m=x86_64 | |
to file /tmp/install.sh.919/metadata.txt | |
trying wget... | |
url https://opscode-omnibus-packages.s3.amazonaws.com/ubuntu/12.04/x86_64/chef_11.14.6-1_amd64.deb | |
md5 ae71f254b6959890f4c9f1c72f60aa1e | |
sha256 5ea807b5a1cdbcf69c244ed57b203bedaaa3d66580f948e028859f78e84a9344 | |
downloaded metadata file looks valid... | |
downloading https://opscode-omnibus-packages.s3.amazonaws.com/ubuntu/12.04/x86_64/chef_11.14.6-1_amd64.deb | |
to file /tmp/install.sh.919/chef_11.14.6-1_amd64.deb | |
trying wget... | |
Comparing checksum with sha256sum... | |
Installing Chef | |
installing with dpkg... | |
Selecting previously unselected package chef. | |
(Reading database ... 47460 files and directories currently installed.) | |
Unpacking chef (from .../chef_11.14.6-1_amd64.deb) ... | |
Setting up chef (11.14.6-1) ... | |
Thank you for installing Chef! | |
Processing triggers for initramfs-tools ... | |
update-initramfs: Generating /boot/initrd.img-3.2.0-52-virtual | |
Transfering files to <default-ubuntu-1204> | |
[2014-09-03T14:05:00+00:00] INFO: Forking chef instance to converge... | |
[2014-09-03T14:05:00+00:00] WARN: | |
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * | |
SSL validation of HTTPS requests is disabled. HTTPS connections are still | |
encrypted, but chef is not able to detect forged replies or man in the middle | |
attacks. | |
To fix this issue add an entry like this to your configuration file: | |
``` | |
# Verify all HTTPS connections (recommended) | |
ssl_verify_mode :verify_peer | |
# OR, Verify only connections to chef-server | |
verify_api_cert true | |
``` | |
To check your SSL configuration, or troubleshoot errors, you can use the | |
`knife ssl check` command like so: | |
``` | |
knife ssl check -c /tmp/kitchen/solo.rb | |
``` | |
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * | |
Starting Chef Client, version 11.14.6 | |
[2014-09-03T14:05:00+00:00] INFO: *** Chef 11.14.6 *** | |
[2014-09-03T14:05:00+00:00] INFO: Chef-client pid: 3005 | |
[2014-09-03T14:05:05+00:00] INFO: Setting the run_list to ["recipe[zk-wrapper::default]"] from CLI options | |
[2014-09-03T14:05:05+00:00] INFO: Run List is [recipe[zk-wrapper::default]] | |
[2014-09-03T14:05:05+00:00] INFO: Run List expands to [zk-wrapper::default] | |
[2014-09-03T14:05:05+00:00] INFO: Starting Chef Run for default-ubuntu-1204 | |
[2014-09-03T14:05:05+00:00] INFO: Running start handlers | |
[2014-09-03T14:05:05+00:00] INFO: Start handlers complete. | |
Compiling Cookbooks... | |
[2014-09-03T14:05:06+00:00] INFO: Zookeeper light-weight provider already initialized -- overriding! | |
Recipe: build-essential::_debian | |
* package[autoconf] action install [2014-09-03T14:05:06+00:00] INFO: Processing package[autoconf] action install (build-essential::_debian line 108) | |
- install version 2.68-1ubuntu2 of package autoconf | |
* package[binutils-doc] action install[2014-09-03T14:05:21+00:00] INFO: Processing package[binutils-doc] action install (build-essential::_debian line 108) | |
- install version 2.22-6ubuntu1.1 of package binutils-doc | |
* package[bison] action install[2014-09-03T14:05:26+00:00] INFO: Processing package[bison] action install (build-essential::_debian line 108) | |
- install version 1:2.5.dfsg-2.1 of package bison | |
* package[build-essential] action install[2014-09-03T14:05:33+00:00] INFO: Processing package[build-essential] action install (build-essential::_debian line 108) | |
================================================================================ | |
Error executing action `install` on resource 'package[build-essential]' | |
================================================================================ | |
Mixlib::ShellOut::ShellCommandFailed | |
------------------------------------ | |
Expected process to exit with [0], but received '100' | |
---- Begin output of apt-get -q -y install build-essential=11.5ubuntu2.1 ---- | |
STDOUT: Reading package lists... | |
Building dependency tree... | |
Reading state information... | |
The following extra packages will be installed: | |
binutils cpp cpp-4.6 dpkg-dev fakeroot g++ g++-4.6 gcc gcc-4.6 | |
libalgorithm-diff-perl libalgorithm-diff-xs-perl libalgorithm-merge-perl | |
libc-dev-bin libc6-dev libdpkg-perl libgomp1 libmpc2 libmpfr4 libquadmath0 | |
libstdc++6-4.6-dev linux-libc-dev make manpages-dev | |
Suggested packages: | |
cpp-doc gcc-4.6-locales debian-keyring g++-multilib g++-4.6-multilib | |
gcc-4.6-doc libstdc++6-4.6-dbg gcc-multilib automake1.9 libtool flex gdb | |
gcc-doc gcc-4.6-multilib libmudflap0-4.6-dev libgcc1-dbg libgomp1-dbg | |
libquadmath0-dbg libmudflap0-dbg binutils-gold glibc-doc libstdc++6-4.6-doc | |
make-doc | |
The following NEW packages will be installed: | |
binutils build-essential cpp cpp-4.6 dpkg-dev fakeroot g++ g++-4.6 gcc | |
gcc-4.6 libalgorithm-diff-perl libalgorithm-diff-xs-perl | |
libalgorithm-merge-perl libc-dev-bin libc6-dev libdpkg-perl libgomp1 libmpc2 | |
libmpfr4 libquadmath0 libstdc++6-4.6-dev linux-libc-dev make manpages-dev | |
0 upgraded, 24 newly installed, 0 to remove and 0 not upgraded. | |
Need to get 30.6 MB of archives. | |
After this operation, 83.9 MB of additional disk space will be used. | |
Get:1 http://us-west-2.ec2.archive.ubuntu.com/ubuntu/ precise/main libgomp1 amd64 4.6.3-1ubuntu5 [25.5 kB] | |
Get:2 http://us-west-2.ec2.archive.ubuntu.com/ubuntu/ precise/main libmpfr4 amd64 3.1.0-3ubuntu2 [201 kB] | |
Get:3 http://us-west-2.ec2.archive.ubuntu.com/ubuntu/ precise/main libquadmath0 amd64 4.6.3-1ubuntu5 [126 kB] | |
Get:4 http://us-west-2.ec2.archive.ubuntu.com/ubuntu/ precise/main libmpc2 amd64 0.9-4 [39.5 kB] | |
Get:5 http://us-west-2.ec2.archive.ubuntu.com/ubuntu/ precise-updates/main binutils amd64 2.22-6ubuntu1.1 [2,638 kB] | |
Err http://us-west-2.ec2.archive.ubuntu.com/ubuntu/ precise-updates/main libc-dev-bin amd64 2.15-0ubuntu10.4 | |
404 Not Found [IP: 91.189.92.200 80] | |
Err http://us-west-2.ec2.archive.ubuntu.com/ubuntu/ precise-updates/main linux-libc-dev amd64 3.2.0-52.78 | |
404 Not Found [IP: 91.189.92.200 80] | |
Err http://us-west-2.ec2.archive.ubuntu.com/ubuntu/ precise-updates/main libc6-dev amd64 2.15-0ubuntu10.4 | |
404 Not Found [IP: 91.189.92.200 80] | |
Err http://security.ubuntu.com/ubuntu/ precise-security/main linux-libc-dev amd64 3.2.0-52.78 | |
404 Not Found [IP: 91.189.91.14 80] | |
Get:6 http://us-west-2.ec2.archive.ubuntu.com/ubuntu/ precise/main cpp-4.6 amd64 4.6.3-1ubuntu5 [4,836 kB] | |
Get:7 http://us-west-2.ec2.archive.ubuntu.com/ubuntu/ precise/main cpp amd64 4:4.6.3-1ubuntu5 [27.6 kB] | |
Get:8 http://us-west-2.ec2.archive.ubuntu.com/ubuntu/ precise/main gcc-4.6 amd64 4.6.3-1ubuntu5 [7,572 kB] | |
Get:9 http://us-west-2.ec2.archive.ubuntu.com/ubuntu/ precise/main gcc amd64 4:4.6.3-1ubuntu5 [5,114 B] | |
Get:10 http://us-west-2.ec2.archive.ubuntu.com/ubuntu/ precise/main libstdc++6-4.6-dev amd64 4.6.3-1ubuntu5 [1,660 kB] | |
Get:11 http://us-west-2.ec2.archive.ubuntu.com/ubuntu/ precise/main g++-4.6 amd64 4.6.3-1ubuntu5 [6,954 kB] | |
Get:12 http://us-west-2.ec2.archive.ubuntu.com/ubuntu/ precise/main g++ amd64 4:4.6.3-1ubuntu5 [1,442 B] | |
Get:13 http://us-west-2.ec2.archive.ubuntu.com/ubuntu/ precise-updates/main make amd64 3.81-8.1ubuntu1.1 [119 kB] | |
Err http://us-west-2.ec2.archive.ubuntu.com/ubuntu/ precise-updates/main libdpkg-perl all 1.16.1.2ubuntu7.1 | |
404 Not Found [IP: 91.189.92.200 80] | |
Err http://us-west-2.ec2.archive.ubuntu.com/ubuntu/ precise-updates/main dpkg-dev all 1.16.1.2ubuntu7.1 | |
404 Not Found [IP: 91.189.92.200 80] | |
Get:14 http://us-west-2.ec2.archive.ubuntu.com/ubuntu/ precise-updates/main build-essential amd64 11.5ubuntu2.1 [5,816 B] | |
Get:15 http://us-west-2.ec2.archive.ubuntu.com/ubuntu/ precise/main fakeroot amd64 1.18.2-1 [87.2 kB] | |
Get:16 http://us-west-2.ec2.archive.ubuntu.com/ubuntu/ precise/main libalgorithm-diff-perl all 1.19.02-2 [50.7 kB] | |
Get:17 http://us-west-2.ec2.archive.ubuntu.com/ubuntu/ precise/main libalgorithm-diff-xs-perl amd64 0.04-2build2 [12.4 kB] | |
Get:18 http://us-west-2.ec2.archive.ubuntu.com/ubuntu/ precise/main libalgorithm-merge-perl all 0.08-2 [12.7 kB] | |
Get:19 http://us-west-2.ec2.archive.ubuntu.com/ubuntu/ precise/main manpages-dev all 3.35-0.1ubuntu1 [1,671 kB] | |
Fetched 26.0 MB in 12s (2,017 kB/s) | |
STDERR: Failed to fetch http://us-west-2.ec2.archive.ubuntu.com/ubuntu/pool/main/e/eglibc/libc-dev-bin_2.15-0ubuntu10.4_amd64.deb 404 Not Found [IP: 91.189.92.200 80] | |
Failed to fetch http://security.ubuntu.com/ubuntu/pool/main/l/linux/linux-libc-dev_3.2.0-52.78_amd64.deb 404 Not Found [IP: 91.189.91.14 80] | |
Failed to fetch http://us-west-2.ec2.archive.ubuntu.com/ubuntu/pool/main/e/eglibc/libc6-dev_2.15-0ubuntu10.4_amd64.deb 404 Not Found [IP: 91.189.92.200 80] | |
Failed to fetch http://us-west-2.ec2.archive.ubuntu.com/ubuntu/pool/main/d/dpkg/libdpkg-perl_1.16.1.2ubuntu7.1_all.deb 404 Not Found [IP: 91.189.92.200 80] | |
Failed to fetch http://us-west-2.ec2.archive.ubuntu.com/ubuntu/pool/main/d/dpkg/dpkg-dev_1.16.1.2ubuntu7.1_all.deb 404 Not Found [IP: 91.189.92.200 80] | |
E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing? | |
---- End output of apt-get -q -y install build-essential=11.5ubuntu2.1 ---- | |
Ran apt-get -q -y install build-essential=11.5ubuntu2.1 returned 100 | |
Cookbook Trace: | |
--------------- | |
/tmp/kitchen/cookbooks/build-essential/libraries/timing.rb:114:in `block in method_missing' | |
/tmp/kitchen/cookbooks/build-essential/libraries/timing.rb:113:in `each' | |
/tmp/kitchen/cookbooks/build-essential/libraries/timing.rb:113:in `method_missing' | |
/tmp/kitchen/cookbooks/build-essential/recipes/_debian.rb:24:in `block in from_file' | |
/tmp/kitchen/cookbooks/build-essential/libraries/timing.rb:104:in `instance_eval' | |
/tmp/kitchen/cookbooks/build-essential/libraries/timing.rb:104:in `evaluate' | |
/tmp/kitchen/cookbooks/build-essential/libraries/timing.rb:47:in `potentially_at_compile_time' | |
/tmp/kitchen/cookbooks/build-essential/recipes/_debian.rb:20:in `from_file' | |
/tmp/kitchen/cookbooks/build-essential/recipes/default.rb:21:in `from_file' | |
/tmp/kitchen/cookbooks/zookeeper/recipes/install.rb:20:in `from_file' | |
/tmp/kitchen/cookbooks/zk-wrapper/recipes/default.rb:17:in `from_file' | |
Resource Declaration: | |
--------------------- | |
# In /tmp/kitchen/cookbooks/build-essential/libraries/timing.rb | |
108: resource = @recipe.send(m, *args, &block) | |
109: if resource.is_a?(Chef::Resource) | |
Compiled Resource: | |
------------------ | |
# Declared in /tmp/kitchen/cookbooks/build-essential/libraries/timing.rb:108:in `method_missing' | |
package("build-essential") do | |
action [:nothing] | |
retries 0 | |
retry_delay 2 | |
guard_interpreter :default | |
package_name "build-essential" | |
version "11.5ubuntu2.1" | |
timeout 900 | |
cookbook_name :"build-essential" | |
recipe_name "_debian" | |
end | |
================================================================================ | |
Recipe Compile Error in /tmp/kitchen/cookbooks/zk-wrapper/recipes/default.rb | |
================================================================================ | |
Mixlib::ShellOut::ShellCommandFailed | |
------------------------------------ | |
package[build-essential] (build-essential::_debian line 108) had an error: Mixlib::ShellOut::ShellCommandFailed: Expected process to exit with [0], but received '100' | |
---- Begin output of apt-get -q -y install build-essential=11.5ubuntu2.1 ---- | |
STDOUT: Reading package lists... | |
Building dependency tree... | |
Reading state information... | |
The following extra packages will be installed: | |
binutils cpp cpp-4.6 dpkg-dev fakeroot g++ g++-4.6 gcc gcc-4.6 | |
libalgorithm-diff-perl libalgorithm-diff-xs-perl libalgorithm-merge-perl | |
libc-dev-bin libc6-dev libdpkg-perl libgomp1 libmpc2 libmpfr4 libquadmath0 | |
libstdc++6-4.6-dev linux-libc-dev make manpages-dev | |
Suggested packages: | |
cpp-doc gcc-4.6-locales debian-keyring g++-multilib g++-4.6-multilib | |
gcc-4.6-doc libstdc++6-4.6-dbg gcc-multilib automake1.9 libtool flex gdb | |
gcc-doc gcc-4.6-multilib libmudflap0-4.6-dev libgcc1-dbg libgomp1-dbg | |
libquadmath0-dbg libmudflap0-dbg binutils-gold glibc-doc libstdc++6-4.6-doc | |
make-doc | |
The following NEW packages will be installed: | |
binutils build-essential cpp cpp-4.6 dpkg-dev fakeroot g++ g++-4.6 gcc | |
gcc-4.6 libalgorithm-diff-perl libalgorithm-diff-xs-perl | |
libalgorithm-merge-perl libc-dev-bin libc6-dev libdpkg-perl libgomp1 libmpc2 | |
libmpfr4 libquadmath0 libstdc++6-4.6-dev linux-libc-dev make manpages-dev | |
0 upgraded, 24 newly installed, 0 to remove and 0 not upgraded. | |
Need to get 30.6 MB of archives. | |
After this operation, 83.9 MB of additional disk space will be used. | |
Get:1 http://us-west-2.ec2.archive.ubuntu.com/ubuntu/ precise/main libgomp1 amd64 4.6.3-1ubuntu5 [25.5 kB] | |
Get:2 http://us-west-2.ec2.archive.ubuntu.com/ubuntu/ precise/main libmpfr4 amd64 3.1.0-3ubuntu2 [201 kB] | |
Get:3 http://us-west-2.ec2.archive.ubuntu.com/ubuntu/ precise/main libquadmath0 amd64 4.6.3-1ubuntu5 [126 kB] | |
Get:4 http://us-west-2.ec2.archive.ubuntu.com/ubuntu/ precise/main libmpc2 amd64 0.9-4 [39.5 kB] | |
Get:5 http://us-west-2.ec2.archive.ubuntu.com/ubuntu/ precise-updates/main binutils amd64 2.22-6ubuntu1.1 [2,638 kB] | |
Err http://us-west-2.ec2.archive.ubuntu.com/ubuntu/ precise-updates/main libc-dev-bin amd64 2.15-0ubuntu10.4 | |
404 Not Found [IP: 91.189.92.200 80] | |
Err http://us-west-2.ec2.archive.ubuntu.com/ubuntu/ precise-updates/main linux-libc-dev amd64 3.2.0-52.78 | |
404 Not Found [IP: 91.189.92.200 80] | |
Err http://us-west-2.ec2.archive.ubuntu.com/ubuntu/ precise-updates/main libc6-dev amd64 2.15-0ubuntu10.4 | |
404 Not Found [IP: 91.189.92.200 80] | |
Err http://security.ubuntu.com/ubuntu/ precise-security/main linux-libc-dev amd64 3.2.0-52.78 | |
404 Not Found [IP: 91.189.91.14 80] | |
Get:6 http://us-west-2.ec2.archive.ubuntu.com/ubuntu/ precise/main cpp-4.6 amd64 4.6.3-1ubuntu5 [4,836 kB] | |
Get:7 http://us-west-2.ec2.archive.ubuntu.com/ubuntu/ precise/main cpp amd64 4:4.6.3-1ubuntu5 [27.6 kB] | |
Get:8 http://us-west-2.ec2.archive.ubuntu.com/ubuntu/ precise/main gcc-4.6 amd64 4.6.3-1ubuntu5 [7,572 kB] | |
Get:9 http://us-west-2.ec2.archive.ubuntu.com/ubuntu/ precise/main gcc amd64 4:4.6.3-1ubuntu5 [5,114 B] | |
Get:10 http://us-west-2.ec2.archive.ubuntu.com/ubuntu/ precise/main libstdc++6-4.6-dev amd64 4.6.3-1ubuntu5 [1,660 kB] | |
Get:11 http://us-west-2.ec2.archive.ubuntu.com/ubuntu/ precise/main g++-4.6 amd64 4.6.3-1ubuntu5 [6,954 kB] | |
Get:12 http://us-west-2.ec2.archive.ubuntu.com/ubuntu/ precise/main g++ amd64 4:4.6.3-1ubuntu5 [1,442 B] | |
Get:13 http://us-west-2.ec2.archive.ubuntu.com/ubuntu/ precise-updates/main make amd64 3.81-8.1ubuntu1.1 [119 kB] | |
Err http://us-west-2.ec2.archive.ubuntu.com/ubuntu/ precise-updates/main libdpkg-perl all 1.16.1.2ubuntu7.1 | |
404 Not Found [IP: 91.189.92.200 80] | |
Err http://us-west-2.ec2.archive.ubuntu.com/ubuntu/ precise-updates/main dpkg-dev all 1.16.1.2ubuntu7.1 | |
404 Not Found [IP: 91.189.92.200 80] | |
Get:14 http://us-west-2.ec2.archive.ubuntu.com/ubuntu/ precise-updates/main build-essential amd64 11.5ubuntu2.1 [5,816 B] | |
Get:15 http://us-west-2.ec2.archive.ubuntu.com/ubuntu/ precise/main fakeroot amd64 1.18.2-1 [87.2 kB] | |
Get:16 http://us-west-2.ec2.archive.ubuntu.com/ubuntu/ precise/main libalgorithm-diff-perl all 1.19.02-2 [50.7 kB] | |
Get:17 http://us-west-2.ec2.archive.ubuntu.com/ubuntu/ precise/main libalgorithm-diff-xs-perl amd64 0.04-2build2 [12.4 kB] | |
Get:18 http://us-west-2.ec2.archive.ubuntu.com/ubuntu/ precise/main libalgorithm-merge-perl all 0.08-2 [12.7 kB] | |
Get:19 http://us-west-2.ec2.archive.ubuntu.com/ubuntu/ precise/main manpages-dev all 3.35-0.1ubuntu1 [1,671 kB] | |
Fetched 26.0 MB in 12s (2,017 kB/s) | |
STDERR: Failed to fetch http://us-west-2.ec2.archive.ubuntu.com/ubuntu/pool/main/e/eglibc/libc-dev-bin_2.15-0ubuntu10.4_amd64.deb 404 Not Found [IP: 91.189.92.200 80] | |
Failed to fetch http://security.ubuntu.com/ubuntu/pool/main/l/linux/linux-libc-dev_3.2.0-52.78_amd64.deb 404 Not Found [IP: 91.189.91.14 80] | |
Failed to fetch http://us-west-2.ec2.archive.ubuntu.com/ubuntu/pool/main/e/eglibc/libc6-dev_2.15-0ubuntu10.4_amd64.deb 404 Not Found [IP: 91.189.92.200 80] | |
Failed to fetch http://us-west-2.ec2.archive.ubuntu.com/ubuntu/pool/main/d/dpkg/libdpkg-perl_1.16.1.2ubuntu7.1_all.deb 404 Not Found [IP: 91.189.92.200 80] | |
Failed to fetch http://us-west-2.ec2.archive.ubuntu.com/ubuntu/pool/main/d/dpkg/dpkg-dev_1.16.1.2ubuntu7.1_all.deb 404 Not Found [IP: 91.189.92.200 80] | |
E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing? | |
---- End output of apt-get -q -y install build-essential=11.5ubuntu2.1 ---- | |
Ran apt-get -q -y install build-essential=11.5ubuntu2.1 returned 100 | |
Cookbook Trace: | |
--------------- | |
/tmp/kitchen/cookbooks/build-essential/libraries/timing.rb:114:in `block in method_missing' | |
/tmp/kitchen/cookbooks/build-essential/libraries/timing.rb:113:in `each' | |
/tmp/kitchen/cookbooks/build-essential/libraries/timing.rb:113:in `method_missing' | |
/tmp/kitchen/cookbooks/build-essential/recipes/_debian.rb:24:in `block in from_file' | |
/tmp/kitchen/cookbooks/build-essential/libraries/timing.rb:104:in `instance_eval' | |
/tmp/kitchen/cookbooks/build-essential/libraries/timing.rb:104:in `evaluate' | |
/tmp/kitchen/cookbooks/build-essential/libraries/timing.rb:47:in `potentially_at_compile_time' | |
/tmp/kitchen/cookbooks/build-essential/recipes/_debian.rb:20:in `from_file' | |
/tmp/kitchen/cookbooks/build-essential/recipes/default.rb:21:in `from_file' | |
/tmp/kitchen/cookbooks/zookeeper/recipes/install.rb:20:in `from_file' | |
/tmp/kitchen/cookbooks/zk-wrapper/recipes/default.rb:17:in `from_file' | |
Relevant File Content: | |
---------------------- | |
/tmp/kitchen/cookbooks/build-essential/libraries/timing.rb: | |
107: def method_missing(m, *args, &block) | |
108: resource = @recipe.send(m, *args, &block) | |
109: if resource.is_a?(Chef::Resource) | |
110: actions = Array(resource.action) | |
111: resource.action(:nothing) | |
112: | |
113: actions.each do |action| | |
114>> resource.run_action(action) | |
115: end | |
116: end | |
117: resource | |
118: end | |
119: end | |
120: end | |
121: end | |
122: | |
123: # Include the timing module into the main recipe DSL | |
Running handlers: | |
[2014-09-03T14:05:48+00:00] ERROR: Running exception handlers | |
Running handlers complete | |
[2014-09-03T14:05:48+00:00] ERROR: Exception handlers complete | |
[2014-09-03T14:05:48+00:00] FATAL: Stacktrace dumped to /tmp/kitchen/cache/chef-stacktrace.out | |
Chef Client failed. 3 resources updated in 47.509898404 seconds | |
[2014-09-03T14:05:48+00:00] ERROR: package[build-essential] (build-essential::_debian line 108) had an error: Mixlib::ShellOut::ShellCommandFailed: Expected process to exit with [0], but received '100' | |
---- Begin output of apt-get -q -y install build-essential=11.5ubuntu2.1 ---- | |
STDOUT: Reading package lists... | |
Building dependency tree... | |
Reading state information... | |
The following extra packages will be installed: | |
binutils cpp cpp-4.6 dpkg-dev fakeroot g++ g++-4.6 gcc gcc-4.6 | |
libalgorithm-diff-perl libalgorithm-diff-xs-perl libalgorithm-merge-perl | |
libc-dev-bin libc6-dev libdpkg-perl libgomp1 libmpc2 libmpfr4 libquadmath0 | |
libstdc++6-4.6-dev linux-libc-dev make manpages-dev | |
Suggested packages: | |
cpp-doc gcc-4.6-locales debian-keyring g++-multilib g++-4.6-multilib | |
gcc-4.6-doc libstdc++6-4.6-dbg gcc-multilib automake1.9 libtool flex gdb | |
gcc-doc gcc-4.6-multilib libmudflap0-4.6-dev libgcc1-dbg libgomp1-dbg | |
libquadmath0-dbg libmudflap0-dbg binutils-gold glibc-doc libstdc++6-4.6-doc | |
make-doc | |
The following NEW packages will be installed: | |
binutils build-essential cpp cpp-4.6 dpkg-dev fakeroot g++ g++-4.6 gcc | |
gcc-4.6 libalgorithm-diff-perl libalgorithm-diff-xs-perl | |
libalgorithm-merge-perl libc-dev-bin libc6-dev libdpkg-perl libgomp1 libmpc2 | |
libmpfr4 libquadmath0 libstdc++6-4.6-dev linux-libc-dev make manpages-dev | |
0 upgraded, 24 newly installed, 0 to remove and 0 not upgraded. | |
Need to get 30.6 MB of archives. | |
After this operation, 83.9 MB of additional disk space will be used. | |
Get:1 http://us-west-2.ec2.archive.ubuntu.com/ubuntu/ precise/main libgomp1 amd64 4.6.3-1ubuntu5 [25.5 kB] | |
Get:2 http://us-west-2.ec2.archive.ubuntu.com/ubuntu/ precise/main libmpfr4 amd64 3.1.0-3ubuntu2 [201 kB] | |
Get:3 http://us-west-2.ec2.archive.ubuntu.com/ubuntu/ precise/main libquadmath0 amd64 4.6.3-1ubuntu5 [126 kB] | |
Get:4 http://us-west-2.ec2.archive.ubuntu.com/ubuntu/ precise/main libmpc2 amd64 0.9-4 [39.5 kB] | |
Get:5 http://us-west-2.ec2.archive.ubuntu.com/ubuntu/ precise-updates/main binutils amd64 2.22-6ubuntu1.1 [2,638 kB] | |
Err http://us-west-2.ec2.archive.ubuntu.com/ubuntu/ precise-updates/main libc-dev-bin amd64 2.15-0ubuntu10.4 | |
404 Not Found [IP: 91.189.92.200 80] | |
Err http://us-west-2.ec2.archive.ubuntu.com/ubuntu/ precise-updates/main linux-libc-dev amd64 3.2.0-52.78 | |
404 Not Found [IP: 91.189.92.200 80] | |
Err http://us-west-2.ec2.archive.ubuntu.com/ubuntu/ precise-updates/main libc6-dev amd64 2.15-0ubuntu10.4 | |
404 Not Found [IP: 91.189.92.200 80] | |
Err http://security.ubuntu.com/ubuntu/ precise-security/main linux-libc-dev amd64 3.2.0-52.78 | |
404 Not Found [IP: 91.189.91.14 80] | |
Get:6 http://us-west-2.ec2.archive.ubuntu.com/ubuntu/ precise/main cpp-4.6 amd64 4.6.3-1ubuntu5 [4,836 kB] | |
Get:7 http://us-west-2.ec2.archive.ubuntu.com/ubuntu/ precise/main cpp amd64 4:4.6.3-1ubuntu5 [27.6 kB] | |
Get:8 http://us-west-2.ec2.archive.ubuntu.com/ubuntu/ precise/main gcc-4.6 amd64 4.6.3-1ubuntu5 [7,572 kB] | |
Get:9 http://us-west-2.ec2.archive.ubuntu.com/ubuntu/ precise/main gcc amd64 4:4.6.3-1ubuntu5 [5,114 B] | |
Get:10 http://us-west-2.ec2.archive.ubuntu.com/ubuntu/ precise/main libstdc++6-4.6-dev amd64 4.6.3-1ubuntu5 [1,660 kB] | |
Get:11 http://us-west-2.ec2.archive.ubuntu.com/ubuntu/ precise/main g++-4.6 amd64 4.6.3-1ubuntu5 [6,954 kB] | |
Get:12 http://us-west-2.ec2.archive.ubuntu.com/ubuntu/ precise/main g++ amd64 4:4.6.3-1ubuntu5 [1,442 B] | |
Get:13 http://us-west-2.ec2.archive.ubuntu.com/ubuntu/ precise-updates/main make amd64 3.81-8.1ubuntu1.1 [119 kB] | |
Err http://us-west-2.ec2.archive.ubuntu.com/ubuntu/ precise-updates/main libdpkg-perl all 1.16.1.2ubuntu7.1 | |
404 Not Found [IP: 91.189.92.200 80] | |
Err http://us-west-2.ec2.archive.ubuntu.com/ubuntu/ precise-updates/main dpkg-dev all 1.16.1.2ubuntu7.1 | |
404 Not Found [IP: 91.189.92.200 80] | |
Get:14 http://us-west-2.ec2.archive.ubuntu.com/ubuntu/ precise-updates/main build-essential amd64 11.5ubuntu2.1 [5,816 B] | |
Get:15 http://us-west-2.ec2.archive.ubuntu.com/ubuntu/ precise/main fakeroot amd64 1.18.2-1 [87.2 kB] | |
Get:16 http://us-west-2.ec2.archive.ubuntu.com/ubuntu/ precise/main libalgorithm-diff-perl all 1.19.02-2 [50.7 kB] | |
Get:17 http://us-west-2.ec2.archive.ubuntu.com/ubuntu/ precise/main libalgorithm-diff-xs-perl amd64 0.04-2build2 [12.4 kB] | |
Get:18 http://us-west-2.ec2.archive.ubuntu.com/ubuntu/ precise/main libalgorithm-merge-perl all 0.08-2 [12.7 kB] | |
Get:19 http://us-west-2.ec2.archive.ubuntu.com/ubuntu/ precise/main manpages-dev all 3.35-0.1ubuntu1 [1,671 kB] | |
Fetched 26.0 MB in 12s (2,017 kB/s) | |
STDERR: Failed to fetch http://us-west-2.ec2.archive.ubuntu.com/ubuntu/pool/main/e/eglibc/libc-dev-bin_2.15-0ubuntu10.4_amd64.deb 404 Not Found [IP: 91.189.92.200 80] | |
Failed to fetch http://security.ubuntu.com/ubuntu/pool/main/l/linux/linux-libc-dev_3.2.0-52.78_amd64.deb 404 Not Found [IP: 91.189.91.14 80] | |
Failed to fetch http://us-west-2.ec2.archive.ubuntu.com/ubuntu/pool/main/e/eglibc/libc6-dev_2.15-0ubuntu10.4_amd64.deb 404 Not Found [IP: 91.189.92.200 80] | |
Failed to fetch http://us-west-2.ec2.archive.ubuntu.com/ubuntu/pool/main/d/dpkg/libdpkg-perl_1.16.1.2ubuntu7.1_all.deb 404 Not Found [IP: 91.189.92.200 80] | |
Failed to fetch http://us-west-2.ec2.archive.ubuntu.com/ubuntu/pool/main/d/dpkg/dpkg-dev_1.16.1.2ubuntu7.1_all.deb 404 Not Found [IP: 91.189.92.200 80] | |
E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing? | |
---- End output of apt-get -q -y install build-essential=11.5ubuntu2.1 ---- | |
Ran apt-get -q -y install build-essential=11.5ubuntu2.1 returned 100 | |
[2014-09-03T14:05:48+00:00] FATAL: Chef::Exceptions::ChildConvergeError: Chef run process exited unsuccessfully (exit code 1) | |
>>>>>> Converge failed on instance <default-ubuntu-1204>. | |
>>>>>> Please see .kitchen/logs/default-ubuntu-1204.log for more details | |
>>>>>> ------Exception------- | |
>>>>>> Class: Kitchen::ActionFailed | |
>>>>>> Message: SSH exited (1) for command: [sudo -E chef-solo --config /tmp/kitchen/solo.rb --json-attributes /tmp/kitchen/dna.json --log_level info] | |
>>>>>> ---------------------- |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment