From d6a4c32eeb15b24aa3079bb404ac79cffeacf6ff Mon Sep 17 00:00:00 2001 From: mbeierl Date: Fri, 27 Jan 2017 16:35:37 -0500 Subject: Testresults DB Alignment Changes the key names sent to the testresults db to align with other projects. Defines a clear PASS/FAIL based on the ability to find steady state for all runs. If one run failed to achieve steady state, run gets labelled as FAIL. Change-Id: I73143779453689eea93829079388ed8035134aa3 JIRA: STORPERF-100 Signed-off-by: mbeierl --- ci/start_job.sh | 20 +++++++++++++------- 1 file changed, 13 insertions(+), 7 deletions(-) (limited to 'ci/start_job.sh') diff --git a/ci/start_job.sh b/ci/start_job.sh index 51f35cb..86b8fc8 100755 --- a/ci/start_job.sh +++ b/ci/start_job.sh @@ -13,17 +13,23 @@ cat << EOF > body.json "block_sizes": "${BLOCK_SIZE}", "nowarm": "string", "nossd": "string", - "deadline": 600, + "deadline": 1200, "queue_depths": "${QUEUE_DEPTH}", "workload": "${WORKLOAD}", "metadata": { - "disk_type": "SSD", - "pod_name": "${POD_NAME}", - "scenario_name": "${SCENARIO_NAME}", - "storage_node_count": ${CINDER_NODES} + "disk_type": "${DISK_TYPE}", + "pod_name": "${POD_NAME}", + "scenario_name": "${SCENARIO_NAME}", + "storage_node_count": ${CINDER_NODES}, + "version": "${VERSION}", + "build_tag": "${BUILD_TAG}", + "test_case": "${TEST_CASE}" } } EOF -curl -s -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' \ - -d @body.json http://127.0.0.1:5000/api/v1.0/jobs \ No newline at end of file +cat body.json + +curl -s -X POST --header 'Content-Type: application/json' \ + --header 'Accept: application/json' \ + -d @body.json http://127.0.0.1:5000/api/v1.0/jobs -- cgit 1.2.3-korg