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

kitchen-nodes fails serverspec test on 2012 node due to unpopulated IP address #11

Closed
Sam-Martin opened this issue Feb 9, 2016 · 4 comments
Labels

Comments

@Sam-Martin
Copy link
Contributor

Scenario

Vagrant: 1.8.1
Test-Kitchen: 1.4.2
VirtualBox: 5.0.14

Action: Kitchen Verify
Expected result: 0 examples, 0 failures

Result

Failures:

         1) other node has a computername matching node fqdn
            Failure/Error:
       ::WinRM::WinRMWebService.new(
         "http://#{ip}:5985/wsman",
         :plaintext,
         user: 'vagrant',
         pass: 'vagrant',
         basic_auth_only: true
       )
            URI::InvalidURIError:
       the scheme http does not accept registry part: :5985 (or bad hostname?)

This is caused by a blank IP address for the Windows node in test\integration\nodes\node?-windows-2012R2.json.

I'll be sending a PR by with an added serverspec test that checks the IP is valid on the other node prior to trying to WinRM to it.

@mwrock
Copy link
Owner

mwrock commented Feb 10, 2016

what's the host os? windows/mac/linux?

@Sam-Martin
Copy link
Contributor Author

Tried it on Windows 8 and Windows 10, same result on both.

@Sam-Martin
Copy link
Contributor Author

  • Ignore, accidentally hit close!

@mwrock
Copy link
Owner

mwrock commented Feb 11, 2016

fixed via 0e5684e

@mwrock mwrock closed this as completed Feb 11, 2016
@mwrock mwrock added the bug label Mar 8, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants