node icon indicating copy to clipboard operation
node copied to clipboard

flapping test: grpc failure

Open troian opened this issue 4 years ago • 4 comments

--- FAIL: TestGRPCRestTestSuite (0.07s)
    grpc_rest_test.go:28: setting up integration test suite
    network.go:169: acquiring test network lock
    network.go:174: created temporary directory: /tmp/TestGRPCRestTestSuite733503933/001/chain-ksLbV8373813752
    network.go:183: preparing test network...
    network.go:364: starting test network...
    network.go:366: 
        	Error Trace:	network.go:366
        	            				grpc_rest_test.go:34
        	            				suite.go:118
        	            				grpc_rest_test.go:261
        	Error:      	Received unexpected error:
        	            	failed to listen on 0.0.0.0:38359: listen tcp 0.0.0.0:38359: bind: address already in use
        	Test:       	TestGRPCRestTestSuite

troian avatar Jan 17 '21 17:01 troian

looks like coming from cosmos-sdk

--- FAIL: TestIntegrationTestSuite (5.18s)
    network_test.go:21: setting up integration test suite
    network.go:171: acquiring test network lock
    network.go:176: created temporary directory: /tmp/TestIntegrationTestSuite002363772/001/chain-Tmdi9N381449387
    network.go:185: preparing test network...
    network.go:372: starting test network...
    network.go:374: 
        	Error Trace:	network.go:374
        	            				network_test.go:23
        	            				suite.go:118
        	            				network_test.go:41
        	Error:      	Received unexpected error:
        	            	listen tcp 0.0.0.0:38773: bind: address already in use
        	Test:       	TestIntegrationTestSuite
FAIL

/cc @anilCSE @akhilkumarpilli

troian avatar Jan 25 '21 17:01 troian

@troian looks like some process is not closing properly. Is it coming everytime?

anilcse avatar Jan 25 '21 17:01 anilcse

i've seen two times, one our repo and another in cosmos

troian avatar Jan 25 '21 18:01 troian

Looks like this issue is coming when multiple jobs are running. I couldn't reproduce this but have experienced this on cosmos-sdk sometimes

anilcse avatar Jan 25 '21 18:01 anilcse