Skip to content

TestTxGossipingAndAggregation failure in CI #1849

Closed

Description

@MSevey

https://github.com/rollkit/rollkit/actions/runs/10924076947/job/30322258993?pr=1848#step:4:3235

=== RUN   TestTxGossipingAndAggregation
    loggers.go:42: Test logs can be found: /tmp/TestTxGossipingAndAggregationnode0.log4080106769
    loggers.go:42: Test logs can be found: /tmp/TestTxGossipingAndAggregationnode1.log1611549007
    loggers.go:42: Test logs can be found: /tmp/TestTxGossipingAndAggregationnode2.log2769260653
    loggers.go:42: Test logs can be found: /tmp/TestTxGossipingAndAggregationnode3.log2907730097
    loggers.go:42: Test logs can be found: /tmp/TestTxGossipingAndAggregationnode4.log3888854513
    full_node_integration_test.go:939: 
        	Error Trace:	/home/runner/work/rollkit/rollkit/node/full_node_integration_test.go:939
        	            				/home/runner/work/rollkit/rollkit/node/full_node_integration_test.go:98
        	Error:      	Received unexpected error:
        	            	error while starting header sync service: failed to fetch the genesis: header/p2p: failed to open a new stream: failed to dial: failed to dial 12D3KooWGQfPkAiSHeCu4ACuXG6YJ3wWDCVp5qoFgzy1mQ1tiqbH: all dials failed
        	            	  * [/ip4/127.0.0.1/tcp/10002] dial backoff
        	Test:       	TestTxGossipingAndAggregation
    full_node_integration_test.go:930: 
        	Error Trace:	/home/runner/work/rollkit/rollkit/node/full_node_integration_test.go:930
        	            				/opt/hostedtoolcache/go/1.22.7/x64/src/runtime/panic.go:626
        	            				/opt/hostedtoolcache/go/1.22.7/x64/src/testing/testing.go:1005
        	            				/home/runner/work/rollkit/rollkit/node/full_node_integration_test.go:939
        	            				/home/runner/work/rollkit/rollkit/node/full_node_integration_test.go:98
        	Error:      	Received unexpected error:
        	            	not started
        	Test:       	TestTxGossipingAndAggregation
    full_node_integration_test.go:930: 
        	Error Trace:	/home/runner/work/rollkit/rollkit/node/full_node_integration_test.go:930
        	            				/opt/hostedtoolcache/go/1.22.7/x64/src/runtime/panic.go:626
        	            				/opt/hostedtoolcache/go/1.22.7/x64/src/testing/testing.go:1005
        	            				/home/runner/work/rollkit/rollkit/node/full_node_integration_test.go:939
        	            				/home/runner/work/rollkit/rollkit/node/full_node_integration_test.go:98
        	Error:      	Received unexpected error:
        	            	not started
        	Test:       	TestTxGossipingAndAggregation
    full_node_integration_test.go:930: 
        	Error Trace:	/home/runner/work/rollkit/rollkit/node/full_node_integration_test.go:930
        	            				/opt/hostedtoolcache/go/1.22.7/x64/src/runtime/panic.go:626
        	            				/opt/hostedtoolcache/go/1.22.7/x64/src/testing/testing.go:1005
        	            				/home/runner/work/rollkit/rollkit/node/full_node_integration_test.go:939
        	            				/home/runner/work/rollkit/rollkit/node/full_node_integration_test.go:98
        	Error:      	Received unexpected error:
        	            	not started
        	Test:       	TestTxGossipingAndAggregation
    full_node_integration_test.go:930: 
        	Error Trace:	/home/runner/work/rollkit/rollkit/node/full_node_integration_test.go:930
        	            				/opt/hostedtoolcache/go/1.22.7/x64/src/runtime/panic.go:626
        	            				/opt/hostedtoolcache/go/1.22.7/x64/src/testing/testing.go:1005
        	            				/home/runner/work/rollkit/rollkit/node/full_node_integration_test.go:939
        	            				/home/runner/work/rollkit/rollkit/node/full_node_integration_test.go:98
        	Error:      	Received unexpected error:
        	            	not started
        	Test:       	TestTxGossipingAndAggregation
--- FAIL: TestTxGossipingAndAggregation (0.31s)

Activity

  1. removed their assignment
    on Sep 18, 2024
  2. self-assigned this
    on Sep 18, 2024
  3. tzdybal commented on Sep 18, 2024

    @tzdybal
    Contributor

    I was able to reproduce and mitigate locally. Adding a bit more wait between aggregator start and full nodes start seems to resolve the issue, but opens another flakiness - we need to ensure that transactions are actually submitted to aggregator - this needs another change in waiting logic.

  4. added
    T:bug
    T:testing
    on Sep 18, 2024
  5. moved this to In Progress in Evolveon Sep 18, 2024
  6. tzdybal commented on Sep 18, 2024

    @tzdybal
    Contributor

    Update: even adding large wait time (like 3s) doesn't solve the issue. Tests are still flaky 😕

  7. added a commit that references this issue on Sep 23, 2024
    8ae21f5
  8. moved this from For Review to Done in Evolveon Sep 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

T:bugT:testing

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions