Uploaded image for project: 'Red Hat Fuse'
  1. Red Hat Fuse
  2. ENTESB-19494

Can't run native integration

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Blocker Blocker
    • camel-k-1.8
    • None
    • Camel-K
    • None
    • False
    • None
    • False
    • % %
    • Todo

      I am getting this error running this test https://github.com/apache/camel-k/blob/release-1.8.x/e2e/native/native_test.go#L59 on the CK3 build

      b80hbuvk287m11s9jh0"}
      camel-k-operator-d9fb86fb8-b579d camel-k-operator {"level":"info","ts":1657801032.2063897,"logger":"camel-k.controller.build","msg":"Invoking action monitor-routine","request-namespace":"test-b610f3b3-6c47-4970-aca3-14d3c50086f9","request-name":"kit-cb80hbuvk287m11s9jh0","api-version":"camel.apache.org/v1","kind":"Build","ns":"test-b610f3b3-6c47-4970-aca3-14d3c50086f9","name":"kit-cb80hbuvk287m11s9jh0"}
      camel-k-operator-d9fb86fb8-b579d camel-k-operator {"level":"info","ts":1657801032.4242105,"logger":"camel-k.maven.build","msg":"[INFO] [io.quarkus.deployment.pkg.steps.JarResultBuildStep] Building native image source jar: /tmp/kit-cb80hbuvk287m11s9jh0-210790968/maven/target/camel-k-integration-1.8.0-native-image-source-jar/camel-k-integration-1.8.0-runner.jar"}
      camel-k-operator-d9fb86fb8-b579d camel-k-operator {"level":"info","ts":1657801032.4779744,"logger":"camel-k.maven.build","msg":"[INFO] [io.quarkus.deployment.pkg.steps.NativeImageBuildStep] Building native image from /tmp/kit-cb80hbuvk287m11s9jh0-210790968/maven/target/camel-k-integration-1.8.0-native-image-source-jar/camel-k-integration-1.8.0-runner.jar"}
      camel-k-operator-d9fb86fb8-b579d camel-k-operator {"level":"info","ts":1657801032.4857051,"logger":"camel-k.maven.build","msg":"[WARNING] [io.quarkus.deployment.pkg.steps.NativeImageBuildStep] Cannot find the `native-image` in the GRAALVM_HOME, JAVA_HOME and System PATH. Install it using `gu install native-image` Attempting to fall back to container build."}
      camel-k-operator-d9fb86fb8-b579d camel-k-operator {"level":"info","ts":1657801032.5639496,"logger":"camel-k.maven.build","msg":"[INFO] ------------------------------------------------------------------------"}
      camel-k-operator-d9fb86fb8-b579d camel-k-operator {"level":"info","ts":1657801032.564004,"logger":"camel-k.maven.build","msg":"[INFO] BUILD FAILURE"}
      camel-k-operator-d9fb86fb8-b579d camel-k-operator {"level":"info","ts":1657801032.564197,"logger":"camel-k.maven.build","msg":"[INFO] ------------------------------------------------------------------------"}
      camel-k-operator-d9fb86fb8-b579d camel-k-operator {"level":"info","ts":1657801032.5656052,"logger":"camel-k.maven.build","msg":"[INFO] Total time:  4.212 s"}
      camel-k-operator-d9fb86fb8-b579d camel-k-operator {"level":"info","ts":1657801032.56593,"logger":"camel-k.maven.build","msg":"[INFO] Finished at: 2022-07-14T12:17:12Z"}
      camel-k-operator-d9fb86fb8-b579d camel-k-operator {"level":"info","ts":1657801032.566091,"logger":"camel-k.maven.build","msg":"[INFO] ------------------------------------------------------------------------"}
      camel-k-operator-d9fb86fb8-b579d camel-k-operator {"level":"info","ts":1657801032.5674174,"logger":"camel-k.maven.build","msg":"[ERROR] Failed to execute goal io.quarkus:quarkus-maven-plugin:2.7.6.Final-redhat-00006:build (default) on project camel-k-integration: Failed to build quarkus application: io.quarkus.builder.BuildException: Build failure: Build failed due to errors"}
      camel-k-operator-d9fb86fb8-b579d camel-k-operator {"level":"info","ts":1657801032.5679412,"logger":"camel-k.maven.build","msg":"[ERROR] \t[error]: Build step io.quarkus.deployment.pkg.steps.NativeImageBuildStep#build threw an exception: java.lang.IllegalStateException: No container runtime was found to run the native image builder. Make sure you have Docker or Podman installed in your environment."}
      camel-k-operator-d9fb86fb8-b579d camel-k-operator {"level":"info","ts":1657801032.5682392,"logger":"camel-k.maven.build","msg":"[ERROR] \tat io.quarkus.deployment.pkg.steps.NativeImageBuildContainerRunner.detectContainerRuntime(NativeImageBuildContainerRunner.java:154)"}
       

              pcongius Pasquale Congiusti
              jbouska@redhat.com Jan Bouska
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: