GUI acceptance tests using environment deployed from packages.

Build: #2875 failed

Job: Atm stores basic failed

Stages & jobs

  1. Qnthack - copy quarantine

  2. Acceptance Test

  3. Qnthack - rerun

    Final

user sees file attributes in result store after modifying lambda and executing uploaded echo workflow[1oz 1op openfaas]: Test case result

The below summarizes the result of the test " user sees file attributes in result store after modifying lambda and executing uploaded echo workflow[1oz 1op openfaas]" in build 2,875 of Onedata Products - gui acceptance pkg - Atm stores basic.
Description
user sees file attributes in result store after modifying lambda and executing uploaded echo workflow[1oz 1op openfaas]
Test class
gui.scenarios.test_atm_stores_basic
Method
test_user_sees_file_attributes_in_result_store_after_modifying_lambda_and_executing_uploaded_echo_workflow[1oz_1op_openfaas]
Duration
4 mins
Status
Failed (Existing Failure)

Error Log

RuntimeError: there is no entry containing data about ['atime', 'size', 'originProviderId'] in workflow audit log
request = <FixtureRequest for <Function 'test_user_sees_file_attributes_in_result_store_after_modifying_lambda_and_executing_uploaded_echo_workflow[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)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

selenium = {'browser': <selenium.webdriver.chrome.webdriver.WebDriver (session="a31a666a94d80478fdad1eb29cb0113b")>}
browser_id = 'browser', modals = <class 'tests.gui.utils.common.modals.Modals'>
tmpdir = local('/tmp/pytest-of-bamboo/pytest-0/test_user_sees_file_attributes1')
tmp_memory = defaultdict(<class 'dict'>, {'browser': {'shares': {}, 'spaces': {}, 'groups': {}, 'mailbox': {}, 'oz': {}, 'window': ...-a3e9-de2284f58381")>}, 'oz_page': <tests.gui.utils.onezone.automation_page.AutomationPage object at 0x7fc4a1d8ba30>}})
item_list = ['atime', 'size', 'originProviderId']

    @wt(parsers.parse('user of {browser_id} sees that workflow audit log contains '
                      'entry with info only about file attributes {item_list}'))
    def assert_workflow_audit_log_contains_entry(
            selenium, browser_id, modals, tmpdir, tmp_memory, item_list):
        file_path = _get_workflow_audit_log(browser_id, selenium, tmp_memory,
                                            modals, tmpdir)
        f = open(file_path)
        data_file = json.load(f)
        item_list = parse_seq(item_list)
        for entry in data_file:
            try:
                content = entry['content']
                if _assert_all_items_in_json(item_list, content) and (
                        len(item_list) == len(content)):
                    return True
            except KeyError:
                pass
        err_msg = (f'there is no entry containing data about {item_list} '
                   f'in workflow audit log')
>       raise RuntimeError(err_msg)
E       RuntimeError: there is no entry containing data about ['atime', 'size', 'originProviderId'] in workflow audit log

tests/gui/meta_steps/oneprovider/automation/audit_log.py:805: RuntimeError