Build: #641 failed

Job: Default Job failed

Stages & jobs

  1. Default Stage

Build log

The build generated 1,872 lines of output.The output is too long and has been truncated to the last lines. Download or view full build log

24-Jul-2017 00:01:53                     # Then, reraise so that we can handle the actual exception.
24-Jul-2017 00:01:53                     low_conn.close()
24-Jul-2017 00:01:53                     raise
24-Jul-2017 00:01:53    
24-Jul-2017 00:01:53         except (ProtocolError, socket.error) as err:
24-Jul-2017 00:01:53             raise ConnectionError(err, request=request)
24-Jul-2017 00:01:53    
24-Jul-2017 00:01:53         except MaxRetryError as e:
24-Jul-2017 00:01:53             if isinstance(e.reason, ConnectTimeoutError):
24-Jul-2017 00:01:53                 # TODO: Remove this in 3.0.0: see #2811
24-Jul-2017 00:01:53                 if not isinstance(e.reason, NewConnectionError):
24-Jul-2017 00:01:53                     raise ConnectTimeout(e, request=request)
24-Jul-2017 00:01:53    
24-Jul-2017 00:01:53             if isinstance(e.reason, ResponseError):
24-Jul-2017 00:01:53                 raise RetryError(e, request=request)
24-Jul-2017 00:01:53    
24-Jul-2017 00:01:53             if isinstance(e.reason, _ProxyError):
24-Jul-2017 00:01:53                 raise ProxyError(e, request=request)
24-Jul-2017 00:01:53    
24-Jul-2017 00:01:53 >           raise ConnectionError(e, request=request)
24-Jul-2017 00:01:53 E           ConnectionError: HTTPConnectionPool(host='localhost', port=8002): Max retries exceeded with url: /dataset/bulk (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7fb8ac7ed990>: Failed to establish a new connection: [Errno 111] Connection refused',))
24-Jul-2017 00:01:53
24-Jul-2017 00:01:53 /home/bamboo/.local/lib/python2.7/site-packages/requests/adapters.py:504: ConnectionError
24-Jul-2017 00:01:53 _____ ERROR at setup of PropertyGroupTests.test_2_add_property_group_twice _____
24-Jul-2017 00:01:53
24-Jul-2017 00:01:53 self = <class 'tests.property_group_tests.PropertyGroupTests'>
24-Jul-2017 00:01:53
24-Jul-2017 00:01:53     @classmethod
24-Jul-2017 00:01:53     def setUpClass(self):
24-Jul-2017 00:01:53         super(PropertyGroupTests, self).setUpClass()
24-Jul-2017 00:01:53 >       post_request(self.service_url + self.__ADD_DATASETS, TEST_DATASETS)
24-Jul-2017 00:01:53
24-Jul-2017 00:01:53 property_group_tests.py:20:
24-Jul-2017 00:01:53 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
24-Jul-2017 00:01:53 util.py:8: in post_request
24-Jul-2017 00:01:53     r = requests.post(url, json=payload, headers=headers)
24-Jul-2017 00:01:53 /home/bamboo/.local/lib/python2.7/site-packages/requests/api.py:112: in post
24-Jul-2017 00:01:53     return request('post', url, data=data, json=json, **kwargs)
24-Jul-2017 00:01:53 /home/bamboo/.local/lib/python2.7/site-packages/requests/api.py:58: in request
24-Jul-2017 00:01:53     return session.request(method=method, url=url, **kwargs)
24-Jul-2017 00:01:53 /home/bamboo/.local/lib/python2.7/site-packages/requests/sessions.py:502: in request
24-Jul-2017 00:01:53     resp = self.send(prep, **send_kwargs)
24-Jul-2017 00:01:53 /home/bamboo/.local/lib/python2.7/site-packages/requests/sessions.py:612: in send
24-Jul-2017 00:01:53     r = adapter.send(request, **kwargs)
24-Jul-2017 00:01:53 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
24-Jul-2017 00:01:53
24-Jul-2017 00:01:53 self = <requests.adapters.HTTPAdapter object at 0x7fb8ac7ed210>
24-Jul-2017 00:01:53 request = <PreparedRequest [POST]>, stream = False
24-Jul-2017 00:01:53 timeout = <urllib3.util.timeout.Timeout object at 0x7fb8ac7ed8d0>, verify = True
24-Jul-2017 00:01:53 cert = None, proxies = OrderedDict()
24-Jul-2017 00:01:53
24-Jul-2017 00:01:53     def send(self, request, stream=False, timeout=None, verify=True, cert=None, proxies=None):
24-Jul-2017 00:01:53         """Sends PreparedRequest object. Returns Response object.
24-Jul-2017 00:01:53    
24-Jul-2017 00:01:53             :param request: The :class:`PreparedRequest <PreparedRequest>` being sent.
24-Jul-2017 00:01:53             :param stream: (optional) Whether to stream the request content.
24-Jul-2017 00:01:53             :param timeout: (optional) How long to wait for the server to send
24-Jul-2017 00:01:53                 data before giving up, as a float, or a :ref:`(connect timeout,
24-Jul-2017 00:01:53                 read timeout) <timeouts>` tuple.
24-Jul-2017 00:01:53             :type timeout: float or tuple or urllib3 Timeout object
24-Jul-2017 00:01:53             :param verify: (optional) Either a boolean, in which case it controls whether
24-Jul-2017 00:01:53                 we verify the server's TLS certificate, or a string, in which case it
24-Jul-2017 00:01:53                 must be a path to a CA bundle to use
24-Jul-2017 00:01:53             :param cert: (optional) Any user-provided SSL certificate to be trusted.
24-Jul-2017 00:01:53             :param proxies: (optional) The proxies dictionary to apply to the request.
24-Jul-2017 00:01:53             :rtype: requests.Response
24-Jul-2017 00:01:53             """
24-Jul-2017 00:01:53    
24-Jul-2017 00:01:53         conn = self.get_connection(request.url, proxies)
24-Jul-2017 00:01:53    
24-Jul-2017 00:01:53         self.cert_verify(conn, request.url, verify, cert)
24-Jul-2017 00:01:53         url = self.request_url(request, proxies)
24-Jul-2017 00:01:53         self.add_headers(request)
24-Jul-2017 00:01:53    
24-Jul-2017 00:01:53         chunked = not (request.body is None or 'Content-Length' in request.headers)
24-Jul-2017 00:01:53    
24-Jul-2017 00:01:53         if isinstance(timeout, tuple):
24-Jul-2017 00:01:53             try:
24-Jul-2017 00:01:53                 connect, read = timeout
24-Jul-2017 00:01:53                 timeout = TimeoutSauce(connect=connect, read=read)
24-Jul-2017 00:01:53             except ValueError as e:
24-Jul-2017 00:01:53                 # this may raise a string formatting error.
24-Jul-2017 00:01:53                 err = ("Invalid timeout {0}. Pass a (connect, read) "
24-Jul-2017 00:01:53                        "timeout tuple, or a single float to set "
24-Jul-2017 00:01:53                        "both timeouts to the same value".format(timeout))
24-Jul-2017 00:01:53                 raise ValueError(err)
24-Jul-2017 00:01:53         elif isinstance(timeout, TimeoutSauce):
24-Jul-2017 00:01:53             pass
24-Jul-2017 00:01:53         else:
24-Jul-2017 00:01:53             timeout = TimeoutSauce(connect=timeout, read=timeout)
24-Jul-2017 00:01:53    
24-Jul-2017 00:01:53         try:
24-Jul-2017 00:01:53             if not chunked:
24-Jul-2017 00:01:53                 resp = conn.urlopen(
24-Jul-2017 00:01:53                     method=request.method,
24-Jul-2017 00:01:53                     url=url,
24-Jul-2017 00:01:53                     body=request.body,
24-Jul-2017 00:01:53                     headers=request.headers,
24-Jul-2017 00:01:53                     redirect=False,
24-Jul-2017 00:01:53                     assert_same_host=False,
24-Jul-2017 00:01:53                     preload_content=False,
24-Jul-2017 00:01:53                     decode_content=False,
24-Jul-2017 00:01:53                     retries=self.max_retries,
24-Jul-2017 00:01:53                     timeout=timeout
24-Jul-2017 00:01:53                 )
24-Jul-2017 00:01:53    
24-Jul-2017 00:01:53             # Send the request.
24-Jul-2017 00:01:53             else:
24-Jul-2017 00:01:53                 if hasattr(conn, 'proxy_pool'):
24-Jul-2017 00:01:53                     conn = conn.proxy_pool
24-Jul-2017 00:01:53    
24-Jul-2017 00:01:53                 low_conn = conn._get_conn(timeout=DEFAULT_POOL_TIMEOUT)
24-Jul-2017 00:01:53    
24-Jul-2017 00:01:53                 try:
24-Jul-2017 00:01:53                     low_conn.putrequest(request.method,
24-Jul-2017 00:01:53                                         url,
24-Jul-2017 00:01:53                                         skip_accept_encoding=True)
24-Jul-2017 00:01:53    
24-Jul-2017 00:01:53                     for header, value in request.headers.items():
24-Jul-2017 00:01:53                         low_conn.putheader(header, value)
24-Jul-2017 00:01:53    
24-Jul-2017 00:01:53                     low_conn.endheaders()
24-Jul-2017 00:01:53    
24-Jul-2017 00:01:53                     for i in request.body:
24-Jul-2017 00:01:53                         low_conn.send(hex(len(i))[2:].encode('utf-8'))
24-Jul-2017 00:01:53                         low_conn.send(b'\r\n')
24-Jul-2017 00:01:53                         low_conn.send(i)
24-Jul-2017 00:01:53                         low_conn.send(b'\r\n')
24-Jul-2017 00:01:53                     low_conn.send(b'0\r\n\r\n')
24-Jul-2017 00:01:53    
24-Jul-2017 00:01:53                     # Receive the response from the server
24-Jul-2017 00:01:53                     try:
24-Jul-2017 00:01:53                         # For Python 2.7+ versions, use buffering of HTTP
24-Jul-2017 00:01:53                         # responses
24-Jul-2017 00:01:53                         r = low_conn.getresponse(buffering=True)
24-Jul-2017 00:01:53                     except TypeError:
24-Jul-2017 00:01:53                         # For compatibility with Python 2.6 versions and back
24-Jul-2017 00:01:53                         r = low_conn.getresponse()
24-Jul-2017 00:01:53    
24-Jul-2017 00:01:53                     resp = HTTPResponse.from_httplib(
24-Jul-2017 00:01:53                         r,
24-Jul-2017 00:01:53                         pool=conn,
24-Jul-2017 00:01:53                         connection=low_conn,
24-Jul-2017 00:01:53                         preload_content=False,
24-Jul-2017 00:01:53                         decode_content=False
24-Jul-2017 00:01:53                     )
24-Jul-2017 00:01:53                 except:
24-Jul-2017 00:01:53                     # If we hit any problems here, clean up the connection.
24-Jul-2017 00:01:53                     # Then, reraise so that we can handle the actual exception.
24-Jul-2017 00:01:53                     low_conn.close()
24-Jul-2017 00:01:53                     raise
24-Jul-2017 00:01:53    
24-Jul-2017 00:01:53         except (ProtocolError, socket.error) as err:
24-Jul-2017 00:01:53             raise ConnectionError(err, request=request)
24-Jul-2017 00:01:53    
24-Jul-2017 00:01:53         except MaxRetryError as e:
24-Jul-2017 00:01:53             if isinstance(e.reason, ConnectTimeoutError):
24-Jul-2017 00:01:53                 # TODO: Remove this in 3.0.0: see #2811
24-Jul-2017 00:01:53                 if not isinstance(e.reason, NewConnectionError):
24-Jul-2017 00:01:53                     raise ConnectTimeout(e, request=request)
24-Jul-2017 00:01:53    
24-Jul-2017 00:01:53             if isinstance(e.reason, ResponseError):
24-Jul-2017 00:01:53                 raise RetryError(e, request=request)
24-Jul-2017 00:01:53    
24-Jul-2017 00:01:53             if isinstance(e.reason, _ProxyError):
24-Jul-2017 00:01:53                 raise ProxyError(e, request=request)
24-Jul-2017 00:01:53    
24-Jul-2017 00:01:53 >           raise ConnectionError(e, request=request)
24-Jul-2017 00:01:53 E           ConnectionError: HTTPConnectionPool(host='localhost', port=8002): Max retries exceeded with url: /dataset/bulk (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7fb8ac7ed990>: Failed to establish a new connection: [Errno 111] Connection refused',))
24-Jul-2017 00:01:53
24-Jul-2017 00:01:53 /home/bamboo/.local/lib/python2.7/site-packages/requests/adapters.py:504: ConnectionError
24-Jul-2017 00:01:53 _______ ERROR at setup of PropertyGroupTests.test_3_get_property_groups ________
24-Jul-2017 00:01:53
24-Jul-2017 00:01:53 self = <class 'tests.property_group_tests.PropertyGroupTests'>
24-Jul-2017 00:01:53
24-Jul-2017 00:01:53     @classmethod
24-Jul-2017 00:01:53     def setUpClass(self):
24-Jul-2017 00:01:53         super(PropertyGroupTests, self).setUpClass()
24-Jul-2017 00:01:53 >       post_request(self.service_url + self.__ADD_DATASETS, TEST_DATASETS)
24-Jul-2017 00:01:53
24-Jul-2017 00:01:53 property_group_tests.py:20:
24-Jul-2017 00:01:53 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
24-Jul-2017 00:01:53 util.py:8: in post_request
24-Jul-2017 00:01:53     r = requests.post(url, json=payload, headers=headers)
24-Jul-2017 00:01:53 /home/bamboo/.local/lib/python2.7/site-packages/requests/api.py:112: in post
24-Jul-2017 00:01:53     return request('post', url, data=data, json=json, **kwargs)
24-Jul-2017 00:01:53 /home/bamboo/.local/lib/python2.7/site-packages/requests/api.py:58: in request
24-Jul-2017 00:01:53     return session.request(method=method, url=url, **kwargs)
24-Jul-2017 00:01:53 /home/bamboo/.local/lib/python2.7/site-packages/requests/sessions.py:502: in request
24-Jul-2017 00:01:53     resp = self.send(prep, **send_kwargs)
24-Jul-2017 00:01:53 /home/bamboo/.local/lib/python2.7/site-packages/requests/sessions.py:612: in send
24-Jul-2017 00:01:53     r = adapter.send(request, **kwargs)
24-Jul-2017 00:01:53 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
24-Jul-2017 00:01:53
24-Jul-2017 00:01:53 self = <requests.adapters.HTTPAdapter object at 0x7fb8ac7ed210>
24-Jul-2017 00:01:53 request = <PreparedRequest [POST]>, stream = False
24-Jul-2017 00:01:53 timeout = <urllib3.util.timeout.Timeout object at 0x7fb8ac7ed8d0>, verify = True
24-Jul-2017 00:01:53 cert = None, proxies = OrderedDict()
24-Jul-2017 00:01:53
24-Jul-2017 00:01:53     def send(self, request, stream=False, timeout=None, verify=True, cert=None, proxies=None):
24-Jul-2017 00:01:53         """Sends PreparedRequest object. Returns Response object.
24-Jul-2017 00:01:53    
24-Jul-2017 00:01:53             :param request: The :class:`PreparedRequest <PreparedRequest>` being sent.
24-Jul-2017 00:01:53             :param stream: (optional) Whether to stream the request content.
24-Jul-2017 00:01:53             :param timeout: (optional) How long to wait for the server to send
24-Jul-2017 00:01:53                 data before giving up, as a float, or a :ref:`(connect timeout,
24-Jul-2017 00:01:53                 read timeout) <timeouts>` tuple.
24-Jul-2017 00:01:53             :type timeout: float or tuple or urllib3 Timeout object
24-Jul-2017 00:01:53             :param verify: (optional) Either a boolean, in which case it controls whether
24-Jul-2017 00:01:53                 we verify the server's TLS certificate, or a string, in which case it
24-Jul-2017 00:01:53                 must be a path to a CA bundle to use
24-Jul-2017 00:01:53             :param cert: (optional) Any user-provided SSL certificate to be trusted.
24-Jul-2017 00:01:53             :param proxies: (optional) The proxies dictionary to apply to the request.
24-Jul-2017 00:01:53             :rtype: requests.Response
24-Jul-2017 00:01:53             """
24-Jul-2017 00:01:53    
24-Jul-2017 00:01:53         conn = self.get_connection(request.url, proxies)
24-Jul-2017 00:01:53    
24-Jul-2017 00:01:53         self.cert_verify(conn, request.url, verify, cert)
24-Jul-2017 00:01:53         url = self.request_url(request, proxies)
24-Jul-2017 00:01:53         self.add_headers(request)
24-Jul-2017 00:01:53    
24-Jul-2017 00:01:53         chunked = not (request.body is None or 'Content-Length' in request.headers)
24-Jul-2017 00:01:53    
24-Jul-2017 00:01:53         if isinstance(timeout, tuple):
24-Jul-2017 00:01:53             try:
24-Jul-2017 00:01:53                 connect, read = timeout
24-Jul-2017 00:01:53                 timeout = TimeoutSauce(connect=connect, read=read)
24-Jul-2017 00:01:53             except ValueError as e:
24-Jul-2017 00:01:53                 # this may raise a string formatting error.
24-Jul-2017 00:01:53                 err = ("Invalid timeout {0}. Pass a (connect, read) "
24-Jul-2017 00:01:53                        "timeout tuple, or a single float to set "
24-Jul-2017 00:01:53                        "both timeouts to the same value".format(timeout))
24-Jul-2017 00:01:53                 raise ValueError(err)
24-Jul-2017 00:01:53         elif isinstance(timeout, TimeoutSauce):
24-Jul-2017 00:01:53             pass
24-Jul-2017 00:01:53         else:
24-Jul-2017 00:01:53             timeout = TimeoutSauce(connect=timeout, read=timeout)
24-Jul-2017 00:01:53    
24-Jul-2017 00:01:53         try:
24-Jul-2017 00:01:53             if not chunked:
24-Jul-2017 00:01:53                 resp = conn.urlopen(
24-Jul-2017 00:01:53                     method=request.method,
24-Jul-2017 00:01:53                     url=url,
24-Jul-2017 00:01:53                     body=request.body,
24-Jul-2017 00:01:53                     headers=request.headers,
24-Jul-2017 00:01:53                     redirect=False,
24-Jul-2017 00:01:53                     assert_same_host=False,
24-Jul-2017 00:01:53                     preload_content=False,
24-Jul-2017 00:01:53                     decode_content=False,
24-Jul-2017 00:01:54                     retries=self.max_retries,
24-Jul-2017 00:01:54                     timeout=timeout
24-Jul-2017 00:01:54                 )
24-Jul-2017 00:01:54    
24-Jul-2017 00:01:54             # Send the request.
24-Jul-2017 00:01:54             else:
24-Jul-2017 00:01:54                 if hasattr(conn, 'proxy_pool'):
24-Jul-2017 00:01:54                     conn = conn.proxy_pool
24-Jul-2017 00:01:54    
24-Jul-2017 00:01:54                 low_conn = conn._get_conn(timeout=DEFAULT_POOL_TIMEOUT)
24-Jul-2017 00:01:54    
24-Jul-2017 00:01:54                 try:
24-Jul-2017 00:01:54                     low_conn.putrequest(request.method,
24-Jul-2017 00:01:54                                         url,
24-Jul-2017 00:01:54                                         skip_accept_encoding=True)
24-Jul-2017 00:01:54    
24-Jul-2017 00:01:54                     for header, value in request.headers.items():
24-Jul-2017 00:01:54                         low_conn.putheader(header, value)
24-Jul-2017 00:01:54    
24-Jul-2017 00:01:54                     low_conn.endheaders()
24-Jul-2017 00:01:54    
24-Jul-2017 00:01:54                     for i in request.body:
24-Jul-2017 00:01:54                         low_conn.send(hex(len(i))[2:].encode('utf-8'))
24-Jul-2017 00:01:54                         low_conn.send(b'\r\n')
24-Jul-2017 00:01:54                         low_conn.send(i)
24-Jul-2017 00:01:54                         low_conn.send(b'\r\n')
24-Jul-2017 00:01:54                     low_conn.send(b'0\r\n\r\n')
24-Jul-2017 00:01:54    
24-Jul-2017 00:01:54                     # Receive the response from the server
24-Jul-2017 00:01:54                     try:
24-Jul-2017 00:01:54                         # For Python 2.7+ versions, use buffering of HTTP
24-Jul-2017 00:01:54                         # responses
24-Jul-2017 00:01:54                         r = low_conn.getresponse(buffering=True)
24-Jul-2017 00:01:54                     except TypeError:
24-Jul-2017 00:01:54                         # For compatibility with Python 2.6 versions and back
24-Jul-2017 00:01:54                         r = low_conn.getresponse()
24-Jul-2017 00:01:54    
24-Jul-2017 00:01:54                     resp = HTTPResponse.from_httplib(
24-Jul-2017 00:01:54                         r,
24-Jul-2017 00:01:54                         pool=conn,
24-Jul-2017 00:01:54                         connection=low_conn,
24-Jul-2017 00:01:54                         preload_content=False,
24-Jul-2017 00:01:54                         decode_content=False
24-Jul-2017 00:01:54                     )
24-Jul-2017 00:01:54                 except:
24-Jul-2017 00:01:54                     # If we hit any problems here, clean up the connection.
24-Jul-2017 00:01:54                     # Then, reraise so that we can handle the actual exception.
24-Jul-2017 00:01:54                     low_conn.close()
24-Jul-2017 00:01:54                     raise
24-Jul-2017 00:01:54    
24-Jul-2017 00:01:54         except (ProtocolError, socket.error) as err:
24-Jul-2017 00:01:54             raise ConnectionError(err, request=request)
24-Jul-2017 00:01:54    
24-Jul-2017 00:01:54         except MaxRetryError as e:
24-Jul-2017 00:01:54             if isinstance(e.reason, ConnectTimeoutError):
24-Jul-2017 00:01:54                 # TODO: Remove this in 3.0.0: see #2811
24-Jul-2017 00:01:54                 if not isinstance(e.reason, NewConnectionError):
24-Jul-2017 00:01:54                     raise ConnectTimeout(e, request=request)
24-Jul-2017 00:01:54    
24-Jul-2017 00:01:54             if isinstance(e.reason, ResponseError):
24-Jul-2017 00:01:54                 raise RetryError(e, request=request)
24-Jul-2017 00:01:54    
24-Jul-2017 00:01:54             if isinstance(e.reason, _ProxyError):
24-Jul-2017 00:01:54                 raise ProxyError(e, request=request)
24-Jul-2017 00:01:54    
24-Jul-2017 00:01:54 >           raise ConnectionError(e, request=request)
24-Jul-2017 00:01:54 E           ConnectionError: HTTPConnectionPool(host='localhost', port=8002): Max retries exceeded with url: /dataset/bulk (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7fb8ac7ed990>: Failed to establish a new connection: [Errno 111] Connection refused',))
24-Jul-2017 00:01:54
24-Jul-2017 00:01:54 /home/bamboo/.local/lib/python2.7/site-packages/requests/adapters.py:504: ConnectionError
24-Jul-2017 00:01:54 ______ ERROR at setup of PropertyGroupTests.test_4_delete_property_groups ______
24-Jul-2017 00:01:54
24-Jul-2017 00:01:54 self = <class 'tests.property_group_tests.PropertyGroupTests'>
24-Jul-2017 00:01:54
24-Jul-2017 00:01:54     @classmethod
24-Jul-2017 00:01:54     def setUpClass(self):
24-Jul-2017 00:01:54         super(PropertyGroupTests, self).setUpClass()
24-Jul-2017 00:01:54 >       post_request(self.service_url + self.__ADD_DATASETS, TEST_DATASETS)
24-Jul-2017 00:01:54
24-Jul-2017 00:01:54 property_group_tests.py:20:
24-Jul-2017 00:01:54 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
24-Jul-2017 00:01:54 util.py:8: in post_request
24-Jul-2017 00:01:54     r = requests.post(url, json=payload, headers=headers)
24-Jul-2017 00:01:54 /home/bamboo/.local/lib/python2.7/site-packages/requests/api.py:112: in post
24-Jul-2017 00:01:54     return request('post', url, data=data, json=json, **kwargs)
24-Jul-2017 00:01:54 /home/bamboo/.local/lib/python2.7/site-packages/requests/api.py:58: in request
24-Jul-2017 00:01:54     return session.request(method=method, url=url, **kwargs)
24-Jul-2017 00:01:54 /home/bamboo/.local/lib/python2.7/site-packages/requests/sessions.py:502: in request
24-Jul-2017 00:01:54     resp = self.send(prep, **send_kwargs)
24-Jul-2017 00:01:54 /home/bamboo/.local/lib/python2.7/site-packages/requests/sessions.py:612: in send
24-Jul-2017 00:01:54     r = adapter.send(request, **kwargs)
24-Jul-2017 00:01:54 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
24-Jul-2017 00:01:54
24-Jul-2017 00:01:54 self = <requests.adapters.HTTPAdapter object at 0x7fb8ac7ed210>
24-Jul-2017 00:01:54 request = <PreparedRequest [POST]>, stream = False
24-Jul-2017 00:01:54 timeout = <urllib3.util.timeout.Timeout object at 0x7fb8ac7ed8d0>, verify = True
24-Jul-2017 00:01:54 cert = None, proxies = OrderedDict()
24-Jul-2017 00:01:54
24-Jul-2017 00:01:54     def send(self, request, stream=False, timeout=None, verify=True, cert=None, proxies=None):
24-Jul-2017 00:01:54         """Sends PreparedRequest object. Returns Response object.
24-Jul-2017 00:01:54    
24-Jul-2017 00:01:54             :param request: The :class:`PreparedRequest <PreparedRequest>` being sent.
24-Jul-2017 00:01:54             :param stream: (optional) Whether to stream the request content.
24-Jul-2017 00:01:54             :param timeout: (optional) How long to wait for the server to send
24-Jul-2017 00:01:54                 data before giving up, as a float, or a :ref:`(connect timeout,
24-Jul-2017 00:01:54                 read timeout) <timeouts>` tuple.
24-Jul-2017 00:01:54             :type timeout: float or tuple or urllib3 Timeout object
24-Jul-2017 00:01:54             :param verify: (optional) Either a boolean, in which case it controls whether
24-Jul-2017 00:01:54                 we verify the server's TLS certificate, or a string, in which case it
24-Jul-2017 00:01:54                 must be a path to a CA bundle to use
24-Jul-2017 00:01:54             :param cert: (optional) Any user-provided SSL certificate to be trusted.
24-Jul-2017 00:01:54             :param proxies: (optional) The proxies dictionary to apply to the request.
24-Jul-2017 00:01:54             :rtype: requests.Response
24-Jul-2017 00:01:54             """
24-Jul-2017 00:01:54    
24-Jul-2017 00:01:54         conn = self.get_connection(request.url, proxies)
24-Jul-2017 00:01:54    
24-Jul-2017 00:01:54         self.cert_verify(conn, request.url, verify, cert)
24-Jul-2017 00:01:54         url = self.request_url(request, proxies)
24-Jul-2017 00:01:54         self.add_headers(request)
24-Jul-2017 00:01:54    
24-Jul-2017 00:01:54         chunked = not (request.body is None or 'Content-Length' in request.headers)
24-Jul-2017 00:01:54    
24-Jul-2017 00:01:54         if isinstance(timeout, tuple):
24-Jul-2017 00:01:54             try:
24-Jul-2017 00:01:54                 connect, read = timeout
24-Jul-2017 00:01:54                 timeout = TimeoutSauce(connect=connect, read=read)
24-Jul-2017 00:01:54             except ValueError as e:
24-Jul-2017 00:01:54                 # this may raise a string formatting error.
24-Jul-2017 00:01:54                 err = ("Invalid timeout {0}. Pass a (connect, read) "
24-Jul-2017 00:01:54                        "timeout tuple, or a single float to set "
24-Jul-2017 00:01:54                        "both timeouts to the same value".format(timeout))
24-Jul-2017 00:01:54                 raise ValueError(err)
24-Jul-2017 00:01:54         elif isinstance(timeout, TimeoutSauce):
24-Jul-2017 00:01:54             pass
24-Jul-2017 00:01:54         else:
24-Jul-2017 00:01:54             timeout = TimeoutSauce(connect=timeout, read=timeout)
24-Jul-2017 00:01:54    
24-Jul-2017 00:01:54         try:
24-Jul-2017 00:01:54             if not chunked:
24-Jul-2017 00:01:54                 resp = conn.urlopen(
24-Jul-2017 00:01:54                     method=request.method,
24-Jul-2017 00:01:54                     url=url,
24-Jul-2017 00:01:54                     body=request.body,
24-Jul-2017 00:01:54                     headers=request.headers,
24-Jul-2017 00:01:54                     redirect=False,
24-Jul-2017 00:01:54                     assert_same_host=False,
24-Jul-2017 00:01:54                     preload_content=False,
24-Jul-2017 00:01:54                     decode_content=False,
24-Jul-2017 00:01:54                     retries=self.max_retries,
24-Jul-2017 00:01:54                     timeout=timeout
24-Jul-2017 00:01:54                 )
24-Jul-2017 00:01:54    
24-Jul-2017 00:01:54             # Send the request.
24-Jul-2017 00:01:54             else:
24-Jul-2017 00:01:54                 if hasattr(conn, 'proxy_pool'):
24-Jul-2017 00:01:54                     conn = conn.proxy_pool
24-Jul-2017 00:01:54    
24-Jul-2017 00:01:54                 low_conn = conn._get_conn(timeout=DEFAULT_POOL_TIMEOUT)
24-Jul-2017 00:01:54    
24-Jul-2017 00:01:54                 try:
24-Jul-2017 00:01:54                     low_conn.putrequest(request.method,
24-Jul-2017 00:01:54                                         url,
24-Jul-2017 00:01:54                                         skip_accept_encoding=True)
24-Jul-2017 00:01:54    
24-Jul-2017 00:01:54                     for header, value in request.headers.items():
24-Jul-2017 00:01:54                         low_conn.putheader(header, value)
24-Jul-2017 00:01:54    
24-Jul-2017 00:01:54                     low_conn.endheaders()
24-Jul-2017 00:01:54    
24-Jul-2017 00:01:54                     for i in request.body:
24-Jul-2017 00:01:54                         low_conn.send(hex(len(i))[2:].encode('utf-8'))
24-Jul-2017 00:01:54                         low_conn.send(b'\r\n')
24-Jul-2017 00:01:54                         low_conn.send(i)
24-Jul-2017 00:01:54                         low_conn.send(b'\r\n')
24-Jul-2017 00:01:54                     low_conn.send(b'0\r\n\r\n')
24-Jul-2017 00:01:54    
24-Jul-2017 00:01:54                     # Receive the response from the server
24-Jul-2017 00:01:54                     try:
24-Jul-2017 00:01:54                         # For Python 2.7+ versions, use buffering of HTTP
24-Jul-2017 00:01:54                         # responses
24-Jul-2017 00:01:54                         r = low_conn.getresponse(buffering=True)
24-Jul-2017 00:01:54                     except TypeError:
24-Jul-2017 00:01:54                         # For compatibility with Python 2.6 versions and back
24-Jul-2017 00:01:54                         r = low_conn.getresponse()
24-Jul-2017 00:01:54    
24-Jul-2017 00:01:54                     resp = HTTPResponse.from_httplib(
24-Jul-2017 00:01:54                         r,
24-Jul-2017 00:01:54                         pool=conn,
24-Jul-2017 00:01:54                         connection=low_conn,
24-Jul-2017 00:01:54                         preload_content=False,
24-Jul-2017 00:01:54                         decode_content=False
24-Jul-2017 00:01:54                     )
24-Jul-2017 00:01:54                 except:
24-Jul-2017 00:01:54                     # If we hit any problems here, clean up the connection.
24-Jul-2017 00:01:54                     # Then, reraise so that we can handle the actual exception.
24-Jul-2017 00:01:54                     low_conn.close()
24-Jul-2017 00:01:54                     raise
24-Jul-2017 00:01:54    
24-Jul-2017 00:01:54         except (ProtocolError, socket.error) as err:
24-Jul-2017 00:01:54             raise ConnectionError(err, request=request)
24-Jul-2017 00:01:54    
24-Jul-2017 00:01:54         except MaxRetryError as e:
24-Jul-2017 00:01:54             if isinstance(e.reason, ConnectTimeoutError):
24-Jul-2017 00:01:54                 # TODO: Remove this in 3.0.0: see #2811
24-Jul-2017 00:01:54                 if not isinstance(e.reason, NewConnectionError):
24-Jul-2017 00:01:54                     raise ConnectTimeout(e, request=request)
24-Jul-2017 00:01:54    
24-Jul-2017 00:01:54             if isinstance(e.reason, ResponseError):
24-Jul-2017 00:01:54                 raise RetryError(e, request=request)
24-Jul-2017 00:01:54    
24-Jul-2017 00:01:54             if isinstance(e.reason, _ProxyError):
24-Jul-2017 00:01:54                 raise ProxyError(e, request=request)
24-Jul-2017 00:01:54    
24-Jul-2017 00:01:54 >           raise ConnectionError(e, request=request)
24-Jul-2017 00:01:54 E           ConnectionError: HTTPConnectionPool(host='localhost', port=8002): Max retries exceeded with url: /dataset/bulk (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7fb8ac7ed990>: Failed to establish a new connection: [Errno 111] Connection refused',))
24-Jul-2017 00:01:54
24-Jul-2017 00:01:54 /home/bamboo/.local/lib/python2.7/site-packages/requests/adapters.py:504: ConnectionError
24-Jul-2017 00:01:54 generated xml file: /var/atlassian/application-data/bamboo/xml-data/build-dir/INFRA-PROP-JOB1/results_property_group_tests.xml
24-Jul-2017 00:01:54 =========================== 4 error in 0.28 seconds ============================
24-Jul-2017 00:01:54 ============================= test session starts ==============================
24-Jul-2017 00:01:54 platform linux2 -- Python 2.7.9, pytest-2.8.2, py-1.4.30, pluggy-0.3.1
24-Jul-2017 00:01:54 rootdir: /var/atlassian/application-data/bamboo/xml-data/build-dir/INFRA-PROP-JOB1/tests, inifile:
24-Jul-2017 00:01:54 plugins: pep8-1.0.6
24-Jul-2017 00:01:54 collected 0 items
24-Jul-2017 00:01:54
24-Jul-2017 00:01:54 generated xml file: /var/atlassian/application-data/bamboo/xml-data/build-dir/INFRA-PROP-JOB1/results_property_tests.xml
24-Jul-2017 00:01:54 ===============================  in 0.08 seconds ===============================
24-Jul-2017 00:01:54 ============================= test session starts ==============================
24-Jul-2017 00:01:54 platform linux2 -- Python 2.7.9, pytest-2.8.2, py-1.4.30, pluggy-0.3.1
24-Jul-2017 00:01:54 rootdir: /var/atlassian/application-data/bamboo/xml-data/build-dir/INFRA-PROP-JOB1/tests, inifile:
24-Jul-2017 00:01:54 plugins: pep8-1.0.6
24-Jul-2017 00:01:54 collected 0 items
24-Jul-2017 00:01:54
24-Jul-2017 00:01:54 generated xml file: /var/atlassian/application-data/bamboo/xml-data/build-dir/INFRA-PROP-JOB1/results_property_type_tests.xml
24-Jul-2017 00:01:54 ===============================  in 0.08 seconds ===============================
24-Jul-2017 00:01:54 ============================= test session starts ==============================
24-Jul-2017 00:01:54 platform linux2 -- Python 2.7.9, pytest-2.8.2, py-1.4.30, pluggy-0.3.1
24-Jul-2017 00:01:54 rootdir: /var/atlassian/application-data/bamboo/xml-data/build-dir/INFRA-PROP-JOB1/tests, inifile:
24-Jul-2017 00:01:54 plugins: pep8-1.0.6
24-Jul-2017 00:01:55 collected 3 items
24-Jul-2017 00:01:55
24-Jul-2017 00:01:55 link_tests.py EEE
24-Jul-2017 00:01:55
24-Jul-2017 00:01:55 ==================================== ERRORS ====================================
24-Jul-2017 00:01:55 _________________ ERROR at setup of LinkTests.test_1_add_links _________________
24-Jul-2017 00:01:55
24-Jul-2017 00:01:55 self = <class 'tests.link_tests.LinkTests'>
24-Jul-2017 00:01:55
24-Jul-2017 00:01:55     @classmethod
24-Jul-2017 00:01:55     def setUpClass(self):
24-Jul-2017 00:01:55         super(LinkTests, self).setUpClass()
24-Jul-2017 00:01:55 >       post_request(self.service_url + self.__ADD_DATASETS, TEST_DATASETS)
24-Jul-2017 00:01:55
24-Jul-2017 00:01:55 link_tests.py:24:
24-Jul-2017 00:01:55 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
24-Jul-2017 00:01:55 util.py:8: in post_request
24-Jul-2017 00:01:55     r = requests.post(url, json=payload, headers=headers)
24-Jul-2017 00:01:55 /home/bamboo/.local/lib/python2.7/site-packages/requests/api.py:112: in post
24-Jul-2017 00:01:55     return request('post', url, data=data, json=json, **kwargs)
24-Jul-2017 00:01:55 /home/bamboo/.local/lib/python2.7/site-packages/requests/api.py:58: in request
24-Jul-2017 00:01:55     return session.request(method=method, url=url, **kwargs)
24-Jul-2017 00:01:55 /home/bamboo/.local/lib/python2.7/site-packages/requests/sessions.py:502: in request
24-Jul-2017 00:01:55     resp = self.send(prep, **send_kwargs)
24-Jul-2017 00:01:55 /home/bamboo/.local/lib/python2.7/site-packages/requests/sessions.py:612: in send
24-Jul-2017 00:01:55     r = adapter.send(request, **kwargs)
24-Jul-2017 00:01:55 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
24-Jul-2017 00:01:55
24-Jul-2017 00:01:55 self = <requests.adapters.HTTPAdapter object at 0x7f772a5d61d0>
24-Jul-2017 00:01:55 request = <PreparedRequest [POST]>, stream = False
24-Jul-2017 00:01:55 timeout = <urllib3.util.timeout.Timeout object at 0x7f772a5d6950>, verify = True
24-Jul-2017 00:01:55 cert = None, proxies = OrderedDict()
24-Jul-2017 00:01:55
24-Jul-2017 00:01:55     def send(self, request, stream=False, timeout=None, verify=True, cert=None, proxies=None):
24-Jul-2017 00:01:55         """Sends PreparedRequest object. Returns Response object.
24-Jul-2017 00:01:55    
24-Jul-2017 00:01:55             :param request: The :class:`PreparedRequest <PreparedRequest>` being sent.
24-Jul-2017 00:01:55             :param stream: (optional) Whether to stream the request content.
24-Jul-2017 00:01:55             :param timeout: (optional) How long to wait for the server to send
24-Jul-2017 00:01:55                 data before giving up, as a float, or a :ref:`(connect timeout,
24-Jul-2017 00:01:55                 read timeout) <timeouts>` tuple.
24-Jul-2017 00:01:55             :type timeout: float or tuple or urllib3 Timeout object
24-Jul-2017 00:01:55             :param verify: (optional) Either a boolean, in which case it controls whether
24-Jul-2017 00:01:55                 we verify the server's TLS certificate, or a string, in which case it
24-Jul-2017 00:01:55                 must be a path to a CA bundle to use
24-Jul-2017 00:01:55             :param cert: (optional) Any user-provided SSL certificate to be trusted.
24-Jul-2017 00:01:55             :param proxies: (optional) The proxies dictionary to apply to the request.
24-Jul-2017 00:01:55             :rtype: requests.Response
24-Jul-2017 00:01:55             """
24-Jul-2017 00:01:55    
24-Jul-2017 00:01:55         conn = self.get_connection(request.url, proxies)
24-Jul-2017 00:01:55    
24-Jul-2017 00:01:55         self.cert_verify(conn, request.url, verify, cert)
24-Jul-2017 00:01:55         url = self.request_url(request, proxies)
24-Jul-2017 00:01:55         self.add_headers(request)
24-Jul-2017 00:01:55    
24-Jul-2017 00:01:55         chunked = not (request.body is None or 'Content-Length' in request.headers)
24-Jul-2017 00:01:55    
24-Jul-2017 00:01:55         if isinstance(timeout, tuple):
24-Jul-2017 00:01:55             try:
24-Jul-2017 00:01:55                 connect, read = timeout
24-Jul-2017 00:01:55                 timeout = TimeoutSauce(connect=connect, read=read)
24-Jul-2017 00:01:55             except ValueError as e:
24-Jul-2017 00:01:55                 # this may raise a string formatting error.
24-Jul-2017 00:01:55                 err = ("Invalid timeout {0}. Pass a (connect, read) "
24-Jul-2017 00:01:55                        "timeout tuple, or a single float to set "
24-Jul-2017 00:01:55                        "both timeouts to the same value".format(timeout))
24-Jul-2017 00:01:55                 raise ValueError(err)
24-Jul-2017 00:01:55         elif isinstance(timeout, TimeoutSauce):
24-Jul-2017 00:01:55             pass
24-Jul-2017 00:01:55         else:
24-Jul-2017 00:01:55             timeout = TimeoutSauce(connect=timeout, read=timeout)
24-Jul-2017 00:01:55    
24-Jul-2017 00:01:55         try:
24-Jul-2017 00:01:55             if not chunked:
24-Jul-2017 00:01:55                 resp = conn.urlopen(
24-Jul-2017 00:01:55                     method=request.method,
24-Jul-2017 00:01:55                     url=url,
24-Jul-2017 00:01:55                     body=request.body,
24-Jul-2017 00:01:55                     headers=request.headers,
24-Jul-2017 00:01:55                     redirect=False,
24-Jul-2017 00:01:55                     assert_same_host=False,
24-Jul-2017 00:01:55                     preload_content=False,
24-Jul-2017 00:01:55                     decode_content=False,
24-Jul-2017 00:01:55                     retries=self.max_retries,
24-Jul-2017 00:01:55                     timeout=timeout
24-Jul-2017 00:01:55                 )
24-Jul-2017 00:01:55    
24-Jul-2017 00:01:55             # Send the request.
24-Jul-2017 00:01:55             else:
24-Jul-2017 00:01:55                 if hasattr(conn, 'proxy_pool'):
24-Jul-2017 00:01:55                     conn = conn.proxy_pool
24-Jul-2017 00:01:55    
24-Jul-2017 00:01:55                 low_conn = conn._get_conn(timeout=DEFAULT_POOL_TIMEOUT)
24-Jul-2017 00:01:55    
24-Jul-2017 00:01:55                 try:
24-Jul-2017 00:01:55                     low_conn.putrequest(request.method,
24-Jul-2017 00:01:55                                         url,
24-Jul-2017 00:01:55                                         skip_accept_encoding=True)
24-Jul-2017 00:01:55    
24-Jul-2017 00:01:55                     for header, value in request.headers.items():
24-Jul-2017 00:01:55                         low_conn.putheader(header, value)
24-Jul-2017 00:01:55    
24-Jul-2017 00:01:55                     low_conn.endheaders()
24-Jul-2017 00:01:55    
24-Jul-2017 00:01:55                     for i in request.body:
24-Jul-2017 00:01:55                         low_conn.send(hex(len(i))[2:].encode('utf-8'))
24-Jul-2017 00:01:55                         low_conn.send(b'\r\n')
24-Jul-2017 00:01:55                         low_conn.send(i)
24-Jul-2017 00:01:55                         low_conn.send(b'\r\n')
24-Jul-2017 00:01:55                     low_conn.send(b'0\r\n\r\n')
24-Jul-2017 00:01:55    
24-Jul-2017 00:01:55                     # Receive the response from the server
24-Jul-2017 00:01:55                     try:
24-Jul-2017 00:01:55                         # For Python 2.7+ versions, use buffering of HTTP
24-Jul-2017 00:01:55                         # responses
24-Jul-2017 00:01:55                         r = low_conn.getresponse(buffering=True)
24-Jul-2017 00:01:55                     except TypeError:
24-Jul-2017 00:01:55                         # For compatibility with Python 2.6 versions and back
24-Jul-2017 00:01:55                         r = low_conn.getresponse()
24-Jul-2017 00:01:55    
24-Jul-2017 00:01:55                     resp = HTTPResponse.from_httplib(
24-Jul-2017 00:01:55                         r,
24-Jul-2017 00:01:55                         pool=conn,
24-Jul-2017 00:01:55                         connection=low_conn,
24-Jul-2017 00:01:55                         preload_content=False,
24-Jul-2017 00:01:55                         decode_content=False
24-Jul-2017 00:01:55                     )
24-Jul-2017 00:01:55                 except:
24-Jul-2017 00:01:55                     # If we hit any problems here, clean up the connection.
24-Jul-2017 00:01:55                     # Then, reraise so that we can handle the actual exception.
24-Jul-2017 00:01:55                     low_conn.close()
24-Jul-2017 00:01:55                     raise
24-Jul-2017 00:01:55    
24-Jul-2017 00:01:55         except (ProtocolError, socket.error) as err:
24-Jul-2017 00:01:55             raise ConnectionError(err, request=request)
24-Jul-2017 00:01:55    
24-Jul-2017 00:01:55         except MaxRetryError as e:
24-Jul-2017 00:01:55             if isinstance(e.reason, ConnectTimeoutError):
24-Jul-2017 00:01:55                 # TODO: Remove this in 3.0.0: see #2811
24-Jul-2017 00:01:55                 if not isinstance(e.reason, NewConnectionError):
24-Jul-2017 00:01:55                     raise ConnectTimeout(e, request=request)
24-Jul-2017 00:01:55    
24-Jul-2017 00:01:55             if isinstance(e.reason, ResponseError):
24-Jul-2017 00:01:55                 raise RetryError(e, request=request)
24-Jul-2017 00:01:55    
24-Jul-2017 00:01:55             if isinstance(e.reason, _ProxyError):
24-Jul-2017 00:01:55                 raise ProxyError(e, request=request)
24-Jul-2017 00:01:55    
24-Jul-2017 00:01:55 >           raise ConnectionError(e, request=request)
24-Jul-2017 00:01:55 E           ConnectionError: HTTPConnectionPool(host='localhost', port=8002): Max retries exceeded with url: /dataset/bulk (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f772a5d6a10>: Failed to establish a new connection: [Errno 111] Connection refused',))
24-Jul-2017 00:01:55
24-Jul-2017 00:01:55 /home/bamboo/.local/lib/python2.7/site-packages/requests/adapters.py:504: ConnectionError
24-Jul-2017 00:01:55 _______________ ERROR at setup of LinkTests.test_2_get_link_list _______________
24-Jul-2017 00:01:55
24-Jul-2017 00:01:55 self = <class 'tests.link_tests.LinkTests'>
24-Jul-2017 00:01:55
24-Jul-2017 00:01:55     @classmethod
24-Jul-2017 00:01:55     def setUpClass(self):
24-Jul-2017 00:01:55         super(LinkTests, self).setUpClass()
24-Jul-2017 00:01:55 >       post_request(self.service_url + self.__ADD_DATASETS, TEST_DATASETS)
24-Jul-2017 00:01:55
24-Jul-2017 00:01:55 link_tests.py:24:
24-Jul-2017 00:01:55 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
24-Jul-2017 00:01:55 util.py:8: in post_request
24-Jul-2017 00:01:55     r = requests.post(url, json=payload, headers=headers)
24-Jul-2017 00:01:55 /home/bamboo/.local/lib/python2.7/site-packages/requests/api.py:112: in post
24-Jul-2017 00:01:55     return request('post', url, data=data, json=json, **kwargs)
24-Jul-2017 00:01:55 /home/bamboo/.local/lib/python2.7/site-packages/requests/api.py:58: in request
24-Jul-2017 00:01:55     return session.request(method=method, url=url, **kwargs)
24-Jul-2017 00:01:55 /home/bamboo/.local/lib/python2.7/site-packages/requests/sessions.py:502: in request
24-Jul-2017 00:01:55     resp = self.send(prep, **send_kwargs)
24-Jul-2017 00:01:55 /home/bamboo/.local/lib/python2.7/site-packages/requests/sessions.py:612: in send
24-Jul-2017 00:01:55     r = adapter.send(request, **kwargs)
24-Jul-2017 00:01:55 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
24-Jul-2017 00:01:55
24-Jul-2017 00:01:55 self = <requests.adapters.HTTPAdapter object at 0x7f772a5d61d0>
24-Jul-2017 00:01:55 request = <PreparedRequest [POST]>, stream = False
24-Jul-2017 00:01:55 timeout = <urllib3.util.timeout.Timeout object at 0x7f772a5d6950>, verify = True
24-Jul-2017 00:01:55 cert = None, proxies = OrderedDict()
24-Jul-2017 00:01:55
24-Jul-2017 00:01:55     def send(self, request, stream=False, timeout=None, verify=True, cert=None, proxies=None):
24-Jul-2017 00:01:55         """Sends PreparedRequest object. Returns Response object.
24-Jul-2017 00:01:55    
24-Jul-2017 00:01:55             :param request: The :class:`PreparedRequest <PreparedRequest>` being sent.
24-Jul-2017 00:01:55             :param stream: (optional) Whether to stream the request content.
24-Jul-2017 00:01:55             :param timeout: (optional) How long to wait for the server to send
24-Jul-2017 00:01:55                 data before giving up, as a float, or a :ref:`(connect timeout,
24-Jul-2017 00:01:55                 read timeout) <timeouts>` tuple.
24-Jul-2017 00:01:55             :type timeout: float or tuple or urllib3 Timeout object
24-Jul-2017 00:01:55             :param verify: (optional) Either a boolean, in which case it controls whether
24-Jul-2017 00:01:55                 we verify the server's TLS certificate, or a string, in which case it
24-Jul-2017 00:01:55                 must be a path to a CA bundle to use
24-Jul-2017 00:01:55             :param cert: (optional) Any user-provided SSL certificate to be trusted.
24-Jul-2017 00:01:55             :param proxies: (optional) The proxies dictionary to apply to the request.
24-Jul-2017 00:01:55             :rtype: requests.Response
24-Jul-2017 00:01:55             """
24-Jul-2017 00:01:55    
24-Jul-2017 00:01:55         conn = self.get_connection(request.url, proxies)
24-Jul-2017 00:01:55    
24-Jul-2017 00:01:55         self.cert_verify(conn, request.url, verify, cert)
24-Jul-2017 00:01:55         url = self.request_url(request, proxies)
24-Jul-2017 00:01:55         self.add_headers(request)
24-Jul-2017 00:01:55    
24-Jul-2017 00:01:55         chunked = not (request.body is None or 'Content-Length' in request.headers)
24-Jul-2017 00:01:55    
24-Jul-2017 00:01:55         if isinstance(timeout, tuple):
24-Jul-2017 00:01:55             try:
24-Jul-2017 00:01:55                 connect, read = timeout
24-Jul-2017 00:01:55                 timeout = TimeoutSauce(connect=connect, read=read)
24-Jul-2017 00:01:55             except ValueError as e:
24-Jul-2017 00:01:55                 # this may raise a string formatting error.
24-Jul-2017 00:01:55                 err = ("Invalid timeout {0}. Pass a (connect, read) "
24-Jul-2017 00:01:55                        "timeout tuple, or a single float to set "
24-Jul-2017 00:01:55                        "both timeouts to the same value".format(timeout))
24-Jul-2017 00:01:55                 raise ValueError(err)
24-Jul-2017 00:01:55         elif isinstance(timeout, TimeoutSauce):
24-Jul-2017 00:01:55             pass
24-Jul-2017 00:01:55         else:
24-Jul-2017 00:01:55             timeout = TimeoutSauce(connect=timeout, read=timeout)
24-Jul-2017 00:01:55    
24-Jul-2017 00:01:55         try:
24-Jul-2017 00:01:55             if not chunked:
24-Jul-2017 00:01:55                 resp = conn.urlopen(
24-Jul-2017 00:01:55                     method=request.method,
24-Jul-2017 00:01:55                     url=url,
24-Jul-2017 00:01:55                     body=request.body,
24-Jul-2017 00:01:55                     headers=request.headers,
24-Jul-2017 00:01:55                     redirect=False,
24-Jul-2017 00:01:55                     assert_same_host=False,
24-Jul-2017 00:01:55                     preload_content=False,
24-Jul-2017 00:01:55                     decode_content=False,
24-Jul-2017 00:01:55                     retries=self.max_retries,
24-Jul-2017 00:01:55                     timeout=timeout
24-Jul-2017 00:01:55                 )
24-Jul-2017 00:01:55    
24-Jul-2017 00:01:55             # Send the request.
24-Jul-2017 00:01:55             else:
24-Jul-2017 00:01:55                 if hasattr(conn, 'proxy_pool'):
24-Jul-2017 00:01:55                     conn = conn.proxy_pool
24-Jul-2017 00:01:55    
24-Jul-2017 00:01:55                 low_conn = conn._get_conn(timeout=DEFAULT_POOL_TIMEOUT)
24-Jul-2017 00:01:55    
24-Jul-2017 00:01:55                 try:
24-Jul-2017 00:01:55                     low_conn.putrequest(request.method,
24-Jul-2017 00:01:55                                         url,
24-Jul-2017 00:01:55                                         skip_accept_encoding=True)
24-Jul-2017 00:01:55    
24-Jul-2017 00:01:55                     for header, value in request.headers.items():
24-Jul-2017 00:01:55                         low_conn.putheader(header, value)
24-Jul-2017 00:01:55    
24-Jul-2017 00:01:55                     low_conn.endheaders()
24-Jul-2017 00:01:55    
24-Jul-2017 00:01:55                     for i in request.body:
24-Jul-2017 00:01:55                         low_conn.send(hex(len(i))[2:].encode('utf-8'))
24-Jul-2017 00:01:55                         low_conn.send(b'\r\n')
24-Jul-2017 00:01:55                         low_conn.send(i)
24-Jul-2017 00:01:55                         low_conn.send(b'\r\n')
24-Jul-2017 00:01:55                     low_conn.send(b'0\r\n\r\n')
24-Jul-2017 00:01:55    
24-Jul-2017 00:01:55                     # Receive the response from the server
24-Jul-2017 00:01:55                     try:
24-Jul-2017 00:01:55                         # For Python 2.7+ versions, use buffering of HTTP
24-Jul-2017 00:01:55                         # responses
24-Jul-2017 00:01:55                         r = low_conn.getresponse(buffering=True)
24-Jul-2017 00:01:55                     except TypeError:
24-Jul-2017 00:01:55                         # For compatibility with Python 2.6 versions and back
24-Jul-2017 00:01:55                         r = low_conn.getresponse()
24-Jul-2017 00:01:55    
24-Jul-2017 00:01:55                     resp = HTTPResponse.from_httplib(
24-Jul-2017 00:01:55                         r,
24-Jul-2017 00:01:55                         pool=conn,
24-Jul-2017 00:01:55                         connection=low_conn,
24-Jul-2017 00:01:55                         preload_content=False,
24-Jul-2017 00:01:55                         decode_content=False
24-Jul-2017 00:01:55                     )
24-Jul-2017 00:01:55                 except:
24-Jul-2017 00:01:55                     # If we hit any problems here, clean up the connection.
24-Jul-2017 00:01:55                     # Then, reraise so that we can handle the actual exception.
24-Jul-2017 00:01:55                     low_conn.close()
24-Jul-2017 00:01:55                     raise
24-Jul-2017 00:01:55    
24-Jul-2017 00:01:55         except (ProtocolError, socket.error) as err:
24-Jul-2017 00:01:55             raise ConnectionError(err, request=request)
24-Jul-2017 00:01:55    
24-Jul-2017 00:01:55         except MaxRetryError as e:
24-Jul-2017 00:01:55             if isinstance(e.reason, ConnectTimeoutError):
24-Jul-2017 00:01:55                 # TODO: Remove this in 3.0.0: see #2811
24-Jul-2017 00:01:55                 if not isinstance(e.reason, NewConnectionError):
24-Jul-2017 00:01:55                     raise ConnectTimeout(e, request=request)
24-Jul-2017 00:01:55    
24-Jul-2017 00:01:55             if isinstance(e.reason, ResponseError):
24-Jul-2017 00:01:55                 raise RetryError(e, request=request)
24-Jul-2017 00:01:55    
24-Jul-2017 00:01:55             if isinstance(e.reason, _ProxyError):
24-Jul-2017 00:01:55                 raise ProxyError(e, request=request)
24-Jul-2017 00:01:55    
24-Jul-2017 00:01:55 >           raise ConnectionError(e, request=request)
24-Jul-2017 00:01:55 E           ConnectionError: HTTPConnectionPool(host='localhost', port=8002): Max retries exceeded with url: /dataset/bulk (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f772a5d6a10>: Failed to establish a new connection: [Errno 111] Connection refused',))
24-Jul-2017 00:01:55
24-Jul-2017 00:01:55 /home/bamboo/.local/lib/python2.7/site-packages/requests/adapters.py:504: ConnectionError
24-Jul-2017 00:01:55 ______________ ERROR at setup of LinkTests.test_3_get_link_graph _______________
24-Jul-2017 00:01:55
24-Jul-2017 00:01:55 self = <class 'tests.link_tests.LinkTests'>
24-Jul-2017 00:01:55
24-Jul-2017 00:01:55     @classmethod
24-Jul-2017 00:01:55     def setUpClass(self):
24-Jul-2017 00:01:55         super(LinkTests, self).setUpClass()
24-Jul-2017 00:01:55 >       post_request(self.service_url + self.__ADD_DATASETS, TEST_DATASETS)
24-Jul-2017 00:01:55
24-Jul-2017 00:01:55 link_tests.py:24:
24-Jul-2017 00:01:55 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
24-Jul-2017 00:01:55 util.py:8: in post_request
24-Jul-2017 00:01:55     r = requests.post(url, json=payload, headers=headers)
24-Jul-2017 00:01:55 /home/bamboo/.local/lib/python2.7/site-packages/requests/api.py:112: in post
24-Jul-2017 00:01:55     return request('post', url, data=data, json=json, **kwargs)
24-Jul-2017 00:01:55 /home/bamboo/.local/lib/python2.7/site-packages/requests/api.py:58: in request
24-Jul-2017 00:01:55     return session.request(method=method, url=url, **kwargs)
24-Jul-2017 00:01:55 /home/bamboo/.local/lib/python2.7/site-packages/requests/sessions.py:502: in request
24-Jul-2017 00:01:55     resp = self.send(prep, **send_kwargs)
24-Jul-2017 00:01:55 /home/bamboo/.local/lib/python2.7/site-packages/requests/sessions.py:612: in send
24-Jul-2017 00:01:55     r = adapter.send(request, **kwargs)
24-Jul-2017 00:01:55 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
24-Jul-2017 00:01:55
24-Jul-2017 00:01:55 self = <requests.adapters.HTTPAdapter object at 0x7f772a5d61d0>
24-Jul-2017 00:01:55 request = <PreparedRequest [POST]>, stream = False
24-Jul-2017 00:01:55 timeout = <urllib3.util.timeout.Timeout object at 0x7f772a5d6950>, verify = True
24-Jul-2017 00:01:55 cert = None, proxies = OrderedDict()
24-Jul-2017 00:01:55
24-Jul-2017 00:01:55     def send(self, request, stream=False, timeout=None, verify=True, cert=None, proxies=None):
24-Jul-2017 00:01:55         """Sends PreparedRequest object. Returns Response object.
24-Jul-2017 00:01:55    
24-Jul-2017 00:01:55             :param request: The :class:`PreparedRequest <PreparedRequest>` being sent.
24-Jul-2017 00:01:55             :param stream: (optional) Whether to stream the request content.
24-Jul-2017 00:01:55             :param timeout: (optional) How long to wait for the server to send
24-Jul-2017 00:01:55                 data before giving up, as a float, or a :ref:`(connect timeout,
24-Jul-2017 00:01:55                 read timeout) <timeouts>` tuple.
24-Jul-2017 00:01:55             :type timeout: float or tuple or urllib3 Timeout object
24-Jul-2017 00:01:55             :param verify: (optional) Either a boolean, in which case it controls whether
24-Jul-2017 00:01:55                 we verify the server's TLS certificate, or a string, in which case it
24-Jul-2017 00:01:55                 must be a path to a CA bundle to use
24-Jul-2017 00:01:55             :param cert: (optional) Any user-provided SSL certificate to be trusted.
24-Jul-2017 00:01:55             :param proxies: (optional) The proxies dictionary to apply to the request.
24-Jul-2017 00:01:55             :rtype: requests.Response
24-Jul-2017 00:01:55             """
24-Jul-2017 00:01:55    
24-Jul-2017 00:01:55         conn = self.get_connection(request.url, proxies)
24-Jul-2017 00:01:55    
24-Jul-2017 00:01:55         self.cert_verify(conn, request.url, verify, cert)
24-Jul-2017 00:01:55         url = self.request_url(request, proxies)
24-Jul-2017 00:01:55         self.add_headers(request)
24-Jul-2017 00:01:55    
24-Jul-2017 00:01:55         chunked = not (request.body is None or 'Content-Length' in request.headers)
24-Jul-2017 00:01:55    
24-Jul-2017 00:01:55         if isinstance(timeout, tuple):
24-Jul-2017 00:01:55             try:
24-Jul-2017 00:01:55                 connect, read = timeout
24-Jul-2017 00:01:55                 timeout = TimeoutSauce(connect=connect, read=read)
24-Jul-2017 00:01:55             except ValueError as e:
24-Jul-2017 00:01:55                 # this may raise a string formatting error.
24-Jul-2017 00:01:55                 err = ("Invalid timeout {0}. Pass a (connect, read) "
24-Jul-2017 00:01:55                        "timeout tuple, or a single float to set "
24-Jul-2017 00:01:55                        "both timeouts to the same value".format(timeout))
24-Jul-2017 00:01:55                 raise ValueError(err)
24-Jul-2017 00:01:55         elif isinstance(timeout, TimeoutSauce):
24-Jul-2017 00:01:55             pass
24-Jul-2017 00:01:55         else:
24-Jul-2017 00:01:55             timeout = TimeoutSauce(connect=timeout, read=timeout)
24-Jul-2017 00:01:55    
24-Jul-2017 00:01:55         try:
24-Jul-2017 00:01:55             if not chunked:
24-Jul-2017 00:01:55                 resp = conn.urlopen(
24-Jul-2017 00:01:55                     method=request.method,
24-Jul-2017 00:01:55                     url=url,
24-Jul-2017 00:01:55                     body=request.body,
24-Jul-2017 00:01:55                     headers=request.headers,
24-Jul-2017 00:01:55                     redirect=False,
24-Jul-2017 00:01:55                     assert_same_host=False,
24-Jul-2017 00:01:55                     preload_content=False,
24-Jul-2017 00:01:55                     decode_content=False,
24-Jul-2017 00:01:55                     retries=self.max_retries,
24-Jul-2017 00:01:55                     timeout=timeout
24-Jul-2017 00:01:55                 )
24-Jul-2017 00:01:55    
24-Jul-2017 00:01:55             # Send the request.
24-Jul-2017 00:01:55             else:
24-Jul-2017 00:01:55                 if hasattr(conn, 'proxy_pool'):
24-Jul-2017 00:01:55                     conn = conn.proxy_pool
24-Jul-2017 00:01:55    
24-Jul-2017 00:01:55                 low_conn = conn._get_conn(timeout=DEFAULT_POOL_TIMEOUT)
24-Jul-2017 00:01:55    
24-Jul-2017 00:01:55                 try:
24-Jul-2017 00:01:55                     low_conn.putrequest(request.method,
24-Jul-2017 00:01:55                                         url,
24-Jul-2017 00:01:55                                         skip_accept_encoding=True)
24-Jul-2017 00:01:55    
24-Jul-2017 00:01:55                     for header, value in request.headers.items():
24-Jul-2017 00:01:55                         low_conn.putheader(header, value)
24-Jul-2017 00:01:55    
24-Jul-2017 00:01:55                     low_conn.endheaders()
24-Jul-2017 00:01:55    
24-Jul-2017 00:01:55                     for i in request.body:
24-Jul-2017 00:01:55                         low_conn.send(hex(len(i))[2:].encode('utf-8'))
24-Jul-2017 00:01:55                         low_conn.send(b'\r\n')
24-Jul-2017 00:01:55                         low_conn.send(i)
24-Jul-2017 00:01:55                         low_conn.send(b'\r\n')
24-Jul-2017 00:01:55                     low_conn.send(b'0\r\n\r\n')
24-Jul-2017 00:01:55    
24-Jul-2017 00:01:55                     # Receive the response from the server
24-Jul-2017 00:01:55                     try:
24-Jul-2017 00:01:55                         # For Python 2.7+ versions, use buffering of HTTP
24-Jul-2017 00:01:55                         # responses
24-Jul-2017 00:01:55                         r = low_conn.getresponse(buffering=True)
24-Jul-2017 00:01:55                     except TypeError:
24-Jul-2017 00:01:55                         # For compatibility with Python 2.6 versions and back
24-Jul-2017 00:01:55                         r = low_conn.getresponse()
24-Jul-2017 00:01:55    
24-Jul-2017 00:01:55                     resp = HTTPResponse.from_httplib(
24-Jul-2017 00:01:55                         r,
24-Jul-2017 00:01:55                         pool=conn,
24-Jul-2017 00:01:55                         connection=low_conn,
24-Jul-2017 00:01:55                         preload_content=False,
24-Jul-2017 00:01:55                         decode_content=False
24-Jul-2017 00:01:55                     )
24-Jul-2017 00:01:55                 except:
24-Jul-2017 00:01:55                     # If we hit any problems here, clean up the connection.
24-Jul-2017 00:01:55                     # Then, reraise so that we can handle the actual exception.
24-Jul-2017 00:01:55                     low_conn.close()
24-Jul-2017 00:01:55                     raise
24-Jul-2017 00:01:55    
24-Jul-2017 00:01:55         except (ProtocolError, socket.error) as err:
24-Jul-2017 00:01:55             raise ConnectionError(err, request=request)
24-Jul-2017 00:01:55    
24-Jul-2017 00:01:55         except MaxRetryError as e:
24-Jul-2017 00:01:55             if isinstance(e.reason, ConnectTimeoutError):
24-Jul-2017 00:01:55                 # TODO: Remove this in 3.0.0: see #2811
24-Jul-2017 00:01:55                 if not isinstance(e.reason, NewConnectionError):
24-Jul-2017 00:01:55                     raise ConnectTimeout(e, request=request)
24-Jul-2017 00:01:55    
24-Jul-2017 00:01:55             if isinstance(e.reason, ResponseError):
24-Jul-2017 00:01:55                 raise RetryError(e, request=request)
24-Jul-2017 00:01:55    
24-Jul-2017 00:01:55             if isinstance(e.reason, _ProxyError):
24-Jul-2017 00:01:55                 raise ProxyError(e, request=request)
24-Jul-2017 00:01:55    
24-Jul-2017 00:01:55 >           raise ConnectionError(e, request=request)
24-Jul-2017 00:01:55 E           ConnectionError: HTTPConnectionPool(host='localhost', port=8002): Max retries exceeded with url: /dataset/bulk (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f772a5d6a10>: Failed to establish a new connection: [Errno 111] Connection refused',))
24-Jul-2017 00:01:55
24-Jul-2017 00:01:55 /home/bamboo/.local/lib/python2.7/site-packages/requests/adapters.py:504: ConnectionError
24-Jul-2017 00:01:55 generated xml file: /var/atlassian/application-data/bamboo/xml-data/build-dir/INFRA-PROP-JOB1/results_link_tests.xml
24-Jul-2017 00:01:55 =========================== 3 error in 0.49 seconds ============================
24-Jul-2017 00:01:55 Finished task 'Run tests' with result: Success
24-Jul-2017 00:01:55 Starting task 'Pep8 tests' of type 'com.atlassian.bamboo.plugins.scripttask:task.builder.command'
24-Jul-2017 00:01:55
Beginning to execute external process for build 'FLARECAST - propertyservice - Default Job #641 (INFRA-PROP-JOB1-641)'
... running command line:
/usr/local/bin/py.test --pep8 -m pep8 --junitxml pep8_results.xml
... in: /var/atlassian/application-data/bamboo/xml-data/build-dir/INFRA-PROP-JOB1
... using extra environment variables:
bamboo_planRepository_1_branch=master
bamboo_repository_18776066_branch_name=master
bamboo_repository_18776066_git_username=
bamboo_repository_revision_number=2243c535cba8ec933b7c32bb1bb2953253546757
bamboo_resultsUrl=https://dev.flarecast.eu/bamboo/browse/INFRA-PROP-JOB1-641
bamboo_planRepository_1_name=propertyservice
bamboo_build_working_directory=/var/atlassian/application-data/bamboo/xml-data/build-dir/INFRA-PROP-JOB1
bamboo_buildKey=INFRA-PROP-JOB1
bamboo_capability_system_builder_command_Docker_Compose=/usr/local/bin/docker-compose
bamboo_repository_18776066_name=propertyservice
bamboo_shortPlanName=propertyservice
bamboo_planRepository_name=propertyservice
bamboo_buildNumber=641
bamboo_shortJobName=Default Job
bamboo_capability_system_builder_command_Virtual_Frambuffer_run=/usr/bin/xvfb-run
bamboo_buildResultsUrl=https://dev.flarecast.eu/bamboo/browse/INFRA-PROP-JOB1-641
bamboo_planRepository_repositoryUrl=ssh://git@localhost:7999/infra/propertyservice.git
bamboo_agentId=131073
bamboo_planName=FLARECAST - propertyservice
bamboo_build_commandline_com_atlassian_bamboo_plugins_scripttask_task_builder_script_7=/bin/sh /opt/atlassian/bamboo/temp/INFRA-PROP-JOB1-641-ScriptBuildTask-2142346670916860894.sh
bamboo_shortPlanKey=PROP
bamboo_repository_18776066_git_branch=master
bamboo_shortJobKey=JOB1
bamboo_capability_system_jdk_JDK_1_7_0_65=/usr/lib/jvm/java-7-openjdk-amd64
bamboo_planRepository_revision=2243c535cba8ec933b7c32bb1bb2953253546757
bamboo_repository_previous_revision_number=671177684813bbfba4f60f20244089cca1d93fe5
bamboo_buildTimeStamp=2017-07-24T00:00:31.036+02:00
bamboo_planRepository_previousRevision=671177684813bbfba4f60f20244089cca1d93fe5
bamboo_build_commandline_com_atlassian_bamboo_plugins_scripttask_task_builder_script_2=/bin/sh ./build.sh
bamboo_capability_system_builder_command_pytest=/usr/local/bin/py.test
bamboo_buildResultKey=INFRA-PROP-JOB1-641
bamboo_capability_system_builder_command_Docker=/usr/bin/docker
bamboo_repository_git_branch=master
bamboo_repository_branch_name=master
bamboo_buildPlanName=FLARECAST - propertyservice - Default Job
bamboo_planRepository_1_revision=2243c535cba8ec933b7c32bb1bb2953253546757
bamboo_repository_18776066_revision_number=2243c535cba8ec933b7c32bb1bb2953253546757
bamboo_repository_name=propertyservice
bamboo_planRepository_branch=master
bamboo_agentWorkingDirectory=/var/atlassian/application-data/bamboo/xml-data/build-dir
bamboo_capability_system_git_executable=/usr/bin/git
bamboo_planRepository_1_previousRevision=671177684813bbfba4f60f20244089cca1d93fe5
bamboo_repository_git_username=
bamboo_planRepository_1_type=stash-rep
bamboo_planRepository_branchName=master
bamboo_capability_system_jdk_JDK=/usr/lib/jvm/java-7-openjdk-amd64
bamboo_planRepository_type=stash-rep
bamboo_planRepository_1_username=
bamboo_repository_git_repositoryUrl=ssh://git@localhost:7999/infra/propertyservice.git
bamboo_repository_18776066_previous_revision_number=671177684813bbfba4f60f20244089cca1d93fe5
bamboo_working_directory=/var/atlassian/application-data/bamboo/xml-data/build-dir/INFRA-PROP-JOB1
bamboo_planKey=INFRA-PROP
bamboo_planRepository_1_repositoryUrl=ssh://git@localhost:7999/infra/propertyservice.git
bamboo_planRepository_username=
bamboo_repository_18776066_git_repositoryUrl=ssh://git@localhost:7999/infra/propertyservice.git
bamboo_capability_system_jdk_JDK_1_7=/usr/lib/jvm/java-7-openjdk-amd64
bamboo_planRepository_1_branchName=master
24-Jul-2017 00:01:56 ============================= test session starts ==============================
24-Jul-2017 00:01:56 platform linux2 -- Python 2.7.9, pytest-2.8.2, py-1.4.30, pluggy-0.3.1
24-Jul-2017 00:01:56 rootdir: /var/atlassian/application-data/bamboo/xml-data/build-dir/INFRA-PROP-JOB1, inifile:
24-Jul-2017 00:01:56 plugins: pep8-1.0.6
24-Jul-2017 00:01:56 collected 24 items
24-Jul-2017 00:01:56
24-Jul-2017 00:01:56 main.py .
24-Jul-2017 00:01:56 propertyservice/__init__.py .
24-Jul-2017 00:01:56 propertyservice/config.py .
24-Jul-2017 00:01:56 propertyservice/sirql_util.py .
24-Jul-2017 00:01:56 propertyservice/util.py .
24-Jul-2017 00:01:56 propertyservice/data/__init__.py .
24-Jul-2017 00:01:56 propertyservice/data/property_dao.py .
24-Jul-2017 00:01:56 propertyservice/routes/__init__.py .
24-Jul-2017 00:01:56 propertyservice/routes/analysis.py .
24-Jul-2017 00:01:56 propertyservice/routes/dataset.py .
24-Jul-2017 00:01:56 propertyservice/routes/link.py .
24-Jul-2017 00:01:56 propertyservice/routes/property_group.py .
24-Jul-2017 00:01:56 propertyservice/routes/property_types.py .
24-Jul-2017 00:01:56 propertyservice/routes/summary.py .
24-Jul-2017 00:01:56 tests/__init__.py .
24-Jul-2017 00:01:56 tests/base_test_case.py .
24-Jul-2017 00:01:56 tests/cleanup_docker_env.py .
24-Jul-2017 00:01:56 tests/dataset_tests.py .
24-Jul-2017 00:01:56 tests/link_tests.py .
24-Jul-2017 00:01:56 tests/property_group_tests.py .
24-Jul-2017 00:01:56 tests/property_tests.py .
24-Jul-2017 00:01:56 tests/property_type_tests.py .
24-Jul-2017 00:01:56 tests/setup_docker_env.py .
24-Jul-2017 00:01:56 tests/util.py .
24-Jul-2017 00:01:56
24-Jul-2017 00:01:56 generated xml file: /var/atlassian/application-data/bamboo/xml-data/build-dir/INFRA-PROP-JOB1/pep8_results.xml
24-Jul-2017 00:01:56 ========================== 24 passed in 0.31 seconds ===========================
24-Jul-2017 00:01:56 Finished task 'Pep8 tests' with result: Success
24-Jul-2017 00:01:56 Starting task 'Parse pytest output' of type 'com.atlassian.bamboo.plugins.testresultparser:task.testresultparser.junit'
24-Jul-2017 00:01:56 Parsing test results under /var/atlassian/application-data/bamboo/xml-data/build-dir/INFRA-PROP-JOB1...
24-Jul-2017 00:01:56 Failing task since 10 failing test cases were found.
24-Jul-2017 00:01:56 Finished task 'Parse pytest output' with result: Failed
24-Jul-2017 00:01:56 Running post build plugin 'NCover Results Collector'
24-Jul-2017 00:01:56 Running post build plugin 'Artifact Copier'
24-Jul-2017 00:01:56 Running post build plugin 'Sauce OnDemand Post Runner'
24-Jul-2017 00:01:56 Running post build plugin 'npm Cache Cleanup'
24-Jul-2017 00:01:56 Running post build plugin 'Clover Results Collector'
24-Jul-2017 00:01:56 Running post build plugin 'Docker Container Cleanup'
24-Jul-2017 00:01:56 Finalising the build...
24-Jul-2017 00:01:56 Stopping timer.
24-Jul-2017 00:01:56 Build INFRA-PROP-JOB1-641 completed.
24-Jul-2017 00:01:56 Running on server: post build plugin 'NCover Results Collector'
24-Jul-2017 00:01:56 Running on server: post build plugin 'Build Hanging Detection Configuration'
24-Jul-2017 00:01:56 Running on server: post build plugin 'Clover Delta Calculator'
24-Jul-2017 00:01:56 Running on server: post build plugin 'Maven Dependencies Postprocessor'
24-Jul-2017 00:01:56 All post build plugins have finished
24-Jul-2017 00:01:56 Generating build results summary...
24-Jul-2017 00:01:57 Saving build results to disk...
24-Jul-2017 00:01:57 Logging substituted variables...
24-Jul-2017 00:01:57 Indexing build results...
24-Jul-2017 00:01:57 Finished building INFRA-PROP-JOB1-641.