xuperchain / xuperchain

A highly flexible blockchain architecture with great transaction performance.

Home Page:https://xuper.baidu.com/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Unstable unit test failed for smr

zhugelianglongming opened this issue · comments

commented

Brief of the issue

Unit test for smr failed twice out of three times

Your environment

XuperChain and OS/Go/gcc version etc.

Reproduce steps

  1. Create a PR
  2. run job in GitHub workflow

Expected behaviours

Unit test passes.

What actually happened

Job log
image

lvl=eror msg="p2p: connection with peer node error" module=xchain log_id=1672838364_5787075085321541 s_mod=network call=server.go:442 pid=13753 error="dial to self attempted"
lvl=eror msg="p2p: connection with peer node error" module=xchain log_id=1672838364_5787075085321541 s_mod=network call=server.go:442 pid=13753 error="failed to dial QmZXjZibcL5hy2Ttv5CnAQnssvnCbPEGBzqk7sAnL69R1E: all dials failed\n  * [/ip4/127.0.0.1/tcp/38203] dial tcp4 127.0.0.1:38203: connect: connection refused"
lvl=eror msg="dht put account=>address value error" module=xchain log_id=1672838364_7201864284330104 s_mod=network call=server.go:237 pid=13753 error="failed to find any peer in table"
lvl=warn msg="handle new message dispatch error" module=xchain log_id=1672838365_8734695179192508 s_mod=network call=server.go:347 pid=13753 type=POSTTX from=QmZXjZibcL5hy2Ttv5CnAQnssvnCbPEGBzqk7sAnL69R1E error="message not register"
lvl=warn msg="p2p: getFilter get peer id by account failed" module=xchain log_id=1672838364_7201864284330104 s_mod=network call=client.go:264 pid=13753 account=SmJG3rH2ZzYQ9ojxhbRCPwFiE9y6pD1Co error="dht get peer id error: routing: not found"
lvl=warn msg="p2p: getFilter get peer id by account failed" module=xchain log_id=1672838364_7201864284330104 s_mod=network call=client.go:264 pid=13753 account=iYjtLcW6SVCiousAb5DFKWtWroahhEj4u error="dht get peer id error: routing: not found"
...
--- FAIL: TestSMR (20.04s)
Error:     smr_test.go:167: update qcTree error biV 0

Additional information

commented

Move to issue to correspond repo OpenAtomFoundation/xupercore#400