Build: #336 failed
Job: Default Job failed
Add one property group: Test case result
The below summarizes the result of the test "Add one property group" in build 336 of FLARECAST - propertyservice - Default Job.
- Description
- Add one property group
- Test class
- property_group_tests.PropertyGroupTests
- Method
- test_add_one_property_group
- 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.property_group_tests.PropertyGroupTests testMethod=test_add_one_property_group>
def test_add_one_property_group(self):
result = self.client.add_region(
TEST_PROVENANCE,
> time_start=TEST_PGT_TIME_START
)
property_group_tests.py:16:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/home/bamboo/.local/lib/python2.7/site-packages/flarecast/utils/property_service_client.py:83: in add_region
return self.__post_request(url, group)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
url = 'http://localhost:8002/region/test_prov'
payload = {'time_start': '2002-01-01T00:00:00Z'}
@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