Skip to content

[Bug]: UT TestRequestMultipleCn_FailedNodesOnlyRealAddresses failed #23221

@gouhongshen

Description

@gouhongshen

Is there an existing issue for the same bug?

  • I have checked the existing issues.

Branch Name

3.0-dev

Commit ID

latest

Other Environment Information

- Hardware parameters:
- OS type:
- Others:

Actual Behavior

https://github.com/matrixorigin/matrixone/actions/runs/19953286828/job/57217479817?pr=23220

[TEST]: TestRequestMultipleCn_FailedNodesOnlyRealAddresses
[START_AT]: 2025-12-05T05:19:50Z
[END_AT]: 2025-12-05T05:19:50Z
[RESULT]: fail
[ELAPSED]: 0.05
[OUTPUTS]:
=== RUN   TestRequestMultipleCn_FailedNodesOnlyRealAddresses
2025/12/05 05:19:50.291129 +0000 INFO RequestMultipleCn queryservice/query_service.go:184 [send request]test_failed_nodes send request GetCacheInfo to unix:///tmp/node1-285101469.sock
2025/12/05 05:19:50.291476 +0000 ERROR cn-service.query-client init remote connection failed, retry later {"uuid": "", "remote": "unix:///tmp/node1-285101469.sock", "backend-id": "019aecf3-c613-74ad-b0e4-713e770e3581", "can-retry": false, "error": "dial unix /tmp/node1-285101469.sock: connect: no such file or directory"}
2025/12/05 05:19:50.291566 +0000 ERROR cn-service.query-client connect to remote failed {"uuid": "", "remote": "unix:///tmp/node1-285101469.sock", "backend-id": "019aecf3-c613-74ad-b0e4-713e770e3581"}
2025/12/05 05:19:50.294559 +0000 INFO RequestMultipleCn queryservice/query_service.go:184 [send request]test_failed_nodes send request GetCacheInfo to unix:///tmp/node2-285109780.sock
2025/12/05 05:19:50.294941 +0000 ERROR cn-service.query-client init remote connection failed, retry later {"uuid": "", "remote": "unix:///tmp/node2-285109780.sock", "backend-id": "019aecf3-c616-7b25-baeb-492ab6c6249f", "can-retry": false, "error": "dial unix /tmp/node2-285109780.sock: connect: no such file or directory"}
2025/12/05 05:19:50.295026 +0000 ERROR cn-service.query-client connect to remote failed {"uuid": "", "remote": "unix:///tmp/node2-285109780.sock", "backend-id": "019aecf3-c616-7b25-baeb-492ab6c6249f"}
2025/12/05 05:19:50.303113 +0000 ERROR RequestMultipleCn queryservice/query_service.go:316 [request failed] test_failed_nodes distributed request to 2 nodes: 0 succeeded, 2 failed, failed nodes: [unix:///tmp/node1-285101469.sock unix:///tmp/node2-285109780.sock], error: failed to get result from unix:///tmp/node1-285101469.sock: can not connect to remote backend, dial unix /tmp/node1-285101469.sock: connect: no such file or directory
    multi_cn_bug_test.go:438: 
        	Error Trace:	/home/runner/work/matrixone/matrixone/pkg/queryservice/multi_cn_bug_test.go:438
        	            				/home/runner/work/matrixone/matrixone/pkg/queryservice/query_service_test.go:311
        	            				/home/runner/work/matrixone/matrixone/pkg/common/runtime/runtime.go:219
        	            				/home/runner/work/matrixone/matrixone/pkg/queryservice/query_service_test.go:165
        	            				/home/runner/work/matrixone/matrixone/pkg/queryservice/multi_cn_bug_test.go:407
        	Error:      	"failed to get result from unix:///tmp/node1-285101469.sock: can not connect to remote backend, dial unix /tmp/node1-285101469.sock: connect: no such file or directory" does not contain "context deadline exceeded"
        	Test:       	TestRequestMultipleCn_FailedNodesOnlyRealAddresses
        	Messages:   	Error should indicate timeout
--- FAIL: TestRequestMultipleCn_FailedNodesOnlyRealAddresses (0.05s)
steps.ut.conclusion: failure
FAIL_UT_CASES=TestRequestMultipleCn_FailedNodesOnlyRealAddresses,

Expected Behavior

No response

Steps to Reproduce

run ci

Additional information

No response

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions