Skip to content

fix: bump mvnd to 1.0.6 as 1.0.2 was removed from downloads.apache.org - #7005

Merged
yu199195 merged 1 commit into
apache:masterfrom
eye-gu:fix/7004-mvnd-version
Aug 31, 2026
Merged

fix: bump mvnd to 1.0.6 as 1.0.2 was removed from downloads.apache.org#7005
yu199195 merged 1 commit into
apache:masterfrom
eye-gu:fix/7004-mvnd-version

Conversation

@eye-gu

@eye-gu eye-gu commented Aug 30, 2026

Copy link
Copy Markdown
Member

Fixes #7004

Motivation

Since Aug 29, 2026, CI fails on all PRs at the environment-setup step (before any compilation). mvnd 1.0.2 was removed from downloads.apache.org (ASF keeps only the latest releases there; the directory now only hosts 1.0.6/ and 2.0.0-rc-3/), so the 1.0.2 URL returns 404. Because the workflows use curl -sL without -f, the 404 HTML page was saved as mvnd.zip and unzip failed with exit code 9 — e.g. #6347 and #7003.

Modifications

  • Bump MVND_VERSION from 1.0.2 to 1.0.6 in all 7 workflows that install mvnd (ci.yml, docker-publish.yml, docker-publish-dockerhub.yml, e2e-k8s.yml, integrated-test.yml, integrated-test-k8s-ingress.yml, k8s-examples-http.yml). Artifacts verified available for both linux-amd64 and windows-amd64 with the same naming scheme.
  • Add -f to the mvnd curl commands so future download failures fail fast with a clear error instead of a corrupted zip.

Verifying this change

CI on this PR itself: the mvnd setup step should now succeed and jobs should proceed to actual compilation/tests.

All CI jobs that install mvnd fail at the setup step since Aug 29, 2026:
downloads.apache.org no longer hosts mvnd 1.0.2 (only latest releases
are kept), so curl -sL saved the 404 HTML page as mvnd.zip and unzip
failed with exit code 9, before any compilation started.

- bump MVND_VERSION from 1.0.2 to 1.0.6 (verified available for both
  linux-amd64 and windows-amd64, same artifact naming)
- add -f to the mvnd curl commands so download failures fail fast
  with a clear error instead of a corrupted zip

Fixes apache#7004

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Updates CI workflows to use available mvnd 1.0.6 artifacts and fail immediately on HTTP download errors.

Changes:

  • Bumps mvnd from 1.0.2 to 1.0.6 across all installation workflows.
  • Adds curl’s -f flag for fail-fast HTTP error handling.

Reviewed changes

Copilot reviewed 7 out of 7 changed files in this pull request and generated no comments.

Show a summary per file
File Description
.github/workflows/ci.yml Updates mvnd setup.
.github/workflows/docker-publish.yml Updates Linux and Windows mvnd setup.
.github/workflows/docker-publish-dockerhub.yml Updates Docker Hub publishing setup.
.github/workflows/e2e-k8s.yml Updates both end-to-end mvnd installations.
.github/workflows/integrated-test.yml Updates integrated-test setup.
.github/workflows/integrated-test-k8s-ingress.yml Updates ingress-test setup.
.github/workflows/k8s-examples-http.yml Updates Kubernetes example setup.

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

@yu199195
yu199195 merged commit c1800d0 into apache:master Aug 31, 2026
38 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

CI broken for all PRs: mvnd 1.0.2 download returns 404 (removed from downloads.apache.org)

3 participants