AlexStocks commented on PR #3575: URL: https://github.com/apache/dubbo-go/pull/3575#issuecomment-6718358386
## Integration Test 红灯排查:与本 PR 改动无关(已重跑) `42450823976` 的 Integration Test 在 **`generic`** sample 失败:前 11 个 sample(helloworld / otel / direct / filter×3 / registry×4 / polaris)全部 `ok`,其余所有 job 全绿。 **现象**:generic 的 Go client 所有调用都是 `dial tcp 127.0.0.1:50052: connect: connection refused`;server 通过了上游脚本的 PID 存活检查,但 50052 尚未监听,client 抢跑。 **为什么不是本 PR 引入的回归**: - 上一次 CI 全绿是 10-28 的 run `40666437204`(head `f47eadcb`)。从它到本次 head `3bc7cad1` 只有 1 个 commit,改动为 `CODEOWNERS`(删除 42 行)和 `CODE_REVIEW_GUIDE.md`(+17/-15)—— **没有任何 Go 代码变化**。 - 失败 sample 的 client 日志明确是 `[Router][Script] Config center does not start, Script router will not be enabled`:本 PR 修改的 script-router 超时逻辑在这条链路上**根本没有被启用**。 - 上游 `apache/dubbo-go-samples` 的 `generic/` 自 2026-09-02(#1144)后未变;server `protocol.WithPort(50052)` 与 client `tri://127.0.0.1:50052` 端口一致,不是配置漂移。 **根因指向 samples 侧脚本的就绪竞态**:`apache/dubbo-go-samples@main` 的 `integrate_test.sh` `start_go_server()`(约 542–572 行)在 `make start` 之后固定 `sleep 5`,只检查 PID 文件与 `kill -0`,**没有做端口就绪探测**。generic server 首次编译/启动偶发超过这个窗口,就会出现「进程活着但端口没开」。脚本里已有 `wait_for_tcp_port` helper(用于 Nacos 就绪判断),可直接复用为 `wait_for_tcp_port 127.0.0.1 50052 <timeout>`。 **处理**:已对失败的 Integration Test job 触发 rerun(run `42450823976` attempt 2),其余成功的 job 保持不变。若重跑仍复现,建议在 `apache/dubbo-go-samples` 单独提 issue 修就绪探测,不需要为此改本 PR 的代码。 -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
