Coder Social home page Coder Social logo

chef-client-jmeter's People

Watchers

 avatar  avatar

chef-client-jmeter's Issues

Issue new_node_registrations

Hi,

I'm trying to use your tool for load test on chef-server, unfortunately it failed :

~/POC-CHEF-SERVER/chef-client-jmeter (master ✘)✹✭ ᐅ ruby new_node_registrations.rb
Loading config file
I, [2015-12-03T16:09:41.941167 #1305] INFO -- : config: {:node_prefix=>"load_test_", :new_node_reg=>0, :node_rereg=>0, :pref_max_threads=>2, :pref_min_threads=>1, :max_queue=>0, :break_on_exception=>false, :knife_bin=>"/opt/chefdk/bin/knife", :knife_config=>"/Users/toto/Downloads/knife.rb", :log_level=>0, :chef_log_level=>2}
[2015-12-03T16:09:42+02:00] WARN: [inet] no ip address on utun0
[2015-12-03T16:09:42+02:00] WARN: unable to detect ipaddress
[2015-12-03T16:09:42+02:00] WARN: unable to detect macaddress
D, [2015-12-03T16:09:49.310758 #1305] DEBUG -- : Starting #Concurrent::ThreadPoolExecutor:0x007fc2f1c9e698
D, [2015-12-03T16:09:49.311110 #1305] DEBUG -- : Starting task {cur_num=1,start_t=2015-12-03 16:09:49 +0200,end_t=}
I, [2015-12-03T16:09:50.898645 #1305] INFO -- : Starting NEW node registration 1
W, [2015-12-03T16:09:54.696084 #1305] WARN -- : ["/System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/net/http/response.rb:119:in error!'", "/Library/Ruby/Gems/2.0.0/gems/chef-12.5.1/lib/chef/http.rb:145:inrequest'", "/Library/Ruby/Gems/2.0.0/gems/chef-12.5.1/lib/chef/http.rb:118:in put'", "/Library/Ruby/Gems/2.0.0/gems/chef-12.5.1/lib/chef/api_client/registration.rb:99:inupdate'", "/Library/Ruby/Gems/2.0.0/gems/chef-12.5.1/lib/chef/api_client/registration.rb:89:in rescue in create_or_update'", "/Library/Ruby/Gems/2.0.0/gems/chef-12.5.1/lib/chef/api_client/registration.rb:84:increate_or_update'", "/Users/toto/POC-CHEF-SERVER/chef-client-jmeter/concurrent_client.rb:83:in client_register'", "new_node_registrations.rb:16:intask'", "/Users/toto/POC-CHEF-SERVER/chef-client-jmeter/concurrent_client.rb:180:in block (2 levels) in run_times'", "/Library/Ruby/Gems/2.0.0/gems/concurrent-ruby-1.0.0/lib/concurrent/executor/safe_task_executor.rb:24:incall'", "/Library/Ruby/Gems/2.0.0/gems/concurrent-ruby-1.0.0/lib/concurrent/executor/safe_task_executor.rb:24:in block in execute'", "/Library/Ruby/Gems/2.0.0/gems/concurrent-ruby-1.0.0/lib/concurrent/synchronization/mri_lockable_object.rb:38:inblock in synchronize'", "/Library/Ruby/Gems/2.0.0/gems/concurrent-ruby-1.0.0/lib/concurrent/synchronization/mri_lockable_object.rb:38:in synchronize'", "/Library/Ruby/Gems/2.0.0/gems/concurrent-ruby-1.0.0/lib/concurrent/synchronization/mri_lockable_object.rb:38:insynchronize'", "/Library/Ruby/Gems/2.0.0/gems/concurrent-ruby-1.0.0/lib/concurrent/executor/safe_task_executor.rb:19:in execute'", "/Library/Ruby/Gems/2.0.0/gems/concurrent-ruby-1.0.0/lib/concurrent/ivar.rb:170:insafe_execute'", "/Library/Ruby/Gems/2.0.0/gems/concurrent-ruby-1.0.0/lib/concurrent/future.rb:52:in block in execute'", "/Library/Ruby/Gems/2.0.0/gems/concurrent-ruby-1.0.0/lib/concurrent/executor/ruby_thread_pool_executor.rb:333:incall'", "/Library/Ruby/Gems/2.0.0/gems/concurrent-ruby-1.0.0/lib/concurrent/executor/ruby_thread_pool_executor.rb:333:in run_task'", "/Library/Ruby/Gems/2.0.0/gems/concurrent-ruby-1.0.0/lib/concurrent/executor/ruby_thread_pool_executor.rb:322:inblock (3 levels) in create_worker'", "/Library/Ruby/Gems/2.0.0/gems/concurrent-ruby-1.0.0/lib/concurrent/executor/ruby_thread_pool_executor.rb:305:in loop'", "/Library/Ruby/Gems/2.0.0/gems/concurrent-ruby-1.0.0/lib/concurrent/executor/ruby_thread_pool_executor.rb:305:inblock (2 levels) in create_worker'", "/Library/Ruby/Gems/2.0.0/gems/concurrent-ruby-1.0.0/lib/concurrent/executor/ruby_thread_pool_executor.rb:304:in catch'", "/Library/Ruby/Gems/2.0.0/gems/concurrent-ruby-1.0.0/lib/concurrent/executor/ruby_thread_pool_executor.rb:304:inblock in create_worker'"]
I, [2015-12-03T16:09:54.696782 #1305] INFO -- : Total time (sec): 5.384983, Avg Latency (sec) 5.384983, Throughput(task/sec): 0.18566523295973775

I'm using the following version :

~/POC-CHEF-SERVER/chef-client-jmeter (master ✘)✹✭ ᐅ chef -v
Chef Development Kit Version: 0.10.0
chef-client version: 12.5.1
berks version: 4.0.1
kitchen version: 1.4.2

Any idea how I can fix this ?

Thanks.

DeWaRs

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.