[
https://issues.apache.org/jira/browse/SOLR-10734?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16103195#comment-16103195
]
Steve Rowe commented on SOLR-10734:
-----------------------------------
I got a non-reproducing master failure on my Jenkins:
{noformat}
Checking out Revision edff113e13f2a108d2f4177da3e88cf6f3402b23
(refs/remotes/origin/master)
[...]
[junit4] 2> NOTE: reproduce with: ant test
-Dtestcase=AtomicUpdateProcessorFactoryTest -Dtests.method=testMultipleThreads
-Dtests.seed=76152225D862F0E0 -Dtests.slow=true -Dtests.locale=sr-ME
-Dtests.timezone=Australia/Eucla -Dtests.asserts=true
-Dtests.file.encoding=UTF-8
[junit4] ERROR 0.06s J3 |
AtomicUpdateProcessorFactoryTest.testMultipleThreads <<<
[junit4] > Throwable #1: java.lang.RuntimeException: Exception during
query
[junit4] > at
__randomizedtesting.SeedInfo.seed([76152225D862F0E0:5A2755A854A68664]:0)
[junit4] > at
org.apache.solr.SolrTestCaseJ4.assertQ(SolrTestCaseJ4.java:886)
[junit4] > at
org.apache.solr.update.processor.AtomicUpdateProcessorFactoryTest.testMultipleThreads(AtomicUpdateProcessorFactoryTest.java:264)
[junit4] > at java.lang.Thread.run(Thread.java:745)
[junit4] > Caused by: java.lang.RuntimeException: REQUEST FAILED:
xpath=//result[@numFound=1]
[junit4] > xml response was: <?xml version="1.0" encoding="UTF-8"?>
[junit4] > <response>
[junit4] > <lst name="responseHeader"><int name="status">0</int><int
name="QTime">0</int></lst><result name="response" numFound="0"
start="0"></result>
[junit4] > </response>
[junit4] > request was:q=int_i:18&wt=xml
[junit4] > at
org.apache.solr.SolrTestCaseJ4.assertQ(SolrTestCaseJ4.java:879)
[...]
[junit4] 2> NOTE: test params are: codec=Asserting(Lucene70):
{name_s=BlockTreeOrds(blocksize=128), int_i=BlockTreeOrds(blocksize=128),
range_facet_l_dv=PostingsFormat(name=Memory),
multiDefault=PostingsFormat(name=LuceneVarGapDocFreqInterval),
intDefault=PostingsFormat(name=LuceneFixedGap),
title=PostingsFormat(name=LuceneVarGapDocFreqInterval),
title_lettertok=PostingsFormat(name=Memory),
count_i=BlockTreeOrds(blocksize=128),
range_facet_l=PostingsFormat(name=LuceneFixedGap),
title_stringNoNorms=PostingsFormat(name=LuceneFixedGap),
title_stemmed=PostingsFormat(name=LuceneVarGapDocFreqInterval),
cat=PostingsFormat(name=LuceneFixedGap),
id_i1=PostingsFormat(name=LuceneVarGapDocFreqInterval),
id=PostingsFormat(name=Memory),
range_facet_i_dv=PostingsFormat(name=LuceneFixedGap),
text=BlockTreeOrds(blocksize=128),
timestamp=PostingsFormat(name=LuceneFixedGap)},
docValues:{range_facet_l_dv=DocValuesFormat(name=Direct),
_version_=DocValuesFormat(name=Lucene70),
range_facet_i_dv=DocValuesFormat(name=Lucene70),
intDvoDefault=DocValuesFormat(name=Lucene70),
timestamp=DocValuesFormat(name=Lucene70)}, maxPointsInLeafNode=798,
maxMBSortInHeap=6.2618227715292365, sim=RandomSimilarity(queryNorm=false): {},
locale=sr-ME, timezone=Australia/Eucla
[junit4] 2> NOTE: Linux 4.1.0-custom2-amd64 amd64/Oracle Corporation
1.8.0_77 (64-bit)/cpus=16,threads=1,free=81956456,total=525860864
{noformat}
> Multithreaded test/support for AtomicURP broken
> -----------------------------------------------
>
> Key: SOLR-10734
> URL: https://issues.apache.org/jira/browse/SOLR-10734
> Project: Solr
> Issue Type: Bug
> Security Level: Public(Default Security Level. Issues are Public)
> Reporter: Ishan Chattopadhyaya
> Assignee: Noble Paul
> Fix For: master (8.0), 7.1
>
> Attachments: log-snippet, Screen Shot 2017-05-31 at 4.50.23 PM.png,
> SOLR-10734.patch
>
>
> The multithreaded test doesn't actually start the threads, but only invokes
> the run directly. The join afterwards doesn't do anything, hence.
> {code}
> diff --git
> a/solr/core/src/test/org/apache/solr/update/processor/AtomicUpdateProcessorFactoryTest.java
>
> b/solr/core/src/test/org/apache/solr/update/processor/AtomicUpdateProcessorFactoryTest.java
> index f3f833d..10b7770 100644
> ---
> a/solr/core/src/test/org/apache/solr/update/processor/AtomicUpdateProcessorFactoryTest.java
> +++
> b/solr/core/src/test/org/apache/solr/update/processor/AtomicUpdateProcessorFactoryTest.java
> @@ -238,7 +238,7 @@ public class AtomicUpdateProcessorFactoryTest extends
> SolrTestCaseJ4 {
> }
> }
> };
> - t.run();
> + t.run(); // red flag, shouldn't this be t.start?
> threads.add(t);
> finalCount += index; //int_i
> }
> {code}
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]