GUI acceptance tests using environment deployed from packages.

Build: #2942 failed

Job: automation-examples workflows failed

Stages & jobs

  1. Qnthack - copy quarantine

  2. Acceptance Test

  3. Qnthack - rerun

    Final

user sees desirable active workflow status before 10s pass in task auditlog after changing sleepdurationsec in echo lambda[1oz 1op openfaas]: Test case result

The below summarizes the result of the test " user sees desirable active workflow status before 10s pass in task auditlog after changing sleepdurationsec in echo lambda[1oz 1op openfaas]" in build 2,942 of Onedata Products - gui acceptance pkg - automation-examples workflows.
Description
user sees desirable active workflow status before 10s pass in task auditlog after changing sleepdurationsec in echo lambda[1oz 1op openfaas]
Test class
gui.scenarios.test_automation_examples_workflows_tests
Method
test_user_sees_desirable_active_workflow_status_before_10s_pass_in_task_auditlog_after_changing_sleepdurationsec_in_echo_lambda[1oz_1op_openfaas]
Jira Issue
Duration
2 mins
Status
Failed (New Failure)

Error Log

AssertionError: Actual "echo" status: "Active" does not match expected: "Finished"
fixturefunc = <function assert_status_of_workflow_if_needed_wait_for_stopping_status at 0x7f72cfb72a20>
request = <FixtureRequest for <Function test_user_sees_desirable_active_workflow_status_before_10s_pass_in_task_auditlog_after_changing_sleepdurationsec_in_echo_lambda[1oz_1op_openfaas]>>
kwargs = {'browser_id': 'browser', 'expected_status': 'Finished', 'op_container': <class 'tests.gui.utils.oneprovider.OPLoggedI...kflow_status_before_10s_pass_in_task_auditlog_after_changing_sleepdurationsec_in_echo_lambda[1oz_1op_openfaas]>>}, ...}

    def call_fixture_func(
        fixturefunc: "_FixtureFunc[FixtureValue]", request: FixtureRequest, kwargs
    ) -> FixtureValue:
        if is_generator(fixturefunc):
            fixturefunc = cast(
                Callable[..., Generator[FixtureValue, None, None]], fixturefunc
            )
            generator = fixturefunc(**kwargs)
            try:
                fixture_result = next(generator)
            except StopIteration:
                raise ValueError(f"{request.fixturename} did not yield a value") from None
            finalizer = functools.partial(_teardown_yield_fixture, fixturefunc, generator)
            request.addfinalizer(finalizer)
        else:
            fixturefunc = cast(Callable[..., FixtureValue], fixturefunc)
>           fixture_result = fixturefunc(**kwargs)

/usr/local/lib/python3.12/dist-packages/_pytest/fixtures.py:913: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
tests/utils/bdd_utils.py:78: in wrapper
    return fun(*ba.args, **ba.kwargs)
/usr/local/lib/python3.12/dist-packages/decorator.py:232: in fun
    return caller(func, *(extras + args), **kw)
tests/utils/utils.py:93: in wrapper
    return fun(*args, **kwargs)
tests/gui/steps/oneprovider/automation/automation_statuses.py:146: in assert_status_of_workflow_if_needed_wait_for_stopping_status
    assert_status(workflow, actual_status, expected_status)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

name = 'echo', actual_status = 'Active', expected_status = 'Finished'

    def assert_status(name, actual_status, expected_status):
        err_msg = (
            f'Actual "{name}" status: "{actual_status}" does not '
            f'match expected: "{expected_status}"'
        )
>       assert actual_status.lower() == expected_status.lower(), err_msg
E       AssertionError: Actual "echo" status: "Active" does not match expected: "Finished"

tests/gui/steps/oneprovider/automation/automation_statuses.py:154: AssertionError