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: Open: recurred after #20459
Subject: Maven project-model build aborts before any test runs (any Maven job)
Failures: 3 · First seen: 2026-09-23 · Last seen: 2026-10-08

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. 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 is not enough. 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.

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

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.

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