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 sees that different checksums are well counted after execution of uploaded countingdifferentchecksums workflow[1oz 1op openfaas]: Test case result

The below summarizes the result of the test " user sees that different checksums are well counted after execution of uploaded countingdifferentchecksums workflow[1oz 1op openfaas]" in build 2,954 of Onedata Products - gui acceptance pkg - Atm workflow execution.
Description
user sees that different checksums are well counted after execution of uploaded countingdifferentchecksums workflow[1oz 1op openfaas]
Test class
gui.scenarios.test_atm_workflows_execution
Method
test_user_sees_that_different_checksums_are_well_counted_after_execution_of_uploaded_countingdifferentchecksums_workflow[1oz_1op_openfaas]
Duration
1 min
Status
Failed (Existing Failure)

Error Log

KeyError: 'md5_sum'
fixturefunc = <function count_checksums_and_compare_them at 0x7fb6e37740e0>
request = <FixtureRequest for <Function test_user_sees_that_different_checksums_are_well_counted_after_execution_of_uploaded_countingdifferentchecksums_workflow[1oz_1op_openfaas]>>
kwargs = {'browser_id': 'browser', 'checksum_list': '["md5", "sha512", "sha256", "adler32"]', 'file_name': 'file1', 'modals': <class 'tests.gui.utils.common.modals.Modals'>, ...}

    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/workflow_results.py:230: in count_checksums_and_compare_them
    count_checksums_for_file(
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)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

browser_id = 'browser'
tmp_memory = defaultdict(<class 'dict'>, {'browser': {'shares': {}, 'spaces': {}, 'groups': {}, 'mailbox': {}, 'oz': {}, 'window': ...at 0x7fb6e2ff5130>, 'file_browser': <tests.gui.utils.oneprovider.file_browser._FileBrowser object at 0x7fb6e2ff4140>}})
file_name = 'file1'
tmpdir = local('/tmp/pytest-of-bamboo/pytest-0/test_user_sees_that_different_0')
checksum_list = '["md5", "sha512", "sha256", "adler32"]'
selenium = {'browser': <tests.conftest.ChromeWithAllLogs (session="1039cec48ccc38ef0ec920786f6aa3ac")>, 'request': <SubRequest 's...fferent_checksums_are_well_counted_after_execution_of_uploaded_countingdifferentchecksums_workflow[1oz_1op_openfaas]>>}
op_container = <class 'tests.gui.utils.oneprovider.OPLoggedIn'>

    @wt(
        parsers.parse(
            "user of {browser_id} counts checksums {checksum_list} for "
            '"{file_name}" in "{space}" space'
        )
    )
    @repeat_failed(timeout=WAIT_FRONTEND)
    def count_checksums_for_file(
        browser_id,
        tmp_memory,
        file_name,
        tmpdir,
        checksum_list,
        selenium,
        op_container,
    ):
    
        click_and_press_enter_on_item_in_browser(
            selenium, browser_id, file_name, tmp_memory, op_container
        )
        downloaded_file = tmpdir.join(browser_id, "download", file_name)
        checksums = parse_seq(checksum_list)
        results = {}
    
        for checksum in checksums:
            sum_name = checksum + "_sum"
>           results[checksum] = globals()[sum_name](downloaded_file)
E           KeyError: 'md5_sum'

tests/gui/meta_steps/oneprovider/automation/workflow_results.py:163: KeyError