mirror of
https://github.com/GreptimeTeam/greptimedb.git
synced 2026-05-16 13:00:40 +00:00
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:
36
.github/workflows/develop.yml
vendored
36
.github/workflows/develop.yml
vendored
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user