Build: #336 failed
Job: Default Job failed
Add one provenance: Test case result
The below summarizes the result of the test "Add one provenance" in build 336 of FLARECAST - propertyservice - Default Job.
- Description
- Add one provenance
- Test class
- provenance_tests.ProvenanceTests
- Method
- test_add_one_provenance
- 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_one_provenance>
def test_add_one_provenance(self):
> result = self.client.add_provenance(TEST_PROVENANCE)
provenance_tests.py:11:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/home/bamboo/.local/lib/python2.7/site-packages/flarecast/utils/property_service_client.py:76: in add_provenance
return self.__post_request(url, name)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
url = 'http://localhost:8002/provenance', payload = 'test_prov'
@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