Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

jenkins-master cookbook error with Chef 13.4.19 #71

Open
grv87 opened this issue Sep 24, 2017 · 0 comments
Open

jenkins-master cookbook error with Chef 13.4.19 #71

grv87 opened this issue Sep 24, 2017 · 0 comments

Comments

@grv87
Copy link
Member

grv87 commented Sep 24, 2017

Generated at 2017-09-23 11:59:54 +0000
NoMethodError: jenkins_plugin[mailer] (fidata-jenkins-master::default line 249) had an error: NoMethodError: undefined method `+' for nil:NilClass
/opt/chef/embedded/lib/ruby/2.4.0/net/http.rb:1570:in `addr_port'
/opt/chef/embedded/lib/ruby/2.4.0/net/http.rb:1503:in `begin_transport'
/opt/chef/embedded/lib/ruby/2.4.0/net/http.rb:1442:in `transport_request'
/opt/chef/embedded/lib/ruby/2.4.0/net/http.rb:1416:in `request'
/opt/chef/embedded/lib/ruby/2.4.0/open-uri.rb:329:in `block in open_http'
/opt/chef/embedded/lib/ruby/2.4.0/net/http.rb:877:in `start'
/opt/chef/embedded/lib/ruby/2.4.0/open-uri.rb:323:in `open_http'
/opt/chef/embedded/lib/ruby/2.4.0/open-uri.rb:741:in `buffer_open'
/opt/chef/embedded/lib/ruby/2.4.0/open-uri.rb:212:in `block in open_loop'
/opt/chef/embedded/lib/ruby/2.4.0/open-uri.rb:210:in `catch'
/opt/chef/embedded/lib/ruby/2.4.0/open-uri.rb:210:in `open_loop'
/opt/chef/embedded/lib/ruby/2.4.0/open-uri.rb:151:in `open_uri'
/opt/chef/embedded/lib/ruby/2.4.0/open-uri.rb:721:in `open'
/opt/chef/embedded/lib/ruby/2.4.0/open-uri.rb:35:in `open'
/tmp/kitchen/cache/cookbooks/jenkins/libraries/_helper.rb:428:in `block in wait_until_ready!'
/opt/chef/embedded/lib/ruby/2.4.0/timeout.rb:93:in `block in timeout'
/opt/chef/embedded/lib/ruby/2.4.0/timeout.rb:103:in `timeout'
/tmp/kitchen/cache/cookbooks/jenkins/libraries/_helper.rb:426:in `wait_until_ready!'
/tmp/kitchen/cache/cookbooks/jenkins/libraries/_helper.rb:511:in `ensure_update_center_present!'
/tmp/kitchen/cache/cookbooks/jenkins/libraries/plugin.rb:372:in `plugin_universe'
/tmp/kitchen/cache/cookbooks/jenkins/libraries/plugin.rb:263:in `install_plugin_from_update_center'
/tmp/kitchen/cache/cookbooks/jenkins/libraries/plugin.rb:124:in `block (2 levels) in <class:JenkinsPlugin>'
/opt/chef/embedded/lib/ruby/gems/2.4.0/gems/chef-13.4.19/lib/chef/mixin/why_run.rb:52:in `add_action'
/opt/chef/embedded/lib/ruby/gems/2.4.0/gems/chef-13.4.19/lib/chef/provider.rb:202:in `converge_by'
/tmp/kitchen/cache/cookbooks/jenkins/libraries/plugin.rb:154:in `block in <class:JenkinsPlugin>'
(eval):2:in `block in action_install'
/opt/chef/embedded/lib/ruby/gems/2.4.0/gems/chef-13.4.19/lib/chef/provider.rb:211:in `instance_eval'
/opt/chef/embedded/lib/ruby/gems/2.4.0/gems/chef-13.4.19/lib/chef/provider.rb:211:in `compile_and_converge_action'
(eval):2:in `action_install'
/opt/chef/embedded/lib/ruby/gems/2.4.0/gems/chef-13.4.19/lib/chef/provider.rb:171:in `run_action'
/opt/chef/embedded/lib/ruby/gems/2.4.0/gems/chef-13.4.19/lib/chef/resource.rb:591:in `run_action'
/opt/chef/embedded/lib/ruby/gems/2.4.0/gems/chef-13.4.19/lib/chef/runner.rb:70:in `run_action'
/opt/chef/embedded/lib/ruby/gems/2.4.0/gems/chef-13.4.19/lib/chef/runner.rb:98:in `block (2 levels) in converge'
/opt/chef/embedded/lib/ruby/gems/2.4.0/gems/chef-13.4.19/lib/chef/runner.rb:98:in `each'
/opt/chef/embedded/lib/ruby/gems/2.4.0/gems/chef-13.4.19/lib/chef/runner.rb:98:in `block in converge'
/opt/chef/embedded/lib/ruby/gems/2.4.0/gems/chef-13.4.19/lib/chef/resource_collection/resource_list.rb:94:in `block in execute_each_resource'
/opt/chef/embedded/lib/ruby/gems/2.4.0/gems/chef-13.4.19/lib/chef/resource_collection/stepable_iterator.rb:114:in `call_iterator_block'
/opt/chef/embedded/lib/ruby/gems/2.4.0/gems/chef-13.4.19/lib/chef/resource_collection/stepable_iterator.rb:85:in `step'
/opt/chef/embedded/lib/ruby/gems/2.4.0/gems/chef-13.4.19/lib/chef/resource_collection/stepable_iterator.rb:103:in `iterate'
/opt/chef/embedded/lib/ruby/gems/2.4.0/gems/chef-13.4.19/lib/chef/resource_collection/stepable_iterator.rb:55:in `each_with_index'
/opt/chef/embedded/lib/ruby/gems/2.4.0/gems/chef-13.4.19/lib/chef/resource_collection/resource_list.rb:92:in `execute_each_resource'
/opt/chef/embedded/lib/ruby/gems/2.4.0/gems/chef-13.4.19/lib/chef/runner.rb:97:in `converge'
/opt/chef/embedded/lib/ruby/gems/2.4.0/gems/chef-13.4.19/lib/chef/client.rb:715:in `block in converge'
/opt/chef/embedded/lib/ruby/gems/2.4.0/gems/chef-13.4.19/lib/chef/client.rb:710:in `catch'
/opt/chef/embedded/lib/ruby/gems/2.4.0/gems/chef-13.4.19/lib/chef/client.rb:710:in `converge'
/opt/chef/embedded/lib/ruby/gems/2.4.0/gems/chef-13.4.19/lib/chef/client.rb:749:in `converge_and_save'
/opt/chef/embedded/lib/ruby/gems/2.4.0/gems/chef-13.4.19/lib/chef/client.rb:286:in `run'
/opt/chef/embedded/lib/ruby/gems/2.4.0/gems/chef-13.4.19/lib/chef/application.rb:291:in `block in fork_chef_client'
/opt/chef/embedded/lib/ruby/gems/2.4.0/gems/chef-13.4.19/lib/chef/application.rb:279:in `fork'
/opt/chef/embedded/lib/ruby/gems/2.4.0/gems/chef-13.4.19/lib/chef/application.rb:279:in `fork_chef_client'
/opt/chef/embedded/lib/ruby/gems/2.4.0/gems/chef-13.4.19/lib/chef/application.rb:244:in `block in run_chef_client'
/opt/chef/embedded/lib/ruby/gems/2.4.0/gems/chef-13.4.19/lib/chef/local_mode.rb:44:in `with_server_connectivity'
/opt/chef/embedded/lib/ruby/gems/2.4.0/gems/chef-13.4.19/lib/chef/application.rb:232:in `run_chef_client'
/opt/chef/embedded/lib/ruby/gems/2.4.0/gems/chef-13.4.19/lib/chef/application/client.rb:469:in `sleep_then_run_chef_client'
/opt/chef/embedded/lib/ruby/gems/2.4.0/gems/chef-13.4.19/lib/chef/application/client.rb:458:in `block in interval_run_chef_client'
/opt/chef/embedded/lib/ruby/gems/2.4.0/gems/chef-13.4.19/lib/chef/application/client.rb:457:in `loop'
/opt/chef/embedded/lib/ruby/gems/2.4.0/gems/chef-13.4.19/lib/chef/application/client.rb:457:in `interval_run_chef_client'
/opt/chef/embedded/lib/ruby/gems/2.4.0/gems/chef-13.4.19/lib/chef/application/client.rb:441:in `run_application'
/opt/chef/embedded/lib/ruby/gems/2.4.0/gems/chef-13.4.19/lib/chef/application.rb:59:in `run'
/opt/chef/embedded/lib/ruby/gems/2.4.0/gems/chef-13.4.19/lib/chef/application/solo.rb:225:in `run'
/opt/chef/embedded/lib/ruby/gems/2.4.0/gems/chef-13.4.19/bin/chef-solo:25:in `<top (required)>'
/opt/chef/bin/chef-solo:58:in `load'
/opt/chef/bin/chef-solo:58:in `<main>'

>>>> Caused by NoMethodError: undefined method `+' for nil:NilClass
/opt/chef/embedded/lib/ruby/2.4.0/net/http.rb:1570:in `addr_port'
/opt/chef/embedded/lib/ruby/2.4.0/net/http.rb:1503:in `begin_transport'
/opt/chef/embedded/lib/ruby/2.4.0/net/http.rb:1442:in `transport_request'
/opt/chef/embedded/lib/ruby/2.4.0/net/http.rb:1416:in `request'
/opt/chef/embedded/lib/ruby/2.4.0/open-uri.rb:329:in `block in open_http'
/opt/chef/embedded/lib/ruby/2.4.0/net/http.rb:877:in `start'
/opt/chef/embedded/lib/ruby/2.4.0/open-uri.rb:323:in `open_http'
/opt/chef/embedded/lib/ruby/2.4.0/open-uri.rb:741:in `buffer_open'
/opt/chef/embedded/lib/ruby/2.4.0/open-uri.rb:212:in `block in open_loop'
/opt/chef/embedded/lib/ruby/2.4.0/open-uri.rb:210:in `catch'
/opt/chef/embedded/lib/ruby/2.4.0/open-uri.rb:210:in `open_loop'
/opt/chef/embedded/lib/ruby/2.4.0/open-uri.rb:151:in `open_uri'
/opt/chef/embedded/lib/ruby/2.4.0/open-uri.rb:721:in `open'
/opt/chef/embedded/lib/ruby/2.4.0/open-uri.rb:35:in `open'
/tmp/kitchen/cache/cookbooks/jenkins/libraries/_helper.rb:428:in `block in wait_until_ready!'
/opt/chef/embedded/lib/ruby/2.4.0/timeout.rb:93:in `block in timeout'
/opt/chef/embedded/lib/ruby/2.4.0/timeout.rb:103:in `timeout'
/tmp/kitchen/cache/cookbooks/jenkins/libraries/_helper.rb:426:in `wait_until_ready!'
/tmp/kitchen/cache/cookbooks/jenkins/libraries/_helper.rb:511:in `ensure_update_center_present!'
/tmp/kitchen/cache/cookbooks/jenkins/libraries/plugin.rb:372:in `plugin_universe'
/tmp/kitchen/cache/cookbooks/jenkins/libraries/plugin.rb:263:in `install_plugin_from_update_center'
/tmp/kitchen/cache/cookbooks/jenkins/libraries/plugin.rb:124:in `block (2 levels) in <class:JenkinsPlugin>'
/opt/chef/embedded/lib/ruby/gems/2.4.0/gems/chef-13.4.19/lib/chef/mixin/why_run.rb:52:in `add_action'
/opt/chef/embedded/lib/ruby/gems/2.4.0/gems/chef-13.4.19/lib/chef/provider.rb:202:in `converge_by'
/tmp/kitchen/cache/cookbooks/jenkins/libraries/plugin.rb:154:in `block in <class:JenkinsPlugin>'
(eval):2:in `block in action_install'
/opt/chef/embedded/lib/ruby/gems/2.4.0/gems/chef-13.4.19/lib/chef/provider.rb:211:in `instance_eval'
/opt/chef/embedded/lib/ruby/gems/2.4.0/gems/chef-13.4.19/lib/chef/provider.rb:211:in `compile_and_converge_action'
(eval):2:in `action_install'
/opt/chef/embedded/lib/ruby/gems/2.4.0/gems/chef-13.4.19/lib/chef/provider.rb:171:in `run_action'
/opt/chef/embedded/lib/ruby/gems/2.4.0/gems/chef-13.4.19/lib/chef/resource.rb:591:in `run_action'
/opt/chef/embedded/lib/ruby/gems/2.4.0/gems/chef-13.4.19/lib/chef/runner.rb:70:in `run_action'
/opt/chef/embedded/lib/ruby/gems/2.4.0/gems/chef-13.4.19/lib/chef/runner.rb:98:in `block (2 levels) in converge'
/opt/chef/embedded/lib/ruby/gems/2.4.0/gems/chef-13.4.19/lib/chef/runner.rb:98:in `each'
/opt/chef/embedded/lib/ruby/gems/2.4.0/gems/chef-13.4.19/lib/chef/runner.rb:98:in `block in converge'
/opt/chef/embedded/lib/ruby/gems/2.4.0/gems/chef-13.4.19/lib/chef/resource_collection/resource_list.rb:94:in `block in execute_each_resource'
/opt/chef/embedded/lib/ruby/gems/2.4.0/gems/chef-13.4.19/lib/chef/resource_collection/stepable_iterator.rb:114:in `call_iterator_block'
/opt/chef/embedded/lib/ruby/gems/2.4.0/gems/chef-13.4.19/lib/chef/resource_collection/stepable_iterator.rb:85:in `step'
/opt/chef/embedded/lib/ruby/gems/2.4.0/gems/chef-13.4.19/lib/chef/resource_collection/stepable_iterator.rb:103:in `iterate'
/opt/chef/embedded/lib/ruby/gems/2.4.0/gems/chef-13.4.19/lib/chef/resource_collection/stepable_iterator.rb:55:in `each_with_index'
/opt/chef/embedded/lib/ruby/gems/2.4.0/gems/chef-13.4.19/lib/chef/resource_collection/resource_list.rb:92:in `execute_each_resource'
/opt/chef/embedded/lib/ruby/gems/2.4.0/gems/chef-13.4.19/lib/chef/runner.rb:97:in `converge'
/opt/chef/embedded/lib/ruby/gems/2.4.0/gems/chef-13.4.19/lib/chef/client.rb:715:in `block in converge'
/opt/chef/embedded/lib/ruby/gems/2.4.0/gems/chef-13.4.19/lib/chef/client.rb:710:in `catch'
/opt/chef/embedded/lib/ruby/gems/2.4.0/gems/chef-13.4.19/lib/chef/client.rb:710:in `converge'
/opt/chef/embedded/lib/ruby/gems/2.4.0/gems/chef-13.4.19/lib/chef/client.rb:749:in `converge_and_save'
/opt/chef/embedded/lib/ruby/gems/2.4.0/gems/chef-13.4.19/lib/chef/client.rb:286:in `run'
/opt/chef/embedded/lib/ruby/gems/2.4.0/gems/chef-13.4.19/lib/chef/application.rb:291:in `block in fork_chef_client'
/opt/chef/embedded/lib/ruby/gems/2.4.0/gems/chef-13.4.19/lib/chef/application.rb:279:in `fork'
/opt/chef/embedded/lib/ruby/gems/2.4.0/gems/chef-13.4.19/lib/chef/application.rb:279:in `fork_chef_client'
/opt/chef/embedded/lib/ruby/gems/2.4.0/gems/chef-13.4.19/lib/chef/application.rb:244:in `block in run_chef_client'
/opt/chef/embedded/lib/ruby/gems/2.4.0/gems/chef-13.4.19/lib/chef/local_mode.rb:44:in `with_server_connectivity'
/opt/chef/embedded/lib/ruby/gems/2.4.0/gems/chef-13.4.19/lib/chef/application.rb:232:in `run_chef_client'
/opt/chef/embedded/lib/ruby/gems/2.4.0/gems/chef-13.4.19/lib/chef/application/client.rb:469:in `sleep_then_run_chef_client'
/opt/chef/embedded/lib/ruby/gems/2.4.0/gems/chef-13.4.19/lib/chef/application/client.rb:458:in `block in interval_run_chef_client'
/opt/chef/embedded/lib/ruby/gems/2.4.0/gems/chef-13.4.19/lib/chef/application/client.rb:457:in `loop'
/opt/chef/embedded/lib/ruby/gems/2.4.0/gems/chef-13.4.19/lib/chef/application/client.rb:457:in `interval_run_chef_client'
/opt/chef/embedded/lib/ruby/gems/2.4.0/gems/chef-13.4.19/lib/chef/application/client.rb:441:in `run_application'
/opt/chef/embedded/lib/ruby/gems/2.4.0/gems/chef-13.4.19/lib/chef/application.rb:59:in `run'
/opt/chef/embedded/lib/ruby/gems/2.4.0/gems/chef-13.4.19/lib/chef/application/solo.rb:225:in `run'
/opt/chef/embedded/lib/ruby/gems/2.4.0/gems/chef-13.4.19/bin/chef-solo:25:in `<top (required)>'
/opt/chef/bin/chef-solo:58:in `load'
/opt/chef/bin/chef-solo:58:in `<main>'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant