camel-quarkus: cxf-soap: after upgrade from Quarkus 3.0.3.Final to 3.2.4.Final @QuarkusTest and @QuarkusIntegrationTest tests not working any more
Bug description
Hi,
at the moment I’m trying to upgrade a cxf-soap project (using ws-trust, ws-security, mtom, ws-rm) from quarkus 3.0,3.Final to 3.2.4.Final.
Unfortunately my tests do not work any more;-(
The strange thing is that I do not even get an error or exception. Debuggingthe cxf code I see that the test-calll just hangs in the class “org.apache.cxf.endpoint.ClientImpl” in the method “private Object[] doInvoke(…)”
After quarkus hang detection noticed the timeout I get this Stack Trace:
@QuarkusTest has detected a hang, as there has been no test activity in PT10M
To configure this timeout use the quarkus.test.hang-detection-timeout config property
A stack trace is below to help diagnose the potential hang
=== Stack Trace ===
Thread main: TIMED_WAITING
Stack:
java.base@17.0.8/java.lang.Object.wait(Native Method)
java.base@17.0.8/java.io.PipedInputStream.awaitSpace(PipedInputStream.java:273)
java.base@17.0.8/java.io.PipedInputStream.receive(PipedInputStream.java:231)
java.base@17.0.8/java.io.PipedOutputStream.write(PipedOutputStream.java:150)
org.apache.cxf.io.AbstractWrappedOutputStream.write(AbstractWrappedOutputStream.java:51)
org.apache.cxf.io.AbstractThresholdOutputStream.write(AbstractThresholdOutputStream.java:69)
com.ctc.wstx.io.UTF8Writer.write(UTF8Writer.java:143)
com.ctc.wstx.sw.BufferingXmlWriter.writeRaw(BufferingXmlWriter.java:286)
com.ctc.wstx.sw.BufferingXmlWriter.writeCharacters(BufferingXmlWriter.java:600)
com.ctc.wstx.sw.BaseStreamWriter.writeCharacters(BaseStreamWriter.java:467)
org.apache.cxf.staxutils.StaxUtils.copy(StaxUtils.java:759)
org.apache.cxf.staxutils.StaxUtils.copy(StaxUtils.java:707)
org.apache.cxf.binding.soap.saaj.SAAJOutInterceptor$SAAJOutEndingInterceptor.handleMessage(SAAJOutInterceptor.java:213)
org.apache.cxf.binding.soap.saaj.SAAJOutInterceptor$SAAJOutEndingInterceptor.handleMessage(SAAJOutInterceptor.java:173)
org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:307)
org.apache.cxf.endpoint.ClientImpl.doInvoke(ClientImpl.java:528)
org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:439)
org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:354)
org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:312)
org.apache.cxf.frontend.ClientProxy.invokeSync(ClientProxy.java:96)
org.apache.cxf.jaxws.JaxWsClientProxy.invoke(JaxWsClientProxy.java:140)
jdk.proxy5/jdk.proxy5.$Proxy166.checkHealth(Unknown Source)
de.xxx.xxx.xxx.CxfPlainHealthCheckSyncTest.testWebserviceSync(CxfPlainHealthCheckSyncTest.java:74)
java.base@17.0.8/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
java.base@17.0.8/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
java.base@17.0.8/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
java.base@17.0.8/java.lang.reflect.Method.invoke(Method.java:568)
app//io.quarkus.test.junit.QuarkusTestExtension.runExtensionMethod(QuarkusTestExtension.java:1015)
app//io.quarkus.test.junit.QuarkusTestExtension.interceptTestMethod(QuarkusTestExtension.java:829)
app//org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor$$Lambda$191/0x000001de26096fe0.apply(Unknown Source)
app//org.junit.jupiter.engine.execution.InterceptingExecutableInvoker$ReflectiveInterceptorCall.lambda$ofVoidMethod$0(InterceptingExecutableInvoker.java:103)
app//org.junit.jupiter.engine.execution.InterceptingExecutableInvoker$ReflectiveInterceptorCall$$Lambda$192/0x000001de260973f0.apply(Unknown Source)
app//org.junit.jupiter.engine.execution.InterceptingExecutableInvoker.lambda$invoke$0(InterceptingExecutableInvoker.java:93)
app//org.junit.jupiter.engine.execution.InterceptingExecutableInvoker$$Lambda$2157/0x000001de26c663c0.apply(Unknown Source)
app//org.junit.jupiter.engine.execution.InvocationInterceptorChain$InterceptedInvocation.proceed(InvocationInterceptorChain.java:106)
app//org.junit.jupiter.engine.extension.TimeoutExtension.intercept(TimeoutExtension.java:156)
app//org.junit.jupiter.engine.extension.TimeoutExtension.interceptTestableMethod(TimeoutExtension.java:147)
app//org.junit.jupiter.engine.extension.TimeoutExtension.interceptTestMethod(TimeoutExtension.java:86)
app//org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor$$Lambda$191/0x000001de26096fe0.apply(Unknown Source)
Any idea what could be the cause of the issue?
About this issue
- Original URL
- State: open
- Created 10 months ago
- Comments: 24 (10 by maintainers)
I’ll try to write one within the next days