From 0bbd8489d3959ea878be7ec4a2c5f1773a582ee8 Mon Sep 17 00:00:00 2001 From: Lucian Petrut Date: Fri, 17 Jan 2025 09:32:16 +0200 Subject: [PATCH] donotmerge: investigate kube-burner timeouts * run the perf tests in a loop (10 iterations) * enable dqlite profiling --- .github/workflows/performance.yaml | 22 ++++++++++++++++++++-- 1 file changed, 20 insertions(+), 2 deletions(-) diff --git a/.github/workflows/performance.yaml b/.github/workflows/performance.yaml index 72558c26..82193b91 100644 --- a/.github/workflows/performance.yaml +++ b/.github/workflows/performance.yaml @@ -77,10 +77,19 @@ jobs: TEST_INSPECTION_REPORTS_DIR: ${{ github.workspace }}/inspection-reports TEST_METRICS_DIR: ${{ github.workspace }}/test/performance/results/head TEST_RUN_NAME: head + TEST_DQLITE_TRACE_LEVEL: 1 + TEST_RAFT_TRACE_LEVEL: 1 + TEST_K8S_DQLITE_DEBUG: 1 run: | cd test/performance mkdir -p ./results/head - sg lxd -c 'tox -e performance' + set -ex + iteration=0 + while [[ $iteration -lt 10 ]]; do + echo "iteration: $iteration" + sg lxd -c 'tox -e performance' + iteration=$(( $iteration + 1 )) + done - name: Run Performance test for base code snap env: TEST_SNAP: ${{ github.workspace }}/base-code.snap @@ -89,10 +98,19 @@ jobs: TEST_INSPECTION_REPORTS_DIR: ${{ github.workspace }}/inspection-reports TEST_METRICS_DIR: ${{ github.workspace }}/test/performance/results/base-code TEST_RUN_NAME: base-code + TEST_DQLITE_TRACE_LEVEL: 1 + TEST_RAFT_TRACE_LEVEL: 1 + TEST_K8S_DQLITE_DEBUG: 1 run: | cd test/performance mkdir -p ./results/base-code - sg lxd -c 'tox -e performance' + set -ex + iteration=0 + while [[ $iteration -lt 10 ]]; do + echo "iteration: $iteration" + sg lxd -c 'tox -e performance' + iteration=$(( $iteration + 1 )) + done - name: Generate 3 node Graphs if: always() run: |