[Bug]: UT failed in Test_ConnectionCount(1.2-dev)
Is there an existing issue for the same bug?
- [X] I have checked the existing issues.
Branch Name
1.2-dev
Commit ID
f89ad17352ee036cfc59fe44f308eb71108754a8
Other Environment Information
- Hardware parameters:
- OS type:
- Others:
Actual Behavior
2024-09-29T13:07:29.5070646Z === RUN Test_ConnectionCount 2024-09-29T13:07:29.5070747Z Server started 2024-09-29T13:07:29.5071630Z 2024/09/29 12:58:43.249256 +0000 INFO cn-service.frontend check password succeeded {"uuid": "", "session_info": "", "session_id": "01923ddc-a4b0-7b02-b738-167603baf024"} 2024-09-29T13:07:29.5072349Z 2024/09/29 12:58:43.251253 +0000 DEBUG cn-service.frontend SWITCH TLS_ESTABLISHED to true {"uuid": "", "connection_info": "connectionId 1005|127.0.0.1:44170"} 2024-09-29T13:07:29.5073048Z 2024/09/29 12:58:43.251323 +0000 DEBUG cn-service.frontend SWITCH ESTABLISHED to true {"uuid": "", "connection_info": "connectionId 1005|127.0.0.1:44170"} 2024-09-29T13:07:29.5075423Z 2024/09/29 12:58:43.251403 +0000 INFO cn-service.frontend mo accept connection, time cost of Created: 309.092µs, Establish: 2.172258ms, UpgradeTLS: 0s, Authenticate: 2.023157ms, SendErrPacket: 0s, SendOKPacket: 34.084µs, CheckTenant: 0s, CheckUser: 0s, CheckRole: 0s, CheckDbName: 0s, InitGlobalSysVar: 0s {"uuid": "", "session_info": "", "session_id": "01923ddc-a4b0-7b02-b738-167603baf024"} 2024-09-29T13:07:29.5078029Z 2024/09/29 12:58:43.253652 +0000 INFO cn-service.frontend mo received first request {"uuid": "", "session_info": "connectionId 1005||{account sys:dump: -- 0:0:0}|goRoutineId 689|migrate-goRoutineId 0|01923ddc-a4b0-7b02-b738-167603baf024", "session_id": "01923ddc-a4b0-7b02-b738-167603baf024"} 2024-09-29T13:07:29.5079613Z 2024/09/29 12:58:45.363250 +0000 INFO cn-service.frontend check password succeeded {"uuid": "", "session_info": "", "session_id": "01923ddc-acf0-79cb-b0a6-4c4d6c2d8bc2"} 2024-09-29T13:07:29.5080879Z 2024/09/29 12:58:45.363503 +0000 DEBUG cn-service.frontend SWITCH TLS_ESTABLISHED to true {"uuid": "", "connection_info": "connectionId 1006|127.0.0.1:44178"} 2024-09-29T13:07:29.5082291Z 2024/09/29 12:58:45.363579 +0000 DEBUG cn-service.frontend SWITCH ESTABLISHED to true {"uuid": "", "connection_info": "connectionId 1006|127.0.0.1:44178"} 2024-09-29T13:07:29.5085519Z 2024/09/29 12:58:45.363672 +0000 INFO cn-service.frontend mo accept connection, time cost of Created: 373.533µs, Establish: 462.781µs, UpgradeTLS: 0s, Authenticate: 295.276µs, SendErrPacket: 0s, SendOKPacket: 113.223µs, CheckTenant: 0s, CheckUser: 0s, CheckRole: 0s, CheckDbName: 0s, InitGlobalSysVar: 0s {"uuid": "", "session_info": "", "session_id": "01923ddc-acf0-79cb-b0a6-4c4d6c2d8bc2"} 2024-09-29T13:07:29.5087306Z 2024/09/29 12:58:45.363858 +0000 INFO cn-service.frontend mo received first request {"uuid": "", "session_info": "connectionId 1006||{account sys:dump: -- 0:0:0}|goRoutineId 869|migrate-goRoutineId 0|01923ddc-acf0-79cb-b0a6-4c4d6c2d8bc2", "session_id": "01923ddc-acf0-79cb-b0a6-4c4d6c2d8bc2"} 2024-09-29T13:07:29.5087489Z routine_test.go:220: 2024-09-29T13:07:29.5088028Z Error Trace: /home/runner/work/matrixone/matrixone/pkg/frontend/routine_test.go:220 2024-09-29T13:07:29.5088323Z Error: "1" is not greater than or equal to "2" 2024-09-29T13:07:29.5088527Z Test: Test_ConnectionCount 2024-09-29T13:07:29.5090092Z {"level":"info","ts":"2024-09-29 12:58:49.375","caller":"[email protected]/application.go:383","msg":"session read failed","listen-addresses":"[127.0.0.1:6001]","session-id":2,"addr":"127.0.0.1:54560","error":"writeto tcp4 127.0.0.1:6001->127.0.0.1:54560: read tcp4 127.0.0.1:6001->127.0.0.1:54560: use of closed network connection"} 2024-09-29T13:07:29.5091716Z {"level":"error","ts":"2024-09-29 12:58:49.375","caller":"[email protected]/application.go:357","msg":"handle session failed","listen-addresses":"[127.0.0.1:6001]","error":"writeto tcp4 127.0.0.1:6001->127.0.0.1:54560: read tcp4 127.0.0.1:6001->127.0.0.1:54560: use of closed network connection"} 2024-09-29T13:07:29.5093252Z {"level":"info","ts":"2024-09-29 12:58:49.376","caller":"[email protected]/application.go:383","msg":"session read failed","listen-addresses":"[127.0.0.1:6001]","session-id":4,"addr":"127.0.0.1:44170","error":"writeto tcp4 127.0.0.1:6001->127.0.0.1:44170: read tcp4 127.0.0.1:6001->127.0.0.1:44170: use of closed network connection"} 2024-09-29T13:07:29.5094730Z {"level":"error","ts":"2024-09-29 12:58:49.376","caller":"[email protected]/application.go:357","msg":"handle session failed","listen-addresses":"[127.0.0.1:6001]","error":"writeto tcp4 127.0.0.1:6001->127.0.0.1:44170: read tcp4 127.0.0.1:6001->127.0.0.1:44170: use of closed network connection"} 2024-09-29T13:07:29.5094920Z Server exited 2024-09-29T13:07:29.5096733Z {"level":"info","ts":"2024-09-29 12:58:49.379","caller":"[email protected]/application.go:383","msg":"session read failed","listen-addresses":"[127.0.0.1:6001]","session-id":1,"addr":"127.0.0.1:44178","error":"writeto tcp4 127.0.0.1:6001->127.0.0.1:44178: read tcp4 127.0.0.1:6001->127.0.0.1:44178: use of closed network connection"} 2024-09-29T13:07:29.5098452Z {"level":"error","ts":"2024-09-29 12:58:49.379","caller":"[email protected]/application.go:357","msg":"handle session failed","listen-addresses":"[127.0.0.1:6001]","error":"writeto tcp4 127.0.0.1:6001->127.0.0.1:44178: read tcp4 127.0.0.1:6001->127.0.0.1:44178: use of closed network connection"} 2024-09-29T13:07:29.5119564Z Server exited 2024-09-29T13:07:29.5120094Z --- FAIL: Test_ConnectionCount (8.23s)
Expected Behavior
No response
Steps to Reproduce
https://github.com/matrixorigin/matrixone/actions/runs/11092817495/job/30818328345?pr=19092
Additional information
No response
main 上已经改写了这个ut。没这个问题了。
main 上已经改写了这个ut。没这个问题了
未投入
等2.0升级后,可关掉
等2.0升级后,可关掉
等2.0升级后,可关掉
等2.0升级后,可关掉
等2.0升级后,可关掉
等2.0升级后,可关掉
等2.0升级后,可关掉
等2.0升级后,可关掉
已经升级到2.0 可关闭