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

Error running kitchen-ec2 0.6.0 #12

Closed
geerzo opened this issue Jul 26, 2013 · 1 comment
Closed

Error running kitchen-ec2 0.6.0 #12

geerzo opened this issue Jul 26, 2013 · 1 comment

Comments

@geerzo
Copy link

geerzo commented Jul 26, 2013

I'm using the release 0.6.0 version which depends on test-kitchen > 1.0.0.beta.1 and having some problems. When I run using 1.0.0.beta.1 I get the following error:

D      ------Exception-------
D      Class: Kitchen::ActionFailed
D      Message: Failed to complete #create action: [wrong number of arguments (1 for 2)]
D      ---Nested Exception---
D      Class: ArgumentError
D      Message: wrong number of arguments (1 for 2)
D      ------Backtrace-------
D      /Users/user/.rvm/gems/ruby-1.9.3-p374@p141/gems/test-kitchen-1.0.0.beta.1/lib/kitchen/ssh.rb:40:in `initialize'
D      /Users/user/.rvm/gems/ruby-1.9.3-p374@p141/gems/test-kitchen-1.0.0.beta.1/lib/kitchen/driver/ssh_base.rb:126:in `new'
D      /Users/user/.rvm/gems/ruby-1.9.3-p374@p141/gems/test-kitchen-1.0.0.beta.1/lib/kitchen/driver/ssh_base.rb:126:in `wait_for_sshd'
D      /Users/user/.rvm/gems/ruby-1.9.3-p374@p141/gems/kitchen-ec2-0.6.0/lib/kitchen/driver/ec2.rb:53:in `create'

When I use the latest test-kitchen, 1.0.0.beta.2 I get this error:

D      ------Exception-------
D      Class: Kitchen::ActionFailed
D      Message: Failed to complete #create action: [comparison of String with 0 failed]
D      ---Nested Exception---
D      Class: ArgumentError
D      Message: comparison of String with 0 failed
D      ------Backtrace-------
D      /Users/user/.rvm/rubies/ruby-1.9.3-p374/lib/ruby/1.9.1/logger.rb:365:in `<'
D      /Users/user/.rvm/rubies/ruby-1.9.3-p374/lib/ruby/1.9.1/logger.rb:365:in `add'
D      /Users/user/.rvm/gems/ruby-1.9.3-p374@p141/gems/test-kitchen-1.0.0.beta.2/lib/kitchen/ssh.rb:89:in `wait'
D      /Users/user/.rvm/gems/ruby-1.9.3-p374@p141/gems/test-kitchen-1.0.0.beta.2/lib/kitchen/driver/ssh_base.rb:126:in `wait_for_sshd'
D      /Users/user/.rvm/gems/ruby-1.9.3-p374@p141/gems/kitchen-ec2-0.6.0/lib/kitchen/driver/ec2.rb:53:in `create'

In both cases the ec2 instance gets created correctly and it begins to wait for ssh then dies. I'm new to test-kitchen so it might be something I'm doing wrong, I just can't figure out what.

@geerzo
Copy link
Author

geerzo commented Aug 7, 2013

Resolved as part of this fix in test-kitchen: test-kitchen/test-kitchen#178

@geerzo geerzo closed this as completed Aug 7, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant