RedHatQE / teflo

Teflo is a standalone orchestration software that controls the flow of a set of testing scenarios, allowing users to provision machines, deploy software, execute tests against them and manage generated artifacts and report results.
https://teflo.readthedocs.io/en/latest/
GNU General Public License v3.0
14 stars 16 forks source link

Running `teflo validate` fails with 'skip-fail' KeyError #171

Closed dfrazzette closed 2 years ago

dfrazzette commented 2 years ago

ISSUE: When running teflo validate -s $TEFLO_SDF (where $TEFLO_SDF is scenario.yml file), the task returns an error.

EXPECTED RESULT: The specified scenario is validated and the Teflo step passes.

ACTUAL RESULT: The task fails with error: ... File "/home/dfrazzet/gitlab/mock-rhel/venv/lib/python3.7/site-packages/teflo/teflo.py", line 597, in exit_on_status and self._teflo_options['skip_fail'] is not True and state is 'FAILED': KeyError: 'skip_fail'

(Ref repo RedHatQE/teflo/teflo/teflo.py). Output attached. teflo_validate_error.txt

WORKAROUND: Running command teflo run -t validate -s $TEFLO_SDF is ##successful.

dno-github commented 2 years ago

Jira ticket CCITCARBON-396 has been created for this issue. Url : https://issues.redhat.com/browse/CCITCARBON-396