Acceptance tests using different clients concurrently. Environment deployed from packages.
Build: #2523 failed
Job: Access tokens id caveats failed
using client1 user cannot create file at path that he does not have access after getting token with caveat set for object id created by web gui[1oz 1op 1oc-oneclient1]: Test case result
The below summarizes the result of the test " using client1 user cannot create file at path that he does not have access after getting token with caveat set for object id created by web gui[1oz 1op 1oc-oneclient1]" in build 2,523 of Onedata Products - mixed acceptance pkg - Chrome access tokens id caveats.
- Description
- using client1 user cannot create file at path that he does not have access after getting token with caveat set for object id created by web gui[1oz 1op 1oc-oneclient1]
- Test class
- mixed.scenarios.test_access_tokens_id_caveats
- Method
- test_using_client1_user_cannot_create_file_at_path_that_he_does_not_have_access_after_getting_token_with_caveat_set_for_object_id_created_by_web_gui[1oz_1op_1oc-oneclient1]
- Jira Issue
-
- Duration
- 2 mins
- Status
- Failed (New Failure)
Error Log
ConnectionRefusedError: [Errno 111] Connection refused request = <FixtureRequest for <Function 'test_using_client1_user_cannot_create_file_at_path_that_he_does_not_have_access_after_getting_token_with_caveat_set_for_object_id_created_by_web_gui[1oz_1op_1oc-oneclient1]'>> @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) /usr/local/lib/python3.8/dist-packages/pytest_bdd/steps.py:162: in step_func result = request.getfixturevalue(func.__name__) /usr/local/lib/python3.8/dist-packages/_pytest/fixtures.py:428: in getfixturevalue return self._get_active_fixturedef(argname).cached_result[0] /usr/local/lib/python3.8/dist-packages/_pytest/fixtures.py:453: in _get_active_fixturedef self._compute_fixture_value(fixturedef) /usr/local/lib/python3.8/dist-packages/_pytest/fixtures.py:524: in _compute_fixture_value fixturedef.execute(request=subrequest) /usr/local/lib/python3.8/dist-packages/_pytest/fixtures.py:795: in execute return hook.pytest_fixture_setup(fixturedef=self, request=request) /usr/local/lib/python3.8/dist-packages/pluggy/__init__.py:617: in __call__ return self._hookexec(self, self._nonwrappers + self._wrappers, kwargs) /usr/local/lib/python3.8/dist-packages/pluggy/__init__.py:222: in _hookexec return self._inner_hookexec(hook, methods, kwargs) /usr/local/lib/python3.8/dist-packages/pluggy/__init__.py:214: in <lambda> hook.multicall( /usr/local/lib/python3.8/dist-packages/_pytest/fixtures.py:826: in pytest_fixture_setup result = call_fixture_func(fixturefunc, request, kwargs) /usr/local/lib/python3.8/dist-packages/_pytest/fixtures.py:718: in call_fixture_func res = fixturefunc(**kwargs) tests/utils/bdd_utils.py:78: in wrapper return fun(*ba.args, **ba.kwargs) tests/mixed/steps/oneclient/data_basic.py:297: in given_mount_new_oneclient_with_token users[user].mount_client('oneclient-1', 'client1', hosts, env_desc, token) tests/utils/user_utils.py:72: in mount_client rpyc_connection = self.get_rpyc_connection(hosts[client_host_alias]) tests/utils/user_utils.py:61: in get_rpyc_connection self._rpyc_connections[client_host] = self._create_rpyc_connection(client_host_dict) tests/utils/user_utils.py:129: in _create_rpyc_connection rpyc_connection = self._connect_to_rpyc(client_host_ip, port) <decorator-gen-6>:2: in _connect_to_rpyc ??? tests/utils/utils.py:95: in wrapper return fun(*args, **kwargs) tests/utils/user_utils.py:142: in _connect_to_rpyc return rpyc.classic.connect(ip, port) /usr/local/lib/python3.8/dist-packages/rpyc/utils/classic.py:70: in connect return factory.connect(host, port, SlaveService, ipv6 = ipv6, keepalive = keepalive) /usr/local/lib/python3.8/dist-packages/rpyc/utils/factory.py:93: in connect s = SocketStream.connect(host, port, ipv6=ipv6, keepalive=keepalive) /usr/local/lib/python3.8/dist-packages/rpyc/core/stream.py:154: in connect return cls(cls._connect(host, port, **kwargs)) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ cls = <class 'rpyc.core.stream.SocketStream'>, host = '172.17.0.5', port = 19440 family = <AddressFamily.AF_INET: 2>, socktype = <SocketKind.SOCK_STREAM: 1> proto = 6, timeout = 3, nodelay = False, keepalive = False @classmethod def _connect(cls, host, port, family = socket.AF_INET, socktype = socket.SOCK_STREAM, proto = 0, timeout = 3, nodelay = False, keepalive = False): family, socktype, proto, _, sockaddr = socket.getaddrinfo(host, port, family, socktype, proto)[0] s = socket.socket(family, socktype, proto) s.settimeout(timeout) > s.connect(sockaddr) E ConnectionRefusedError: [Errno 111] Connection refused /usr/local/lib/python3.8/dist-packages/rpyc/core/stream.py:112: ConnectionRefusedError