GUI acceptance tests using environment deployed from packages.

Build: #2776 failed

Job: Atm BagIt was successful

Stages & jobs

  1. Qnthack - copy quarantine

  2. Acceptance Test

  3. Qnthack - rerun

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,776 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
22 mins
Status
Failed (Existing Failure)

Error Log

AssertionError: Processing speed is 6644.1578947368425 bytes per second and is lower than expected 13500 per second.
request = <FixtureRequest for <Function 'test_user_sees_successful_execution_of_uploaded_bagituploader_workflow_and_input_file_bagit_archive_unpacktar[1oz_1op_openfaas]'>>

    @pytest.mark.usefixtures(*function_args)
    def scenario_wrapper(request):
>       _execute_scenario(feature, scenario, request, encoding)

/usr/local/lib/python3.8/dist-packages/pytest_bdd/scenario.py:227: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
/usr/local/lib/python3.8/dist-packages/pytest_bdd/scenario.py:189: in _execute_scenario
    _execute_step_function(request, scenario, step, step_func)
/usr/local/lib/python3.8/dist-packages/pytest_bdd/scenario.py:130: in _execute_step_function
    step_func(**kwargs)
tests/utils/bdd_utils.py:78: in wrapper
    return fun(*ba.args, **ba.kwargs)
<decorator-gen-1309>:2: in assert_number_of_proceeded_files
    ???
tests/utils/utils.py:95: in wrapper
    return fun(*args, **kwargs)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

browser_id = 'browser'
selenium = {'browser': <selenium.webdriver.chrome.webdriver.WebDriver (session="3215a865706caa75193a4fe52da085ec")>}
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 6644.1578947368425 bytes per second and is lower than expected 13500 per second.

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