Uploaded image for project: 'Serverless logic'
  1. Serverless logic
  2. SRVLOGIC-608

OSL Builder image always downloads plexus-utils-1.1

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Critical Critical
    • 1.37.0
    • 1.36.0
    • Cloud:Images
    • None
    • False
    • Hide

      None

      Show
      None
    • False
    • Hide
      In disconnected cluster environments the logic-swf-builder-rhel8 will always try to download plexus-utils-1.1.jar.
      Available workaround is described in the JIRA issue.
      Show
      In disconnected cluster environments the logic-swf-builder-rhel8 will always try to download plexus-utils-1.1.jar. Available workaround is described in the JIRA issue.
    • 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


       

      1. Create a simple workflow
      2. Deploy it in preview mode into OCP with Operator

      OR

      1. Create a simple workflow
      2. Download attached Dockerfile into the same directory
      3. 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

              rhn-support-zanini Ricardo Zanini
              dhanak@redhat.com Dominik Hanak
              Jakub Schwan Jakub Schwan
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated: