[Bug](CI) check_coverage_fe fails with wget exit code 4 downloading Maven from internal HK OSS endpoint
维护者通常 1 天内回复
还没有人认领这个 Issue。
评估
调研方向
从 doris-teamcity-settings 中的自定义脚本 check_coverage_fe 开始,检查 install_maven_cmd 如何下载 Maven。查看失败的 TeamCity 日志,并将内部 URL 与 issue 中提到的公共端点进行比较;当 Maven 下载成功且覆盖率流水线继续执行到 bash build.sh --fe 时,即为完成。
由索引模型根据 Issue 内容生成。
描述
Search before asking
- I had searched in the issues and found no similar issues.
Version
master branch (TeamCity build configuration Doris_Coverage_CheckCoverageFe)
What's Wrong?
In TeamCity CI, the check_coverage_fe (Coverage for Doris FE UT) pipeline (buildTypeId=Doris_Coverage_CheckCoverageFe, configured in doris-teamcity-settings) fails during the container bootstrap step with Process exited with code 4 (wget network failure) before running bash build.sh --fe:
[16:29:15]W: [Step 1/1] + docker run --rm -v /home/work/unlimit_teamcity/TeamCity/Agents/20261102142722agent_172.17.0.92_1/system/git/git-01C3C15E.git:/root/git -v /home/work/unlimit_teamcity/TeamCity/Agents/20261102142722agent_172.17.0.92_1/work/60183217f6ee2a9c:/root/doris -w /root/doris apache/doris:build-env-ldb-toolchain-latest bash -c 'cd /usr/local/ && wget -t3 -c -q https://doris-regression-hk.oss-cn-hongkong-internal.aliyuncs.com/tools/maven/apache-maven-3.9.12-bin.tar.gz && tar -zxf apache-maven-3.9.12-bin.tar.gz && export PATH=/usr/local/apache-maven-3.9.12/bin:$PATH && mvn --version && cd - && ...'
[16:29:35]W: [Step 1/1] Process exited with code 4
[16:29:35]E: [Step 1/1] Process exited with code 4 (Step: check_coverage_fe (Command Line))
[16:29:35]E: [Step 1/1] Step check_coverage_fe (Command Line) failed
Example failing builds on #69938:
http://43.132.222.7:8111/viewLog.html?buildId=1088718&buildTypeId=Doris_Coverage_CheckCoverageFehttp://43.132.222.7:8111/viewLog.html?buildId=1089151&buildTypeId=Doris_Coverage_CheckCoverageFe
Root Cause:
In the check_coverage_fe custom script:
- Earlier steps on the agent use public OSS endpoints (
https://qa-build-hk.oss-cn-hongkong.aliyuncs.com/tools/jacoco-0.8.13.zipandhttps://qa-build.oss-cn-beijing.aliyuncs.com/tools/latest/qacli), which succeed. - However,
install_maven_cmdinsidedocker runuses the VPC-internal endpointhttps://doris-regression-hk.oss-cn-hongkong-internal.aliyuncs.com/tools/maven/apache-maven-3.9.12-bin.tar.gz:
When the agent/container cannot route to theinstall_maven_cmd="cd /usr/local/ && wget -t3 -c -q https://doris-regression-hk.oss-cn-hongkong-internal.aliyuncs.com/tools/maven/apache-maven-3.9.12-bin.tar.gz && tar -zxf apache-maven-3.9.12-bin.tar.gz && export PATH=/usr/local/apache-maven-3.9.12/bin:\$PATH && mvn --version && cd - &&"cn-hongkong-internalVPC endpoint,wget -qfails after 3 attempts (~20s) with exit code4(Network failure).
What You Expected?
Doris_Coverage_CheckCoverageFe should download apache-maven-3.9.12-bin.tar.gz from a reachable endpoint (e.g., https://doris-regression-hk.oss-cn-hongkong.aliyuncs.com/tools/maven/apache-maven-3.9.12-bin.tar.gz or falling back to the public endpoint when -internal is unreachable) so check_coverage_fe succeeds consistently.
How to Reproduce?
Trigger run buildall on a PR targeting master that touches FE files (e.g. #69938) and inspect the check_coverage_fe (Coverage for Doris FE UT) TeamCity build log after P0, External, NonConcurrent, and Cloud_P0 complete.
Anything Else?
Related to #60918 (where check_coverage_fe was previously updated in the internal TeamCity configuration) and #67785.
Are you willing to submit PR?
- Yes I am willing to submit a PR!
Code of Conduct
- I agree to follow this project's Code of Conduct
- 主要语言
- Java
- 星标
- 16.2k
- 派生
- 4k
- 平均合并
- 1 天 18 小时
- 30 天内合并 PR
- 654
环境准备
- 没有 Dockerfile 或 Docker Compose 文件
- 有 Pull Request 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
apache/doris 的其他 Issue
-
难度 2/5 1-3 小时 新手友好度 82/100
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 72/100
维护者通常 1 天内回复
-
[Bug] array_sort's second comparator argument takes the first argument's name: a nested lambda reads the wrong argument, and alias functions sort nothing可能已有人在做 @adarshomrey 于 1 天前认领。 未关闭
难度 2/5 1-3 小时 新手友好度 82/100
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 78/100
维护者通常 1 天内回复
-
[Bug] Upper-case hex in cloud initial rowset id is mis-parsed by BE from_hex (lossy, non-unique RowsetId)可能已有人在做 @siddiqueirshad 于 9 天前认领。 未关闭
难度 2/5 1-3 小时 新手友好度 78/100
维护者通常 1 天内回复
相似的 Issue
-
bug key bindings source editor
难度 2/5 1-3 小时 新手友好度 75/100
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 78/100
endoflife-date/endoflife.date#11561 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 73/100
conductor-oss/conductor#1824 ·
维护者通常 5 天内回复
-
Type: Possible bug
难度 2/5 1-3 小时 新手友好度 66/100
AntennaPod/AntennaPod#8887 · 1 条评论 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 76/100
Card-Forge/forge#12710 ·
维护者通常 1 天内回复