Cumulative improvements for CI troubleshooting (#2996)

* feat: show more error information in zb output

Signed-off-by: Andrei Aaron <aaaron@luxoft.com>

* chore(ci): gc stress tests to save logs as artifacts

Signed-off-by: Andrei Aaron <aaaron@luxoft.com>

* chore: add benchmark results to job summaries

Signed-off-by: Andrei Aaron <aaaron@luxoft.com>

* fix: count and show zb errors

Signed-off-by: Andrei Aaron <aaaron@luxoft.com>

* ci: fix the flaky coverage of the redis logger

Signed-off-by: Andrei Aaron <aaaron@luxoft.com>

---------

Signed-off-by: Andrei Aaron <aaaron@luxoft.com>
This commit is contained in:
Andrei Aaron
2025-03-01 01:04:09 +02:00
committed by GitHub
parent 3893eec714
commit 983dc7f8d5
7 changed files with 110 additions and 27 deletions
+2
View File
@@ -40,4 +40,6 @@ jobs:
external-data-json-path: ./cache/benchmark-data.json
# Workflow will fail when an alert happens
fail-on-alert: true
# Show data in the job summary
summary-always: true
# Upload the updated cache file for the next job by actions/cache
+4
View File
@@ -254,6 +254,8 @@ jobs:
external-data-json-path: ./cache/benchmark-data.json
# Workflow will fail when an alert happens
fail-on-alert: true
# Show data in the job summary
summary-always: true
# Upload the updated cache file for the next job by actions/cache
minio-redis:
@@ -507,4 +509,6 @@ jobs:
external-data-json-path: ./cache/benchmark-data.json
# Workflow will fail when an alert happens
fail-on-alert: true
# Show data in the job summary
summary-always: true
# Upload the updated cache file for the next job by actions/cache
+34
View File
@@ -37,6 +37,14 @@ jobs:
sudo rm -rf /tmp/zot
continue-on-error: true
- name: Upload zot logs
uses: actions/upload-artifact@v4
if: always()
with:
name: gc-referrers-bench-local
path: /tmp/gc-referrers-bench-local.log
if-no-files-found: error
- name: Check on failures
if: steps.bench.outcome != 'success'
run: |
@@ -68,6 +76,14 @@ jobs:
sudo rm -rf /tmp/zot
continue-on-error: true
- name: Upload zot logs
uses: actions/upload-artifact@v4
if: always()
with:
name: gc-bench-local
path: /tmp/gc-bench-local.log
if-no-files-found: error
- name: Check on failures
if: steps.bench.outcome != 'success'
run: |
@@ -142,11 +158,20 @@ jobs:
AWS_SECRET_ACCESS_KEY: fake
continue-on-error: true
- name: Upload zot logs
uses: actions/upload-artifact@v4
if: always()
with:
name: gc-referrers-bench-s3
path: /tmp/gc-referrers-bench-s3.log
if-no-files-found: error
- name: Check on failures
if: steps.bench.outcome != 'success'
run: |
cat /tmp/gc-referrers-bench-s3.log
exit 1
- uses: ./.github/actions/teardown-localstack
gc-stress-s3:
@@ -217,9 +242,18 @@ jobs:
AWS_SECRET_ACCESS_KEY: fake
continue-on-error: true
- name: Upload zot logs
uses: actions/upload-artifact@v4
if: always()
with:
name: gc-bench-s3
path: /tmp/gc-bench-s3.log
if-no-files-found: error
- name: Check on failures
if: steps.bench.outcome != 'success'
run: |
cat /tmp/gc-bench-s3.log
exit 1
- uses: ./.github/actions/teardown-localstack