GUI acceptance tests using environment deployed from packages.

Build: #2629 failed

Job: automation-examples workflows failed

Stages & jobs

  1. Qnthack - copy quarantine

  2. Acceptance Test

  3. Qnthack - rerun

user sees desirable exception in task auditlog after changing exceptionprobability in echo lambda[1oz 1op openfaas]: Test case result

The below summarizes the result of the test " user sees desirable exception in task auditlog after changing exceptionprobability in echo lambda[1oz 1op openfaas]" in build 2,629 of Onedata Products - gui acceptance pkg - automation-examples workflows.
Description
user sees desirable exception in task auditlog after changing exceptionprobability in echo lambda[1oz 1op openfaas]
Test class
gui.scenarios.test_automation_examples_workflows_tests
Method
test_user_sees_desirable_exception_in_task_auditlog_after_changing_exceptionprobability_in_echo_lambda[1oz_1op_openfaas]
Jira Issue
Duration
3 mins
Status
Failed (Existing Failure)

Error Log

AssertionError: severity "info" in audit log for "echo" task is not "error" as expected
request = <FixtureRequest for <Function 'test_user_sees_desirable_exception_in_task_auditlog_after_changing_exceptionprobability_in_echo_lambda[1oz_1op_openfaas]'>>

    @pytest.mark.usefixtures(*function_args)
    def scenario_wrapper(request):
>       _execute_scenario(feature, scenario, request, encoding)

/usr/local/lib/python3.8/dist-packages/pytest_bdd/scenario.py:227: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
/usr/local/lib/python3.8/dist-packages/pytest_bdd/scenario.py:189: in _execute_scenario
    _execute_step_function(request, scenario, step, step_func)
/usr/local/lib/python3.8/dist-packages/pytest_bdd/scenario.py:130: in _execute_step_function
    step_func(**kwargs)
tests/utils/bdd_utils.py:78: in wrapper
    return fun(*ba.args, **ba.kwargs)
tests/gui/meta_steps/oneprovider/automation/audit_log.py:473: in assert_content_of_task_audit_log
    compare_to_expected_if_elem_exist_audit_log(data, label, actual_items,
tests/gui/meta_steps/oneprovider/automation/audit_log.py:385: in compare_to_expected_if_elem_exist_audit_log
    assert_elements_of_task_audit_log_are_the_same(expected, actual, label,
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

expected = 'error', actual = 'info', label = 'severity', task_name = 'echo'

    def assert_elements_of_task_audit_log_are_the_same(expected, actual, label,
                                                       task_name):
>       assert expected == actual, (
            f'{label} "{actual}" in audit log for "{task_name}" task is '
            f'not "{expected}" as expected')
E       AssertionError: severity "info" in audit log for "echo" task is not "error" as expected

tests/gui/meta_steps/oneprovider/automation/audit_log.py:391: AssertionError