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.
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'
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.