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

Is a vagrantfile really needed? #18

Open
alfredopalhares opened this issue Jan 24, 2014 · 0 comments
Open

Is a vagrantfile really needed? #18

alfredopalhares opened this issue Jan 24, 2014 · 0 comments

Comments

@alfredopalhares
Copy link

Right after a leibniz init

$ cucumber 
cucumberFeature: Learn to use Leibniz

  In order to learn how to use Leibniz
  As an infrastructure developer
  I want to be able to have a skeleton feature

  Background:                                              # features/learning_leibniz.feature:7
    Given I have provisioned the following infrastructure: # features/step_definitions/learning_steps.rb:1
      | Server Name | Operating System | Version | Chef Version | Run List          |
      | learning    | centos           | 6.4     | 11.8.0       | learning::default |
[sudo] password for masterkorp: 
    And I have run Chef                                    # features/step_definitions/learning_steps.rb:5
      Failed to complete #create action: [Expected process to exit with [0], but received '1'
      ---- Begin output of sudo vagrant up --no-provision ----
      STDOUT: 
      STDERR: A Vagrant environment is required to run this command. Run `vagrant init`
      to set one up in this directory, or change to a directory with a
      Vagrantfile and try again.
      ---- End output of sudo vagrant up --no-provision ----
      Ran sudo vagrant up --no-provision returned 1] (Kitchen::ActionFailed)
      ./features/step_definitions/learning_steps.rb:7:in `/^I have run Chef$/'
      features/learning_leibniz.feature:12:in `And I have run Chef'

  Scenario: Infrastructure developer can learn Leibniz     # features/learning_leibniz.feature:14
    pending

Failing Scenarios:
cucumber features/learning_leibniz.feature:14 # Scenario: Infrastructure developer can learn Leibniz
pending

1 scenario (1 failed)
2 steps (1 failed, 1 passed)

Isn't supposed test-kitchen deal with this ?

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