GUI acceptance tests using environment deployed from packages.

Build: #2874 failed

Job: automation-examples workflows failed

Stages & jobs

  1. Qnthack - copy quarantine

  2. Acceptance Test

  3. Qnthack - rerun

    Final

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,874 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 (New Failure)

Error Log

AssertionError: description "Failed to process batch of items." in audit log for "echo" task is not "Lambda exception occurred during item processing." 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:701: in assert_content_of_task_audit_log
    compare_content_of_task_audit_log(
tests/gui/meta_steps/oneprovider/automation/audit_log.py:555: in compare_content_of_task_audit_log
    compare_to_expected_if_elem_exist_audit_log(content, label,
tests/gui/meta_steps/oneprovider/automation/audit_log.py:507: in compare_to_expected_if_elem_exist_audit_log
    assert_elements_of_task_audit_log_are_the_same(expected, actual, label,
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

expected = 'Lambda exception occurred during item processing.'
actual = 'Failed to process batch of items.', label = 'description'
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: description "Failed to process batch of items." in audit log for "echo" task is not "Lambda exception occurred during item processing." as expected

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