You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Christine Poerschke (JIRA)" <ji...@apache.org> on 2018/06/27 19:43:00 UTC

[jira] [Commented] (SOLR-12524) CdcrBidirectionalTest.testBiDir() regularly fails

    [ https://issues.apache.org/jira/browse/SOLR-12524?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16525512#comment-16525512 ] 

Christine Poerschke commented on SOLR-12524:
--------------------------------------------

With some patience the failure is relatively easily reproduced via beasting e.g.
{code}
cd solr/core
ant beast -Dtests.asserts=true -Dbeast.iters=100 -Dtestcase=CdcrBidirectionalTest 2>&1 | tee log.log
{code}

Attached patch proposes to add id info in the assertion error, to make it e.g.
{code}
[beaster]    > Caused by: java.lang.AssertionError: 1604455449289031680 != 1604455449282740224
{code}

I've had a good go at trying to learn more about this area of the code but no luck so far in trying to figure out when and how this assertion is hit.

> CdcrBidirectionalTest.testBiDir() regularly fails
> -------------------------------------------------
>
>                 Key: SOLR-12524
>                 URL: https://issues.apache.org/jira/browse/SOLR-12524
>             Project: Solr
>          Issue Type: Test
>            Reporter: Christine Poerschke
>            Priority: Major
>         Attachments: SOLR-12524.patch
>
>
> e.g. from https://jenkins.thetaphi.de/job/Lucene-Solr-master-MacOSX/4701/consoleText
> {code}
> [junit4] ERROR   20.4s J0 | CdcrBidirectionalTest.testBiDir <<<
> [junit4]    > Throwable #1: com.carrotsearch.randomizedtesting.UncaughtExceptionError: Captured an uncaught exception in thread: Thread[id=28371, name=cdcr-replicator-11775-thread-1, state=RUNNABLE, group=TGRP-CdcrBidirectionalTest]
> [junit4]    > 	at __randomizedtesting.SeedInfo.seed([CA5584AC7009CD50:8F8E744E68278112]:0)
> [junit4]    > Caused by: java.lang.AssertionError
> [junit4]    > 	at __randomizedtesting.SeedInfo.seed([CA5584AC7009CD50]:0)
> [junit4]    > 	at org.apache.solr.update.CdcrUpdateLog$CdcrLogReader.forwardSeek(CdcrUpdateLog.java:611)
> [junit4]    > 	at org.apache.solr.handler.CdcrReplicator.run(CdcrReplicator.java:125)
> [junit4]    > 	at org.apache.solr.handler.CdcrReplicatorScheduler.lambda$null$0(CdcrReplicatorScheduler.java:81)
> [junit4]    > 	at org.apache.solr.common.util.ExecutorUtil$MDCAwareThreadPoolExecutor.lambda$execute$0(ExecutorUtil.java:209)
> [junit4]    > 	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
> [junit4]    > 	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
> [junit4]    > 	at java.lang.Thread.run(Thread.java:748)
> {code}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org