Build: #336 failed
Job: Default Job failed
Add multiple provenances: Test case result
The below summarizes the result of the test "Add multiple provenances" in build 336 of FLARECAST - propertyservice - Default Job.
- Description
- Add multiple provenances
- Test class
- provenance_tests.ProvenanceTests
- Method
- test_add_multiple_provenances
- Duration
- < 1 sec
- Status
- Failed (New Failure)
Error Log
RestException: { "status": 500, "type": "about:blank", "detail": "The server encountered an internal error and was unable to complete your request. Either the server is overloaded or there is an error in the application.", "title": "Internal Server Error" }
self = <tests.provenance_tests.ProvenanceTests testMethod=test_add_multiple_provenances>
def test_add_multiple_provenances(self):
> result = self.client.insert_provenances(TEST_PROVENANCES)
provenance_tests.py:15:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/home/bamboo/.local/lib/python2.7/site-packages/flarecast/utils/property_service_client.py:66: in insert_provenances
return self.__post_request(url, provenance_list)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
url = 'http://localhost:8002/provenance/bulk'
payload = ['test_prov1', 'test_prov2']
@staticmethod
def __post_request(url, payload):
headers = {'Content-Type': 'application/json'}
r = requests.post(url, json=payload, headers=headers)
if r.status_code != 200:
> raise RestException(r)
E RestException: {
E "status": 500,
E "type": "about:blank",
E "detail": "The server encountered an internal error and was unable to complete your request. Either the server is overloaded or there is an error in the application.",
E "title": "Internal Server Error"
E }
/home/bamboo/.local/lib/python2.7/site-packages/flarecast/utils/property_service_client.py:196: RestException