jordigilh commented on PR #311:
URL:
https://github.com/apache/incubator-kie-kogito-serverless-operator/pull/311#issuecomment-1862120550
> ./local/hack/run-e2e.
Thanks! but I ended up running just `make test-e2e` and it worked 😄 .
Based on what I can gather from the pod's logs, it's failing due to an
exception at startup:
```java
orderprocessing-5d586b99bb-vq7rp ERROR [io.quarkus.runtime.Application:-1]
(Quarkus Main Thread) Failed to start application (with profile [dev]):
java.lang.IllegalArgumentException: Unsupported scheme for the http connector
in URL: services.v1/event-listener
at
io.quarkus.reactivemessaging.http.runtime.HttpSink.<init>(HttpSink.java:64)
at
io.quarkus.reactivemessaging.http.runtime.QuarkusHttpConnector.getSubscriberBuilder(QuarkusHttpConnector.java:119)
at
io.quarkus.reactivemessaging.http.runtime.QuarkusHttpConnector_Subclass.getSubscriberBuilder$$superforward1(Unknown
Source)
at
io.quarkus.reactivemessaging.http.runtime.QuarkusHttpConnector_Subclass$$function$$3.apply(Unknown
Source)
at
io.quarkus.arc.impl.AroundInvokeInvocationContext.proceed(AroundInvokeInvocationContext.java:54)
at
io.quarkus.smallrye.reactivemessaging.runtime.devmode.DevModeSupportConnectorFactoryInterceptor.intercept(DevModeSupportConnectorFactoryInterceptor.java:67)
at
io.quarkus.smallrye.reactivemessaging.runtime.devmode.DevModeSupportConnectorFactoryInterceptor_Bean.intercept(Unknown
Source)
at
io.quarkus.arc.impl.InterceptorInvocation.invoke(InterceptorInvocation.java:42)
at
io.quarkus.arc.impl.AroundInvokeInvocationContext.proceed(AroundInvokeInvocationContext.java:50)
at
io.quarkus.smallrye.reactivemessaging.runtime.DuplicatedContextConnectorFactoryInterceptor.intercept(DuplicatedContextConnectorFactoryInterceptor.java:37)
at
io.quarkus.smallrye.reactivemessaging.runtime.DuplicatedContextConnectorFactoryInterceptor_Bean.intercept(Unknown
Source)
at
io.quarkus.arc.impl.InterceptorInvocation.invoke(InterceptorInvocation.java:42)
at
io.quarkus.arc.impl.AroundInvokeInvocationContext.perform(AroundInvokeInvocationContext.java:41)
at
io.quarkus.arc.impl.InvocationContexts.performAroundInvoke(InvocationContexts.java:33)
at
io.quarkus.reactivemessaging.http.runtime.QuarkusHttpConnector_Subclass.getSubscriberBuilder(Unknown
Source)
at
io.quarkus.reactivemessaging.http.runtime.QuarkusHttpConnector_ClientProxy.getSubscriberBuilder(Unknown
Source)
at
io.smallrye.reactive.messaging.providers.impl.ConnectorFactories.lambda$wrap$5(ConnectorFactories.java:84)
at
io.smallrye.reactive.messaging.providers.impl.ConfiguredChannelFactory.createSubscriber(ConfiguredChannelFactory.java:191)
at
io.smallrye.reactive.messaging.providers.impl.ConfiguredChannelFactory.register(ConfiguredChannelFactory.java:146)
at
io.smallrye.reactive.messaging.providers.impl.ConfiguredChannelFactory.initialize(ConfiguredChannelFactory.java:107)
at
io.smallrye.reactive.messaging.providers.impl.ConfiguredChannelFactory_ClientProxy.initialize(Unknown
Source)
```
I've checked the
[configmap](https://github.com/apache/incubator-kie-kogito-serverless-operator/blob/3b5108ca8c352cb3d81fd736f3e116ed21e66a3f/test/testdata/order-processing/04_v1_configmap_properties.yaml#L25)
and there's a property added with that value:
```
mp.messaging.outgoing.kogito_outgoing_stream.url =
${kubernetes:services.v1/event-listener}
```
Here is the whole list of properties defined for the test:
```
kogito.events.processdefinitions.enabled = false
kogito.events.processinstances.enabled = false
kogito.events.usertasks.enabled = false
kogito.events.variables.enabled = false
kogito.service.url = http://orderprocessing.sonataflow-operator-system
mp.messaging.outgoing.kogito-job-service-job-request-events.connector =
quarkus-http
mp.messaging.outgoing.kogito-job-service-job-request-events.url =
http://localhost/v2/jobs/events
mp.messaging.outgoing.kogito_outgoing_stream.url =
${kubernetes:services.v1/event-listener}
org.kie.kogito.addons.knative.eventing.health-enabled = false
quarkus.devservices.enabled = false
quarkus.http.host = 0.0.0.0
quarkus.http.port = 8080
quarkus.kogito.devservices.enabled = false
quarkus.log.level = INFO
```
I'm unfamiliar with the cause of this exception. Does it ring any bells to
you?
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]