Browse Source

terminate go-fuzz gracefully (w/ SIGINT) (#5973)

and preserve exit code.

```
2021/01/26 03:34:49 workers: 2, corpus: 4 (8m28s ago), crashers: 0, restarts: 1/9976, execs: 11013732 (21596/sec), cover: 121, uptime: 8m30s
make: *** [fuzz-mempool] Terminated
Makefile:5: recipe for target 'fuzz-mempool' failed
Error: Process completed with exit code 124.
```

https://github.com/tendermint/tendermint/runs/1766661614

`continue-on-error` should make GH ignore any error codes.
pull/5974/head
Anton Kaliaev 4 years ago
committed by GitHub
parent
commit
8718f6f5ff
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 10 additions and 5 deletions
  1. +10
    -5
      .github/workflows/fuzz-nightly.yml

+ 10
- 5
.github/workflows/fuzz-nightly.yml View File

@ -21,23 +21,28 @@ jobs:
- name: Fuzz mempool
working-directory: test/fuzz
run: timeout 10m make fuzz-mempool
run: timeout -s SIGINT --preserve-status 10m make fuzz-mempool
continue-on-error: true
- name: Fuzz p2p-addrbook
working-directory: test/fuzz
run: timeout 10m make fuzz-p2p-addrbook
run: timeout -s SIGINT --preserve-status 10m make fuzz-p2p-addrbook
continue-on-error: true
- name: Fuzz p2p-pex
working-directory: test/fuzz
run: timeout 10m make fuzz-p2p-pex
run: timeout -s SIGINT --preserve-status 10m make fuzz-p2p-pex
continue-on-error: true
- name: Fuzz p2p-sc
working-directory: test/fuzz
run: timeout 10m make fuzz-p2p-sc
run: timeout -s SIGINT --preserve-status 10m make fuzz-p2p-sc
continue-on-error: true
- name: Fuzz p2p-rpc-server
working-directory: test/fuzz
run: timeout 10m make fuzz-rpc-server
run: timeout -s SIGINT --preserve-status 10m make fuzz-rpc-server
continue-on-error: true
- name: Set crashers count
working-directory: test/fuzz


Loading…
Cancel
Save