GUI acceptance tests using environment deployed from packages.

Build: #2856 failed

Job: Atm workflows stores failed

Stages & jobs

  1. Qnthack - copy quarantine

  2. Acceptance Test

  3. Qnthack - rerun

    Final

user runs workflow with debug logging level and can see entry with severity debug in audit log[1oz 1op openfaas]: Test case result

The below summarizes the result of the test " user runs workflow with debug logging level and can see entry with severity debug in audit log[1oz 1op openfaas]" in build 2,856 of Onedata Products - gui acceptance pkg - Atm workflows stores.
Description
user runs workflow with debug logging level and can see entry with severity debug in audit log[1oz 1op openfaas]
Test class
gui.scenarios.test_atm_workflows_stores
Method
test_user_runs_workflow_with_debug_logging_level_and_can_see_entry_with_severity_debug_in_audit_log[1oz_1op_openfaas]
Jira Issue
Duration
2 mins
Status
Failed (New Failure)

Error Log

FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pytest-of-bamboo/pytest-0/test_user_runs_workflow_with_d1/browser/download'
request = <FixtureRequest for <Function 'test_user_runs_workflow_with_debug_logging_level_and_can_see_entry_with_severity_debug_in_audit_log[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/audit_log.py:745: in assert_workflow_audit_log_contains_entries
    _assert_workflow_audit_log_contains_entries(selenium, browser_id, modals,
tests/gui/meta_steps/oneprovider/automation/audit_log.py:754: in _assert_workflow_audit_log_contains_entries
    file_path = _get_workflow_audit_log(browser_id, selenium, tmp_memory,
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

browser_id = 'browser'
selenium = {'browser': <selenium.webdriver.chrome.webdriver.WebDriver (session="f702b6ef2326a411f7bde974684c0530")>}
tmp_memory = defaultdict(<class 'dict'>, {'browser': {'shares': {}, 'spaces': {}, 'groups': {}, 'mailbox': {}, 'oz': {}, 'window': ...-81a6-e22949bc0744")>}, 'oz_page': <tests.gui.utils.onezone.automation_page.AutomationPage object at 0x7fe017a3f550>}})
modals = <class 'tests.gui.utils.common.modals.Modals'>
tmpdir = local('/tmp/pytest-of-bamboo/pytest-0/test_user_runs_workflow_with_d1')

    def _get_workflow_audit_log(browser_id, selenium, tmp_memory, modals, tmpdir):
        driver = selenium[browser_id]
        modal_name = 'Workflow audit log'
        # wait for modal to appear
        wt_wait_for_modal_to_appear(selenium, browser_id, modal_name, tmp_memory)
        modal = modals(driver).audit_log
        modal.download_as_json()
        # wait a while for file to download
        time.sleep(0.5)
        path = tmpdir.join(browser_id, 'download')
>       file_path = os.listdir(path)[-1]
E       FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pytest-of-bamboo/pytest-0/test_user_runs_workflow_with_d1/browser/download'

tests/gui/meta_steps/oneprovider/automation/audit_log.py:831: FileNotFoundError