Martijn Visser created FLINK-41049:
--------------------------------------
Summary: CI jobs fail when the downloaded Maven wrapper jar does
not pass its SHA-256 check
Key: FLINK-41049
URL: https://issues.apache.org/jira/browse/FLINK-41049
Project: Flink
Issue Type: Bug
Components: Build System / CI
Affects Versions: 2.2.2, 2.3.1, 2.4.0
Reporter: Martijn Visser
Every GHA test job still downloads maven-wrapper-3.3.4.jar from
repo.maven.apache.org through mvnw. FLINK-40406 put the Maven distribution into
the CI image (46eb63f0bc2), not the wrapper jar. When that download fails, the
job dies before Maven starts. Five jobs since 2026-10-08, on three branches:
https://github.com/apache/flink/actions/runs/37716701006/job/113119008774
(master nightly 2026-10-08, AdaptiveScheduler misc)
https://github.com/apache/flink/actions/runs/38195297880/job/114640145627
(master nightly 2026-10-12, AdaptiveScheduler e2e group 2)
https://github.com/apache/flink/actions/runs/38299469597/job/114995175394
(release-2.2 push 2026-10-12, python)
https://github.com/apache/flink/actions/runs/38299474530/job/115005936682
(release-2.3 push 2026-10-13, misc)
https://github.com/apache/flink/actions/runs/38993321281/job/117289841829
(release-2.3 nightly 2026-10-17, Java 21 e2e group 1)
{code}
Error: Failed to validate Maven wrapper SHA-256, your Maven wrapper might be
compromised.
Investigate or delete /root/flink/.mvn/wrapper/maven-wrapper.jar to attempt a
clean download.
If you updated your Maven version, you need to update the specified
wrapperSha256Sum property.
Process exited with EXIT CODE: 1.
{code}
The example job in FLINK-40406 failed on the same jar before that fix, with
"Could not find or load main class org.apache.maven.wrapper.MavenWrapperMain".
--
This message was sent by Atlassian Jira
(v8.20.10#820010)