mirror of
https://github.com/GreptimeTeam/greptimedb.git
synced 2026-06-03 05:40:40 +00:00
ci: restore develop workflow debug step
This commit is contained in:
committed by
GitHub
parent
5d03583aa0
commit
01f73c7953
13
.github/workflows/develop.yml
vendored
13
.github/workflows/develop.yml
vendored
@@ -701,6 +701,19 @@ jobs:
|
||||
run: tar -xvf ./bins.tar.gz
|
||||
- name: Run sqlness
|
||||
run: RUST_BACKTRACE=1 ./bins/sqlness-runner bare ${{ matrix.mode.opts }} -c ./tests/cases --bins-dir ./bins --preserve-state
|
||||
- name: Dump PostgreSQL debug info
|
||||
if: ${{ failure() && contains(matrix.mode.opts, '--setup-pg') }}
|
||||
shell: bash
|
||||
run: |
|
||||
set +e
|
||||
echo "=== docker ps -a ==="
|
||||
docker ps -a
|
||||
echo "=== docker logs greptimedb_pg ==="
|
||||
docker logs --tail 300 greptimedb_pg
|
||||
echo "=== tail sqlness metasrv logs ==="
|
||||
find /tmp -maxdepth 2 -type f -name "greptime-*-sqlness-metasrv.log" -print -exec tail -n 300 {} \;
|
||||
echo "=== find sqlness temp files ==="
|
||||
find /tmp -maxdepth 3 -path "/tmp/sqlness*" -print
|
||||
- name: Upload sqlness logs
|
||||
if: failure()
|
||||
uses: actions/upload-artifact@v4
|
||||
|
||||
Reference in New Issue
Block a user