Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unstable unit test failed for smr #400

Open
zhugelianglongming opened this issue Jan 5, 2023 · 0 comments
Open

Unstable unit test failed for smr #400

zhugelianglongming opened this issue Jan 5, 2023 · 0 comments

Comments

@zhugelianglongming
Copy link
Collaborator

zhugelianglongming commented Jan 5, 2023

Brief of the issue

Unit test for smr failed twice out of three times

Your environment

  • XuperChain: v5.3.0
  • OS: MacOS
  • 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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant