ansible-sudoers icon indicating copy to clipboard operation
ansible-sudoers copied to clipboard

Builds fail in Travis, and we should move the testing to molecule

Open ahuffman opened this issue 6 years ago • 0 comments

Some output of the test failure:

     PLAY [test-kitchen] ************************************************************
       
       TASK [Gathering Facts] *********************************************************
       ok: [localhost]
       
       TASK [ansible-sudoers : Ensure sudo is installed] ******************************
       fatal: [localhost]: FAILED! => {"failed": true, "msg": "The conditional check 'sudo_installed is success' failed. The error was: template error while templating string: no test named 'success'. String: {% if sudo_installed is success %} True {% else %} False {% endif %}"}
       	to retry, use: --limit @/tmp/kitchen/default.retry
       
       PLAY RECAP *********************************************************************
       localhost                  : ok=1    changed=0    unreachable=0    failed=1   
       
>>>>>> ------Exception-------
>>>>>> Class: Kitchen::ActionFailed
>>>>>> Message: 1 actions failed.
>>>>>>     Converge failed on instance <default-fedora-latest>.  Please see .kitchen/logs/default-fedora-latest.log for more details
>>>>>> ----------------------
>>>>>> Please see .kitchen/logs/kitchen.log for more details
>>>>>> Also try running `kitchen diagnose --all` for configuration
The command "bundle exec kitchen test $KITCHEN_REGEXP" exited with 20.
Done. Your build exited with 1.

ahuffman avatar Dec 31 '18 20:12 ahuffman