Repository navigation
Closed
Description
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
tzdybal commentedon Sep 18, 2024
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.
tzdybal commentedon Sep 18, 2024
Update: even adding large wait time (like 3s) doesn't solve the issue. Tests are still flaky 😕
refactor: stabilize node startup in integration tests (#1850)