GUI acceptance tests using environment deployed from packages.

Build: #2844 failed

Job: Atm workflows stores failed

Stages & jobs

  1. Qnthack - copy quarantine

  2. Acceptance Test

  3. Qnthack - rerun

    Final

user runs workflow with info logging level and cannot see any 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 info logging level and cannot see any entry with severity debug in audit log[1oz 1op openfaas]" in build 2,844 of Onedata Products - gui acceptance pkg - Atm workflows stores.
Description
user runs workflow with info logging level and cannot see any entry with severity debug in audit log[1oz 1op openfaas]
Test class
gui.scenarios.test_atm_workflows_stores
Method
test_user_runs_workflow_with_info_logging_level_and_cannot_see_any_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_i1/browser/download'
request = <FixtureRequest for <Function 'test_user_runs_workflow_with_info_logging_level_and_cannot_see_any_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:812: in assert_no_debug_entry_in_workflow_audit_log
    file_path = _get_workflow_audit_log(browser_id, selenium, tmp_memory,
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

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

    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_i1/browser/download'

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