Aurélien Pupier created CAMEL-21147: ---------------------------------------
Summary: MulticastRouteTest.testRoute test is failing Key: CAMEL-21147 URL: https://issues.apache.org/jira/browse/CAMEL-21147 Project: Camel Issue Type: Bug Components: camel-opentelemetry Affects Versions: 4.8.0 Reporter: Aurélien Pupier it has failed on the last 5 builds on all platforms: {noformat} java.lang.AssertionError: [There must be no leaking span after test] Expecting actual: {opentelemetry-trace-span-key=SdkSpan{traceId=6653838eaa4595919e8600b54ad1d1a2, spanId=2bd9ccedb7ea78c8, parentSpanContext=ImmutableSpanContext{traceId=6653838eaa4595919e8600b54ad1d1a2, spanId=7ca2ebe7c5dd3e53, traceFlags=01, traceState=ArrayBasedTraceState{entries=[]}, remote=false, valid=true}, name=a, kind=CLIENT, attributes=AttributesMap{data={camel.uri=seda://a, post=test, url.path=a, component=camel-seda, pre=test, url.scheme=seda}, capacity=128, totalAddedValues=6}, status=ImmutableStatusData{statusCode=UNSET, description=}, totalRecordedEvents=0, totalRecordedLinks=0, startEpochNanos=1724987761918105931, endEpochNanos=1724987764575826308}, opentelemetry-baggage-key={}, otelTraceContext=ImmutableSpanContext{traceId=6653838eaa4595919e8600b54ad1d1a2, spanId=2bd9ccedb7ea78c8, traceFlags=01, traceState=ArrayBasedTraceState{entries=[]}, remote=false, valid=true}} and: {} to refer to the same object at org.apache.camel.observation.CamelMicrometerObservationTestSupport.noLeakingContext(CamelMicrometerObservationTestSupport.java:92) at java.base/java.lang.reflect.Method.invoke(Method.java:568) at java.base/java.util.concurrent.RecursiveAction.exec(RecursiveAction.java:194) at java.base/java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:373) at java.base/java.util.concurrent.ForkJoinPool$WorkQueue.topLevelExec(ForkJoinPool.java:1182) at java.base/java.util.concurrent.ForkJoinPool.scan(ForkJoinPool.java:1655) at java.base/java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1622) at java.base/java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:165) {noformat} {noformat} org.opentest4j.AssertionFailedError: There must be no leaking span after test ==> expected: <{}> but was: <{opentelemetry-trace-span-key=SdkSpan{traceId=d9eeb3571a7cda9615decdda661a370a, spanId=be63152b4c100b11, parentSpanContext=ImmutableSpanContext{traceId=d9eeb3571a7cda9615decdda661a370a, spanId=c726c92c14935b1e, traceFlags=01, traceState=ArrayBasedTraceState{entries=[]}, remote=false, valid=true}, name=a, kind=CLIENT, attributes=AttributesMap{data={camel.uri=seda://a, post=test, component=camel-seda, pre=test, url.path=a, url.scheme=seda}, capacity=128, totalAddedValues=6}, status=ImmutableStatusData{statusCode=UNSET, description=}, totalRecordedEvents=0, totalRecordedLinks=0, startEpochNanos=1724987886008831226, endEpochNanos=1724987888306036941}}> at org.apache.camel.opentelemetry.CamelOpenTelemetryTestSupport.noLeakingContext(CamelOpenTelemetryTestSupport.java:76) at java.base/java.lang.reflect.Method.invoke(Method.java:568) at java.base/java.util.concurrent.RecursiveAction.exec(RecursiveAction.java:194) at java.base/java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:373) at java.base/java.util.concurrent.ForkJoinPool$WorkQueue.topLevelExec(ForkJoinPool.java:1182) at java.base/java.util.concurrent.ForkJoinPool.scan(ForkJoinPool.java:1655) at java.base/java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1622) at java.base/java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:165) {noformat} -- This message was sent by Atlassian Jira (v8.20.10#820010)