[Bug](CI) check_coverage_fe fails with wget exit code 4 downloading Maven from internal HK OSS endpoint
Maintainer thường phản hồi trong vòng 1 ngày
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 2/5
- Thời gian dự kiến
- 1-3 giờ
- Mức phù hợp với người mới
- 65/100
Hướng nghiên cứu
Bắt đầu với script tùy chỉnh check_coverage_fe trong doris-teamcity-settings và kiểm tra cách install_maven_cmd tải Maven. Kiểm tra các nhật ký TeamCity bị lỗi và so sánh URL nội bộ với endpoint công khai được nêu trong issue; hoàn thành khi tải Maven thành công và pipeline coverage tiếp tục đến bash build.sh --fe.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
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
- Ngôn ngữ chính
- Java
- Star
- 16.2k
- Fork
- 4k
- Merge trung bình
- 1 ngày 18 giờ
- Pull request đã merge (30 ngày)
- 654
Chuẩn bị môi trường
- Không có Dockerfile hay tệp Docker Compose
- Có mẫu pull request
- Đọc hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của apache/doris
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 82/100
apache/doris#70258 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
apache/doris#70000 · 2 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
[Bug] array_sort's second comparator argument takes the first argument's name: a nested lambda reads the wrong argument, and alias functions sort nothingCó thể đã có người làm @adarshomrey đã nhận 1 ngày trước. Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 82/100
apache/doris#69919 · 3 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
apache/doris#69863 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
[Bug] Upper-case hex in cloud initial rowset id is mis-parsed by BE from_hex (lossy, non-unique RowsetId)Có thể đã có người làm @siddiqueirshad đã nhận 9 ngày trước. Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
apache/doris#69371 · 2 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
Issue tương tự
-
Visual COBOL: missing 11.0 and 12.0, and 9.0 date differs from Rocket Software's lifecycle pageĐang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
endoflife-date/endoflife.date#11561 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
[Bug]: Surefire report output creates the parent folder also when "Create parent folder" is offĐang mởawaiting triage P3 Transforms
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 76/100
Maintainer thường phản hồi trong vòng 1 ngày
-
[BUG] OpenSearch domain endpoint includes a URI scheme and breaks standard Terraform consumersĐang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 65/100
floci-io/floci#7707 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 82/100
checkstyle/checkstyle#22491 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
allow longer time between checksĐang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100