-
Bug
-
Resolution: Unresolved
-
Critical
-
1.36.0
-
None
-
False
-
-
False
-
-
Known Issue
-
-
Summary
Builder image is supposed to not download anything during regular non-persistence use cases as it should contain all required JARs by default. However it is downloading plexus-utils:
[INFO] --- maven-surefire-plugin:3.5.2:test (default-test) @ serverless-workflow-project ---[INFO] Downloading from maven-central: https://repo.maven.apache.org/maven2/org/codehaus/plexus/plexus-utils/1.1/plexus-utils-1.1.jar[INFO] Downloaded from maven-central: https://repo.maven.apache.org/maven2/org/codehaus/plexus/plexus-utils/1.1/plexus-utils-1.1.jar (169 kB at 788 kB/s)[INFO] Tests are skipped.
If the user uses --offline flag as extra MAVEN_ARGS the build will never be able to finish.
Environment
Openshift, Fedora 41
Steps to reproduce
- Create a simple workflow
- Deploy it in preview mode into OCP with Operator
OR
- Create a simple workflow
- Download attached Dockerfile into the same directory
- Execute docker build -t quay.io/dhanak/workflow-gitops .
Actual results
[INFO] --- maven-surefire-plugin:3.5.2:test (default-test) @ serverless-workflow-project ---[INFO] Downloading from maven-central: https://repo.maven.apache.org/maven2/org/codehaus/plexus/plexus-utils/1.1/plexus-utils-1.1.jar[INFO] Downloaded from maven-central: https://repo.maven.apache.org/maven2/org/codehaus/plexus/plexus-utils/1.1/plexus-utils-1.1.jar (169 kB at 788 kB/s)[INFO] Tests are skipped.
plexus-utils is being downloaded from remote.
Expected results
plexus-utils is not downloaded from remote and is part of the image.
Workaround
To workaround this issue, users need to set MAVEN_MIRROR_URL on their local and ensure this plexus-utils-1.1.jar is present there.
Testing
Covered by manual test in test plan.
Introduction of a automated test case is planned in - TODO
- blocks
-
SRVLOGIC-612 Maven wrapper download timeouts for image running in disconnected cluster
-
- ON_QA
-
- is blocked by
-
OPENJDK-3142 [rhel-9] upgrade Maven to a version of maven compatible with OpenJDK 17 and 21
-
- Closed
-
- is incorporated by
-
SRVLOGIC-212 Upgrade Serverless Logic Images to RHEL9
-
- ON_QA
-
-
OPENJDK-3663 [rhel-8] upgrade Maven to a version of maven compatible with OpenJDK 17 and 21
-
- New
-