GUI acceptance tests using environment deployed from packages.

Build: #2532 failed

Job: Atm workflow execution failed

Stages & jobs

  1. Acceptance Test

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,532 of Onedata Products - gui acceptance pkg - Oneprovider atm workflow execution.
Description
user sees that tasks are cancelled after cancelling workflow while task was pausing[1oz 1op openfaas]
Test class
gui.scenarios.test_oneprovider_atm_workflows_execution
Method
test_user_sees_that_tasks_are_cancelled_after_cancelling_workflow_while_task_was_pausing[1oz_1op_openfaas]
Duration
3 mins
Status
Failed (New Failure)

Error Log

Exception: After awaiting for task "10s sleep" for 10 seconds its status (Paused) 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:251: in await_for_task_status
    await_for_task_status_in_parallel_box(selenium, browser_id, op_container,
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

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

    def await_for_task_status_in_parallel_box(selenium, browser_id, op_container,
                                              lane, task, ordinal, expected_status,
                                              seconds):
        box = get_parallel_box(selenium, browser_id, op_container, ordinal, lane)
        t_end = time.time() + int(seconds)
        while time.time() < t_end:
            actual_status = box.task_list[task].status
            if actual_status.lower() == expected_status.lower():
                break
        else:
>           raise Exception(f'After awaiting for task "{task}" for {seconds} '
                            f'seconds its status ({actual_status}) is not '
                            f'{expected_status} as expected')
E           Exception: After awaiting for task "10s sleep" for 10 seconds its status (Paused) is not Cancelled as expected

tests/gui/steps/oneprovider/automation/automation_statuses.py:56: Exception