-
-
Save fujin/0f0f3141c1b746fccbef to your computer and use it in GitHub Desktop.
This file contains hidden or 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
| aj@zeta ~/workspace/pantheon-cookbooks/python multipkg-install ● kitchen converge | |
| -----> Starting Kitchen (v1.4.0) | |
| -----> Creating <default-pantheon-basebox-fedora-22>... | |
| Bringing machine 'default' up with 'virtualbox' provider... | |
| ==> default: Importing base box 'pantheon/basebox-fedora-22'... | |
| ==> default: Matching MAC address for NAT networking... | |
| ==> default: Checking if box 'pantheon/basebox-fedora-22' is up to date... | |
| ==> default: A newer version of the box 'pantheon/basebox-fedora-22' is available! You currently | |
| ==> default: have version '2015.07.24.0933'. The latest is version '2015.08.18.0944'. Run | |
| ==> default: `vagrant box update` to update. | |
| ==> default: Setting the name of the VM: kitchen-python-default-pantheon-basebox-fedora-22_default_1439893451315_7607 | |
| ==> default: Clearing any previously set network interfaces... | |
| ==> default: Preparing network interfaces based on configuration... | |
| default: Adapter 1: nat | |
| ==> default: Forwarding ports... | |
| default: 22 => 2222 (adapter 1) | |
| ==> default: Booting VM... | |
| ==> default: Waiting for machine to boot. This may take a few minutes... default: SSH address: 127.0.0.1:2222 | |
| default: SSH username: vagrant | |
| default: SSH auth method: private key | |
| default: Warning: Connection timeout. Retrying... | |
| default: | |
| default: Vagrant insecure key detected. Vagrant will automatically replace | |
| default: this with a newly generated keypair for better security. | |
| default: | |
| default: Inserting generated public key within guest... | |
| default: Removing insecure key from the guest if it's present... | |
| default: Key inserted! Disconnecting and reconnecting using new SSH key... | |
| ==> default: Machine booted and ready! | |
| ==> default: Checking for guest additions in VM... | |
| default: No guest additions were detected on the base box for this VM! Guest | |
| default: additions are required for forwarded ports, shared folders, host only | |
| default: networking, and more. If SSH fails on this machine, please install | |
| default: the guest additions and repackage the box to continue. | |
| default: | |
| default: This is not an error message; everything may continue to work properly, | |
| default: in which case you may ignore this message. | |
| ==> default: Setting hostname... | |
| ==> default: Machine not provisioned because `--no-provision` is specified. | |
| [SSH] Established | |
| Vagrant instance <default-pantheon-basebox-fedora-22> created. | |
| Finished creating <default-pantheon-basebox-fedora-22> (0m31.37s). | |
| -----> Converging <default-pantheon-basebox-fedora-22>... | |
| Preparing files for transfer | |
| Preparing dna.json | |
| Resolving cookbook dependencies with Berkshelf 3.2.4... | |
| Removing non-cookbook files before transfer | |
| Preparing solo.rb | |
| -----> Installing Chef Omnibus (12.4.1) | |
| Downloading https://www.chef.io/chef/install.sh to file /tmp/install.sh | |
| Trying wget... | |
| Download complete. | |
| Downloading Chef 12.4.1 for el... | |
| downloading https://www.chef.io/chef/metadata?v=12.4.1&prerelease=false&nightlies=false&p=el&pv=6&m=x86_64 | |
| trying wget... | |
| url https://opscode-omnibus-packages.s3.amazonaws.com/el/6/x86_64/chef-12.4.1-1.el6.x86_64.rpm | |
| md5 f09a9ae589bb9040232c600b008ef812 | |
| sha256 95150a4b3c3b2313bd206876e09e2fcf742f2fa4611951d52c79225becb32928 | |
| downloaded metadata file looks valid... | |
| downloading https://opscode-omnibus-packages.s3.amazonaws.com/el/6/x86_64/chef-12.4.1-1.el6.x86_64.rpm | |
| to file /tmp/install.sh.1830/chef-12.4.1-1.el6.x86_64.rpm | |
| trying wget... | |
| Comparing checksum with sha256sum... | |
| Installing Chef 12.4.1 | |
| installing with rpm... | |
| warning: /tmp/install.sh.1830/chef-12.4.1-1.el6.x86_64.rpm: Header V4 DSA/SHA1 Signature, key ID 83ef826a: NOKEY | |
| Preparing... ################################# [100%] | |
| Updating / installing... | |
| ################################# [ 50%] | |
| Thank you for installing Chef! | |
| Cleaning up / removing... | |
| ################################# [100%] | |
| Transferring files to <default-pantheon-basebox-fedora-22> | |
| Starting Chef Client, version 12.4.1 | |
| Compiling Cookbooks... | |
| Converging 20 resources | |
| Recipe: python::pip | |
| * execute[remove_pip_pyinotify] action run (skipped due to only_if) | |
| * directory[/tmp/pip-build-root] action delete (up to date) | |
| * multipackage[collected packages] action install | |
| - install version 0:2.7.10-4.fc22 of package python-devel | |
| - install version 0:0.9.6-1.fc22 of package python-inotify | |
| - install version 0:12.0.7-1.fc22 of package python-virtualenv | |
| - install version 0:3.3.6-1.fc22 of package python-lxml | |
| - install version 0:5.1.1-4.fc22 of package gcc | |
| - install version 0:1.2.20-1.fc22 of package xmlsec1 | |
| - install version 0:1.2.20-1.fc22 of package xmlsec1-devel | |
| - install version 0:1.2.20-1.fc22 of package xmlsec1-openssl | |
| - install version 0:1.2.20-1.fc22 of package xmlsec1-openssl-devel | |
| - install version 0:3.0.7-1.fc22 of package swig | |
| - install version 1:1.0.1k-11.fc22 of package openssl-devel | |
| - install version 0:0.21.1-18.fc22 of package m2crypto | |
| - install version 0:2.6.0-8.fc22 of package bzr | |
| - install version 0:7.40.0-5.fc22 of package libcurl-devel | |
| - upgrade package python-pip from (none):6.0.8-1.fc22 to 0:6.0.8-1.fc22 | |
| Recipe: python::default | |
| * multipackage[python-gnupg, python-pyotp, libffi-devel, http-parser, libxdiff, libgit2, libgit2-devel, systemd-python, mariadb-devel] action install | |
| ================================================================================ | |
| Error executing action `install` on resource 'dnf_package[python-gnupg, python-pyotp, libffi-devel, http-parser, libxdiff, libgit2, libgit2-devel, systemd-python, mariadb-devel]' | |
| ================================================================================ | |
| Mixlib::ShellOut::ShellCommandFailed | |
| ------------------------------------ | |
| Expected process to exit with [0, 1], but received '9' | |
| ---- Begin output of rpm -q --queryformat '%{EPOCH}:%{VERSION}-%{RELEASE} | |
| ' python-gnupg, python-pyotp, libffi-devel, http-parser, libxdiff, libgit2, libgit2-devel, systemd-python, mariadb-devel ---- | |
| STDOUT: package python-gnupg, is not installed | |
| package python-pyotp, is not installed | |
| package libffi-devel, is not installed | |
| package http-parser, is not installed | |
| package libxdiff, is not installed | |
| package libgit2, is not installed | |
| package libgit2-devel, is not installed | |
| package systemd-python, is not installed | |
| package mariadb-devel is not installed | |
| STDERR: | |
| ---- End output of rpm -q --queryformat '%{EPOCH}:%{VERSION}-%{RELEASE} | |
| ' python-gnupg, python-pyotp, libffi-devel, http-parser, libxdiff, libgit2, libgit2-devel, systemd-python, mariadb-devel ---- | |
| Ran rpm -q --queryformat '%{EPOCH}:%{VERSION}-%{RELEASE} | |
| ' python-gnupg, python-pyotp, libffi-devel, http-parser, libxdiff, libgit2, libgit2-devel, systemd-python, mariadb-devel returned 9 | |
| Cookbook Trace: | |
| --------------- | |
| /tmp/kitchen/cookbooks/dnf/libraries/provider_dnf_package.rb:98:in `installed_version' | |
| /tmp/kitchen/cookbooks/dnf/libraries/provider_dnf_package.rb:77:in `block in load_current_resource' | |
| /tmp/kitchen/cookbooks/dnf/libraries/provider_dnf_package.rb:76:in `each' | |
| /tmp/kitchen/cookbooks/dnf/libraries/provider_dnf_package.rb:76:in `load_current_resource' | |
| Resource Declaration: | |
| --------------------- | |
| # In /tmp/kitchen/cookbooks/multipackage/providers/default.rb | |
| 28: package new_resource.name do | |
| 29: package_name package_name_array | |
| 30: version version_array if version_array | |
| 31: options new_resource.options if new_resource.options | |
| 32: timeout new_resource.timeout if new_resource.timeout | |
| 33: action action | |
| 34: end | |
| 35: rescue Chef::Exceptions::ValidationFailed | |
| Compiled Resource: | |
| ------------------ | |
| # Declared in /tmp/kitchen/cookbooks/multipackage/providers/default.rb:28:in `do_action' | |
| provider Chef::Provider::Package::Dnf | |
| retries 0 | |
| retry_delay 2 | |
| default_guard_interpreter :default | |
| package_name ["python-gnupg, python-pyotp, libffi-devel, http-parser, libxdiff, libgit2, libgit2-devel, systemd-python, mariadb-devel"] | |
| declared_type :package | |
| cookbook_name :python | |
| end | |
| ================================================================================ | |
| Error executing action `install` on resource 'multipackage[python-gnupg, python-pyotp, libffi-devel, http-parser, libxdiff, libgit2, libgit2-devel, systemd-python, mariadb-devel]' | |
| ================================================================================ | |
| Mixlib::ShellOut::ShellCommandFailed | |
| ------------------------------------ | |
| dnf_package[python-gnupg, python-pyotp, libffi-devel, http-parser, libxdiff, libgit2, libgit2-devel, systemd-python, mariadb-devel] (/tmp/kitchen/cookbooks/multipackage/providers/default.rb line 28) had an error: Mixlib::ShellOut::ShellCommandFailed: Expected process to exit with [0, 1], but received '9' | |
| ---- Begin output of rpm -q --queryformat '%{EPOCH}:%{VERSION}-%{RELEASE} | |
| ' python-gnupg, python-pyotp, libffi-devel, http-parser, libxdiff, libgit2, libgit2-devel, systemd-python, mariadb-devel ---- | |
| STDOUT: package python-gnupg, is not installed | |
| package python-pyotp, is not installed | |
| package http-parser, is not installed | |
| package libxdiff, is not installed | |
| package libgit2, is not installed | |
| package libgit2-devel, is not installed | |
| package systemd-python, is not installed | |
| package mariadb-devel is not installed | |
| STDERR: | |
| ---- End output of rpm -q --queryformat '%{EPOCH}:%{VERSION}-%{RELEASE} | |
| ' python-gnupg, python-pyotp, libffi-devel, http-parser, libxdiff, libgit2, libgit2-devel, systemd-python, mariadb-devel ---- | |
| Ran rpm -q --queryformat '%{EPOCH}:%{VERSION}-%{RELEASE} | |
| ' python-gnupg, python-pyotp, libffi-devel, http-parser, libxdiff, libgit2, libgit2-devel, systemd-python, mariadb-devel returned 9 | |
| Cookbook Trace: | |
| --------------- | |
| /tmp/kitchen/cookbooks/dnf/libraries/provider_dnf_package.rb:98:in `installed_version' | |
| /tmp/kitchen/cookbooks/dnf/libraries/provider_dnf_package.rb:77:in `block in load_current_resource' | |
| /tmp/kitchen/cookbooks/dnf/libraries/provider_dnf_package.rb:76:in `each' | |
| /tmp/kitchen/cookbooks/dnf/libraries/provider_dnf_package.rb:76:in `load_current_resource' | |
| Resource Declaration: | |
| --------------------- | |
| # In /tmp/kitchen/cookbooks/python/recipes/default.rb | |
| 3: multipackage %w( | |
| 4: python-gnupg | |
| Compiled Resource: | |
| ------------------ | |
| # Declared in /tmp/kitchen/cookbooks/python/recipes/default.rb:3:in `from_file' | |
| multipackage("python-gnupg, python-pyotp, libffi-devel, http-parser, libxdiff, libgit2, libgit2-devel, systemd-python, mariadb-devel") do | |
| action [:install] | |
| retries 0 | |
| retry_delay 2 | |
| default_guard_interpreter :default | |
| declared_type :multipackage | |
| cookbook_name :python | |
| package_name "python-gnupg, python-pyotp, libffi-devel, http-parser, libxdiff, libgit2, libgit2-devel, systemd-python, mariadb-devel" | |
| end | |
| Running handlers: | |
| [2015-08-18T10:25:57+00:00] ERROR: Running exception handlers | |
| Running handlers complete | |
| [2015-08-18T10:25:57+00:00] ERROR: Exception handlers complete | |
| Chef Client failed. 3 resources updated in 70.905251324 seconds | |
| [2015-08-18T10:25:57+00:00] FATAL: Stacktrace dumped to /var/chef/cache/chef-stacktrace.out | |
| [2015-08-18T10:25:57+00:00] ERROR: multipackage[python-gnupg, python-pyotp, libffi-devel, http-parser, libxdiff, libgit2, libgit2-devel, systemd-python, mariadb-devel] (python::default line 3) had an error: Mixlib::ShellOut::ShellCommandFailed: dnf_package[python-gnupg, python-pyotp, libffi-devel, http-parser, libxdiff, libgit2, libgit2-devel, systemd-python, mariadb-devel] (/tmp/kitchen/cookbooks/multipackage/providers/default.rb line 28) had an error: Mixlib::ShellOut::ShellCommandFailed: Expected process to exit with [0, 1], but received '9' | |
| ---- Begin output of rpm -q --queryformat '%{EPOCH}:%{VERSION}-%{RELEASE} | |
| ' python-gnupg, python-pyotp, libffi-devel, http-parser, libxdiff, libgit2, libgit2-devel, systemd-python, mariadb-devel ---- | |
| STDOUT: package python-gnupg, is not installed | |
| package python-pyotp, is not installed | |
| package libffi-devel, is not installed | |
| package http-parser, is not installed | |
| package libxdiff, is not installed | |
| package libgit2, is not installed | |
| package libgit2-devel, is not installed | |
| package systemd-python, is not installed | |
| package mariadb-devel is not installed | |
| STDERR: | |
| Ran rpm -q --queryformat '%{EPOCH}:%{VERSION}-%{RELEASE} | |
| ' python-gnupg, python-pyotp, libffi-devel, http-parser, libxdiff, libgit2, libgit2-devel, systemd-python, mariadb-devel returned 9 | |
| [2015-08-18T10:25:57+00:00] FATAL: Chef::Exceptions::ChildConvergeError: Chef run process exited unsuccessfully (exit code 1) | |
| >>>>>> Converge failed on instance <default-pantheon-basebox-fedora-22>. | |
| >>>>>> Please see .kitchen/logs/default-pantheon-basebox-fedora-22.log for more details | |
| >>>>>> ------Exception------- | |
| >>>>>> Class: Kitchen::ActionFailed | |
| >>>>>> Message: SSH exited (1) for command: [sh -c ' | |
| sudo -E /opt/chef/bin/chef-solo --config /tmp/kitchen/solo.rb --log_level auto --force-formatter --no-color --json-attributes /tmp/kitchen/dna.json | |
| '] | |
| >>>>>> ---------------------- |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment