You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@solr.apache.org by "Jan Høydahl (Jira)" <ji...@apache.org> on 2023/03/01 13:29:00 UTC

[jira] [Created] (SOLR-16683) Frequent failures of OtelTracerConfiguratorTest

Jan Høydahl created SOLR-16683:
----------------------------------

             Summary: Frequent failures of OtelTracerConfiguratorTest
                 Key: SOLR-16683
                 URL: https://issues.apache.org/jira/browse/SOLR-16683
             Project: Solr
          Issue Type: Bug
      Security Level: Public (Default Security Level. Issues are Public)
    Affects Versions: 9.1.1
            Reporter: Jan Høydahl
            Assignee: Jan Høydahl


4.7% failure of the test OtelTracerConfiguratorTest.
{code:java}
org.apache.solr.opentelemetry.OtelTracerConfiguratorTest > classMethod FAILED
    com.carrotsearch.randomizedtesting.ThreadLeakError: 1 thread leaked from SUITE scope at org.apache.solr.opentelemetry.OtelTracerConfiguratorTest: 
       1) Thread[id=64, name=BatchSpanProcessor_WorkerThread-1, state=TIMED_WAITING, group=TGRP-OtelTracerConfiguratorTest]
            at java.base@11.0.16/jdk.internal.misc.Unsafe.park(Native Method)
            at java.base@11.0.16/java.util.concurrent.locks.LockSupport.parkNanos(LockSupport.java:234)
            at java.base@11.0.16/java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.awaitNanos(AbstractQueuedSynchronizer.java:2123)
            at java.base@11.0.16/java.util.concurrent.ArrayBlockingQueue.poll(ArrayBlockingQueue.java:432)
            at app//io.opentelemetry.sdk.trace.export.BatchSpanProcessor$Worker.run(BatchSpanProcessor.java:252)
            at java.base@11.0.16/java.lang.Thread.run(Thread.java:829)
        at __randomizedtesting.SeedInfo.seed([CCCE79C05B3FB703]:0) {code}
The tracer uses a BatchSpanProcessor by default, which has its own thread. It will eventually exit, but the test fails



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@solr.apache.org
For additional commands, e-mail: issues-help@solr.apache.org