GUI acceptance tests using environment deployed from packages.

Build: #2954 failed

Job: Atm workflow execution failed

Stages & jobs

  1. Qnthack - copy quarantine

  2. Acceptance Test

  3. Qnthack - rerun

    Final

user checks pods activity events after checksumcountingdifferentlambdas workflow execution[1oz 1op openfaas]: Test case result

The below summarizes the result of the test " user checks pods activity events after checksumcountingdifferentlambdas workflow execution[1oz 1op openfaas]" in build 2,954 of Onedata Products - gui acceptance pkg - Atm workflow execution.
Description
user checks pods activity events after checksumcountingdifferentlambdas workflow execution[1oz 1op openfaas]
Test class
gui.scenarios.test_atm_workflows_execution
Method
test_user_checks_pods_activity_events_after_checksumcountingdifferentlambdas_workflow_execution[1oz_1op_openfaas]
Jira Issue
Duration
2 mins
Status
Failed (New Failure)

Error Log

AssertionError: message: Stopping container result-streamer has not been found
fixturefunc = <function checks_events_for_task at 0x7fb6e3588ae0>
request = <FixtureRequest for <Function test_user_checks_pods_activity_events_after_checksumcountingdifferentlambdas_workflow_execution[1oz_1op_openfaas]>>
kwargs = {'browser_id': 'browser', 'events': '- \'Created container result-streamer\'\n- \'Started container result-streamer\'\...t" + "Created container"\'', 'if_finished': 'after workflow execution is finished', 'lane': 'calculate-checksums', ...}

    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)
tests/gui/meta_steps/oneprovider/automation/pods_activity.py:212: in checks_events_for_task
    assert_events_in_pods_monitor(selenium, browser_id, modals, events, option)
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)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

selenium = {'browser': <tests.conftest.ChromeWithAllLogs (session="ac4014069217ce66a77492ed8190d0ca")>, 'request': <SubRequest 's...on test_user_checks_pods_activity_events_after_checksumcountingdifferentlambdas_workflow_execution[1oz_1op_openfaas]>>}
browser_id = 'browser', modals = <class 'tests.gui.utils.common.modals.Modals'>
events = '- \'Created container result-streamer\'\n- \'Started container result-streamer\'\n- \'Pod initialized, containers rea...e-checksum-rest" + "Started container"\'\n- \'message that contains: "calculate-checksum-rest" + "Created container"\''
option = 'message'

    @wt(
        parsers.re(
            "user of (?P<browser_id>.*) sees events in modal "
            '"Function pods activity" with following '
            r"(?P<option>reason|message)s:\n(?P<events>(.|\s)*)"
        )
    )
    @repeat_failed(timeout=WAIT_FRONTEND)
    def assert_events_in_pods_monitor(selenium, browser_id, modals, events, option):
    
        driver = selenium[browser_id]
        switch_to_iframe(selenium, browser_id)
        modal = modals(driver).function_pods_activity
        events_list = [
            event for event in yaml.load(events, yaml.Loader) if "+" not in event
        ]
        gathered_list = gather_events_list(modal, driver, option)
    
        for event in events_list:
>           assert event in gathered_list, f"{option}: {event} has not been found"
E           AssertionError: message: Stopping container result-streamer has not been found

tests/gui/meta_steps/oneprovider/automation/pods_activity.py:124: AssertionError