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 (JIRA)" <ji...@apache.org> on 2018/10/15 11:56:00 UTC

[jira] [Resolved] (LUCENE-8528) Reproducing TestFSTs.testBasicFSA() failure

     [ https://issues.apache.org/jira/browse/LUCENE-8528?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Dawid Weiss resolved LUCENE-8528.
---------------------------------
       Resolution: Fixed
         Assignee: Dawid Weiss
    Fix Version/s: 7.6

It's a test bug (randomness in the input, hardcoded assertions).

> Reproducing TestFSTs.testBasicFSA() failure
> -------------------------------------------
>
>                 Key: LUCENE-8528
>                 URL: https://issues.apache.org/jira/browse/LUCENE-8528
>             Project: Lucene - Core
>          Issue Type: Bug
>          Components: core/FSTs
>            Reporter: Steve Rowe
>            Assignee: Dawid Weiss
>            Priority: Major
>             Fix For: 7.6
>
>
> From [https://jenkins.thetaphi.de/job/Lucene-Solr-BadApples-master-Linux/104/]:
> {noformat}
> Checking out Revision 8d205ecd1c6a133f7cb9a4352388ec30d00b4bdb (refs/remotes/origin/master)
> [...]
>    [junit4] Suite: org.apache.lucene.util.fst.TestFSTs
>    [junit4]   2> NOTE: reproduce with: ant test  -Dtestcase=TestFSTs -Dtests.method=testBasicFSA -Dtests.seed=82D30036E9484CE9 -Dtests.multiplier=3 -Dtests.slow=true -Dtests.badapples=true -Dtests.locale=ckb-IR -Dtests.timezone=Africa/Malabo -Dtests.asserts=true -Dtests.file.encoding=ISO-8859-1
>    [junit4] FAILURE 0.18s J1 | TestFSTs.testBasicFSA <<<
>    [junit4]    > Throwable #1: java.lang.AssertionError: expected:<24> but was:<22>
>    [junit4]    > 	at __randomizedtesting.SeedInfo.seed([82D30036E9484CE9:5BAEBE18FD0445D5]:0)
>    [junit4]    > 	at org.apache.lucene.util.fst.TestFSTs.testBasicFSA(TestFSTs.java:166)
>    [junit4]    > 	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>    [junit4]    > 	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
>    [junit4]    > 	at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>    [junit4]    > 	at java.base/java.lang.reflect.Method.invoke(Method.java:564)
>    [junit4]    > 	at java.base/java.lang.Thread.run(Thread.java:844)
> [...]
>    [junit4]   2> NOTE: test params are: codec=Asserting(Lucene80): {date=PostingsFormat(name=Asserting), field=PostingsFormat(name=Asserting), docid=PostingsFormat(name=LuceneFixedGap), titleTokenized=BlockTreeOrds(blocksize=128), id=PostingsFormat(name=LuceneFixedGap), body=PostingsFormat(name=Asserting), title=PostingsFormat(name=LuceneVarGapFixedInterval)}, docValues:{docid_intDV=DocValuesFormat(name=Lucene70), titleDV=DocValuesFormat(name=Asserting)}, maxPointsInLeafNode=1415, maxMBSortInHeap=5.567002115183062, sim=Asserting(org.apache.lucene.search.similarities.AssertingSimilarity@54396619), locale=ckb-IR, timezone=Africa/Malabo
>    [junit4]   2> NOTE: Linux 4.15.0-36-generic amd64/Oracle Corporation 9.0.4 (64-bit)/cpus=8,threads=1,free=171269088,total=460849152
> {noformat}



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