Created
May 30, 2017 17:05
-
-
Save rberger/8c301ef7482c8a1794aeb7d17dbde338 to your computer and use it in GitHub Desktop.
Error executing action `install` on resource 'python_package[setuptools]' debug level
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
* python_package[setuptools] action install[2017-05-30T17:03:09+00:00] INFO: Processing python_package[setuptools] action install (/var/chef/cache/cookbooks/poise-python/files/halite_gem/poise_python/python_providers/base.rb line 138) | |
[2017-05-30T17:03:09+00:00] DEBUG: Providers for generic python_package resource enabled on node include: [PoisePython::Resources::PythonPackage::Provider] | |
[2017-05-30T17:03:09+00:00] DEBUG: Provider for action install on resource python_package[setuptools] is PoisePython::Resources::PythonPackage::Provider | |
[2017-05-30T17:03:09+00:00] DEBUG: Resources for generic python_runtime resource enabled on node include: [PoisePython::Resources::PythonRuntime::Resource] | |
[2017-05-30T17:03:09+00:00] DEBUG: Resource for python_runtime is PoisePython::Resources::PythonRuntime::Resource | |
[2017-05-30T17:03:09+00:00] DEBUG: Resources for generic python_runtime resource enabled on node include: [PoisePython::Resources::PythonRuntime::Resource] | |
[2017-05-30T17:03:09+00:00] DEBUG: Resource for python_runtime is PoisePython::Resources::PythonRuntime::Resource | |
[2017-05-30T17:03:09+00:00] DEBUG: Resources for generic python_runtime resource enabled on node include: [PoisePython::Resources::PythonRuntime::Resource] | |
[2017-05-30T17:03:09+00:00] DEBUG: Resource for python_runtime is PoisePython::Resources::PythonRuntime::Resource | |
[2017-05-30T17:03:09+00:00] DEBUG: Resources for generic python_runtime resource enabled on node include: [PoisePython::Resources::PythonRuntime::Resource] | |
[2017-05-30T17:03:09+00:00] DEBUG: Resource for python_runtime is PoisePython::Resources::PythonRuntime::Resource | |
[2017-05-30T17:03:09+00:00] DEBUG: Resources for generic python_runtime resource enabled on node include: [PoisePython::Resources::PythonRuntime::Resource] | |
[2017-05-30T17:03:09+00:00] DEBUG: Resource for python_runtime is PoisePython::Resources::PythonRuntime::Resource | |
[2017-05-30T17:03:09+00:00] DEBUG: Resources for generic python_runtime resource enabled on node include: [PoisePython::Resources::PythonRuntime::Resource] | |
[2017-05-30T17:03:09+00:00] DEBUG: Resource for python_runtime is PoisePython::Resources::PythonRuntime::Resource | |
[2017-05-30T17:03:09+00:00] DEBUG: [python_package[setuptools]] Running python command: /usr/bin/python2.7 -m pip.__main__ list | |
DEPRECATION: The default format will switch to columns in the future. You can use --format=(legacy|columns) (or define a format=(legacy|columns) in your pip.conf under the [list] section) to disable this warning. | |
appdirs (1.4.3) | |
awscli (1.11.35) | |
botocore (1.4.92) | |
colorama (0.3.7) | |
docutils (0.13.1) | |
futures (3.0.5) | |
jmespath (0.9.0) | |
packaging (16.8) | |
pip (9.0.1) | |
pyasn1 (0.1.9) | |
pyparsing (2.2.0) | |
python-dateutil (2.6.0) | |
PyYAML (3.12) | |
rsa (3.4.2) | |
s3transfer (0.1.10) | |
setuptools (35.0.2) | |
six (1.10.0) | |
virtualenv (15.1.0) | |
wheel (0.29.0) | |
[2017-05-30T17:03:09+00:00] DEBUG: Resources for generic python_runtime resource enabled on node include: [PoisePython::Resources::PythonRuntime::Resource] | |
[2017-05-30T17:03:09+00:00] DEBUG: Resource for python_runtime is PoisePython::Resources::PythonRuntime::Resource | |
[2017-05-30T17:03:09+00:00] DEBUG: Resources for generic python_runtime resource enabled on node include: [PoisePython::Resources::PythonRuntime::Resource] | |
[2017-05-30T17:03:09+00:00] DEBUG: Resource for python_runtime is PoisePython::Resources::PythonRuntime::Resource | |
[2017-05-30T17:03:09+00:00] DEBUG: [python_package[setuptools]] Running python command: /usr/bin/python2.7 - setuptools | |
Traceback (most recent call last): | |
File "<stdin>", line 38, in <module> | |
File "/usr/local/lib/python2.7/dist-packages/pip/index.py", line 465, in find_requirement | |
all_candidates = self.find_all_candidates(req.name) | |
File "/usr/local/lib/python2.7/dist-packages/pip/index.py", line 423, in find_all_candidates | |
for page in self._get_pages(url_locations, project_name): | |
File "/usr/local/lib/python2.7/dist-packages/pip/index.py", line 568, in _get_pages | |
page = self._get_page(location) | |
File "/usr/local/lib/python2.7/dist-packages/pip/index.py", line 683, in _get_page | |
return HTMLPage.get_page(link, session=self.session) | |
File "/usr/local/lib/python2.7/dist-packages/pip/index.py", line 792, in get_page | |
"Cache-Control": "max-age=600", | |
File "/usr/local/lib/python2.7/dist-packages/pip/_vendor/requests/sessions.py", line 488, in get | |
return self.request('GET', url, **kwargs) | |
File "/usr/local/lib/python2.7/dist-packages/pip/download.py", line 386, in request | |
return super(PipSession, self).request(method, url, *args, **kwargs) | |
File "/usr/local/lib/python2.7/dist-packages/pip/_vendor/requests/sessions.py", line 475, in request | |
resp = self.send(prep, **send_kwargs) | |
File "/usr/local/lib/python2.7/dist-packages/pip/_vendor/requests/sessions.py", line 596, in send | |
r = adapter.send(request, **kwargs) | |
File "/usr/local/lib/python2.7/dist-packages/pip/_vendor/cachecontrol/adapter.py", line 37, in send | |
cached_response = self.controller.cached_request(request) | |
File "/usr/local/lib/python2.7/dist-packages/pip/_vendor/cachecontrol/controller.py", line 111, in cached_request | |
resp = self.serializer.loads(request, cache_data) | |
File "/usr/local/lib/python2.7/dist-packages/pip/_vendor/cachecontrol/serialize.py", line 114, in loads | |
return getattr(self, "_loads_v{0}".format(ver))(request, data) | |
File "/usr/local/lib/python2.7/dist-packages/pip/_vendor/cachecontrol/serialize.py", line 176, in _loads_v2 | |
cached = json.loads(zlib.decompress(data).decode("utf8")) | |
zlib.error: Error -5 while decompressing data: incomplete or truncated stream | |
================================================================================ | |
Error executing action `install` on resource 'python_package[setuptools]' | |
================================================================================ | |
Mixlib::ShellOut::ShellCommandFailed | |
------------------------------------ | |
Expected process to exit with [0], but received '1' | |
---- Begin output of ["/usr/bin/python2.7", "-", "setuptools"] ---- | |
STDOUT: | |
STDERR: Traceback (most recent call last): | |
File "<stdin>", line 38, in <module> | |
File "/usr/local/lib/python2.7/dist-packages/pip/index.py", line 465, in find_requirement | |
all_candidates = self.find_all_candidates(req.name) | |
File "/usr/local/lib/python2.7/dist-packages/pip/index.py", line 423, in find_all_candidates | |
for page in self._get_pages(url_locations, project_name): | |
File "/usr/local/lib/python2.7/dist-packages/pip/index.py", line 568, in _get_pages | |
page = self._get_page(location) | |
File "/usr/local/lib/python2.7/dist-packages/pip/index.py", line 683, in _get_page | |
return HTMLPage.get_page(link, session=self.session) | |
File "/usr/local/lib/python2.7/dist-packages/pip/index.py", line 792, in get_page | |
"Cache-Control": "max-age=600", | |
File "/usr/local/lib/python2.7/dist-packages/pip/_vendor/requests/sessions.py", line 488, in get | |
return self.request('GET', url, **kwargs) | |
File "/usr/local/lib/python2.7/dist-packages/pip/download.py", line 386, in request | |
return super(PipSession, self).request(method, url, *args, **kwargs) | |
File "/usr/local/lib/python2.7/dist-packages/pip/_vendor/requests/sessions.py", line 475, in request | |
resp = self.send(prep, **send_kwargs) | |
File "/usr/local/lib/python2.7/dist-packages/pip/_vendor/requests/sessions.py", line 596, in send | |
r = adapter.send(request, **kwargs) | |
File "/usr/local/lib/python2.7/dist-packages/pip/_vendor/cachecontrol/adapter.py", line 37, in send | |
cached_response = self.controller.cached_request(request) | |
File "/usr/local/lib/python2.7/dist-packages/pip/_vendor/cachecontrol/controller.py", line 111, in cached_request | |
resp = self.serializer.loads(request, cache_data) | |
File "/usr/local/lib/python2.7/dist-packages/pip/_vendor/cachecontrol/serialize.py", line 114, in loads | |
return getattr(self, "_loads_v{0}".format(ver))(request, data) | |
File "/usr/local/lib/python2.7/dist-packages/pip/_vendor/cachecontrol/serialize.py", line 176, in _loads_v2 | |
cached = json.loads(zlib.decompress(data).decode("utf8")) | |
zlib.error: Error -5 while decompressing data: incomplete or truncated stream | |
---- End output of ["/usr/bin/python2.7", "-", "setuptools"] ---- | |
Ran ["/usr/bin/python2.7", "-", "setuptools"] returned 1 | |
Cookbook Trace: | |
--------------- | |
/var/chef/cache/cookbooks/poise-languages/files/halite_gem/poise_languages/command/mixin.rb:207:in `tap' | |
/var/chef/cache/cookbooks/poise-languages/files/halite_gem/poise_languages/command/mixin.rb:207:in `language_command_shell_out!' | |
/var/chef/cache/cookbooks/poise-languages/files/halite_gem/poise_languages/command/mixin.rb:222:in `block in language_command_mixin' | |
/var/chef/cache/cookbooks/poise-python/files/halite_gem/poise_python/resources/python_package.rb:317:in `pip_command' | |
/var/chef/cache/cookbooks/poise-python/files/halite_gem/poise_python/resources/python_package.rb:341:in `pip_outdated' | |
/var/chef/cache/cookbooks/poise-python/files/halite_gem/poise_python/resources/python_package.rb:209:in `check_package_versions' | |
/var/chef/cache/cookbooks/poise-python/files/halite_gem/poise_python/resources/python_package.rb:189:in `load_current_resource' | |
/var/chef/cache/cookbooks/poise/files/halite_gem/poise/helpers/notifying_block.rb:69:in `notifying_block' | |
/var/chef/cache/cookbooks/poise-python/files/halite_gem/poise_python/python_providers/base.rb:50:in `action_install' | |
Resource Declaration: | |
--------------------- | |
# In /var/chef/cache/cookbooks/poise-python/files/halite_gem/poise_python/python_providers/base.rb | |
138: python_package 'setuptools' do | |
139: parent_python new_resource | |
140: version setuptools_version if setuptools_version.is_a?(String) | |
141: end | |
142: end | |
Compiled Resource: | |
------------------ | |
# Declared in /var/chef/cache/cookbooks/poise-python/files/halite_gem/poise_python/python_providers/base.rb:138:in `install_setuptools' | |
python_package("setuptools") do | |
package_name "setuptools" | |
action [:install] | |
retries 0 | |
retry_delay 2 | |
default_guard_interpreter :default | |
declared_type :python_package | |
cookbook_name "cloudcli" | |
parent_python python_runtime[2] | |
timeout 900 | |
end | |
Platform: | |
--------- | |
x86_64-linux |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment