From 6d24e73f8db800ee66ee5190352b093990429ded Mon Sep 17 00:00:00 2001 From: Etan Kissling Date: Mon, 7 Aug 2023 04:58:50 +0200 Subject: [PATCH] adjust keymanager test port base (#5263) Port 9952 sometimes seems blocked, maybe by another Status project being tested on the same host, or by UPS process, or maybe it needs SO_REUSEPORT as well? Switch to 9962 for now to see if that improves things. ``` {"lvl":"DBG","ts":"2023-08-06 13:44:56.834+03:00","msg":"Initializing ELManager","topics":"beacnde","tid":231629305,"file":"el_manager.nim:1823","depositContractBlockNumber":1,"depositContractBlockHash":"00000000"} {"lvl":"ERR","ts":"2023-08-06 13:44:56.834+03:00","msg":"Could not create HTTP server instance","topics":"beacnde","tid":231629305,"file":"server.nim:50","address":{"family":"IPv4","address_v4":[127,0,0,1],"port":9952},"serverIdent":"nim-presto/0.0.3 (arm64/macosx)","serverFlags":["NotifyDisconnect","QueryCommaSeparatedArray"],"socketFlags":["ReuseAddr"],"serverUri":{"scheme":"","username":"","password":"","hostname":"","port":"","path":"","query":"","anchor":"","opaque":false,"isIpv6":false},"maxConnections":-1,"backlogSize":100,"bufferSize":4096,"httpHeadersTimeout":"15250w1d23h47m16s854ms775us807ns","maxHeadersSize":131072,"maxRequestBodySize":16777216,"err":"(48) Address already in use"} {"lvl":"NOT","ts":"2023-08-06 13:44:56.835+03:00","msg":"Rest server could not be started","topics":"beacnde","tid":231629305,"file":"nimbus_binary_common.nim:370","address":"127.0.0.1:9952","reason":"Could not create HTTP server instance"} ``` --- Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 98ddb183f..cb76b5303 100644 --- a/Makefile +++ b/Makefile @@ -171,6 +171,7 @@ libbacktrace: # Make sure ports don't overlap to support concurrent execution of tests # Avoid selecting ephemeral ports that may be used by others; safe = 5001-9999 +# - Port 9952 sometimes reports (48) Address already in use. # # EXECUTOR_NUMBER: [0, 2] (depends on max number of concurrent CI jobs) # @@ -199,7 +200,7 @@ libbacktrace: # - --base-el-rpc-port + --el-port-offset * [0, --nodes + --light-clients) # - --base-el-ws-port + --el-port-offset * [0, --nodes + --light-clients) # - --base-el-auth-rpc-port + --el-port-offset * [0, --nodes + --light-clients) -UNIT_TEST_BASE_PORT := 9950 +UNIT_TEST_BASE_PORT := 9960 REST_TEST_BASE_PORT := 9990 restapi-test: