GUI acceptance tests using environment deployed from packages.

Build: #2921 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,921 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
36 mins
Status
Failed (New Failure)

Error Log

AssertionError: Difference between actual time and time on chart is greater than 600s
fixturefunc = <function assert_time_on_lower_right_corner_of_chart_is_around_actual_time at 0x7f67e00559e0>
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', 'modals': <class 'tests.gui.utils.common.modals.Modals'>, 'selenium': {'browser': <tests.con...user_sees_desirable_files_in_file_browser_after_execution_of_uploaded_bagituploader_with_validzip[1oz_1op_openfaas]>>}}

    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)
/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'
selenium = {'browser': <tests.conftest.ChromeWithAllLogs (session="74e61797183a4a2312823106c941adc0")>, 'request': <SubRequest 's..._user_sees_desirable_files_in_file_browser_after_execution_of_uploaded_bagituploader_with_validzip[1oz_1op_openfaas]>>}
modals = <class 'tests.gui.utils.common.modals.Modals'>

    @wt(parsers.parse('user of {browser_id} sees that time in right corner of chart'
                      ' with processing stats is around actual time'))
    @repeat_failed(timeout=WAIT_FRONTEND)
    def assert_time_on_lower_right_corner_of_chart_is_around_actual_time(
            browser_id, selenium, modals):
        switch_to_iframe(selenium, browser_id)
        modal = modals(selenium[browser_id]).task_time_series
        chart_time_in_right_corner = modal.get_time_from_chart()[-1]
        now = datetime.now()
        ts = datetime.timestamp(now)
>       assert abs(chart_time_in_right_corner - ts) < 600, (
            'Difference between actual time and time on chart is greater than 600s')
E       AssertionError: Difference between actual time and time on chart is greater than 600s

tests/gui/steps/oneprovider/automation/workflow_results_modals.py:45: AssertionError