Skip to content

Instantly share code, notes, and snippets.

@johnbellone
Created January 14, 2016 16:07
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save johnbellone/cb262c3610a2ea1ebae9 to your computer and use it in GitHub Desktop.
Save johnbellone/cb262c3610a2ea1ebae9 to your computer and use it in GitHub Desktop.
poise-javascript error
- jenkins (2.4.1)
- libarchive (0.6.1)
- poise (2.5.0)
- poise-ruby (2.1.1)
- compat_resource (12.5.26)
Compiling Cookbooks...
Recipe: chef-sugar::default
(up to date)
Recipe: chef-vault::default
* chef_gem[chef-vault] action install (up to date)
Recipe: libarchive::default
- upgrade package libarchive-devel from uninstalled to 3.1.2-7.el7
- install version ~> 0.2.0 of package ffi-libarchive
================================================================================
Recipe Compile Error in /tmp/kitchen/cache/cookbooks/inf-jenkins/recipes/master.rb
================================================================================
NoMethodError
-------------
NoMethodError
Cookbook Trace:
---------------
/tmp/kitchen/cache/cookbooks/poise-javascript/files/halite_gem/poise_javascript/resources/node_package.rb:88:in `r
esponse_file_variables'
/tmp/kitchen/cache/cookbooks/poise/files/halite_gem/poise/helpers/lwrp_polyfill.rb:34:in `initialize'
/tmp/kitchen/cache/cookbooks/poise/files/halite_gem/poise/helpers/resource_name.rb:32:in `initialize'
/tmp/kitchen/cache/cookbooks/poise-javascript/files/halite_gem/poise_javascript/resources/node_package.rb:68:in `i
nitialize'
/tmp/kitchen/cache/cookbooks/inf-jenkins/recipes/default.rb:37:in `from_file'
/tmp/kitchen/cache/cookbooks/inf-jenkins/recipes/master.rb:8:in `from_file'
Relevant File Content:
----------------------
/tmp/kitchen/cache/cookbooks/poise-javascript/files/halite_gem/poise_javascript/resources/node_package.rb:
81: # @return [nil]
82: def response_file(arg=nil)
83: raise NoMethodError if arg
84: end
85:
86: # (see #response_file)
87: def response_file_variables(arg=nil)
87: def response_file_variables(arg=nil)
88>> raise NoMethodError if arg
89: end
90: end
91:
92: # The default provider for the `node_package` resource.
93: #
94: # @see Resource
95: class Provider < Chef::Provider::Package
96: include PoiseJavascript::JavascriptCommandMixin
97: provides(:node_package)
Running handlers:
[2016-01-14T14:33:43+00:00] ERROR: Running exception handlers
Running handlers complete
[2016-01-14T14:33:43+00:00] ERROR: Exception handlers complete
Chef Client failed. 2 resources updated in 45 seconds
[2016-01-14T14:33:43+00:00] FATAL: Stacktrace dumped to /tmp/kitchen/cache/chef-stacktrace.out
[2016-01-14T14:33:43+00:00] FATAL: Please provide the contents of the stacktrace.out file if you file a bug report
[2016-01-14T14:33:43+00:00] ERROR: NoMethodError
[2016-01-14T14:33:44+00:00] FATAL: Chef::Exceptions::ChildConvergeError: Chef run process exited unsuccessfully (exit
code 1)
>>>>>> Converge failed on instance <master-centos-71>.
>>>>>> Please see .kitchen/logs/master-centos-71.log for more details
>>>>>> ------Exception-------
>>>>>> Class: Kitchen::ActionFailed
>>>>>> Message: SSH exited (1) for command: [sh -c '
http_proxy="http://proxy.bloomberg.com:80"; export http_proxy
HTTP_PROXY="http://proxy.bloomberg.com:80"; export HTTP_PROXY
https_proxy="http://proxy.bloomberg.com:80"; export https_proxy
HTTPS_PROXY="http://proxy.bloomberg.com:80"; export HTTPS_PROXY
sudo -E /opt/chef/bin/chef-client --local-mode --config /tmp/kitchen/client.rb --log_level auto --force-formatter --no-color
--json-attributes /tmp/kitchen/dna.json --chef-zero-port 8889
']
>>>>>> ----------------------
zlib(finalizer): the stream was freed prematurely.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment