bradenwright / kitchen-lxd_cli

Test Kitchen driver for LXD
Other
10 stars 4 forks source link

Could not load the 'lxd_cli' driver from the load path #20

Open juju4 opened 5 years ago

juju4 commented 5 years ago

Since ~10days, all my ansible role travis testing with kitchen+lxd_cli failed with

-----> Starting Kitchen (v2.2.5)
>>>>>> ------Exception-------
>>>>>> Class: Kitchen::ClientError
>>>>>> Message: Could not load the 'lxd_cli' driver from the load path. Did you mean: dummy, exec, proxy ? Please ensure that your driver is installed as a gem or included in your Gemfile if using Bundler.
>>>>>> ----------------------
>>>>>> Please see .kitchen/logs/kitchen.log for more details
>>>>>> Also try running `kitchen diagnose --all` for configuration
D      ------Exception-------
D      Class: Kitchen::ClientError
D      Message: Could not load the 'lxd_cli' driver from the load path. Did you mean: dummy, exec, proxy ? Please ensure that your driver is installed as a gem or included in your Gemfile if using Bundler.
D      ----------------------
D      ------Backtrace-------

https://travis-ci.org/juju4/ansible-caldera/jobs/535235128#L1966 https://travis-ci.org/juju4/ansible-kolide/jobs/535655194#L1600 https://travis-ci.org/juju4/ansible-osquery/jobs/536087623#L1688

In most case, no change with previous working state travis includes kitchen diagnose which does not give more information to guess root cause

gem install is fine

$ gem install kitchen-lxd_cli
Fetching kitchen-lxd_cli-2.0.2.gem
Fetching net-ssh-gateway-1.3.0.gem
Fetching net-scp-1.2.1.gem
Fetching test-kitchen-1.24.0.gem
Fetching net-ssh-4.2.0.gem
Successfully installed net-ssh-4.2.0
Successfully installed net-ssh-gateway-1.3.0
Successfully installed net-scp-1.2.1
Successfully installed test-kitchen-1.24.0
Successfully installed kitchen-lxd_cli-2.0.2
5 gems installed

Not aware of any change on travis side either working one https://travis-ci.org/juju4/ansible-dnscrypt-proxy/jobs/529879631 failing https://travis-ci.org/juju4/ansible-dnscrypt-proxy/jobs/535878926 both using Description: Ubuntu 16.04.6 LTS and ruby 2.6 Nothing else from https://changelog.travis-ci.com/ or https://blog.travis-ci.com/

any ideas on why?

Thanks

juju4 commented 5 years ago

Identified the problem. test-kitchen 2.x (tried 2.0.x, 2.1.x, 2.2.x) Reverting to 1.25.0 works fine.