Build: #12 failed
Job: Oneprovider data tab failed
user sees that with one file selected only create directory create file edit metadata upload file rename element change element permissions remove element show data distribution buttons from toolbar are enabled: Test case result
The below summarizes the result of the test " user sees that with one file selected only create directory create file edit metadata upload file rename element change element permissions remove element show data distribution buttons from toolbar are enabled" in build 12 of Onedata Products - gui acceptance pkg - feature-VFS-4556-rewrite-transfers-gui-tests-to-work - Chrome oneprovider data tab tests.
- Description
- user sees that with one file selected only create directory create file edit metadata upload file rename element change element permissions remove element show data distribution buttons from toolbar are enabled
- Test class
- gui.scenarios.test_oneprovider_data_tab
- Method
- test_user_sees_that_with_one_file_selected_only_create_directory_create_file_edit_metadata_upload_file_rename_element_change_element_permissions_remove_element_show_data_distribution_buttons_from_toolbar_are_enabled
- Duration
- 3 secs
- Status
- Failed (New Failure)
Error Log
ConnectionError: HTTPSConnectionPool(host='dev-onezone.default.svc.cluster.local', port=443): Max retries exceeded with url: /api/v3/onezone/user (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f6b315c1950>: Failed to establish a new connection: [Errno 111] Connection refused',)) request = <FixtureRequest for <Function 'test_user_sees_that_with_one_file_selected_only...sions_remove_element_show_data_distribution_buttons_from_toolbar_are_enabled'>> reason='some behaviour like multiple file ' > 'upload at once can only be ' 'simulated in Chrome') tests/gui/scenarios/test_oneprovider_data_tab.py:65: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/local/lib/python2.7/dist-packages/pytest_bdd/scenario.py:195: in _execute_scenario _execute_step_function(request, scenario, step, step_func) /usr/local/lib/python2.7/dist-packages/pytest_bdd/scenario.py:137: in _execute_step_function step_func(**kwargs) /usr/local/lib/python2.7/dist-packages/pytest_bdd/steps.py:165: in step_func result = get_fixture_value(request, func.__name__) /usr/local/lib/python2.7/dist-packages/pytest_bdd/utils.py:36: in get_fixture_value return getfixturevalue(name) /usr/local/lib/python2.7/dist-packages/_pytest/fixtures.py:430: in getfixturevalue return self._get_active_fixturedef(argname).cached_result[0] /usr/local/lib/python2.7/dist-packages/_pytest/fixtures.py:455: in _get_active_fixturedef self._compute_fixture_value(fixturedef) /usr/local/lib/python2.7/dist-packages/_pytest/fixtures.py:526: in _compute_fixture_value fixturedef.execute(request=subrequest) /usr/local/lib/python2.7/dist-packages/_pytest/fixtures.py:797: in execute return hook.pytest_fixture_setup(fixturedef=self, request=request) /usr/local/lib/python2.7/dist-packages/pluggy/__init__.py:617: in __call__ return self._hookexec(self, self._nonwrappers + self._wrappers, kwargs) /usr/local/lib/python2.7/dist-packages/pluggy/__init__.py:222: in _hookexec return self._inner_hookexec(hook, methods, kwargs) /usr/local/lib/python2.7/dist-packages/pluggy/__init__.py:216: in <lambda> firstresult=hook.spec_opts.get('firstresult'), /usr/local/lib/python2.7/dist-packages/_pytest/fixtures.py:828: in pytest_fixture_setup result = call_fixture_func(fixturefunc, request, kwargs) /usr/local/lib/python2.7/dist-packages/_pytest/fixtures.py:707: in call_fixture_func res = next(it) tests/gui/steps/rest/env_up/users.py:32: in users_creation admin_credentials) <decorator-gen-4>:2: in _create_admin_in_zone ??? tests/gui/utils/generic.py:110: in wrapper return fun(*args, **kwargs) tests/gui/steps/rest/env_up/users.py:56: in _create_admin_in_zone auth=(username, password)).json() tests/gui/steps/rest/utils.py:37: in http_get verify, cert, auth, default_headers=default_headers) tests/gui/steps/rest/utils.py:73: in http_request cert=cert, auth=auth, data=data) /usr/local/lib/python2.7/dist-packages/requests/api.py:72: in get return request('get', url, params=params, **kwargs) /usr/local/lib/python2.7/dist-packages/requests/api.py:58: in request return session.request(method=method, url=url, **kwargs) /usr/local/lib/python2.7/dist-packages/requests/sessions.py:508: in request resp = self.send(prep, **send_kwargs) /usr/local/lib/python2.7/dist-packages/requests/sessions.py:618: in send r = adapter.send(request, **kwargs) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <requests.adapters.HTTPAdapter object at 0x7f6b315c15d0> request = <PreparedRequest [GET]>, stream = False timeout = <urllib3.util.timeout.Timeout object at 0x7f6b315c1890> verify = False, cert = None, proxies = OrderedDict() def send(self, request, stream=False, timeout=None, verify=True, cert=None, proxies=None): """Sends PreparedRequest object. Returns Response object. :param request: The :class:`PreparedRequest <PreparedRequest>` being sent. :param stream: (optional) Whether to stream the request content. :param timeout: (optional) How long to wait for the server to send data before giving up, as a float, or a :ref:`(connect timeout, read timeout) <timeouts>` tuple. :type timeout: float or tuple or urllib3 Timeout object :param verify: (optional) Either a boolean, in which case it controls whether we verify the server's TLS certificate, or a string, in which case it must be a path to a CA bundle to use :param cert: (optional) Any user-provided SSL certificate to be trusted. :param proxies: (optional) The proxies dictionary to apply to the request. :rtype: requests.Response """ conn = self.get_connection(request.url, proxies) self.cert_verify(conn, request.url, verify, cert) url = self.request_url(request, proxies) self.add_headers(request) chunked = not (request.body is None or 'Content-Length' in request.headers) if isinstance(timeout, tuple): try: connect, read = timeout timeout = TimeoutSauce(connect=connect, read=read) except ValueError as e: # this may raise a string formatting error. err = ("Invalid timeout {0}. Pass a (connect, read) " "timeout tuple, or a single float to set " "both timeouts to the same value".format(timeout)) raise ValueError(err) elif isinstance(timeout, TimeoutSauce): pass else: timeout = TimeoutSauce(connect=timeout, read=timeout) try: if not chunked: resp = conn.urlopen( method=request.method, url=url, body=request.body, headers=request.headers, redirect=False, assert_same_host=False, preload_content=False, decode_content=False, retries=self.max_retries, timeout=timeout ) # Send the request. else: if hasattr(conn, 'proxy_pool'): conn = conn.proxy_pool low_conn = conn._get_conn(timeout=DEFAULT_POOL_TIMEOUT) try: low_conn.putrequest(request.method, url, skip_accept_encoding=True) for header, value in request.headers.items(): low_conn.putheader(header, value) low_conn.endheaders() for i in request.body: low_conn.send(hex(len(i))[2:].encode('utf-8')) low_conn.send(b'\r\n') low_conn.send(i) low_conn.send(b'\r\n') low_conn.send(b'0\r\n\r\n') # Receive the response from the server try: # For Python 2.7+ versions, use buffering of HTTP # responses r = low_conn.getresponse(buffering=True) except TypeError: # For compatibility with Python 2.6 versions and back r = low_conn.getresponse() resp = HTTPResponse.from_httplib( r, pool=conn, connection=low_conn, preload_content=False, decode_content=False ) except: # If we hit any problems here, clean up the connection. # Then, reraise so that we can handle the actual exception. low_conn.close() raise except (ProtocolError, socket.error) as err: raise ConnectionError(err, request=request) except MaxRetryError as e: if isinstance(e.reason, ConnectTimeoutError): # TODO: Remove this in 3.0.0: see #2811 if not isinstance(e.reason, NewConnectionError): raise ConnectTimeout(e, request=request) if isinstance(e.reason, ResponseError): raise RetryError(e, request=request) if isinstance(e.reason, _ProxyError): raise ProxyError(e, request=request) if isinstance(e.reason, _SSLError): # This branch is for urllib3 v1.22 and later. raise SSLError(e, request=request) > raise ConnectionError(e, request=request) E ConnectionError: HTTPSConnectionPool(host='dev-onezone.default.svc.cluster.local', port=443): Max retries exceeded with url: /api/v3/onezone/user (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f6b315c1950>: Failed to establish a new connection: [Errno 111] Connection refused',)) /usr/local/lib/python2.7/dist-packages/requests/adapters.py:508: ConnectionError