fuzz: keep nightly jobs alive past lint and oracle blips - #324
Merged
Conversation
block_wire now compiles rbitcoin-net; nightly -D warnings fails on fetch_update. Wrap every cargo-fuzz rustc with -A warnings (append). -jobs=1 forked a worker that hit libFuzzer's 30s timeout (exit 77) during bitcoind spawn. Run in-process, timeout 90s. Treat Core TCP errors as RPC skips with a 20-streak liveness gate instead of exit-2 on the first dead submit after thousands of comparisons.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Why both jobs died on workflow_dispatch (#323 on master)
block_wire: the isolated fuzz package now path-depends onrbitcoin-net. Nightly inherits workspacewarnings = deny, and current nightly deprecatesAtomicUsize::fetch_update→ compile fail. This job never compiled net before.block_differential: compiled (jobRUSTFLAGS=-A warnings).-jobs=1still forks a worker; spawn+first input exceeded-timeout=30(exit 77). A later worker thenoracle deadafter ~9660 compares on a single TCP glitch (process::exit(2)).Fix (no workflow YAML)
scripts/fuzz-rustc-allow-warnings.sh:exec rustc "$@" -A warningson everycargo fuzzinvoke (wire + differential).-jobs;-timeout=90for differential (bitcoind spawn on first input).Connection: close; Core TCP errors are RPC skips; harness exit only after 20 dead liveness probes.Re-dispatch
fuzzon master after merge, or on this branch.