@@ -377,38 +377,9 @@ functions:
377377 script : |
378378 ${PREPARE_SHELL}
379379 TEST_CMD="bundle exec rake driver_bench" PERFORMANCE_RESULTS_FILE="$PROJECT_DIRECTORY/perf.json" .evergreen/run-tests.sh
380- - command : shell.exec
380+ - command : perf.send
381381 params :
382- script : |
383- # We use the requester expansion to determine whether the data is from a mainline evergreen run or not
384- if [ "${requester}" == "commit" ]; then
385- is_mainline=true
386- else
387- is_mainline=false
388- fi
389-
390- # We parse the username out of the order_id as patches append that in and SPS does not need that information
391- parsed_order_id=$(echo "${revision_order_id}" | awk -F'_' '{print $NF}')
392-
393- # Submit the performance data to the SPS endpoint
394- response=$(curl -s -w "\nHTTP_STATUS:%{http_code}" -X 'POST' \
395- "https://performance-monitoring-api.corp.mongodb.com/raw_perf_results/cedar_report?project=${project_id}&version=${version_id}&variant=${build_variant}&order=$parsed_order_id&task_name=${task_name}&task_id=${task_id}&execution=${execution}&mainline=$is_mainline" \
396- -H 'accept: application/json' \
397- -H 'Content-Type: application/json' \
398- -d @${PROJECT_DIRECTORY}/perf.json)
399-
400- http_status=$(echo "$response" | grep "HTTP_STATUS" | awk -F':' '{print $2}')
401- response_body=$(echo "$response" | sed '/HTTP_STATUS/d')
402-
403- # We want to throw an error if the data was not successfully submitted
404- if [ "$http_status" -ne 200 ]; then
405- echo "Error: Received HTTP status $http_status"
406- echo "Response Body: $response_body"
407- exit 1
408- fi
409-
410- echo "Response Body: $response_body"
411- echo "HTTP Status: $http_status"
382+ file : " ${PROJECT_DIRECTORY}/perf.json"
412383
413384 " run tests " :
414385 - command : shell.exec
@@ -1947,17 +1918,18 @@ buildvariants:
19471918 # - name: testgcpkms_task_group
19481919 # batchtime: 20160 # Use a batchtime of 14 days as suggested by the CSFLE test README
19491920
1950- - matrix_name : testazurekms-variant
1951- matrix_spec :
1952- ruby : ruby-3.0
1953- fle : helper
1954- topology : standalone
1955- os : debian11 # could eventually look at updating this to rhel80
1956- mongodb-version : 6.0
1957- display_name : " AZURE KMS"
1958- tasks :
1959- - name : testazurekms_task_group
1960- batchtime : 20160 # Use a batchtime of 14 days as suggested by the CSFLE test README
1921+ # https://jira.mongodb.org/browse/RUBY-3672
1922+ # - matrix_name: testazurekms-variant
1923+ # matrix_spec:
1924+ # ruby: ruby-3.0
1925+ # fle: helper
1926+ # topology: standalone
1927+ # os: debian11 # could eventually look at updating this to rhel80
1928+ # mongodb-version: 6.0
1929+ # display_name: "AZURE KMS"
1930+ # tasks:
1931+ # - name: testazurekms_task_group
1932+ # batchtime: 20160 # Use a batchtime of 14 days as suggested by the CSFLE test README
19611933
19621934 - matrix_name : atlas-full
19631935 matrix_spec :
@@ -1975,15 +1947,6 @@ buildvariants:
19751947 tasks :
19761948 - name : testatlas_task_group
19771949
1978- - matrix_name : " serverless"
1979- matrix_spec :
1980- ruby : " ruby-3.3"
1981- fle : path
1982- os : ubuntu2204
1983- display_name : " Atlas serverless ${ruby}"
1984- tasks :
1985- - name : serverless_task_group
1986-
19871950 - matrix_name : " aws-lambda"
19881951 matrix_spec :
19891952 ruby : ' ruby-3.2'
0 commit comments