new_element = []
for data in results:
- new_element.append({'x': data['creation_date'],
+ new_element.append({'x': data['start_date'],
'y1': data['details']['orchestrator']['duration'],
'y2': data['details']['vIMS']['duration'],
'y3': data['details']['sig_test']['duration']})
except:
nbTests = 0
- new_element.append({'x': data['creation_date'],
+ new_element.append({'x': data['start_date'],
'y1': nbTests,
'y2': nbFailures,
'y3': nbSkipped})
# ********************************
new_element = []
for data in results:
- new_element.append({'x': data['creation_date'],
+ new_element.append({'x': data['start_date'],
'y': data['details']['duration']})
test_data.append({'name': "Tempest duration",
# ***************************************
new_element = []
for data in results:
- new_element.append({'x': data['creation_date'],
+ new_element.append({'x': data['start_date'],
'y1': data['details']['tests'],
'y2': data['details']['failures']})
except:
success_rate = 0
- new_element.append({'x': data['creation_date'],
+ new_element.append({'x': data['start_date'],
'y1': success_rate})
test_data.append({'name': "Tempest success rate",
for odl in odl_results:
if (odl['test_status']['@status'] == "FAIL"):
nbFailures += 1
- new_element.append({'x': data['creation_date'],
+ new_element.append({'x': data['start_date'],
'y1': len(odl_results),
'y2': nbFailures})
new_duration = int(datetime.timedelta(hours=int(h),
minutes=int(m),
seconds=int(s)).total_seconds())
- new_element.append({'x': data['creation_date'],
+ new_element.append({'x': data['start_date'],
'y': new_duration})
test_data.append({'name': "ONOS FUNCvirNet duration ",
for onos in onos_results:
if (onos['Case result'] == "FAIL"):
nbFailures += 1
- new_element.append({'x': data['creation_date'],
+ new_element.append({'x': data['start_date'],
'y1': len(onos_results),
'y2': nbFailures})
new_duration = int(datetime.timedelta(hours=int(h),
minutes=int(m),
seconds=int(s)).total_seconds())
- new_element.append({'x': data['creation_date'],
+ new_element.append({'x': data['start_date'],
'y': new_duration})
test_data.append({'name': "ONOS FUNCvirNetL3 duration",
for onos in onos_results:
if (onos['Case result'] == "FAIL"):
nbFailures += 1
- new_element.append({'x': data['creation_date'],
+ new_element.append({'x': data['start_date'],
'y1': len(onos_results),
'y2': nbFailures})
new_element = []
for data in results:
summary_cursor = len(data['details']) - 1
- new_element.append({'x': data['creation_date'],
+ new_element.append({'x': data['start_date'],
'y': int(data['details'][summary_cursor]['summary']['duration'])})
test_data.append({'name': "rally duration",
# ********************************
new_element = []
for data in results:
- new_element.append({'x': data['creation_date'],
+ new_element.append({'x': data['start_date'],
'y': float(data['details'][summary_cursor]['summary']['nb success'])})
test_data.append({'name': "rally success rate",
# ********************************
new_element = []
for data in results:
- new_element.append({'x': data['creation_date'],
+ new_element.append({'x': data['start_date'],
'y': data['details']['duration']})
test_data.append({'name': "vPing duration",
# ********************************
new_element = []
for data in results:
- new_element.append({'x': data['creation_date'],
+ new_element.append({'x': data['start_date'],
'y': data['details']['duration']})
test_data.append({'name': "vPing_userdata duration",