GUI acceptance tests using environment deployed from packages.
Build: #2954 failed
Job: Atm BagIt was successful
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,954 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
- 12 mins
- Status
- Failed (New Failure)
Error Log
AssertionError: Processing speed is 5110.072727272727 bytes per second and is lower than expected 13500 per second. fixturefunc = <function assert_number_of_proceeded_files at 0x7f044b0462a0> 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', 'compare_option': 'is greater or equal', 'modals': <class 'tests.gui.utils.common.modals.Modals'>, 'number': '13500', ...} 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="dfcbbd82cc9c0b5c40b2fb4e6282fe76")>, 'request': <SubRequest 's...ees_successful_execution_of_uploaded_bagituploader_workflow_and_input_file_bagit_archive_unpacktar[1oz_1op_openfaas]>>} modals = <class 'tests.gui.utils.common.modals.Modals'>, option = 'bytes' number = '13500', compare_option = 'is greater or equal' @wt( parsers.re( "user of (?P<browser_id>.*?) sees that (?P<option>.*?) " "processing speed (?P<compare_option>is greater or equal|is " "equal) (?P<number>.*?) per second on chart with processing " "stats" ) ) @repeat_failed(timeout=WAIT_FRONTEND) def assert_number_of_proceeded_files( browser_id, selenium, modals, option, number, compare_option ): switch_to_iframe(selenium, browser_id) modal = modals(selenium[browser_id]).task_time_series values = modal.get_last_column_value() for value in values: if option in value[1].lower(): err_msg = ( f"Processing speed is {value[0]} {option} per second " f"and is lower than expected {number} per second." ) if compare_option == "is greater or equal": > assert value[0] >= float(number), err_msg E AssertionError: Processing speed is 5110.072727272727 bytes per second and is lower than expected 13500 per second. tests/gui/steps/oneprovider/automation/workflow_results_modals.py:129: AssertionError