chore(ci): collect monitor logs and traces on fuzz test failures (#7728)

* feat: fuzz tests monitoring

Signed-off-by: WenyXu <wenymedia@gmail.com>

* chore: resource limit

Signed-off-by: WenyXu <wenymedia@gmail.com>

* refactor: minor

Signed-off-by: WenyXu <wenymedia@gmail.com>

* dump create table statement

Signed-off-by: WenyXu <wenymedia@gmail.com>

* modify standalone storage size

Signed-off-by: WenyXu <wenymedia@gmail.com>

---------

Signed-off-by: WenyXu <wenymedia@gmail.com>
This commit is contained in:
Weny Xu
2026-02-27 15:54:01 +08:00
committed by GitHub
parent 6b54fb6c21
commit e6abea1b3c
4 changed files with 185 additions and 1 deletions

View File

@@ -430,6 +430,24 @@ jobs:
name: fuzz-tests-kind-logs-${{ matrix.mode.name }}-${{ matrix.target }}
path: /tmp/kind
retention-days: 3
- name: Collect monitor dumps
if: failure()
shell: bash
env:
GT_FUZZ_NS: my-greptimedb
GT_FUZZ_CLUSTER: my-greptimedb
GT_MONITOR_HTTP_LOCAL_PORT: 14000
GT_MONITOR_ARTIFACT_DIR: /tmp/fuzz-monitor-dumps
run: |
bash .github/scripts/collect-fuzz-monitor-artifacts.sh
- name: Upload monitor dumps
if: failure()
uses: actions/upload-artifact@v4
with:
name: fuzz-tests-monitor-dumps-${{ matrix.mode.name }}-${{ matrix.target }}
path: /tmp/fuzz-monitor-dumps
if-no-files-found: warn
retention-days: 3
- name: Delete cluster
if: success()
shell: bash
@@ -584,6 +602,24 @@ jobs:
name: fuzz-tests-kind-logs-${{ matrix.mode.name }}-${{ matrix.target }}
path: /tmp/kind
retention-days: 3
- name: Collect monitor dumps
if: failure()
shell: bash
env:
GT_FUZZ_NS: my-greptimedb
GT_FUZZ_CLUSTER: my-greptimedb
GT_MONITOR_HTTP_LOCAL_PORT: 14000
GT_MONITOR_ARTIFACT_DIR: /tmp/fuzz-monitor-dumps
run: |
bash .github/scripts/collect-fuzz-monitor-artifacts.sh
- name: Upload monitor dumps
if: failure()
uses: actions/upload-artifact@v4
with:
name: fuzz-tests-monitor-dumps-${{ matrix.mode.name }}-${{ matrix.target }}
path: /tmp/fuzz-monitor-dumps
if-no-files-found: warn
retention-days: 3
- name: Delete cluster
if: success()
shell: bash