You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by Dawid Weiss <da...@gmail.com> on 2021/09/30 07:14:37 UTC

Re: [JENKINS] Lucene-main-Linux (64bit/jdk-11.0.6) - Build # 31440 - Still Unstable!

I've cleaned up this test from the source of all leaking threads but this
failure does reproduce - I filed LUCENE-10134.

org.apache.lucene.facet.sortedset.TestSortedSetDocValuesFacets >
testCountAll FAILED
    java.lang.AssertionError: Bits are only supposed to be consumed in the
thread in which they have been acquired. But
was acquired in
Thread[TEST-TestSortedSetDocValuesFacets.testCountAll-seed#[5E8A2F2BBCCBDF1B],5,TGRP-TestSortedSetDocValuesFacets]
and consumed in
Thread[TestIndexSearcher-2-thread-1,5,TGRP-TestSortedSetDocValuesFacets].
        at
__randomizedtesting.SeedInfo.seed([5E8A2F2BBCCBDF1B:FFB0A39BEF474EA3]:0)
        at
org.apache.lucene.index.AssertingLeafReader.assertThread(AssertingLeafReader.java:43)
        at
org.apache.lucene.index.AssertingLeafReader$AssertingBits.get(AssertingLeafReader.java:1374)
        at org.apache.lucene.facet.FacetUtils$1.doNext(FacetUtils.java:62)
        at org.apache.lucene.facet.FacetUtils$1.nextDoc(FacetUtils.java:70)
        at
org.apache.lucene.facet.sortedset.ConcurrentSortedSetDocValuesFacetCounts$CountOneSegment.call(ConcurrentSortedSetDocValuesFacetCounts.java:260)
        at
org.apache.lucene.facet.sortedset.ConcurrentSortedSetDocValuesFacetCounts$CountOneSegment.call(ConcurrentSortedSetDocValuesFacetCounts.java:159)
        at
java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
        at
java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1130)
        at
java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:630)
        at java.base/java.lang.Thread.run(Thread.java:832)

Dawid

On Wed, Sep 29, 2021 at 11:37 PM Policeman Jenkins Server <
jenkins@thetaphi.de> wrote:

> Build: https://jenkins.thetaphi.de/job/Lucene-main-Linux/31440/
> Java: 64bit/jdk-11.0.6 -XX:+UseCompressedOops -XX:+UseSerialGC
>
> 3 tests failed.
> FAILED:
> org.apache.lucene.facet.sortedset.TestSortedSetDocValuesFacets.testCountAll
>
> Error Message:
> java.lang.AssertionError: Bits are only supposed to be consumed in the
> thread in which they have been acquired. But was acquired in
> Thread[TEST-TestSortedSetDocValuesFacets.testCountAll-seed#[5E8A2F2BBCCBDF1B],5,TGRP-TestSortedSetDocValuesFacets]
> and consumed in
> Thread[TestIndexSearcher-2-thread-1,5,TGRP-TestSortedSetDocValuesFacets].
>
> Stack Trace:
> java.lang.AssertionError: Bits are only supposed to be consumed in the
> thread in which they have been acquired. But was acquired in
> Thread[TEST-TestSortedSetDocValuesFacets.testCountAll-seed#[5E8A2F2BBCCBDF1B],5,TGRP-TestSortedSetDocValuesFacets]
> and consumed in
> Thread[TestIndexSearcher-2-thread-1,5,TGRP-TestSortedSetDocValuesFacets].
>         at
> __randomizedtesting.SeedInfo.seed([5E8A2F2BBCCBDF1B:FFB0A39BEF474EA3]:0)
>         at
> org.apache.lucene.index.AssertingLeafReader.assertThread(AssertingLeafReader.java:43)
>         at
> org.apache.lucene.index.AssertingLeafReader$AssertingBits.get(AssertingLeafReader.java:1374)
>         at org.apache.lucene.facet.FacetUtils$1.doNext(FacetUtils.java:62)
>         at org.apache.lucene.facet.FacetUtils$1.nextDoc(FacetUtils.java:70)
>         at
> org.apache.lucene.facet.sortedset.ConcurrentSortedSetDocValuesFacetCounts$CountOneSegment.call(ConcurrentSortedSetDocValuesFacetCounts.java:260)
>         at
> org.apache.lucene.facet.sortedset.ConcurrentSortedSetDocValuesFacetCounts$CountOneSegment.call(ConcurrentSortedSetDocValuesFacetCounts.java:159)
>         at
> java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
>         at
> java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
>         at
> java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
>         at java.base/java.lang.Thread.run(Thread.java:834)
>
>
> FAILED:
> org.apache.lucene.facet.sortedset.TestSortedSetDocValuesFacets.classMethod
>
> Error Message:
> com.carrotsearch.randomizedtesting.ThreadLeakError: 1 thread leaked from
> SUITE scope at
> org.apache.lucene.facet.sortedset.TestSortedSetDocValuesFacets:
>    1) Thread[id=28, name=TestIndexSearcher-2-thread-1, state=WAITING,
> group=TGRP-TestSortedSetDocValuesFacets]
>         at java.base@11.0.6/jdk.internal.misc.Unsafe.park(Native Method)
>         at java.base@11.0.6
> /java.util.concurrent.locks.LockSupport.park(LockSupport.java:194)
>         at java.base@11.0.6
> /java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await(AbstractQueuedSynchronizer.java:2081)
>         at java.base@11.0.6
> /java.util.concurrent.LinkedBlockingQueue.take(LinkedBlockingQueue.java:433)
>         at java.base@11.0.6
> /java.util.concurrent.ThreadPoolExecutor.getTask(ThreadPoolExecutor.java:1054)
>         at java.base@11.0.6
> /java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1114)
>         at java.base@11.0.6
> /java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
>         at java.base@11.0.6/java.lang.Thread.run(Thread.java:834)
>
> Stack Trace:
> com.carrotsearch.randomizedtesting.ThreadLeakError: 1 thread leaked from
> SUITE scope at
> org.apache.lucene.facet.sortedset.TestSortedSetDocValuesFacets:
>    1) Thread[id=28, name=TestIndexSearcher-2-thread-1, state=WAITING,
> group=TGRP-TestSortedSetDocValuesFacets]
>         at java.base@11.0.6/jdk.internal.misc.Unsafe.park(Native Method)
>         at java.base@11.0.6
> /java.util.concurrent.locks.LockSupport.park(LockSupport.java:194)
>         at java.base@11.0.6
> /java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await(AbstractQueuedSynchronizer.java:2081)
>         at java.base@11.0.6
> /java.util.concurrent.LinkedBlockingQueue.take(LinkedBlockingQueue.java:433)
>         at java.base@11.0.6
> /java.util.concurrent.ThreadPoolExecutor.getTask(ThreadPoolExecutor.java:1054)
>         at java.base@11.0.6
> /java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1114)
>         at java.base@11.0.6
> /java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
>         at java.base@11.0.6/java.lang.Thread.run(Thread.java:834)
>         at __randomizedtesting.SeedInfo.seed([5E8A2F2BBCCBDF1B]:0)
>
>
> FAILED:
> org.apache.lucene.facet.sortedset.TestSortedSetDocValuesFacets.classMethod
>
> Error Message:
> com.carrotsearch.randomizedtesting.ThreadLeakError: There are still zombie
> threads that couldn't be terminated:
>    1) Thread[id=28, name=TestIndexSearcher-2-thread-1, state=WAITING,
> group=TGRP-TestSortedSetDocValuesFacets]
>         at java.base@11.0.6/jdk.internal.misc.Unsafe.park(Native Method)
>         at java.base@11.0.6
> /java.util.concurrent.locks.LockSupport.park(LockSupport.java:194)
>         at java.base@11.0.6
> /java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await(AbstractQueuedSynchronizer.java:2081)
>         at java.base@11.0.6
> /java.util.concurrent.LinkedBlockingQueue.take(LinkedBlockingQueue.java:433)
>         at java.base@11.0.6
> /java.util.concurrent.ThreadPoolExecutor.getTask(ThreadPoolExecutor.java:1054)
>         at java.base@11.0.6
> /java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1114)
>         at java.base@11.0.6
> /java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
>         at java.base@11.0.6/java.lang.Thread.run(Thread.java:834)
>
> Stack Trace:
> com.carrotsearch.randomizedtesting.ThreadLeakError: There are still zombie
> threads that couldn't be terminated:
>    1) Thread[id=28, name=TestIndexSearcher-2-thread-1, state=WAITING,
> group=TGRP-TestSortedSetDocValuesFacets]
>         at java.base@11.0.6/jdk.internal.misc.Unsafe.park(Native Method)
>         at java.base@11.0.6
> /java.util.concurrent.locks.LockSupport.park(LockSupport.java:194)
>         at java.base@11.0.6
> /java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await(AbstractQueuedSynchronizer.java:2081)
>         at java.base@11.0.6
> /java.util.concurrent.LinkedBlockingQueue.take(LinkedBlockingQueue.java:433)
>         at java.base@11.0.6
> /java.util.concurrent.ThreadPoolExecutor.getTask(ThreadPoolExecutor.java:1054)
>         at java.base@11.0.6
> /java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1114)
>         at java.base@11.0.6
> /java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
>         at java.base@11.0.6/java.lang.Thread.run(Thread.java:834)
>         at __randomizedtesting.SeedInfo.seed([5E8A2F2BBCCBDF1B]:0)
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: builds-unsubscribe@lucene.apache.org
> For additional commands, e-mail: builds-help@lucene.apache.org