bee icon indicating copy to clipboard operation
bee copied to clipboard

Flaky test `TestBroadcastPeers`

Open vladopajic opened this issue 3 years ago • 0 comments

Test TestBroadcastPeers seems to be flaky: CI attempt #3

goroutine 12 [running]:
runtime/debug.Stack()
	/Users/runner/hostedtoolcache/go/1.17.13/x64/src/runtime/debug/stack.go:24 +0x72
runtime/debug.PrintStack()
	/Users/runner/hostedtoolcache/go/1.17.13/x64/src/runtime/debug/stack.go:16 +0x25
github.com/ethersphere/bee/pkg/hive_test.expectOverlaysEventually(0xc000082820, {0x4a42fe0, 0xc0001a3320}, {0xc000290000, 0x1, 0x40})
	/Users/runner/work/bee/bee/pkg/hive/hive_test.go:324 +0x196
github.com/ethersphere/bee/pkg/hive_test.TestBroadcastPeers.func2(0xc000082820)
	/Users/runner/work/bee/bee/pkg/hive/hive_test.go:290 +0xde5
testing.tRunner(0xc000082820, 0xc0003542c0)
	/Users/runner/hostedtoolcache/go/1.17.13/x64/src/testing/testing.go:1259 +0x230
created by testing.(*T).Run
	/Users/runner/hostedtoolcache/go/1.17.13/x64/src/testing/testing.go:1306 +0x727
=== CONT  TestBroadcastPeers/OK_-_single_batch_-_max_number_of_records
    hive_test.go:290: timed out waiting for overlays
--- FAIL: TestBroadcastPeers (14.29s)
    --- PASS: TestBroadcastPeers/OK_-_single_batch_-_skip_ping_failures (0.87s)
    --- PASS: TestBroadcastPeers/OK_-_multiple_batches_-_max_number_of_records (1.84s)
    --- PASS: TestBroadcastPeers/OK_-_single_batch_-_multiple_records (0.94s)
    --- PASS: TestBroadcastPeers/OK_-_multiple_batches (1.37s)
    --- PASS: TestBroadcastPeers/Ok_-_don't_advertise_private_CIDRs (0.16s)
    --- PASS: TestBroadcastPeers/OK_-_single_record (0.21s)
    --- FAIL: TestBroadcastPeers/OK_-_single_batch_-_max_number_of_records (12.98s)

vladopajic avatar Oct 07 '22 08:10 vladopajic