GUI acceptance tests using environment deployed from packages.

Build: #2941 failed

Job: Atm BagIt was successful

Stages & jobs

  1. Qnthack - copy quarantine

  2. Acceptance Test

  3. Qnthack - rerun

    Final

user sees successful execution of uploaded bagituploader workflow and input file bagit archive unpacktar[1oz 1op openfaas]: Test case result

The below summarizes the result of the test " user sees successful execution of uploaded bagituploader workflow and input file bagit archive unpacktar[1oz 1op openfaas]" in build 2,941 of Onedata Products - gui acceptance pkg - Atm BagIt.
Description
user sees successful execution of uploaded bagituploader workflow and input file bagit archive unpacktar[1oz 1op openfaas]
Test class
gui.scenarios.test_automation_bagit
Method
test_user_sees_successful_execution_of_uploaded_bagituploader_workflow_and_input_file_bagit_archive_unpacktar[1oz_1op_openfaas]
Jira Issue
Duration
19 mins
Status
Failed (Existing Failure)

Error Log

AssertionError: timestamp "2024-11-07" in audit log for "bagit-uploader-unpack-fetch" task is not "2024-11-08" as expected
fixturefunc = <function assert_content_of_task_audit_log at 0x7f1e67321440>
request = <FixtureRequest for <Function test_user_sees_successful_execution_of_uploaded_bagituploader_workflow_and_input_file_bagit_archive_unpacktar[1oz_1op_openfaas]>>
kwargs = {'browser_id': 'browser', 'clipboard': Clipboard(copy=<function clipboard.<locals>.copy at 0x7f1e66d38ae0>, paste=<fun...tus: Found  0 files to be downloaded.\n  archive: "bagit_archive_unpack.tar"', 'displays': {'browser': ':1006.0'}, ...}

    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/audit_log.py:1192: in assert_content_of_task_audit_log
    compare_to_expected_if_elem_exist_audit_log(
tests/gui/meta_steps/oneprovider/automation/audit_log.py:872: in compare_to_expected_if_elem_exist_audit_log
    assert_elements_of_task_audit_log_are_the_same(
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

expected = datetime.date(2024, 11, 8), actual = datetime.date(2024, 11, 7)
label = 'timestamp', task_name = 'bagit-uploader-unpack-fetch'

    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: timestamp "2024-11-07" in audit log for "bagit-uploader-unpack-fetch" task is not "2024-11-08" as expected

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