GUI acceptance tests using environment deployed from packages.

Build: #2856 failed

Job: automation-examples workflows failed

Stages & jobs

  1. Qnthack - copy quarantine

  2. Acceptance Test

  3. Qnthack - rerun

    Final

user downloads audit log of executed workflow and sees that log entries in the downloaded file correspond to those visible in gui[1oz 1op openfaas]: Test case result

The below summarizes the result of the test " user downloads audit log of executed workflow and sees that log entries in the downloaded file correspond to those visible in gui[1oz 1op openfaas]" in build 2,856 of Onedata Products - gui acceptance pkg - automation-examples workflows.
Description
user downloads audit log of executed workflow and sees that log entries in the downloaded file correspond to those visible in gui[1oz 1op openfaas]
Test class
gui.scenarios.test_automation_examples_workflows_tests
Method
test_user_downloads_audit_log_of_executed_workflow_and_sees_that_log_entries_in_the_downloaded_file_correspond_to_those_visible_in_gui[1oz_1op_openfaas]
Jira Issue
Duration
3 mins
Status
Failed (New Failure)

Error Log

FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pytest-of-bamboo/pytest-0/test_user_downloads_audit_log_1/browser/download'
request = <FixtureRequest for <Function 'test_user_downloads_audit_log_of_executed_workflow_and_sees_that_log_entries_in_the_downloaded_file_correspond_to_those_visible_in_gui[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)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

browser_id = 'browser'
tmpdir = local('/tmp/pytest-of-bamboo/pytest-0/test_user_downloads_audit_log_1')
modals = <class 'tests.gui.utils.common.modals.Modals'>
selenium = {'browser': <selenium.webdriver.chrome.webdriver.WebDriver (session="752585fc271e93127195ad6a1ffde308")>}
clipboard = Clipboard(copy=<function clipboard.<locals>.copy at 0x7f28004f84c0>, paste=<function clipboard.<locals>.paste at 0x7f28004f8550>)
displays = {'browser': ':1006.0'}

    @wt(parsers.parse('user of {browser_id} sees that recent downloaded json '
                      'file contains audit log which has the same entries as the '
                      'workflow audit log in GUI'))
    def assert_log_entries_in_json_same_as_visible_in_workflow_audit_log(
            browser_id, tmpdir, modals, selenium, clipboard, displays):
        driver = selenium[browser_id]
        modal = modals(driver).audit_log
        path = tmpdir.join(browser_id, 'download')
>       file_name = os.listdir(path)[-1]
E       FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pytest-of-bamboo/pytest-0/test_user_downloads_audit_log_1/browser/download'

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