Acceptance tests using different clients concurrently. Environment deployed from packages.

Build: #3267 failed

Job: Workflows with input files was successful

user sees successful execution of all workflows from automationexamples with their example input files[1oz 1op openfaas]: Test case result

The below summarizes the result of the test " user sees successful execution of all workflows from automationexamples with their example input files[1oz 1op openfaas]" in build 3,267 of Onedata Products - mixed acceptance pkg - Workflows with input files.
Description
user sees successful execution of all workflows from automationexamples with their example input files[1oz 1op openfaas]
Test class
mixed.scenarios.test_workflows_with_input_files
Method
test_user_sees_successful_execution_of_all_workflows_from_automationexamples_with_their_example_input_files[1oz_1op_openfaas]
Jira Issue
Duration
11 mins
Status
Failed (Existing Failure)

Error Log

AssertionError: workflows: [({'detect-file-formats': 'example_cpp_script'}, 'interrupted'), ({'calculate-checksums-mounted': 'space1/file1'}, 'interrupted'), ({'echo': 'space1/file1'}, 'interrupted'), ({'bagit-uploader': 'bagit_archive_unpack_and_fetch.zip'}, 'interrupted'), ({'bagit-uploader': 'bagit_archive_5GBfile.zip'}, 'interrupted'), ({'bagit-uploader': 'bagit_archive_unpack.tar'}, 'interrupted'), ({'bagit-uploader': 'bagit_archive_fetch_xrootd.zip'}, 'interrupted'), ({'bagit-uploader': 'bagit_archive_fetch.tar.gz'}, 'interrupted'), ({'demo': 'space1/dir1'}, 'interrupted'), ({'detect-file-mime-formats': 'example_image.jpg'}, 'interrupted'), ({'download-files': 'fetch_multiple_files.txt'}, 'interrupted'), ({'calculate-checksums-rest': 'space1/file1'}, 'interrupted')] did not finish successfully
fixturefunc = <function assert_successful_workflow_executions at 0x7f42d1f218a0>
request = <FixtureRequest for <Function test_user_sees_successful_execution_of_all_workflows_from_automationexamples_with_their_example_input_files[1oz_1op_openfaas]>>
kwargs = {'host': 'oneprovider-1', 'hosts': {'oneprovider-1': {'container-id': '591c02abef5a44bbdcb1036ac6790fbb6d345bcadda35ce....user_utils.AdminUser object at 0x7f42d1667f20>, 'user1': <tests.utils.user_utils.User object at 0x7f42d1667860>}, ...}

    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)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

user = 'user1'
users = {'admin': <tests.utils.user_utils.AdminUser object at 0x7f42d1d3d520>, 'onepanel': <tests.utils.user_utils.AdminUser object at 0x7f42d1667f20>, 'user1': <tests.utils.user_utils.User object at 0x7f42d1667860>}
host = 'oneprovider-1'
hosts = {'oneprovider-1': {'container-id': '591c02abef5a44bbdcb1036ac6790fbb6d345bcadda35cea3586ac7bb9611153', 'hostname': 'de...837bfa5c2ed35a', 'hostname': 'dev-onezone.default.svc.cluster.local', 'ip': '10.244.2.81', 'name': 'dev-onezone', ...}}
workflow_executions = {'05d866731e161d1565c36f151d815d49ch1d74': {'download-files': 'fetch_multiple_files.txt'}, '06d2fe9372cdb473d641f4c3e5...xample_python_script'}, '1e26f58230dfadb3899c32ce69c4d4a0ch0cb0': {'calculate-checksums-mounted': 'space1/file1'}, ...}

    @wt(
        parsers.parse(
            "using REST, {user} sees successful execution of all workflows in {host}"
        )
    )
    def assert_successful_workflow_executions(
        user, users, host, hosts, workflow_executions
    ):
        err_msgs = []
        for wid in workflow_executions.keys():
            mes = get_workflow_execution_details(
                user, users, host, hosts, wid, details=["name", "status"]
            )
            if mes["status"] != "finished":
                err_msgs.append((workflow_executions[wid], mes["status"]))
        if any(err_msgs):
>           raise AssertionError(f"workflows: {err_msgs} did not finish successfully")
E           AssertionError: workflows: [({'detect-file-formats': 'example_cpp_script'}, 'interrupted'), ({'calculate-checksums-mounted': 'space1/file1'}, 'interrupted'), ({'echo': 'space1/file1'}, 'interrupted'), ({'bagit-uploader': 'bagit_archive_unpack_and_fetch.zip'}, 'interrupted'), ({'bagit-uploader': 'bagit_archive_5GBfile.zip'}, 'interrupted'), ({'bagit-uploader': 'bagit_archive_unpack.tar'}, 'interrupted'), ({'bagit-uploader': 'bagit_archive_fetch_xrootd.zip'}, 'interrupted'), ({'bagit-uploader': 'bagit_archive_fetch.tar.gz'}, 'interrupted'), ({'demo': 'space1/dir1'}, 'interrupted'), ({'detect-file-mime-formats': 'example_image.jpg'}, 'interrupted'), ({'download-files': 'fetch_multiple_files.txt'}, 'interrupted'), ({'calculate-checksums-rest': 'space1/file1'}, 'interrupted')] did not finish successfully

tests/mixed/steps/rest/onezone/automation.py:563: AssertionError