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

Fix tests that check installing different versions of inspec #406

Open
clintoncwolfe opened this issue Dec 17, 2019 · 0 comments
Open

Fix tests that check installing different versions of inspec #406

clintoncwolfe opened this issue Dec 17, 2019 · 0 comments
Labels
Aspect: Testing Does the project have good coverage, and is CI working? Type: Bug Does not work as expected.

Comments

@clintoncwolfe
Copy link
Contributor

Cookbook version

9.0.1

Chef-client version

15.4.10 and 14

Platform Details

[Operating system distribution and release version. Cloud provider if running in the cloud]

Scenario

During the TravisCI testing of the chef15-compatible-inspec-ubuntu-1804, gem-install-core-version4-centos-7, gem-install-core-version3-centos-7, gem-install-core-version4-ubuntu-1804, and gem-install-core-version3-ubuntu-1804, all fail with this message:

>>>>>> ------Exception-------
>>>>>> Class: Kitchen::ActionFailed
>>>>>> Message: 1 actions failed.
>>>>>>     Failed to complete #verify action: [Valid types are [:development, :runtime], not :chef] on gem-install-core-version4-ubuntu-1804
>>>>>> ----------------------
>>>>>> Please see .kitchen/logs/kitchen.log for more details
>>>>>> Also try running `kitchen diagnose --all` for configuration

This is due to inspec/inspec#4672 .

The tests have been commented out in the Travis CI file.

Steps to Reproduce:

Run the tests in test-kitchen.

Expected Result:

The tests pass.

Actual Result:

See above for error output.

@clintoncwolfe clintoncwolfe added Type: Bug Does not work as expected. Aspect: Testing Does the project have good coverage, and is CI working? labels Dec 17, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Aspect: Testing Does the project have good coverage, and is CI working? Type: Bug Does not work as expected.
Development

No branches or pull requests

1 participant