You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@lucene.apache.org by "Tomoko Uchida (Jira)" <ji...@apache.org> on 2022/04/25 10:49:00 UTC

[jira] [Commented] (LUCENE-10529) TestTaxonomyFacetAssociations may have floating point issues

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

Tomoko Uchida commented on LUCENE-10529:
----------------------------------------

I saw the same test fails but with a different cause (NPE). Reproducible command:

{code}
./gradlew :lucene:facet:test --tests "org.apache.lucene.facet.taxonomy.TestTaxonomyFacetAssociations.testFloatAssociationRandom" -Ptests.jvms=1 -Ptests.jvmargs=-XX:TieredStopAtLevel=1 -Ptests.seed=DB1825817AA4CAF3

org.apache.lucene.facet.taxonomy.TestTaxonomyFacetAssociations > test suite's output saved to /mnt/hdd/repo/lucene/lucene/facet/build/test-results/test/outputs/OUTPUT-org.apache.lucene.facet.taxonomy.TestTaxonomyFacetAssociations.txt, copied below:
   >     java.lang.NullPointerException: Cannot read field "dim" because "facetResult" is null
   >         at __randomizedtesting.SeedInfo.seed([DB1825817AA4CAF3:8821D130A8C55B45]:0)
   >         at org.apache.lucene.facet.taxonomy.TestTaxonomyFacetAssociations.validateFloats(TestTaxonomyFacetAssociations.java:454)
{code}

This might be another issue.

> TestTaxonomyFacetAssociations may have floating point issues
> ------------------------------------------------------------
>
>                 Key: LUCENE-10529
>                 URL: https://issues.apache.org/jira/browse/LUCENE-10529
>             Project: Lucene - Core
>          Issue Type: Task
>            Reporter: Robert Muir
>            Priority: Major
>
> Hit this in a jenkins CI build while testing something else:
> {noformat}
> gradlew test --tests TestTaxonomyFacetAssociations.testFloatAssociationRandom -Dtests.seed=B39C450F4870F7F1 -Dtests.locale=ar-IQ -Dtests.timezone=America/Rankin_Inlet -Dtests.asserts=true -Dtests.file.encoding=UTF-8
> ...
> org.apache.lucene.facet.taxonomy.TestTaxonomyFacetAssociations > testFloatAssociationRandom FAILED
>     java.lang.AssertionError: expected:<2605996.5> but was:<2605995.2>
> {noformat}



--
This message was sent by Atlassian Jira
(v8.20.7#820007)

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