GUI acceptance tests using environment deployed from packages.

Build: #2725 failed

Job: Atm workflows pausing and cancelling failed

Stages & jobs

  1. Qnthack - copy quarantine

  2. Acceptance Test

  3. Qnthack - rerun

user sees that tasks are cancelled after cancelling workflow while task was pausing[1oz 1op openfaas]: Test case result

The below summarizes the result of the test " user sees that tasks are cancelled after cancelling workflow while task was pausing[1oz 1op openfaas]" in build 2,725 of Onedata Products - gui acceptance pkg - Atm workflows pausing and cancelling.
Description
user sees that tasks are cancelled after cancelling workflow while task was pausing[1oz 1op openfaas]
Test class
gui.scenarios.test_atm_workflows_pausing_and_cancelling
Method
test_user_sees_that_tasks_are_cancelled_after_cancelling_workflow_while_task_was_pausing[1oz_1op_openfaas]
Duration
8 mins
Status
Failed (New Failure)

Error Log

AssertionError: After awaiting for task "10s sleep" its status (Finished) is not Cancelled as expected
request = <FixtureRequest for <Function 'test_user_sees_that_tasks_are_cancelled_after_cancelling_workflow_while_task_was_pausing[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)
tests/gui/meta_steps/oneprovider/automation/run_workflow.py:143: in await_for_task_status
    await_for_task_status_in_parallel_box(selenium, browser_id, op_container,
<decorator-gen-1331>:2: in await_for_task_status_in_parallel_box
    ???
tests/utils/utils.py:95: in wrapper
    return fun(*args, **kwargs)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

selenium = {'browser': <selenium.webdriver.chrome.webdriver.WebDriver (session="aa50ee362c216917daefe7d6ab012d5a")>}
browser_id = 'browser'
op_container = <class 'tests.gui.utils.oneprovider.OPLoggedIn'>, lane = 'Lane1'
task = '10s sleep', ordinal = '1st', expected_status = 'Cancelled'

    @repeat_failed(interval=1, timeout=90, exceptions=AssertionError)
    def await_for_task_status_in_parallel_box(selenium, browser_id, op_container,
                                              lane, task, ordinal, expected_status):
        box = get_parallel_box(selenium, browser_id, op_container, ordinal, lane)
        actual_status = box.task_list[task].status
        err_msg = (f'After awaiting for task "{task}" its status ({actual_status})'
                   f' is not {expected_status} as expected')
>       assert actual_status.lower() == expected_status.lower(), err_msg
E       AssertionError: After awaiting for task "10s sleep" its status (Finished) is not Cancelled as expected

tests/gui/steps/oneprovider/automation/automation_statuses.py:65: AssertionError