Created
February 6, 2017 18:56
-
-
Save jayhendren/6aa807634c1534cb3cb563d02ee2d19f to your computer and use it in GitHub Desktop.
poise-python with python34
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
[birdsnest ~/local/data/sis/git/cookbooks/python-testing][I]% kitchen converge | |
-----> Starting Kitchen (v1.14.2) | |
-----> Using policyfile mode for chef-client | |
-----> Converging <default-cub-rh7>... | |
Preparing files for transfer | |
Installing cookbooks for Policyfile /home/jay/local/data/sis/git/cookbooks/python-testing/Policyfile.rb using `chef install` | |
Installing cookbooks from lock | |
Installing python-testing 0.1.0 | |
Using cub_shared 0.1.3 | |
Using cub_redhat_subscription_manager 0.2.4 | |
Using cub_epel 0.2.3 | |
Using cub_firewall 0.2.0 | |
Using cub_monitoring 0.3.2 | |
Using cub_sudo 0.2.0 | |
Using cub_selinux 0.2.3 | |
Using redhat_subscription_manager 0.5.0 | |
Using poise-python 1.5.1 | |
Using yum-epel 2.1.1 | |
Using firewall 2.5.3 | |
Using git 5.0.2 | |
Using nrpe 1.6.4 | |
Using ssh 0.10.16 | |
Using build-essential 3.2.0 | |
Using sudo 3.3.1 | |
Using selinux 0.9.0 | |
Using selinux_policy 1.1.1 | |
Using poise 2.7.2 | |
Using poise-languages 2.0.4 | |
Using poise-archive 1.3.0 | |
Using compat_resource 12.16.3 | |
Using yum 4.1.0 | |
Using seven_zip 2.0.2 | |
Using windows 2.1.1 | |
Using chef-sugar 3.4.0 | |
Using dmg 3.1.0 | |
Using ohai 4.2.3 | |
Preparing dna.json | |
Preparing validation.pem | |
Preparing client.rb | |
-----> Chef Omnibus installation detected (12.12.15) | |
Transferring files to <default-cub-rh7> | |
Starting Chef Client, version 12.12.15 | |
Using policy 'python-testing' at revision '171eab8018564b7efd29f4a12ec39e95175c2c8cb58e894de6e71e38f9689c1a' | |
resolving cookbooks for run list: ["python-testing::[email protected] (476afaf)"] | |
Synchronizing Cookbooks: | |
- python-testing (0.1.0) | |
- cub_epel (0.2.3) | |
- cub_shared (0.1.3) | |
- cub_firewall (0.2.0) | |
- cub_redhat_subscription_manager (0.2.4) | |
- yum-epel (2.1.1) | |
- cub_selinux (0.2.3) | |
- cub_monitoring (0.3.2) | |
- poise-python (1.5.1) | |
- cub_sudo (0.2.0) | |
- redhat_subscription_manager (0.5.0) | |
- firewall (2.5.3) | |
- git (5.0.2) | |
- nrpe (1.6.4) | |
- ssh (0.10.16) | |
- build-essential (3.2.0) | |
- sudo (3.3.1) | |
- selinux_policy (1.1.1) | |
- selinux (0.9.0) | |
- poise-languages (2.0.4) | |
- poise-archive (1.3.0) | |
- poise (2.7.2) | |
- compat_resource (12.16.3) | |
- dmg (3.1.0) | |
- seven_zip (2.0.2) | |
- chef-sugar (3.4.0) | |
- yum (4.1.0) | |
- ohai (4.2.3) | |
- windows (2.1.1) | |
Installing Cookbook Gems: | |
Compiling Cookbooks... | |
Recipe: cub_redhat_subscription_manager::default | |
* rhsm_register[testkitchen-cub-rh7.colorado.edu] action register | |
* remote_file[/tmp/kitchen/cache/katello-package.rpm] action create (skipped due to not_if) | |
* yum_package[katello-ca-consumer-latest] action nothing (skipped due to action :nothing) | |
* file[/tmp/kitchen/cache/katello-package.rpm] action delete (up to date) | |
* execute[Register to RHSM] action run (skipped due to not_if) | |
* yum_package[katello-agent] action install (skipped due to only_if) | |
(up to date) | |
* rhsm_repo[rhel-7-server-optional-rpms] action enable | |
* execute[Enable repository rhel-7-server-optional-rpms] action run (skipped due to not_if) | |
(up to date) | |
* rhsm_repo[rhel-7-server-supplementary-rpms] action enable | |
* execute[Enable repository rhel-7-server-supplementary-rpms] action run (skipped due to not_if) | |
(up to date) | |
* rhsm_repo[rhel-7-server-rh-common-rpms] action enable | |
* execute[Enable repository rhel-7-server-rh-common-rpms] action run (skipped due to not_if) | |
(up to date) | |
* rhsm_repo[rhel-7-server-thirdparty-oracle-java-rpms] action enable | |
* execute[Enable repository rhel-7-server-thirdparty-oracle-java-rpms] action run (skipped due to not_if) | |
(up to date) | |
* rhsm_repo[rhel-7-server-rpms] action enable | |
* execute[Enable repository rhel-7-server-rpms] action run (skipped due to not_if) | |
(up to date) | |
Converging 8 resources | |
Recipe: yum-epel::default | |
* yum_repository[epel] action create | |
* template[/etc/yum.repos.d/epel.repo] action create (up to date) | |
* execute[yum clean metadata epel] action nothing (skipped due to action :nothing) | |
* execute[yum-makecache-epel] action nothing (skipped due to action :nothing) | |
* ruby_block[yum-cache-reload-epel] action nothing (skipped due to action :nothing) | |
(up to date) | |
Recipe: cub_redhat_subscription_manager::default | |
* rhsm_register[testkitchen-cub-rh7.colorado.edu] action nothing (skipped due to action :nothing) | |
* rhsm_repo[rhel-7-server-optional-rpms] action nothing (skipped due to action :nothing) | |
* rhsm_repo[rhel-7-server-supplementary-rpms] action nothing (skipped due to action :nothing) | |
* rhsm_repo[rhel-7-server-rh-common-rpms] action nothing (skipped due to action :nothing) | |
* rhsm_repo[rhel-7-server-thirdparty-oracle-java-rpms] action nothing (skipped due to action :nothing) | |
* rhsm_repo[rhel-7-server-rpms] action nothing (skipped due to action :nothing) | |
Recipe: python-testing::default | |
* python_runtime[whatever] action install | |
* poise_languages_system[python34] action install | |
- install version 3.4.5-3.el7 of package python34 | |
- install version 3.4.5-3.el7 of package python34-devel | |
================================================================================ | |
Error executing action `install` on resource 'python_runtime[whatever]' | |
================================================================================ | |
Errno::ENOENT | |
------------- | |
No such file or directory - /usr/bin/python34 | |
Cookbook Trace: | |
--------------- | |
/tmp/kitchen/cache/cookbooks/poise/files/halite_gem/poise/utils/shell_out.rb:78:in `poise_shell_out' | |
/tmp/kitchen/cache/cookbooks/poise-python/files/halite_gem/poise_python/python_providers/base.rb:167:in `install_virtualenv' | |
/tmp/kitchen/cache/cookbooks/poise-python/files/halite_gem/poise_python/python_providers/base.rb:54:in `block in action_install' | |
/tmp/kitchen/cache/cookbooks/poise/files/halite_gem/poise/helpers/subcontext_block.rb:54:in `instance_eval' | |
/tmp/kitchen/cache/cookbooks/poise/files/halite_gem/poise/helpers/subcontext_block.rb:54:in `subcontext_block' | |
/tmp/kitchen/cache/cookbooks/poise/files/halite_gem/poise/helpers/notifying_block.rb:67:in `notifying_block' | |
/tmp/kitchen/cache/cookbooks/poise-python/files/halite_gem/poise_python/python_providers/base.rb:50:in `action_install' | |
/tmp/kitchen/cache/cookbooks/compat_resource/files/lib/chef_compat/monkeypatches/chef/runner.rb:78:in `run_action' | |
/tmp/kitchen/cache/cookbooks/compat_resource/files/lib/chef_compat/monkeypatches/chef/runner.rb:106:in `block (2 levels) in converge' | |
/tmp/kitchen/cache/cookbooks/compat_resource/files/lib/chef_compat/monkeypatches/chef/runner.rb:106:in `each' | |
/tmp/kitchen/cache/cookbooks/compat_resource/files/lib/chef_compat/monkeypatches/chef/runner.rb:106:in `block in converge' | |
/tmp/kitchen/cache/cookbooks/compat_resource/files/lib/chef_compat/monkeypatches/chef/runner.rb:105:in `converge' | |
Resource Declaration: | |
--------------------- | |
# In /tmp/kitchen/cache/cookbooks/python-testing/recipes/default.rb | |
3: python_runtime 'whatever' do | |
4: provider :system | |
5: options package_name: 'python34', package_version: '3.4.5-3.el7' | |
6: end | |
Compiled Resource: | |
------------------ | |
# Declared in /tmp/kitchen/cache/cookbooks/python-testing/recipes/default.rb:3:in `from_file' | |
python_runtime("whatever") do | |
provider PoisePython::PythonProviders::System | |
action [:install] | |
updated true | |
retries 0 | |
retry_delay 2 | |
default_guard_interpreter :default | |
subresources [python_runtime_pip[whatever], python_package[setuptools], python_package[wheel]] | |
declared_type :python_runtime | |
cookbook_name "python-testing" | |
recipe_name "default" | |
options {"package_name"=>"python34", "package_version"=>"3.4.5-3.el7"} | |
get_pip_url "https://bootstrap.pypa.io/get-pip.py" | |
pip_version true | |
setuptools_version true | |
version "whatever" | |
virtualenv_version true | |
wheel_version true | |
end | |
Platform: | |
--------- | |
x86_64-linux | |
Running handlers: | |
[2017-02-06T11:53:11-07:00] ERROR: Running exception handlers | |
Running handlers complete | |
[2017-02-06T11:53:11-07:00] ERROR: Exception handlers complete | |
Chef Client failed. 3 resources updated in 34 seconds | |
[2017-02-06T11:53:11-07:00] FATAL: Stacktrace dumped to /tmp/kitchen/cache/chef-stacktrace.out | |
[2017-02-06T11:53:11-07:00] FATAL: Please provide the contents of the stacktrace.out file if you file a bug report | |
[2017-02-06T11:53:11-07:00] ERROR: python_runtime[whatever] (python-testing::default line 3) had an error: Errno::ENOENT: No such file or directory - /usr/bin/python34 | |
[2017-02-06T11:53:13-07:00] FATAL: Chef::Exceptions::ChildConvergeError: Chef run process exited unsuccessfully (exit code 1) | |
>>>>>> ------Exception------- | |
>>>>>> Class: Kitchen::ActionFailed | |
>>>>>> Message: 1 actions failed. | |
>>>>>> Converge failed on instance <default-cub-rh7>. Please see .kitchen/logs/default-cub-rh7.log for more details | |
>>>>>> ---------------------- | |
>>>>>> Please see .kitchen/logs/kitchen.log for more details | |
>>>>>> Also try running `kitchen diagnose --all` for configuration | |
[birdsnest ~/local/data/sis/git/cookbooks/python-testing][I]% kitchen login | |
-----> Using policyfile mode for chef-client | |
X11 forwarding request failed on channel 0 | |
Last login: Mon Feb 6 11:52:37 2017 from 10.0.2.2 | |
[vagrant@testkitchen-cub-rh7 ~]$ rpm -q python34 | |
python34-3.4.5-3.el7.x86_64 | |
[vagrant@testkitchen-cub-rh7 ~]$ rpm -qf /usr/bin/python34 | |
error: file /usr/bin/python34: No such file or directory | |
[vagrant@testkitchen-cub-rh7 ~]$ rpm -ql python34 | |
/usr/bin/pydoc3 | |
/usr/bin/pydoc3.4 | |
/usr/bin/python3 | |
/usr/bin/python3.4 | |
/usr/bin/python3.4m | |
/usr/bin/pyvenv | |
/usr/bin/pyvenv-3.4 | |
/usr/share/doc/python34-3.4.5 | |
/usr/share/doc/python34-3.4.5/LICENSE | |
/usr/share/doc/python34-3.4.5/README | |
/usr/share/man/man1/python3.1.gz | |
/usr/share/man/man1/python3.4.1.gz | |
[vagrant@testkitchen-cub-rh7 ~]$ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment