Acceptance tests using different clients concurrently. Environment deployed from packages.
Build: #3212 failed
Job: File content failed
user removes file right after read using client2 and using client1 sees that it has been removed[1oz 1op 1oc-oneclient1-RESt]: Test case result
The below summarizes the result of the test " user removes file right after read using client2 and using client1 sees that it has been removed[1oz 1op 1oc-oneclient1-RESt]" in build 3,212 of Onedata Products - mixed acceptance pkg - File content.
- Description
- user removes file right after read using client2 and using client1 sees that it has been removed[1oz 1op 1oc-oneclient1-RESt]
- Test class
- mixed.scenarios.test_file_content
- Method
- test_user_removes_file_right_after_read_using_client2_and_using_client1_sees_that_it_has_been_removed[1oz_1op_1oc-oneclient1-REST]
- Duration
- 1 min
- Status
- Failed (New Failure)
Error Log
TypeError: missing a required argument: 'request' request = <FixtureRequest for <Function 'test_user_removes_file_right_after_read_using_client2_and_using_client1_sees_that_it_has_been_removed[1oz_1op_1oc-oneclient1-REST]'>> @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/mixed/steps/data_basic.py:474: in create_directory_structure_in_op create_directory_structure_in_op_oneclient(user, users, config, space, tests/mixed/steps/oneclient/data_basic.py:114: in create_directory_structure_in_op_oneclient create_content(user, users, cwd, items, create_item_in_op_oneclient, host, tests/mixed/utils/data.py:65: in create_content create_item_fun(user, users, cwd, name, content, create_item_fun, host, tests/mixed/steps/oneclient/data_basic.py:128: in create_item_in_op_oneclient create_content(user, users, cwd, content, create_item_fun, host, hosts) tests/mixed/utils/data.py:65: in create_content create_item_fun(user, users, cwd, name, content, create_item_fun, host, tests/mixed/steps/oneclient/data_basic.py:128: in create_item_in_op_oneclient create_content(user, users, cwd, content, create_item_fun, host, hosts) tests/mixed/utils/data.py:65: in create_content create_item_fun(user, users, cwd, name, content, create_item_fun, host, tests/mixed/steps/oneclient/data_basic.py:123: in create_item_in_op_oneclient multi_file_steps.create_reg_file(user, '{}/{}'.format(cwd, name), host, tests/utils/bdd_utils.py:64: in wrapper ba = sig.bind(*args, **kwargs) /usr/lib/python3.8/inspect.py:3037: in bind return self._bind(args, kwargs) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <Signature (user, files, client_node, users, request)> args = ('user1', 'space1/dir1/dir2/20B-0.txt', 'client1', {'admin': <tests.utils.user_utils.AdminUser object at 0x7f0b095711c...utils.user_utils.AdminUser object at 0x7f0b095387f0>, 'user1': <tests.utils.user_utils.User object at 0x7f0b095dd580>}) kwargs = {} def _bind(self, args, kwargs, *, partial=False): """Private method. Don't use directly.""" arguments = OrderedDict() parameters = iter(self.parameters.values()) parameters_ex = () arg_vals = iter(args) while True: # Let's iterate through the positional arguments and corresponding # parameters try: arg_val = next(arg_vals) except StopIteration: # No more positional arguments try: param = next(parameters) except StopIteration: # No more parameters. That's it. Just need to check that # we have no `kwargs` after this while loop break else: if param.kind == _VAR_POSITIONAL: # That's OK, just empty *args. Let's start parsing # kwargs break elif param.name in kwargs: if param.kind == _POSITIONAL_ONLY: msg = '{arg!r} parameter is positional only, ' \ 'but was passed as a keyword' msg = msg.format(arg=param.name) raise TypeError(msg) from None parameters_ex = (param,) break elif (param.kind == _VAR_KEYWORD or param.default is not _empty): # That's fine too - we have a default value for this # parameter. So, lets start parsing `kwargs`, starting # with the current parameter parameters_ex = (param,) break else: # No default, not VAR_KEYWORD, not VAR_POSITIONAL, # not in `kwargs` if partial: parameters_ex = (param,) break else: msg = 'missing a required argument: {arg!r}' msg = msg.format(arg=param.name) > raise TypeError(msg) from None E TypeError: missing a required argument: 'request' /usr/lib/python3.8/inspect.py:2952: TypeError