Skip to content

Fix fuzz workflow YAML syntax and fuzz test panic on expected errors#4524

Draft
joshuacolvin0 wants to merge 2 commits intomasterfrom
fix-fuzz-workflow
Draft

Fix fuzz workflow YAML syntax and fuzz test panic on expected errors#4524
joshuacolvin0 wants to merge 2 commits intomasterfrom
fix-fuzz-workflow

Conversation

@joshuacolvin0
Copy link
Copy Markdown
Member

Fix three YAML issues in fuzz.yml: two step definitions had uses: as
separate list items instead of step properties, and the Slack notification
payload had a trailing comma (invalid JSON). Also fix FuzzInboxMultiplexer
which panicked on errors from Pop() — errors are expected for random input
during fuzzing.

Co-Authored-By: Claude Opus 4.6 (1M context) noreply@anthropic.com

Fix three YAML issues in fuzz.yml: two step definitions had `uses:` as
separate list items instead of step properties, and the Slack notification
payload had a trailing comma (invalid JSON). Also fix FuzzInboxMultiplexer
which panicked on errors from Pop() — errors are expected for random input
during fuzzing.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@github-actions
Copy link
Copy Markdown
Contributor

github-actions bot commented Mar 19, 2026

❌ 8 Tests Failed:

Tests completed Failed Passed Skipped
4506 8 4498 0
View the top 3 failed tests by shortest run time
TestPruningDBSizeReduction
Stack Traces | 0.000s run time
=== RUN   TestPruningDBSizeReduction
--- FAIL: TestPruningDBSizeReduction (0.00s)
TestRedisProduceComplex/one_producer,_all_consumers_are_active
Stack Traces | 1.280s run time
... [CONTENT TRUNCATED: Keeping last 20 lines]
�[36mDEBUG�[0m[03-22|23:28:35.828] consumer: xack                           �[36mcid�[0m=b72827a7-9b85-4ce5-96f9-97dcfab4a4a0 �[36mmessageId�[0m=1774222114686-3
�[36mDEBUG�[0m[03-22|23:28:35.830] consumer: xack                           �[36mcid�[0m=ae3d487d-f92c-4597-8467-cacf3f2cbe25 �[36mmessageId�[0m=1774222114686-2
�[33mWARN �[0m[03-22|23:28:35.830] XClaimJustID returned empty response when indicating heartbeat �[33mmsgID�[0m=1774222114685-4
�[36mDEBUG�[0m[03-22|23:28:35.830] Redis stream consuming                   �[36mconsumer_id�[0m=04284359-4f58-458e-b30a-ab928b68c249 �[36mmessage_id�[0m=1774222114685-6
�[36mDEBUG�[0m[03-22|23:28:35.830] consumer: setting result                 �[36mcid�[0m=04284359-4f58-458e-b30a-ab928b68c249 �[36mmsgIdInStream�[0m=1774222114685-6  �[36mresultKeyInRedis�[0m=result-key:stream:be0a08c9-a862-4a28-8aff-bdb156158b08.1774222114685-6
�[36mDEBUG�[0m[03-22|23:28:35.830] Redis stream consuming                   �[36mconsumer_id�[0m=034a47f5-49c6-4d43-b382-0b32f1bb3efc �[36mmessage_id�[0m=1774222114685-5
�[36mDEBUG�[0m[03-22|23:28:35.830] consumer: xdel                           �[36mcid�[0m=8a6e1050-69d3-4710-8e92-37206f4c4702 �[36mmessageId�[0m=1774222114686-0
�[36mDEBUG�[0m[03-22|23:28:35.830] consumer: setting result                 �[36mcid�[0m=034a47f5-49c6-4d43-b382-0b32f1bb3efc �[36mmsgIdInStream�[0m=1774222114685-5  �[36mresultKeyInRedis�[0m=result-key:stream:be0a08c9-a862-4a28-8aff-bdb156158b08.1774222114685-5
�[36mDEBUG�[0m[03-22|23:28:35.830] consumer: xdel                           �[36mcid�[0m=ae3d487d-f92c-4597-8467-cacf3f2cbe25 �[36mmessageId�[0m=1774222114686-2
�[36mDEBUG�[0m[03-22|23:28:35.831] consumer: xack                           �[36mcid�[0m=04284359-4f58-458e-b30a-ab928b68c249 �[36mmessageId�[0m=1774222114685-6
�[36mDEBUG�[0m[03-22|23:28:35.831] consumer: xack                           �[36mcid�[0m=034a47f5-49c6-4d43-b382-0b32f1bb3efc �[36mmessageId�[0m=1774222114685-5
�[36mDEBUG�[0m[03-22|23:28:35.831] consumer: xdel                           �[36mcid�[0m=b72827a7-9b85-4ce5-96f9-97dcfab4a4a0 �[36mmessageId�[0m=1774222114686-3
�[36mDEBUG�[0m[03-22|23:28:35.831] consumer: xdel                           �[36mcid�[0m=04284359-4f58-458e-b30a-ab928b68c249 �[36mmessageId�[0m=1774222114685-6
�[36mDEBUG�[0m[03-22|23:28:35.831] consumer: xdel                           �[36mcid�[0m=034a47f5-49c6-4d43-b382-0b32f1bb3efc �[36mmessageId�[0m=1774222114685-5
�[36mDEBUG�[0m[03-22|23:28:35.852] checkResponses                           �[36mresponded�[0m=79 �[36merrored�[0m=0 �[36mchecked�[0m=100
�[36mDEBUG�[0m[03-22|23:28:35.857] redis producer: check responses starting
�[36mDEBUG�[0m[03-22|23:28:35.878] checkResponses                           �[36mresponded�[0m=21 �[36merrored�[0m=0 �[36mchecked�[0m=21
�[31mERROR�[0m[03-22|23:28:35.878] Error from XpendingExt in getting PEL for auto claim �[31merr�[0m="context canceled" �[31mpendingLen�[0m=0
�[36mDEBUG�[0m[03-22|23:28:35.938] Error destroying a stream group          �[36merror�[0m="dial tcp 127.0.0.1:35885: connect: connection refused"
--- FAIL: TestRedisProduceComplex/one_producer,_all_consumers_are_active (1.28s)
TestAnyTrustRekey
Stack Traces | 9.540s run time
... [CONTENT TRUNCATED: Keeping last 20 lines]
        runtime/debug.Stack()
        	/opt/hostedtoolcache/go/1.25.8/x64/src/runtime/debug/stack.go:26 +0x5e
        github.com/offchainlabs/nitro/util/testhelpers.RequireImpl({0x488bd30, 0xc00037ce00}, {0x48452e0, 0xc07aac3380}, {0xc0509ab5b0, 0x1, 0x1})
        	/home/runner/work/nitro/nitro/util/testhelpers/testhelpers.go:28 +0x9f
        github.com/offchainlabs/nitro/system_tests.Require(0xc00037ce00, {0x48452e0, 0xc07aac3380}, {0xc0509ab5b0, 0x1, 0x1})
        	/home/runner/work/nitro/nitro/system_tests/common_test.go:2195 +0x5d
        github.com/offchainlabs/nitro/system_tests.(*NodeBuilder).BuildL2OnL1(0xc0006446c0, 0xc00037ce00)
        	/home/runner/work/nitro/nitro/system_tests/common_test.go:953 +0x6d0
        github.com/offchainlabs/nitro/system_tests.TestAnyTrustRekey(0xc00037ce00)
        	/home/runner/work/nitro/nitro/system_tests/anytrust_test.go:162 +0xf2a
        testing.tRunner(0xc00037ce00, 0x44aae30)
        	/opt/hostedtoolcache/go/1.25.8/x64/src/testing/testing.go:1934 +0xea
        created by testing.(*T).Run in goroutine 1
        	/opt/hostedtoolcache/go/1.25.8/x64/src/testing/testing.go:1997 +0x465
        
    common_test.go:953: �[31;1m [failed to deploy ArbDebug] nonce too low: address 0x26E554a8acF9003b83495c7f45F06edCB803d4e3, tx: 1 state: 3 �[0;0m
INFO [03-22|23:38:56.109] New Key                                  name=User25              Address=0xcB2884C05B8e1BeAab92A2fBC673981890A412fa
INFO [03-22|23:38:56.111] Starting work on payload                 id=0x03bafb5a64b05c5a
INFO [03-22|23:38:56.112] Stopping work on payload                 id=0x03ff63910091774f reason=delivery
--- FAIL: TestAnyTrustRekey (9.54s)

📣 Thoughts on this report? Let Codecov know! | Powered by Codecov

@codecov
Copy link
Copy Markdown

codecov bot commented Mar 19, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 32.65%. Comparing base (53908cc) to head (d03ba22).

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #4524      +/-   ##
==========================================
- Coverage   32.68%   32.65%   -0.03%     
==========================================
  Files         497      497              
  Lines       58890    58890              
==========================================
- Hits        19247    19231      -16     
- Misses      36272    36283      +11     
- Partials     3371     3376       +5     

if err != nil {
panic(err)
}
_, _ = multiplexer.Pop(context.TODO())
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

why are we ignoring the error? any in-line documentation here would be helpful regarding the fuzzing logic

@joshuacolvin0 joshuacolvin0 marked this pull request as draft March 23, 2026 04:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants