You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Some of the test instances fail when connecting to other peers with the error message latest peer record does not exist. identify message incomplete!:
{"ts":1589905943561862041,"msg":"","group_id":"publishers","run_id":"0c7b247a0490","event":{"type":"message","message":"connecting to peers after 0s"}}
{"ts":1589905943561888675,"msg":"","group_id":"publishers","run_id":"0c7b247a0490","event":{"type":"message","message":"Wait for 30s warmup time before starting publisher"}}
{"ts":1589905943561991254,"msg":"","group_id":"publishers","run_id":"0c7b247a0490","event":{"type":"message","message":"honest-21-0 connecting to honest-1-0\n"}}
{"ts":1589905943562009499,"msg":"","group_id":"publishers","run_id":"0c7b247a0490","event":{"type":"message","message":"honest-21-0 connecting to honest-316-0\n"}}
{"ts":1589905943562019205,"msg":"","group_id":"publishers","run_id":"0c7b247a0490","event":{"type":"message","message":"honest-21-0 connecting to honest-620-0\n"}}
{"ts":1589905943562027234,"msg":"","group_id":"publishers","run_id":"0c7b247a0490","event":{"type":"message","message":"honest-21-0 connecting to honest-245-0\n"}}
{"ts":1589905943562035772,"msg":"","group_id":"publishers","run_id":"0c7b247a0490","event":{"type":"message","message":"honest-21-0 connecting to honest-198-0\n"}}
{"ts":1589905943562042256,"msg":"","group_id":"publishers","run_id":"0c7b247a0490","event":{"type":"message","message":"honest-21-0 connecting to honest-705-0\n"}}
{"ts":1589905943562049569,"msg":"","group_id":"publishers","run_id":"0c7b247a0490","event":{"type":"message","message":"honest-21-0 connecting to honest-435-0\n"}}
{"ts":1589905943562060049,"msg":"","group_id":"publishers","run_id":"0c7b247a0490","event":{"type":"message","message":"honest-21-0 connecting to honest-861-0\n"}}
{"ts":1589905943562068983,"msg":"","group_id":"publishers","run_id":"0c7b247a0490","event":{"type":"message","message":"honest-21-0 connecting to honest-641-0\n"}}
{"ts":1589905943562079080,"msg":"","group_id":"publishers","run_id":"0c7b247a0490","event":{"type":"message","message":"honest-21-0 connecting to honest-207-0\n"}}
{"ts":1589905943562087331,"msg":"","group_id":"publishers","run_id":"0c7b247a0490","event":{"type":"message","message":"honest-21-0 connecting to honest-430-0\n"}}
{"ts":1589905943562096942,"msg":"","group_id":"publishers","run_id":"0c7b247a0490","event":{"type":"message","message":"honest-21-0 connecting to honest-682-0\n"}}
{"ts":1589905943562102722,"msg":"","group_id":"publishers","run_id":"0c7b247a0490","event":{"type":"message","message":"honest-21-0 connecting to honest-96-0\n"}}
{"ts":1589905943562124749,"msg":"","group_id":"publishers","run_id":"0c7b247a0490","event":{"type":"message","message":"honest-21-0 connecting to honest-761-0\n"}}
{"ts":1589905943562139127,"msg":"","group_id":"publishers","run_id":"0c7b247a0490","event":{"type":"message","message":"honest-21-0 connecting to honest-996-0\n"}}
{"ts":1589905943562148204,"msg":"","group_id":"publishers","run_id":"0c7b247a0490","event":{"type":"message","message":"honest-21-0 connecting to honest-252-0\n"}}
{"ts":1589905943562155546,"msg":"","group_id":"publishers","run_id":"0c7b247a0490","event":{"type":"message","message":"honest-21-0 connecting to honest-348-0\n"}}
{"ts":1589905943562165009,"msg":"","group_id":"publishers","run_id":"0c7b247a0490","event":{"type":"message","message":"honest-21-0 connecting to honest-479-0\n"}}
{"ts":1589905943562177192,"msg":"","group_id":"publishers","run_id":"0c7b247a0490","event":{"type":"message","message":"honest-21-0 connecting to honest-530-0\n"}}
{"ts":1589905943562186903,"msg":"","group_id":"publishers","run_id":"0c7b247a0490","event":{"type":"message","message":"honest-21-0 connecting to honest-267-0\n"}}
2020-05-19T16:32:23.759Z ERROR net/identify identify/id.go:432 latest peer record does not exist. identify message incomplete!
panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x8 pc=0x6dfb97]
goroutine 234 [running]:
github.com/libp2p/go-libp2p-core/record.(*Envelope).Marshal(0x0, 0xc0005b68e0, 0x8, 0x8, 0x203000, 0x2)
/go/pkg/mod/github.com/libp2p/go-libp2p-core@v0.5.6/record/envelope.go:196 +0x37
github.com/libp2p/go-libp2p/p2p/protocol/identify.(*IDService).populateMessage(0xc0001f1040, 0xc0007780b0, 0xf83440, 0xc00048a720, 0xc000354380)
/go/pkg/mod/github.com/libp2p/go-libp2p@v0.9.0/p2p/protocol/identify/id.go:469 +0x4ca
github.com/libp2p/go-libp2p/p2p/protocol/identify.(*IDService).sendIdentifyResp(0xc0001f1040, 0xf83f40, 0xc0003129c0)
/go/pkg/mod/github.com/libp2p/go-libp2p@v0.9.0/p2p/protocol/identify/id.go:402 +0x39a
github.com/libp2p/go-libp2p/p2p/host/basic.(*BasicHost).SetStreamHandler.func1(0xc0001fe280, 0xe, 0x7f0c590e5198, 0xc0003129c0, 0x1, 0x0)
/go/pkg/mod/github.com/libp2p/go-libp2p@v0.9.0/p2p/host/basic/basic_host.go:476 +0x9d
created by github.com/libp2p/go-libp2p/p2p/host/basic.(*BasicHost).newStreamHandler
/go/pkg/mod/github.com/libp2p/go-libp2p@v0.9.0/p2p/host/basic/basic_host.go:327 +0x63c
The fact that it doesn't fail immediately suggests that the BasicHost is successfully creating a signed peer record, since it would fail in the constructor otherwise. But something is causing it to be missing when identify asks the peerstore for the record later.
This came up in the pubsub testground test after updating to go-libp2p v0.9.0 in libp2p/test-plans#7
cc @Stebalien @raulk @aarshkshah1992
Some of the test instances fail when connecting to other peers with the error message
latest peer record does not exist. identify message incomplete!
:The fact that it doesn't fail immediately suggests that the
BasicHost
is successfully creating a signed peer record, since it would fail in the constructor otherwise. But something is causing it to be missing when identify asks the peerstore for the record later.Version Information
The text was updated successfully, but these errors were encountered: