Hello, Perhaps your test want to run in parallel?
you should be able to monitor with: netstat -npl And see whats taking the port. Alvaro. On Mon, Mar 28, 2016 at 1:31 PM, darknight <[email protected]> wrote: > Hi, > > > I was trying to run kitchen converge on a centos-6.5 virtual box, but i > keep on getting the following error > > *Error*: > > "STDERR: Vagrant cannot forward the specified ports on this VM, since they > > would collide with some other application that is already listening on > these ports. The forwarded port to 8888 is already in use on the host > machine." > > > > I do have charles proxy running and i believe that could be using the > 8888 port, but i have updated my kitchen.yml file to redirect to a > different port and i still get the same error. > > > > *kitchen.yml:* > > > platforms: > > - name: Centos-6.5 > > driver_config: > > box: centos-6.5 > > box_url: /Users/abc1245/Downloads/LinuxBasePOC-1.0.0.box > > network: > > - ["forwarded_port", {guest: 80, host: 5656}] > > > Any suggestion on how i could avoid the above error, while connected > through the proxy. If i am not on my proxy, i am getting a different error > with httpclientconnection:keep alivedisconnected. How do i resolve this > error, i am not sure if its due to missing any gems or certificate > issue.Thank you for your time > > > > *Log*: > > > [2016-03-27T19:04:33.576992 #72939] INFO -- Kitchen: -----> Starting > Kitchen (v1.6.0) > > I, [2016-03-27T19:04:34.270469 #72939] INFO -- Kitchen: -----> Creating > <default-Centos-65>... > > I, [2016-03-27T19:05:14.416384 #72939] INFO -- Kitchen: -----> Converging > <default-Centos-65>... > > E, [2016-03-27T19:05:14.500624 #72939] ERROR -- Kitchen: > ------Exception------- > > E, [2016-03-27T19:05:14.500659 #72939] ERROR -- Kitchen: Class: > Kitchen::ActionFailed > > E, [2016-03-27T19:05:14.500682 #72939] ERROR -- Kitchen: Message: Failed > to complete #converge action: [HTTPClient::KeepAliveDisconnected: ] > > E, [2016-03-27T19:05:14.500692 #72939] ERROR -- Kitchen: ---Nested > Exception--- > > E, [2016-03-27T19:05:14.500702 #72939] ERROR -- Kitchen: Class: > HTTPClient::KeepAliveDisconnected > > E, [2016-03-27T19:05:14.500710 #72939] ERROR -- Kitchen: Message: > HTTPClient::KeepAliveDisconnected: > > E, [2016-03-27T19:05:14.500719 #72939] ERROR -- Kitchen: > ------Backtrace------- > > E, [2016-03-27T19:05:14.500728 #72939] ERROR -- Kitchen: > /Users/abc1245/.rvm/gems/ruby-2.2.3/gems/httpclient-2.7.1/lib/httpclient/session.rb:795:in > `block in parse_header' > > E, [2016-03-27T19:05:14.500737 #72939] ERROR -- Kitchen: > /Users/abc1245/.rvm/rubies/ruby-2.2.3/lib/ruby/2.2.0/timeout.rb:88:in > `block in timeout' > > E, [2016-03-27T19:05:14.500747 #72939] ERROR -- Kitchen: > /Users/abc1245/.rvm/rubies/ruby-2.2.3/lib/ruby/2.2.0/timeout.rb:98:in `call' > > E, [2016-03-27T19:05:14.500756 #72939] ERROR -- Kitchen: > /Users/abc1245/.rvm/rubies/ruby-2.2.3/lib/ruby/2.2.0/timeout.rb:98:in > `timeout' > > E, [2016-03-27T19:05:14.500776 #72939] ERROR -- Kitchen: > /Users/abc1245/.rvm/gems/ruby-2.2.3/gems/httpclient-2.7.1/lib/httpclient/session.rb:788:in > `parse_header' > > E, [2016-03-27T19:05:14.500785 #72939] ERROR -- Kitchen: > /Users/abc1245/.rvm/gems/ruby-2.2.3/gems/httpclient-2.7.1/lib/httpclient/session.rb:640:in > `connect_ssl_proxy' > > E, [2016-03-27T19:05:14.500795 #72939] ERROR -- Kitchen: > /Users/abc1245/.rvm/gems/ruby-2.2.3/gems/httpclient-2.7.1/lib/httpclient/ssl_socket.rb:21:in > `create_socket' > > E, [2016-03-27T19:05:14.500804 #72939] ERROR -- Kitchen: > /Users/abc1245/.rvm/gems/ruby-2.2.3/gems/httpclient-2.7.1/lib/httpclient/session.rb:739:in > `block in connect' > > E, [2016-03-27T19:05:14.500823 #72939] ERROR -- Kitchen: > /Users/abc1245/.rvm/rubies/ruby-2.2.3/lib/ruby/2.2.0/timeout.rb:88:in > `block in timeout' > > E, [2016-03-27T19:05:14.500842 #72939] ERROR -- Kitchen: > /Users/abc1245/.rvm/rubies/ruby-2.2.3/lib/ruby/2.2.0/timeout.rb:98:in `call' > > E, [2016-03-27T19:05:14.500861 #72939] ERROR -- Kitchen: > /Users/abc1245/.rvm/rubies/ruby-2.2.3/lib/ruby/2.2.0/timeout.rb:98:in > `timeout' > > E, [2016-03-27T19:05:14.500870 #72939] ERROR -- Kitchen: > /Users/abc1245/.rvm/gems/ruby-2.2.3/gems/httpclient-2.7.1/lib/httpclient/session.rb:735:in > `connect' > > E, [2016-03-27T19:05:14.500879 #72939] ERROR -- Kitchen: > /Users/abc1245/.rvm/gems/ruby-2.2.3/gems/httpclient-2.7.1/lib/httpclient/session.rb:497:in > `query' > > E, [2016-03-27T19:05:14.500888 #72939] ERROR -- Kitchen: > /Users/abc1245/.rvm/gems/ruby-2.2.3/gems/httpclient-2.7.1/lib/httpclient/session.rb:170:in > `query' > > E, [2016-03-27T19:05:14.500897 #72939] ERROR -- Kitchen: > /Users/abc1245/.rvm/gems/ruby-2.2.3/gems/httpclient-2.7.1/lib/httpclient.rb:1238:in > `do_get_block' > > E, [2016-03-27T19:05:14.500906 #72939] ERROR -- Kitchen: > /Users/abc1245/.rvm/gems/ruby-2.2.3/gems/httpclient-2.7.1/lib/httpclient.rb:1021:in > `block in do_request' > > E, [2016-03-27T19:05:14.500915 #72939] ERROR -- Kitchen: > /Users/abc1245/.rvm/gems/ruby-2.2.3/gems/httpclient-2.7.1/lib/httpclient.rb:1134:in > `rescue in protect_keep_alive_disconnected' > > E, [2016-03-27T19:05:14.500924 #72939] ERROR -- Kitchen: > /Users/abc1245/.rvm/gems/ruby-2.2.3/gems/httpclient-2.7.1/lib/httpclient.rb:1128:in > `protect_keep_alive_disconnected' > > E, [2016-03-27T19:05:14.500933 #72939] ERROR -- Kitchen: > /Users/abc1245/.rvm/gems/ruby-2.2.3/gems/httpclient-2.7.1/lib/httpclient.rb:1016:in > `do_request' > > E, [2016-03-27T19:05:14.500942 #72939] ERROR -- Kitchen: > /Users/abc1245/.rvm/gems/ruby-2.2.3/gems/httpclient-2.7.1/lib/httpclient.rb:858:in > `request' > > E, [2016-03-27T19:05:14.500990 #72939] ERROR -- Kitchen: > /Users/abc1245/.rvm/gems/ruby-2.2.3/gems/faraday-0.9.2/lib/faraday/adapter/httpclient.rb:36:in > `call' > > E, [2016-03-27T19:05:14.501006 #72939] ERROR -- Kitchen: > /Users/abc1245/.rvm/gems/ruby-2.2.3/gems/faraday-0.9.2/lib/faraday/request/retry.rb:116:in > `call' > > E, [2016-03-27T19:05:14.501016 #72939] ERROR -- Kitchen: > /Users/abc1245/.rvm/gems/ruby-2.2.3/gems/faraday-0.9.2/lib/faraday/response.rb: > > -- > This mailing list is governed under the HashiCorp Community Guidelines - > https://www.hashicorp.com/community-guidelines.html. Behavior in > violation of those guidelines may result in your removal from this mailing > list. > > GitHub Issues: https://github.com/mitchellh/vagrant/issues > IRC: #vagrant on Freenode > --- > You received this message because you are subscribed to the Google Groups > "Vagrant" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To view this discussion on the web visit > https://groups.google.com/d/msgid/vagrant-up/ba1c5a85-dc06-4e94-b6ba-e99cae40d966%40googlegroups.com > <https://groups.google.com/d/msgid/vagrant-up/ba1c5a85-dc06-4e94-b6ba-e99cae40d966%40googlegroups.com?utm_medium=email&utm_source=footer> > . > For more options, visit https://groups.google.com/d/optout. > -- This mailing list is governed under the HashiCorp Community Guidelines - https://www.hashicorp.com/community-guidelines.html. Behavior in violation of those guidelines may result in your removal from this mailing list. GitHub Issues: https://github.com/mitchellh/vagrant/issues IRC: #vagrant on Freenode --- You received this message because you are subscribed to the Google Groups "Vagrant" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/vagrant-up/CAHqq0ew6-L5Hv16Eamu1%3Dm%2BDPggFV7N%3DjK4LiSvJ0o7h3Vf3Lw%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
