Skip to content

CI infra: Maven cannot resolve parent POM org.apache:apache (${repoOrgUrl}) #20436

Description

@FrankChen021

This issue was generated automatically by Claude Code (Anthropic's AI coding agent) running a scheduled CI-triage routine on behalf of @FrankChen021. Analysis and suggested fixes are AI-produced; please verify before acting on them.

Status: Fix PR #20718 open
Subject: Maven project-model build aborts before any test runs (any Maven job)
Failures: 19 · First seen: 2026-09-23 · Last seen: 2026-12-03

Root cause

Maven aborts building the project model because it cannot fetch the parent POM org.apache:apache:pom:NN from Maven Central. Earlier failures fell back to a repository declared with unresolved ${repoOrgUrl} placeholders; on 2026-10-08 Central itself answered not-found for org.apache:apache:pom:40 on a runner with no ~/.m2 cache, three times in about 25 s, while every other job in the same run resolved it. On 2026-10-16 it happened twice more, 11 hours apart; in the strict-compilation job the parent POM resolved on the third attempt but the checkstyle plugin's dependency descriptors then also came back not-found, so the miss is not limited to the parent POM. On 2026-10-17 two more jobs on different commits, started within a minute of each other, failed all 3 attempts the same way. On 2026-10-20 Central's CDN returned HTTP 502 for ordinary dependency POMs mid-build, which Maven then cached as a failure for the rest of the run. On 2026-10-21 Central also answered HTTP 429 (rate limited) to two jobs, once for the parent POM and once for a surefire provider POM mid-build. On 2026-10-28 the pre-resolve step (now ./mvnw -U -N validate) got past the parent POM but Central answered not-found for the checkstyle plugin's dependency POMs (doxia-core, plexus-utils, commons-lang3, …) on all 3 attempts, again on a runner with no ~/.m2 cache. On 2026-10-29 Central answered HTTP 502 for commons-text:pom:1.15.0 during druid-processing dependency collection on a cold runner (the kafka-clients bump changed the cache key, so maven cache is not found). On 2026-10-31 Central answered HTTP 429 for maven-clean-plugin:pom:3.5.0 in the CodeQL Analyze (java) build, 30 s in, even though the ~/.m2 cache was restored, and the same CodeQL 429 recurred on 2026-11-03. On 2026-11-04 the identical 429 for maven-clean-plugin:pom:3.5.0 hit the docker-tests build step, also with the ~/.m2 cache restored, so it is not specific to CodeQL. On 2026-11-19 two jobs in the same run on a checkstyle bump failed: Central answered HTTP 429 for org.apache:apache:pom:40 in packaging-check before any module was built, and a Connection reset from Central aborted prometheus-emitter dependency collection 18.7 min into a unit-test job, so the later modules' tests never ran; the previous master commit (#20932) passed both jobs. It is a transient Central/CDN miss, unrelated to the commits.

Suggested fix

#20459 added a 3-attempt ./mvnw -N validate pre-resolve step, which was not enough and has since been removed by #20734; master now has no Maven retry at all. Use a longer exponential backoff (e.g. 5 attempts up to ~2 minutes) in that step, and always restore a small ~/.m2 cache that holds org.apache:apache so the job doesn't depend on a fresh Central download. For mid-build misses, raise the resolver's HTTP retry count (-Daether.connector.http.retryHandler.count=5 on Maven 3.9, in .mvn/maven.config) so 5xx and 429 responses are retried instead of cached as failures. Fix PR: #20718 (open, now conflicts with #20734 and needs a rebase; the retryHandler part alone would have covered the 2026-10-20 and 2026-10-29 mid-build 502s and the 2026-10-31 CodeQL 429). The CodeQL workflow runs its own Maven build, so the retry setting belongs in .mvn/maven.config rather than in a step of one workflow.

Occurrences

Failed push-triggered master jobs only. The daily triage routine adds one row per new failed job.

Date Commit Job Failure log Detail Reported in
2026-09-23 a379ea8 (#20397) openrewrite job 107010233252 org.apache:apache:pom:39 not resolvable #20414
2026-09-25 f7fbbe7 (#20411) run-separated-tests (QTest 2/4) job 107908697350 org.apache:apache:pom:40 not resolvable #20428
2026-10-08 bbeb731 (#20509) unit tests / unit tests(main) (25, M*,A*,V*,W*) / test-jdk25-[M*,A*,V*,W*] job 113294915359 Resolve Apache parent POM step (from #20459): Could not find artifact org.apache:apache:pom:40 in Central, no ~/.m2 cache; failed all 3 attempts 12 s apart
2026-10-16 17d5ad0 (#20584) unit tests / unit tests(main) (25, H*,D*,T*,O*) / test-jdk25-[H*,D*,T*,O*] job 116764225287 Resolve Apache parent POM step: org.apache:apache:pom:40 not found in Central, no ~/.m2 cache; failed all 3 attempts
2026-10-16 206e3c9 (#20615) strict-compilation / strict-compilation job 116971272013 org.apache:apache:pom:40 not found on attempts 1–2, resolved on attempt 3; mvn then failed reading checkstyle plugin descriptors (doxia-sink-api, plexus-utils, …) from Central
2026-10-17 afdd2be (#20598) strict-compilation / strict-compilation job 117275208743 Resolve Apache parent POM step: org.apache:apache:pom:40 not found in Central, no ~/.m2 cache; failed all 3 attempts
2026-10-17 9e45459 (#20573) unit tests / run-separated-tests (QTest 2/4, -Dtest=QTest -Dquidem.split=2/4) / QTest 2/4 job 117275043687 Resolve Apache parent POM step: org.apache:apache:pom:40 not found in Central, no ~/.m2 cache; failed all 3 attempts
2026-10-20 4c4ad2c (#20625) unit tests / unit tests(main) (25, K*,U*,Z*,Y*,X*) / test-jdk25-[K*,U*,Z*,Y*,X*] job 118168934297 druid-iceberg-extensions dependency resolution: Central (Cloudflare) answered HTTP 502 for iceberg-hive-metastore:pom:1.12.0 and guava-bom:pom:33.4.8-jre; build aborted after 13.5 min, so later modules' tests never ran
2026-10-21 c2563d0 (#20636) unit tests / run-separated-tests (QTest 1/4, -Dtest=QTest -Dquidem.split=1/4) / QTest 1/4 job 119012342540 Resolve Apache parent POM step: org.apache:apache:pom:40 not found in Central; failed all 3 attempts
2026-10-21 def6c17 (#20633) unit tests / unit tests(main) (25, K*,U*,Z*,Y*,X*) / test-jdk25-[K*,U*,Z*,Y*,X*] job 119226468035 parent POM resolved, then surefire in druid-processing could not fetch surefire-junit-platform:pom:3.6.0: Central answered HTTP 429; no tests ran
2026-10-21 96431fe (#20648) openrewrite / openrewrite job 119289423640 Resolve Apache parent POM step: Central answered HTTP 429 (Too Many Requests) for org.apache:apache:pom:40; failed all 3 attempts
2026-10-28 c53272f (#20744) unit tests / run-separated-tests (QTest 2/4, -Dtest=QTest -Dquidem.split=2/4) / QTest 2/4 job 122579583453 pre-resolve step: checkstyle plugin dependency POMs (doxia-core:2.0.0, plexus-utils:4.0.1, commons-lang3:3.17.0, …) not found in Central, no ~/.m2 cache; failed all 3 attempts
2026-10-29 36bec2f (#20657) unit tests / strict-compilation / strict-compilation job 123448881673 druid-processing dependency collection: Central answered HTTP 502 for commons-text:pom:1.15.0, no ~/.m2 cache; build aborted after 1.5 min, no retry
2026-10-31 7fa5f89 (#20804) Analyze (java) (CodeQL) job 124243490453 Build Java sources step: Central answered HTTP 429 for maven-clean-plugin:pom:3.5.0 with the ~/.m2 cache restored; build aborted after 31 s, no retry
2026-11-03 df71642 (#20822) Analyze (java) (CodeQL) job 125749530169 Build Java sources step: Central answered HTTP 429 for maven-clean-plugin:pom:3.5.0 with the ~/.m2 cache restored; build aborted about 30 s into Maven, no retry
2026-11-04 1fe3fbb (#20642) docker-tests / Run Docker tests job 126338703261 ./mvnw clean install step: Central answered HTTP 429 for maven-clean-plugin:pom:3.5.0 with the ~/.m2 cache restored; build aborted after 31 s, no retry
2026-11-19 ef8abdd (#20933) ci / packaging-check (25) / packaging-check-jdk25 job 135660591824 project-model build: Central answered HTTP 429 for parent POM org.apache:apache:pom:40; build aborted before any module, no retry
2026-11-19 ef8abdd (#20933) ci / unit tests(main) (25, H*,D*,T*,O*) / test-jdk25-[H*,D*,T*,O*] job 135665260243 prometheus-emitter dependency collection: Connection reset fetching simpleclient_pushgateway:pom:0.16.0 from Central after 18.7 min; later modules never ran, no retry
2026-12-03 1898f06 (#20995) ci / unit tests(main) (25, K*,U*,Z*,Y*,X*) / test-jdk25-[K*,U*,Z*,Y*,X*] job 143644921880 surefire in druid-processing could not fetch junit-platform-engine:jar:1.14.4 from Central: Connection reset after 10.7 min; no tests ran, no retry

Activity

  1. FrankChen021 commented on Oct 9, 2026

    @FrankChen021
    MemberAuthor

    Failed again on 2026-10-08: bbeb731 job 113294915359, org.apache:apache:pom:40 not found in Central on all 3 attempts of the Resolve Apache parent POM step. The fix in #20459 did not hold; reopening.

  2. FrankChen021 commented on Oct 17, 2026

    @FrankChen021
    MemberAuthor

    Failed again on 2026-10-16: 17d5ad0 (#20584) job 116764225287 and 206e3c9 (#20615) job 116971272013, org.apache:apache:pom:40 not found in Central; in strict-compilation the parent resolved on attempt 3 but checkstyle plugin descriptors then failed the same way.

  3. FrankChen021 commented on Oct 18, 2026

    @FrankChen021
    MemberAuthor

    Failed again on 2026-10-17: afdd2be job 117275208743 (strict-compilation) and 9e45459 job 117275043687 (QTest 2/4), org.apache:apache:pom:40 not found in Central on all 3 attempts with no ~/.m2 cache.

  4. FrankChen021 commented on Oct 21, 2026

    @FrankChen021
    MemberAuthor

    Failed again on 2026-10-20: 4c4ad2c job 118168934297, Central returned HTTP 502 mid-build for druid-iceberg-extensions dependency POMs.

  5. FrankChen021 commented on Oct 22, 2026

    @FrankChen021
    MemberAuthor

    Failed again on 2026-10-21: c2563d0 job 119012342540 (QTest 1/4, parent POM not found), def6c17 job 119226468035 and 96431fe job 119289423640 (openrewrite), Central answered HTTP 429.

  6. FrankChen021 commented on Oct 29, 2026

    @FrankChen021
    MemberAuthor

    Failed again on 2026-10-28: c53272f job 122579583453 (QTest 2/4), checkstyle plugin dependency POMs not found in Central on all 3 pre-resolve attempts with no ~/.m2 cache.

  7. FrankChen021 commented on Oct 30, 2026

    @FrankChen021
    MemberAuthor

    Failed again on 2026-10-29: 36bec2f (#20657) job 123448881673 (strict-compilation), Central answered HTTP 502 for commons-text:pom:1.15.0 on a cold ~/.m2; #20734 removed the pre-resolve retry and #20718 now conflicts.

  8. FrankChen021 commented on Nov 1, 2026

    @FrankChen021
    MemberAuthor

    Failed again on 2026-10-31: 7fa5f89 job 124243490453, CodeQL Analyze (java) build got HTTP 429 from Central for maven-clean-plugin:pom:3.5.0.

  9. FrankChen021 commented on Nov 4, 2026

    @FrankChen021
    MemberAuthor

    Failed again on 2026-11-03: df71642 (#20822) job 125749530169, CodeQL Analyze (java) build got HTTP 429 from Central for maven-clean-plugin:pom:3.5.0 again, with the ~/.m2 cache restored.

  10. FrankChen021 commented on Nov 5, 2026

    @FrankChen021
    MemberAuthor

    Failed again on 2026-11-04: 1fe3fbb job 126338703261, Maven Central answered HTTP 429 for maven-clean-plugin:pom:3.5.0 in the docker-tests build step.

  11. FrankChen021 commented on Nov 20, 2026

    @FrankChen021
    MemberAuthor

    Failed again on 2026-11-19: ef8abdd job 135660591824 and job 135665260243, HTTP 429 for the parent POM in packaging-check and a Connection reset during prometheus-emitter dependency collection.

  12. FrankChen021 commented on Dec 4, 2026

    @FrankChen021
    MemberAuthor

    Failed again on 2026-12-03: 1898f06 (#20995) job 143644921880, surefire could not fetch junit-platform-engine:jar:1.14.4 from Central (Connection reset), no retry.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions