-
Notifications
You must be signed in to change notification settings - Fork 21k
Closed
Labels
Description
You may choose any flaky test to fix if you are interested, but be aware that some flaky tests could be complicated.
If you want to investigate the failure, you could add
log.SetDefault(log.NewLogger(log.NewGlogHandler(log.NewTerminalHandler(os.Stderr, false))))
in the test to stream out the logs.
Besides, you could use stress
tool to verify if your fix is correct, instructions as follow:
- go install golang.org/x/tools/cmd/stress@latest
- cd to the package
- run
go test -c
- run
stress ./<package-name>.test <your test>
- TestUpdatedKeyfileContents
--- FAIL: TestUpdatedKeyfileContents (7.04s)
account_cache_test.go:366: First replacement failed
account_cache_test.go:367:
got [{0x7EF5A6135f1FD6a02593eEdC869c6D41D934aef8 keystore:///tmp/eth-keystore-updatedkeyfilecontents-test-21927-2834323236070515189/aaa}]
want [{0xf466859eAD1932D743d622CB74FC058882E[864](https://ci.appveyor.com/project/ethereum/go-ethereum/builds/49872631/job/l6n26y9xk0vsgxkm#L864)8A keystore:///tmp/eth-keystore-updatedkeyfilecontents-test-21927-2834323236070515189/aaa}]
- TestSkeletonSyncRetrievals
--- FAIL: TestSkeletonSyncRetrievals (2.40s)
skeleton_test.go:908: test 6, mid state: dropped peers mismatch: have 0, want 1
FAIL
- TestBuildPayload
--- FAIL: TestBuildPayload (0.00s)
payload_building_test.go:182: Unexpected transaction set
FAIL
- TestServerPortMapping
--- FAIL: TestServerPortMapping (0.01s)
server_nat_test.go:45: listen udp [::]:50414: bind: An attempt was made to access a socket in a way forbidden by its access permissions.
- TestWalletNotifications
--- FAIL: TestWalletNotifications (0.83s)
keystore_test.go:427: wallet list doesn't match required accounts: have 491, want 490
keystore_test.go:455: can't find event with Kind=2 for 56fe5c503fb7f1850298b7d6896cfd8019b525e1
FAIL
- TestTable_revalidateSyncRecord
--- FAIL: TestTable_revalidateSyncRecord (2.00s)
table_reval.go:170: DEBUG[06-05|13:46:45.901] Node revalidated b=9 id=0100000000000000 checks=1 q=fast
table_test.go:427: Table did not send revalidation ping
FAIL
- TestHTTPNodeRPC
--- FAIL: TestHTTPNodeRPC (10.01s)
http_test.go:587: context deadline exceeded
FAIL
FAIL github.com/ethereum/go-ethereum/p2p/simulations 12.163s
- TestJWT
--- FAIL: TestJWT (0.01s)
rpcstack.go:168: INFO [08-02|16:49:51.995] WebSocket enabled url=ws://127.0.0.1:42707
rpcstack.go:175: INFO [08-02|16:49:51.995] HTTP server started endpoint=127.0.0.1:42707 auth=true prefix= cors= vhosts=
rpcstack_test.go:378: checking RPC/HTTP on http://127.0.0.1:42707/ [Authorization ***
rpcstack_test.go:378: checking RPC/HTTP on http://127.0.0.1:42707/ [Authorization ***
rpcstack_test.go:378: checking RPC/HTTP on http://127.0.0.1:42707/ [Authorization ***
rpcstack_test.go:378: checking RPC/HTTP on http://127.0.0.1:42707/ [Authorization ***
rpcstack_test.go:378: checking RPC/HTTP on http://127.0.0.1:42707/ [Authorization ***
rpcstack_test.go:440: tc 0-ws, token '***': expected not to allow, got ok
rpcstack_test.go:444: checking RPC/HTTP on http://127.0.0.1:42707/ [Authorization ***
rpcstack_test.go:444: checking RPC/HTTP on http://127.0.0.1:42707/ [Authorization ***
rpcstack_test.go:444: checking RPC/HTTP on http://127.0.0.1:42707/ [Authorization ***
rpcstack_test.go:444: checking RPC/HTTP on http://127.0.0.1:42707/ [Authorization ***
rpcstack_test.go:444: checking RPC/HTTP on http://127.0.0.1:42707/ [Authorization ***
rpcstack_test.go:444: checking RPC/HTTP on http://127.0.0.1:42707/ [Authorization ***
rpcstack_test.go:444: checking RPC/HTTP on http://127.0.0.1:42707/ [Authorization ***
rpcstack_test.go:444: checking RPC/HTTP on http://127.0.0.1:42707/ [Authorization ***
rpcstack_test.go:444: checking RPC/HTTP on http://127.0.0.1:42707/ [Authorization ***
rpcstack_test.go:444: checking RPC/HTTP on http://127.0.0.1:42707/ [Authorization ***
rpcstack_test.go:444: checking RPC/HTTP on http://127.0.0.1:42707/ [Authorization bearer ***
rpcstack_test.go:444: checking RPC/HTTP on http://127.0.0.1:42707/ [Authorization Bearer: ***
rpcstack_test.go:444: checking RPC/HTTP on http://127.0.0.1:42707/ [Authorization Bearer:***
rpcstack_test.go:444: checking RPC/HTTP on http://127.0.0.1:42707/ [Authorization ***
rpcstack_test.go:444: checking RPC/HTTP on http://127.0.0.1:42707/ [Authorization ***
rpcstack.go:290: INFO [08-02|16:49:52.008] HTTP server stopped endpoint=127.0.0.1:42707
FAIL
lightclient and s1na