audit icon indicating copy to clipboard operation
audit copied to clipboard

Fix tests that check installing different versions of inspec

Open clintoncwolfe opened this issue 5 years ago • 0 comments

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 https://github.com/inspec/inspec/issues/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 avatar Dec 17 '19 00:12 clintoncwolfe