From 83485aa63a0ee624cc39b553a413e8ba7f72e436 Mon Sep 17 00:00:00 2001 From: pokeeffe-molecula Date: Thu, 24 Feb 2022 16:33:02 -0600 Subject: [PATCH 1/3] added an aggregate into the test --- qa/scripts/perf/able/ableTest.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/qa/scripts/perf/able/ableTest.sh b/qa/scripts/perf/able/ableTest.sh index f17ad6b21..0455935da 100755 --- a/qa/scripts/perf/able/ableTest.sh +++ b/qa/scripts/perf/able/ableTest.sh @@ -53,7 +53,7 @@ fi echo "Running perf test" # leaving this here because K6 is timing out and need to work out why #ssh -A -i ~/.ssh/gitlab-featurebase-ci.pem -o "StrictHostKeyChecking no" ec2-user@${INGESTNODE0} "/home/ec2-user/bin/k6 run -e DATANODE0=test.k6.io /data/highcardinalitygroupby.js" -ssh -A -i ~/.ssh/gitlab-featurebase-ci.pem -o "StrictHostKeyChecking no" ec2-user@${INGESTNODE0} "curl ${DATANODE0}:10101/index/seg/query -X POST -o /data/response.json -d 'GroupBy(Rows(education_level), Rows(gender), Rows(political_party), Rows(domain))'" +ssh -A -i ~/.ssh/gitlab-featurebase-ci.pem -o "StrictHostKeyChecking no" ec2-user@${INGESTNODE0} "curl ${DATANODE0}:10101/index/seg/query -X POST -o /data/response.json -d 'GroupBy(Rows(education_level), Rows(gender), Rows(political_party), Rows(domain), aggregate=Sum(field=age))'" ABLETESTRESULT=$? if (( $ABLETESTRESULT != 0 )) From 2fb6799565c68850976deae8873a25b8f7608a02 Mon Sep 17 00:00:00 2001 From: pokeeffe-molecula Date: Thu, 24 Feb 2022 18:01:07 -0600 Subject: [PATCH 2/3] extend the job timeout --- .gitlab/.perf-able-gitlab-ci.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.gitlab/.perf-able-gitlab-ci.yml b/.gitlab/.perf-able-gitlab-ci.yml index 0586c7947..93165d50b 100644 --- a/.gitlab/.perf-able-gitlab-ci.yml +++ b/.gitlab/.perf-able-gitlab-ci.yml @@ -3,6 +3,7 @@ stages: perf_able: stage: performance + timeout: 2h image: registry.gitlab.com/gitlab-org/cloud-deploy/aws-base:latest variables: PROFILE: "service-terraform" From a1fca4ce3cdfa31c06739a7dbbb3d60544ca77a5 Mon Sep 17 00:00:00 2001 From: pokeeffe-molecula Date: Thu, 24 Feb 2022 19:46:03 -0600 Subject: [PATCH 3/3] take out political_party --- qa/scripts/perf/able/ableTest.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/qa/scripts/perf/able/ableTest.sh b/qa/scripts/perf/able/ableTest.sh index 0455935da..d81ec2f51 100755 --- a/qa/scripts/perf/able/ableTest.sh +++ b/qa/scripts/perf/able/ableTest.sh @@ -53,7 +53,7 @@ fi echo "Running perf test" # leaving this here because K6 is timing out and need to work out why #ssh -A -i ~/.ssh/gitlab-featurebase-ci.pem -o "StrictHostKeyChecking no" ec2-user@${INGESTNODE0} "/home/ec2-user/bin/k6 run -e DATANODE0=test.k6.io /data/highcardinalitygroupby.js" -ssh -A -i ~/.ssh/gitlab-featurebase-ci.pem -o "StrictHostKeyChecking no" ec2-user@${INGESTNODE0} "curl ${DATANODE0}:10101/index/seg/query -X POST -o /data/response.json -d 'GroupBy(Rows(education_level), Rows(gender), Rows(political_party), Rows(domain), aggregate=Sum(field=age))'" +ssh -A -i ~/.ssh/gitlab-featurebase-ci.pem -o "StrictHostKeyChecking no" ec2-user@${INGESTNODE0} "curl ${DATANODE0}:10101/index/seg/query -X POST -o /data/response.json -d 'GroupBy(Rows(education_level), Rows(gender), Rows(domain), aggregate=Sum(field=age))'" ABLETESTRESULT=$? if (( $ABLETESTRESULT != 0 ))