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

Integration test failures #34

Closed
arlimus opened this issue Dec 4, 2015 · 0 comments · Fixed by #35
Closed

Integration test failures #34

arlimus opened this issue Dec 4, 2015 · 0 comments · Fixed by #35
Labels
Type: Bug Feature not working as expected
Milestone

Comments

@arlimus
Copy link
Contributor

arlimus commented Dec 4, 2015

Currently test kitchen integration tests fail:

         1) Error:
       run_command#test_0002_is not running sudo without password:
       Train::UserError: Sudo failed: Sudo requires a password, please configure it.
           /tmp/kitchen/data/lib/train/extras/command_wrapper.rb:101:in `load'
           /tmp/kitchen/data/lib/train/transports/local.rb:27:in `initialize'
           /tmp/kitchen/data/lib/train/transports/local.rb:19:in `new'
           /tmp/kitchen/data/lib/train/transports/local.rb:19:in `connection'
           /tmp/kitchen/data/test/integration/sudo/run_as.rb:11:in `run_as'
           test/integration/sudo/passwd.rb:13:in `block (2 levels) in <main>'


>>>>> Converge failed on instance <default-centos-511>.
>>>>>> Please see .kitchen/logs/default-centos-511.log for more details
>>>>>> ------Exception-------
>>>>>> Class: Kitchen::ActionFailed
>>>>>> Message: SSH exited (1) for command: [sh -c '

sudo -E /opt/chef/bin/chef-solo --config /tmp/kitchen/solo.rb --log_level auto --force-formatter --no-color --json-attributes /tmp/kitchen/dna.json
']
>>>>>> ----------------------
@arlimus arlimus added the bug label Dec 4, 2015
@arlimus arlimus added this to the 0.9.1 milestone Dec 4, 2015
@srenatus srenatus self-assigned this Dec 4, 2015
srenatus added a commit that referenced this issue Dec 4, 2015
command_wrapper tries to verify the connection (which includes sudo)
using a call to "echo". If this fails, it'll raise an error. This change
is now reflected in the test.

fixes #34.
srenatus added a commit that referenced this issue Dec 7, 2015
command_wrapper tries to verify the connection (which includes sudo)
using a call to "echo". If this fails, it'll raise an error. This change
is now reflected in the test.

fixes #34.
@clintoncwolfe clintoncwolfe added Type: Bug Feature not working as expected and removed Type: Bug labels Mar 19, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type: Bug Feature not working as expected
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants