GUI acceptance tests using environment deployed from packages.

Build: #2915 failed

Job: Atm BagIt failed

Stages & jobs

  1. Qnthack - copy quarantine

  2. Acceptance Test

  3. Qnthack - rerun

    Final

user sees desirable files in file browser after execution of uploaded bagituploader with validzip[1oz 1op openfaas]: Test case result

The below summarizes the result of the test " user sees desirable files in file browser after execution of uploaded bagituploader with validzip[1oz 1op openfaas]" in build 2,915 of Onedata Products - gui acceptance pkg - Atm BagIt.
Description
user sees desirable files in file browser after execution of uploaded bagituploader with validzip[1oz 1op openfaas]
Test class
gui.scenarios.test_automation_bagit
Method
test_user_sees_desirable_files_in_file_browser_after_execution_of_uploaded_bagituploader_with_validzip[1oz_1op_openfaas]
Duration
29 mins
Status
Failed (New Failure)

Error Log

AssertionError: timestamp "2024-09-27" in audit log for "bagit-uploader-unpack-fetch" task is not "2024-09-28" as expected
fixturefunc = <function assert_content_of_task_audit_log at 0x7f58f178ab60>
request = <FixtureRequest for <Function test_user_sees_desirable_files_in_file_browser_after_execution_of_uploaded_bagituploader_with_validzip[1oz_1op_openfaas]>>
kwargs = {'browser_id': 'browser', 'clipboard': Clipboard(copy=<function clipboard.<locals>.copy at 0x7f58f15716c0>, paste=<fun...info\ncontent:\nstatus: Found  1 files to be downloaded.\narchive: valid.zip', '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:703: in assert_content_of_task_audit_log
    compare_to_expected_if_elem_exist_audit_log(data, label, actual_items,
tests/gui/meta_steps/oneprovider/automation/audit_log.py:513: in compare_to_expected_if_elem_exist_audit_log
    assert_elements_of_task_audit_log_are_the_same(expected, actual, label,
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

expected = datetime.date(2024, 9, 28), actual = datetime.date(2024, 9, 27)
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-09-27" in audit log for "bagit-uploader-unpack-fetch" task is not "2024-09-28" as expected

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