data['description'] = all_data['suite']['@name']
data['version'] = all_data['@generator']
data['test_project'] = "functest"
- data['case_name'] = "ODL"
+ data['case_name'] = "odl"
data['pod_name'] = pod
data['installer'] = installer
if (tests_failed < 1):
status = "PASS"
- functest_utils.push_results_to_db("functest",
+ functest_utils.push_results_to_db(data['test_project'],
data['case_name'],
None,
start_time,
logger.error("Unable to set ONOS criteria")
functest_utils.push_results_to_db("functest",
- "ONOS",
+ "onos",
logger,
start_time,
stop_time,
if total_success >= 90:
status = "passed"
+ if args.sanity:
+ case_name = "rally_sanity"
+ else:
+ case_name = "rally_full"
+
if args.report:
logger.debug("Pushing Rally summary into DB...")
functest_utils.push_results_to_db("functest",
- "Rally",
- logger,
+ case_name,
+ None,
start_time,
stop_time,
status,
"tests": int(num_tests), "failures": int(num_failures),
"errors": error_logs}
logger.info("Results: " + str(json_results))
- # TODO split Tempest smoke and full
+ # split Tempest smoke and full
+ if "smoke" in args.mode:
+ case_name = "tempest_smoke_serial"
+ else:
+ case_name = "tempest_full_parallel"
+
try:
ft_utils.push_results_to_db("functest",
- "Tempest",
- logger,
+ case_name,
+ None,
start_time,
stop_time,
status,
try:
logger.debug("Pushing vPing SSH results into DB...")
functest_utils.push_results_to_db("functest",
- "vPing",
+ "vping_ssh",
logger,
start_time,
stop_time,
try:
logger.debug("Pushing vPing userdata results into DB...")
functest_utils.push_results_to_db("functest",
- "vPing_userdata",
+ "vping_userdata",
logger,
start_time,
stop_time,
if step_name == "sig_test":
status = "PASS"
functest_utils.push_results_to_db("functest",
- "vIMS",
- logger,
+ "vims",
+ None,
start_time,
stop_time,
status,