From eb160b711f087044c5041839badb6f20edd0bca6 Mon Sep 17 00:00:00 2001 From: Spencer Corwin Date: Tue, 15 Sep 2026 17:07:03 -0700 Subject: [PATCH 1/3] Configure pgJDBC root certificate in DSQL integration test --- .github/workflows/dsqlmaven.yml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/.github/workflows/dsqlmaven.yml b/.github/workflows/dsqlmaven.yml index 2789d1b..56244b1 100644 --- a/.github/workflows/dsqlmaven.yml +++ b/.github/workflows/dsqlmaven.yml @@ -114,6 +114,11 @@ jobs: java-version: ${{env.JAVA_VERSION}} distribution: 'temurin' + - name: Configure PostgreSQL root certificate + run: | + mkdir -p "${HOME}/.postgresql" + install -m 0600 /etc/ssl/certs/ca-certificates.crt "${HOME}/.postgresql/root.crt" + - name: Configure AWS Credentials uses: aws-actions/configure-aws-credentials@v4 with: @@ -140,4 +145,4 @@ jobs: if ![ $(find "./results/monitor" -maxdepth 1 -mindepth 1 | wc -l) -gt 2]; then echo "ERROR: Advanced monitoring unsuccessful, file directory and/or appropriate files not created." >&2 exit 1 - fi \ No newline at end of file + fi From 3510093a64a663a5a239356e661e11c30c7b1421 Mon Sep 17 00:00:00 2001 From: Spencer Corwin Date: Wed, 16 Sep 2026 10:03:12 -0700 Subject: [PATCH 2/3] Exclude valid user aborts from benchmark error rate --- scripts/check_histogram_results.sh | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/scripts/check_histogram_results.sh b/scripts/check_histogram_results.sh index 7075982..f0699cf 100755 --- a/scripts/check_histogram_results.sh +++ b/scripts/check_histogram_results.sh @@ -24,12 +24,16 @@ if ! [ -s "$results_json" ]; then exit 1 fi -# First transform the histograms into a single object with aggregate count of error and completed samples. +# User-controlled aborts are valid benchmark outcomes, not errors. +# Aggregate only rejected and unexpected samples as errors. summary_json=$(cat "$results_json" | jq -e ' to_entries | { "completed_samples": ( .[] | select(.key == "completed") | .value.NUM_SAMPLES ), - "errored_samples": ( [ .[] | select(.key != "completed" ) | .value.NUM_SAMPLES ] | add ) + "errored_samples": ( + [ .[] | select(.key == "rejected" or .key == "unexpected") | .value.NUM_SAMPLES ] + | add + ) } | .error_rate = (.errored_samples / .completed_samples)' ) @@ -44,4 +48,4 @@ if ! echo "$summary_json" | jq -e '(.error_rate < '$threshold')' >/dev/null; the fi # else echo 'OK!' -exit 0 \ No newline at end of file +exit 0 From 55bbe5f7749aac913acfca48914c724acef1bab6 Mon Sep 17 00:00:00 2001 From: Spencer Corwin Date: Wed, 16 Sep 2026 10:19:03 -0700 Subject: [PATCH 3/3] Revert "Exclude valid user aborts from benchmark error rate" This reverts commit 3510093a64a663a5a239356e661e11c30c7b1421. --- scripts/check_histogram_results.sh | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/scripts/check_histogram_results.sh b/scripts/check_histogram_results.sh index f0699cf..7075982 100755 --- a/scripts/check_histogram_results.sh +++ b/scripts/check_histogram_results.sh @@ -24,16 +24,12 @@ if ! [ -s "$results_json" ]; then exit 1 fi -# User-controlled aborts are valid benchmark outcomes, not errors. -# Aggregate only rejected and unexpected samples as errors. +# First transform the histograms into a single object with aggregate count of error and completed samples. summary_json=$(cat "$results_json" | jq -e ' to_entries | { "completed_samples": ( .[] | select(.key == "completed") | .value.NUM_SAMPLES ), - "errored_samples": ( - [ .[] | select(.key == "rejected" or .key == "unexpected") | .value.NUM_SAMPLES ] - | add - ) + "errored_samples": ( [ .[] | select(.key != "completed" ) | .value.NUM_SAMPLES ] | add ) } | .error_rate = (.errored_samples / .completed_samples)' ) @@ -48,4 +44,4 @@ if ! echo "$summary_json" | jq -e '(.error_rate < '$threshold')' >/dev/null; the fi # else echo 'OK!' -exit 0 +exit 0 \ No newline at end of file