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

[SHACK-295] Kitchen generator conflicts on 'chefignore' #1791

Merged
merged 1 commit into from
Aug 7, 2018

Conversation

tyler-ball
Copy link
Contributor

@tyler-ball tyler-ball commented Aug 7, 2018

When the Kitchen generator runs it tries to create a 'chefignore' file
that is different from what Berkshelf creates. Berkshelf tests ran from the ChefDK via chef verify berkshelf --unit end up hanging indefinitely because the 'chefignore' that TK and Berkshelf create are different, so it prompts the user to resolve this
conflict. This stdin prompt in the automated pipeline causes the tests
to hang forever until they are killed.

Because Berkshelf invokes
the kitchen generator by default (if the libraries are present) this
causes the 'chef verify berkshelf --unit' command to fail.

This is a partial revert of #1702

Signed-off-by: tyler-ball tball@chef.io

When the Kitchen generator runs it tries to create a 'chefignore' file
that is different from what Berkshelf creates. Because Berkshelf invokes
the kitchen generator by default (if the libraries are present) this
causes the 'chef verify berkshelf --unit' command to fail.

It ends up hanging indefinitely because the 'chefignore' that TK and
Berkshelf create are different, so it prompts the user to resolve this
conflict. This stdin prompt in the automated pipeline causes the tests
to hang forever until they are killed.

This is a partial revert of #1702

Signed-off-by: tyler-ball <tball@chef.io>
@tyler-ball tyler-ball merged commit f2a672d into berkshelf-6 Aug 7, 2018
@tyler-ball
Copy link
Contributor Author

CHEFSTYLE is still failing for the berkshelf-6 branch, but its a bunch of failures and should be tackled separately

@tyler-ball tyler-ball deleted the kitchen_generator_conflict branch August 7, 2018 18:24
@lock
Copy link

lock bot commented Oct 6, 2018

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@lock lock bot locked as resolved and limited conversation to collaborators Oct 6, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants