Uploaded image for project: 'Quarkus'
  1. Quarkus
  2. QUARKUS-1140

S2I builds failing on OCP on IBM Z using latest s390x S2I base images

XMLWordPrintable

    • False
    • False
    • Release Notes
    • Undefined
    • Hide

      1. checkout '1.11' branch of https://github.com/quarkus-qe/quarkus-openshift-test-suite
      2. log in to your OCP cluster on IBM Z with `oc` and create a new project with `oc new-project`
      3. build the test suite libraries:

      mvn clean install -DskipTests -DskipITs -B -V -pl app-metadata/deployment,app-metadata/runtime,common -fae
      

      4. run the todo-demo-app tests:

      mvn clean verify -B -V clean verify -pl app-metadata/deployment,app-metadata/runtime,common,external-applications/todo-demo-app -Dts.s2i.maven.remote.repository=http://10.0.139.54:8040/artifactory/quarkus-maven-repo-zip
      

      5. to test other java s2i images, modify `external-applications/todo-demo-app/src/test/resources/openjdk-11.yaml`. Example attached below.

      Show
      1. checkout ' 1.11 ' branch of https://github.com/quarkus-qe/quarkus-openshift-test-suite 2. log in to your OCP cluster on IBM Z with `oc` and create a new project with `oc new-project` 3. build the test suite libraries: mvn clean install -DskipTests -DskipITs -B -V -pl app-metadata/deployment,app-metadata/runtime,common -fae 4. run the todo-demo-app tests: mvn clean verify -B -V clean verify -pl app-metadata/deployment,app-metadata/runtime,common,external-applications/todo-demo-app -Dts.s2i.maven.remote.repository=http://10.0.139.54:8040/artifactory/quarkus-maven-repo-zip 5. to test other java s2i images, modify `external-applications/todo-demo-app/src/test/resources/openjdk-11.yaml`. Example attached below.

      Currently on s390x, build of Quarkus applications fails with the following error on the latest s2i java openshift images.

      [ERROR] Failed to execute goal io.quarkus:quarkus-maven-plugin:1.11.7.Final-redhat-00009:build (default) on project todo-backend: Failed to build quarkus application: io.quarkus.builder.BuildException: Build failure: Build failed due to errors
      [ERROR] 	[error]: Build step io.quarkus.deployment.pkg.steps.JarResultBuildStep#buildRunnerJar threw an exception: java.lang.RuntimeException: java.util.zip.ZipException: invalid entry compressed size (expected 100 but got 102 bytes)
      

      This affects external-application/quarkus-workshop-super-heroes and external-applications/todo-demo-app test modules.

      Early investigation seems to point to cve glib2 refresh on ubi8 Java S2I images causing some sort of zip bug on s390x. Doesn't seem to affect x86 and ppc64le at the moment. I will continue to investigate.

      Notes:

      Passing s2i images on s390x:
      openjdk/openjdk-11-rhel7:latest
      openj9/openj9-11-rhel7:latest
      openj9/openj9-11-rhel8:1.2-46
      ubi8/openjdk-11:1.3-15

      Failing s2i images on s390x:
      openj9/openj9-11-rhel8:1.2-46.1622550125 with base image https://brewweb.engineering.redhat.com/brew/buildinfo?buildID=1619874
      ubi8/openjdk-11:1.3-15.1622643823

      Early investigation seems to point to cve glib2 refresh on ubi8 Java S2I images causing some sort of zip bug on s390x. Doesn't seem to affect x86 and ppc64le at the moment. I will continue to investigate.

      Error similar to https://github.com/quarkusio/quarkus/issues/10797.

      cc: lzhan@redhat.com, redmark@redhat.com

              dafu@redhat.com Dale Fu
              dafu@redhat.com Dale Fu
              Dale Fu Dale Fu
              Votes:
              0 Vote for this issue
              Watchers:
              10 Start watching this issue

                Created:
                Updated:
                Resolved: