Open AKorpusenko opened 2 months ago
https://github.com/ssvlabs/ssv/actions/runs/11466922731/job/31916750156?pr=1813
WARNING: DATA RACE
Read at 0x00c00053e060 by goroutine 2739:
github.com/ssvlabs/ssv/network/p2p.(*p2pNetwork).connectionsAtLimit()
/home/runner/work/ssv/ssv/network/p2p/p2p_setup.go:326 +0x9e
github.com/ssvlabs/ssv/network/p2p.(*p2pNetwork).connectionsAtLimit-fm()
<autogenerated>:1 +0x1f
github.com/ssvlabs/ssv/network/peers/connections.(*connGater).InterceptAccept()
/home/runner/work/ssv/ssv/network/peers/connections/conn_gater.go:85 +0x1d9
github.com/libp2p/go-libp2p/p2p/net/upgrader.(*listener).handleIncoming()
/home/runner/go/pkg/mod/github.com/libp2p/go-libp2p@v0.36.3/p2p/net/upgrader/listener.go:88 +0xbf7
github.com/libp2p/go-libp2p/p2p/net/upgrader.(*upgrader).UpgradeListener.gowrap1()
/home/runner/go/pkg/mod/github.com/libp2p/go-libp2p@v0.36.3/p2p/net/upgrader/upgrader.go:119 +0x33
Previous write at 0x00c00053e060 by goroutine 1932:
github.com/ssvlabs/ssv/network/p2p.(*p2pNetwork).setupPeerServices()
/home/runner/work/ssv/ssv/network/p2p/p2p_setup.go:188 +0x1104
github.com/ssvlabs/ssv/network/p2p.(*p2pNetwork).SetupServices()
/home/runner/work/ssv/ssv/network/p2p/p2p_setup.go:153 +0xc4
github.com/ssvlabs/ssv/network/p2p.(*p2pNetwork).Setup()
/home/runner/work/ssv/ssv/network/p2p/p2p_setup.go:74 +0x45e
github.com/ssvlabs/ssv/network/p2p.(*LocalNet).NewTestP2pNetwork()
/home/runner/work/ssv/ssv/network/p2p/test_utils.go:232 +0x18dd
WARNING: DATA RACE
Read at 0x00c02913f248 by goroutine 2739:
github.com/ssvlabs/ssv/network/peers.(*peersIndex).AtLimit()
/home/runner/work/ssv/ssv/network/peers/peers_index.go:100 +0x37
github.com/ssvlabs/ssv/network/p2p.(*p2pNetwork).connectionsAtLimit()
/home/runner/work/ssv/ssv/network/p2p/p2p_setup.go:329 +0xdd
github.com/ssvlabs/ssv/network/p2p.(*p2pNetwork).connectionsAtLimit-fm()
<autogenerated>:1 +0x1f
github.com/ssvlabs/ssv/network/peers/connections.(*connGater).InterceptAccept()
/home/runner/work/ssv/ssv/network/peers/connections/conn_gater.go:85 +0x1d9
github.com/libp2p/go-libp2p/p2p/net/upgrader.(*listener).handleIncoming()
/home/runner/go/pkg/mod/github.com/libp2p/go-libp2p@v0.36.3/p2p/net/upgrader/listener.go:88 +0xbf7
github.com/libp2p/go-libp2p/p2p/net/upgrader.(*upgrader).UpgradeListener.gowrap1()
/home/runner/go/pkg/mod/github.com/libp2p/go-libp2p@v0.36.3/p2p/net/upgrader/upgrader.go:119 +0x33
Previous write at 0x00c02913f248 by goroutine 1932:
github.com/ssvlabs/ssv/network/peers.NewPeersIndex()
/home/runner/work/ssv/ssv/network/peers/peers_index.go:52 +0x1014
github.com/ssvlabs/ssv/network/p2p.(*p2pNetwork).setupPeerServices()
/home/runner/work/ssv/ssv/network/p2p/p2p_setup.go:188 +0x868
github.com/ssvlabs/ssv/network/p2p.(*p2pNetwork).SetupServices()
/home/runner/work/ssv/ssv/network/p2p/p2p_setup.go:153 +0xc4
github.com/ssvlabs/ssv/network/p2p.(*p2pNetwork).Setup()
/home/runner/work/ssv/ssv/network/p2p/p2p_setup.go:74 +0x45e
WARNING: DATA RACE
Read at 0x00c02913f1f8 by goroutine 2739:
github.com/ssvlabs/ssv/network/peers.(*peersIndex).AtLimit()
/home/runner/work/ssv/ssv/network/peers/peers_index.go:101 +0x64
github.com/ssvlabs/ssv/network/p2p.(*p2pNetwork).connectionsAtLimit()
/home/runner/work/ssv/ssv/network/p2p/p2p_setup.go:329 +0xdd
github.com/ssvlabs/ssv/network/p2p.(*p2pNetwork).connectionsAtLimit-fm()
<autogenerated>:1 +0x1f
github.com/ssvlabs/ssv/network/peers/connections.(*connGater).InterceptAccept()
/home/runner/work/ssv/ssv/network/peers/connections/conn_gater.go:85 +0x1d9
github.com/libp2p/go-libp2p/p2p/net/upgrader.(*listener).handleIncoming()
/home/runner/go/pkg/mod/github.com/libp2p/go-libp2p@v0.36.3/p2p/net/upgrader/listener.go:88 +0xbf7
github.com/libp2p/go-libp2p/p2p/net/upgrader.(*upgrader).UpgradeListener.gowrap1()
/home/runner/go/pkg/mod/github.com/libp2p/go-libp2p@v0.36.3/p2p/net/upgrader/upgrader.go:119 +0x33
Previous write at 0x00c02913f1f8 by goroutine 1932:
github.com/ssvlabs/ssv/network/peers.NewPeersIndex()
/home/runner/work/ssv/ssv/network/peers/peers_index.go:46 +0xe08
github.com/ssvlabs/ssv/network/p2p.(*p2pNetwork).setupPeerServices()
/home/runner/work/ssv/ssv/network/p2p/p2p_setup.go:188 +0x868
github.com/ssvlabs/ssv/network/p2p.(*p2pNetwork).SetupServices()
/home/runner/work/ssv/ssv/network/p2p/p2p_setup.go:153 +0xc4