Build: #670 failed

Job: Default Job failed

Stages & jobs

  1. Default Stage

2 add property group twice: Test case result

The below summarizes the result of the test "2 add property group twice" in build 670 of FLARECAST - propertyservice - Default Job. View test case history
Description
2 add property group twice
Test class
property_group_tests.PropertyGroupTests
Method
test_2_add_property_group_twice
Duration
< 1 sec
Status
Failed (Existing Failure)

Error Log

test setup failure
self = <class 'property_group_tests.PropertyGroupTests'>

    @classmethod
    def setUpClass(self):
        super(PropertyGroupTests, self).setUpClass()
        post_request(
            self.service_url + self.__ADD_DATASETS,
            TEST_DATASETS,
>           self.auth_token
        )

property_group_tests.py:22: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
util.py:9: in post_request
    r = requests.post(url, json=payload, headers=headers)
/home/bamboo/.local/lib/python2.7/site-packages/requests/api.py:112: in post
    return request('post', url, data=data, json=json, **kwargs)
/home/bamboo/.local/lib/python2.7/site-packages/requests/api.py:58: in request
    return session.request(method=method, url=url, **kwargs)
/home/bamboo/.local/lib/python2.7/site-packages/requests/sessions.py:488: in request
    prep = self.prepare_request(req)
/home/bamboo/.local/lib/python2.7/site-packages/requests/sessions.py:431: in prepare_request
    hooks=merge_hooks(request.hooks, self.hooks),
/home/bamboo/.local/lib/python2.7/site-packages/requests/models.py:305: in prepare
    self.prepare_url(url, params)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = <PreparedRequest [POST]>
url = 'http://--junitxml:../results_property_group_tests.xml/dataset/bulk'
params = OrderedDict()

    def prepare_url(self, url, params):
        """Prepares the given HTTP URL."""
        #: Accept objects that have string representations.
        #: We're unable to blindly call unicode/str functions
        #: as this will include the bytestring indicator (b'')
        #: on python 3.x.
        #: https://github.com/requests/requests/pull/2238
        if isinstance(url, bytes):
            url = url.decode('utf8')
        else:
            url = unicode(url) if is_py2 else str(url)
    
        # Remove leading whitespaces from url
        url = url.lstrip()
    
        # Don't do any URL preparation for non-HTTP schemes like `mailto`,
        # `data` etc to work around exceptions from `url_parse`, which
        # handles RFC 3986 only.
        if ':' in url and not url.lower().startswith('http'):
            self.url = url
            return
    
        # Support for unicode domain names and paths.
        try:
            scheme, auth, host, port, path, query, fragment = parse_url(url)
        except LocationParseError as e:
>           raise InvalidURL(*e.args)
E           InvalidURL: Failed to parse: --junitxml:..

/home/bamboo/.local/lib/python2.7/site-packages/requests/models.py:373: InvalidURL