Uploaded image for project: 'Camel'
  1. Camel
  2. CAMEL-21147

MulticastRouteTest.testRoute test is failing

    XMLWordPrintableJSON

Details

    • Test
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 4.8.0
    • 4.8.0
    • camel-opentelemetry
    • None
    • Unknown

    Description

      it has failed on the last 5 builds on all platforms:

      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)
       
      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)
      

      Attachments

        Activity

          People

            Unassigned Unassigned
            apupier Aurélien Pupier
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: