-
Notifications
You must be signed in to change notification settings - Fork 90
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
Possible regression in 3.2.5. kitchen tests failing with timeout. #548
Comments
We've also seen: |
Also seeing this with straight kitchen inspec and not specifying sudo or sudo_command which defaults to true. Setting sudo to false fixes the issue. Seems related to the changes in https://github.com/inspec/train/pull/544/files. Also reported as inspec/kitchen-inspec#246. edit: confirmed this by editing the line locally my OS (Oracle Linux 7) won't allow |
+1 seeing this too on CentOS 7 |
+1 we're seeing this too. running against CentOS 7
succeeds on train |
As I mentioned in #544 (comment):
|
the same here ;) |
It seems to come from this commit 857f776 |
Can confirm that the 3.2.14 gem version fixes this problem for my situation. |
@zenspider Thanks, this is working much better in general and many of the platforms are now working. As you can see, still getting a failure on |
Also still getting the failure with a local Vagrant FreeBSD box which works fine with -----> Verifying <v201902-py3-freebsd-120-2019-2-py3>...
>>>>>> ------Exception-------
>>>>>> Class: Kitchen::ActionFailed
>>>>>> Message: 1 actions failed.
>>>>>> Failed to complete #verify action: [Sudo failed: We trust you have received the usual lecture from the local System
Administrator. It usually boils down to these three things:
#1) Respect the privacy of others.
#2) Think before you type.
#3) With great power comes great responsibility.
sudo: a terminal is required to read the password; either use the -S option to read from standard input or configure an askpass helper] on v201902-py3-freebsd-120-2019-2-py3 |
We're seeing failures with oracle linux 7 when using 3.2.14 FWIW, HTH! |
inspec/train#548 fixed so lets update! Signed-off-by: tyler-ball <tball@chef.io>
We fixed inspec/train#548 so lets consume the latest train version Signed-off-by: tyler-ball <tball@chef.io>
inspec/train#548 fixed so lets update! Signed-off-by: tyler-ball <tball@chef.io>
Hello,
we tried to upgrade from train 3.2.0 to train 3.2.5 and now our Kitchen tests are failing due to a timeout issue.
It looks like this:
and it sits there as
sudo -v
is actually expecting a password:In Kitchen, we used to have:
Where we are overriding the default
sudo
command (to prevent passing-E
which failed in some setup).Setting this value back to the default one seems to be even worse (?) though:
Originally posted by @multani in #544 (comment)
The text was updated successfully, but these errors were encountered: