[
https://issues.apache.org/jira/browse/FLINK-33468?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17783525#comment-17783525
]
Matthias Pohl commented on FLINK-33468:
---------------------------------------
Moving to {{./mvnw}} in {{tools/ci/maven-utils.sh}} causes problems in
{{Quickstarts Java nightly end-to-end test'}}:
{code}
Nov 07 02:26:31 Invoking mvn with
'-Dmaven.repo.local=/home/runner/work/flink/flink/.m2/repository
-Dmaven.wagon.http.pool=false -Dorg.slf4j.simpleLogger.showDateTime=true
-Dorg.slf4j.simpleLogger.dateTimeFormat=HH:mm:ss.SSS
-Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn
--no-snapshot-updates -B -Dflink.hadoop.version=2.10.2 -Dinclude_hadoop_aws
-Dscala-2.12 -Djdk11 -Pjava11-target --settings
/home/runner/work/flink/flink/flink/tools/ci/google-mirror-settings.xml clean
package'
environment: line 7: ./mvnw: No such file or directory
/home/runner/work/flink/flink/flink/flink-end-to-end-tests/test-scripts/test_quickstarts.sh:
line 72: cd: target: No such file or directory
java.nio.file.NoSuchFileException: flink-quickstart-java-0.1.jar
at
java.base/sun.nio.fs.UnixException.translateToIOException(UnixException.java:92)
at
java.base/sun.nio.fs.UnixException.rethrowAsIOException(UnixException.java:111)
at
java.base/sun.nio.fs.UnixException.rethrowAsIOException(UnixException.java:116)
at
java.base/sun.nio.fs.UnixFileAttributeViews$Basic.readAttributes(UnixFileAttributeViews.java:55)
at
java.base/sun.nio.fs.UnixFileSystemProvider.readAttributes(UnixFileSystemProvider.java:149)
at
java.base/sun.nio.fs.LinuxFileSystemProvider.readAttributes(LinuxFileSystemProvider.java:99)
at java.base/java.nio.file.Files.readAttributes(Files.java:1764)
at java.base/java.util.zip.ZipFile$Source.get(ZipFile.java:1414)
at
java.base/java.util.zip.ZipFile$CleanableResource.<init>(ZipFile.java:742)
at
java.base/java.util.zip.ZipFile$CleanableResource.get(ZipFile.java:859)
at java.base/java.util.zip.ZipFile.<init>(ZipFile.java:257)
at java.base/java.util.zip.ZipFile.<init>(ZipFile.java:186)
at java.base/java.util.zip.ZipFile.<init>(ZipFile.java:157)
at jdk.jartool/sun.tools.jar.Main.list(Main.java:1499)
at jdk.jartool/sun.tools.jar.Main.run(Main.java:380)
at jdk.jartool/sun.tools.jar.Main.main(Main.java:1680)
{code}
*
https://github.com/XComp/flink/actions/runs/6778931640/job/18425437663#step:14:3088
*
https://github.com/XComp/flink/actions/runs/6776239519/job/18417703242#step:14:3438
*
https://github.com/XComp/flink/actions/runs/6776232956/job/18417653141#step:14:3090
> Run Kubernetes IT test fails due to wrong Maven version
> -------------------------------------------------------
>
> Key: FLINK-33468
> URL: https://issues.apache.org/jira/browse/FLINK-33468
> Project: Flink
> Issue Type: Sub-task
> Components: Build System / CI
> Reporter: Matthias Pohl
> Priority: Major
> Labels: github-actions, test-stability
>
> https://github.com/XComp/flink/actions/runs/6772388387/job/18405319623#step:15:4841
> {code}
> [...]
> Error: 15:52:19 15:52:19.837 [ERROR] Rule 0:
> org.apache.maven.plugins.enforcer.RequireMavenVersion failed with message:
> Nov 06 15:52:19 Detected Maven Version: 3.8.8 is not in the allowed range
> [3.8.6,3.8.6].
> Nov 06 15:52:19 15:52:19.837 [INFO]
> ------------------------------------------------------------------------
> Nov 06 15:52:19 15:52:19.837 [INFO] BUILD FAILURE
> Nov 06 15:52:19 15:52:19.838 [INFO]
> ------------------------------------------------------------------------
> Nov 06 15:52:19 15:52:19.839 [INFO] Total time: 9.755 s
> Nov 06 15:52:19 15:52:19.839 [INFO] Finished at: 2023-11-06T15:52:19Z
> Nov 06 15:52:19 15:52:19.839 [INFO]
> ------------------------------------------------------------------------
> Error: 15:52:19 15:52:19.840 [ERROR] Failed to execute goal
> org.apache.maven.plugins:maven-enforcer-plugin:3.1.0:enforce (enforce-maven)
> on project flink-kubernetes: Some Enforcer rules have failed. Look above for
> specific messages explaining why the rule failed. -> [Help 1]
> Error: 15:52:19 15:52:19.840 [ERROR]
> Error: 15:52:19 15:52:19.840 [ERROR] To see the full stack trace of the
> errors, re-run Maven with the -e switch.
> Error: 15:52:19 15:52:19.840 [ERROR] Re-run Maven using the -X switch to
> enable full debug logging.
> Error: 15:52:19 15:52:19.840 [ERROR]
> Error: 15:52:19 15:52:19.840 [ERROR] For more information about the errors
> and possible solutions, please read the following articles:
> Error: 15:52:19 15:52:19.840 [ERROR] [Help 1]
> http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
> {code}
--
This message was sent by Atlassian Jira
(v8.20.10#820010)