FIDATA / infrastructure

Apache License 2.0
0 stars 0 forks source link

jenkins-master cookbook error with Chef 13.4.19 #71

Open grv87 opened 7 years ago

grv87 commented 7 years ago
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>'