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

camel-k-example-event-streaming test are failing because Tests are stucked in Pending state

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Cannot Reproduce
    • Icon: Major Major
    • Undetermined
    • None
    • Camel-K
    • None
    • False
    • False
    • % %
    • Todo
    • Undefined

      All tests are stucked in Pending state i.e.:

      Full command: kamel run EarthquakeConsumer.java -n yaks-cb0a5e6e-0d17-40be-8625-0645984bc5da -p kafka.bootstrap.address=event-streaming-kafka-cluster-kafka-bootstrap:9092 --property=file:application.properties --dependency=github:openshift-integration:camel-k-example-event-streaming 
      integration "earthquake-consumer" created
      Test 'earthquake-consumer' created
      Test 'earthquake-consumer' finished with status: Pending
      Test 'open-aq-consumer' created
      Test 'open-aq-consumer' finished with status: Pending
      

      Logs are showing:

      2021-07-30 11:22:33,319 ERROR [io.qua.run.Application] (main) Failed to start application (with profile prod): java.lang.IllegalArgumentException: Unable to find a resource definition for channel/sink/audit
       at org.apache.camel.component.knative.KnativeEndpoint.lambda$lookupServiceDefinition$2(KnativeEndpoint.java:161)
       at java.base/java.util.Optional.orElseThrow(Optional.java:408)
       at org.apache.camel.component.knative.KnativeEndpoint.lookupServiceDefinition(KnativeEndpoint.java:160)
       at org.apache.camel.component.knative.KnativeEndpoint.createProducer(KnativeEndpoint.java:81)
       at org.apache.camel.support.DefaultEndpoint.createAsyncProducer(DefaultEndpoint.java:197)
      

      and

      2021-07-30 11:22:33,260 WARN  [org.apa.cam.imp.eng.AbstractCamelContext] (main) Lifecycle strategy org.apache.camel.impl.engine.OnCamelContextLifecycleStrategy@35ef439e failed on CamelContext (camel-1) due to: null. This exception will be ignored
      2021-07-30 11:22:33,260 ERROR [org.apa.cam.qua.mai.CamelMainRuntime] (main) Failed to start application: org.apache.camel.FailedToStartRouteException: Failed to start route route3 because of null
      	at org.apache.camel.impl.engine.RouteService.warmUp(RouteService.java:123)
      	at org.apache.camel.impl.engine.InternalRouteStartupManager.doWarmUpRoutes(InternalRouteStartupManager.java:306)
      	at org.apache.camel.impl.engine.InternalRouteStartupManager.safelyStartRouteServices(InternalRouteStartupManager.java:189)
      	at org.apache.camel.impl.engine.InternalRouteStartupManager.doStartOrResumeRoutes(InternalRouteStartupManager.java:147)
      

              christoph.deppisch Christoph Deppisch
              mmajerni@redhat.com Mario Majernik
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: