Acceptance tests using different clients concurrently. Environment deployed from packages.
Build: #1245 failed
Job: File content failed
user appends text to file using client2 and using client1 sees that files content has changed[1oz 1op 1oc-RESt-oneclient1-RESt]: Test case result
The below summarizes the result of the test " user appends text to file using client2 and using client1 sees that files content has changed[1oz 1op 1oc-RESt-oneclient1-RESt]" in build 1,245 of Onedata Products - mixed acceptance pkg - Chrome file content tests.
- Description
- user appends text to file using client2 and using client1 sees that files content has changed[1oz 1op 1oc-RESt-oneclient1-RESt]
- Test class
- mixed.scenarios.test_file_content
- Method
- test_user_appends_text_to_file_using_client2_and_using_client1_sees_that_files_content_has_changed[1oz_1op_1oc-REST-oneclient1-REST]
- Duration
- 21 secs
- Status
- Failed (New Failure)
Error Log
AssertionError: Expected file named space1/file1 content to be TEST TEXT ONEDATA APPENDED DATA but found request = <FixtureRequest for <Function 'test_user_appends_text_to_file_using_client2_and_using_client1_sees_that_files_content_has_changed[1oz_1op_1oc-REST-oneclient1-REST]'>> @pytest.mark.usefixtures(*function_args) def scenario_wrapper(request): > _execute_scenario(feature, scenario, request, encoding) /usr/local/lib/python3.6/dist-packages/pytest_bdd/scenario.py:227: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/local/lib/python3.6/dist-packages/pytest_bdd/scenario.py:189: in _execute_scenario _execute_step_function(request, scenario, step, step_func) /usr/local/lib/python3.6/dist-packages/pytest_bdd/scenario.py:130: in _execute_step_function step_func(**kwargs) tests/utils/bdd_utils.py:77: in wrapper return fun(*ba.args, **ba.kwargs) tests/mixed/steps/data_basic.py:323: in read_from_file_in_op host, hosts) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ path = 'space1/file1', text = 'TEST TEXT ONEDATA APPENDED DATA', user = 'user1' users = {'admin': <tests.utils.user_utils.AdminUser object at 0x7faa9cbed550>, 'onepanel': <tests.utils.user_utils.AdminUser object at 0x7faa9cbed400>, 'user1': <tests.utils.user_utils.User object at 0x7faa9cbed3c8>} provider = 'oneprovider-1' hosts = {'oneclient-1': {'container-id': '8826514b76028b1d07bd1c2a72638c23b7aed99f742579fb14788bf38c41e015', 'ip': '172.17.0.1...1f258417d3954ea', 'hostname': 'dev-onezone.default.svc.cluster.local', 'ip': '172.17.0.6', 'name': 'dev-onezone', ...}} def assert_file_content_in_op_rest(path, text, user, users, provider, hosts): file_content = _read_file(path, user, users, provider, hosts) assert_msg = ('Expected file named {} content to be ' '{} but found {}'.format(path, text, file_content)) > assert file_content == text, assert_msg E AssertionError: Expected file named space1/file1 content to be TEST TEXT ONEDATA APPENDED DATA but found tests/mixed/steps/rest/oneprovider/data.py:54: AssertionError