Skip to content

TestLucene95HnswVectorsFormat.testRandomWithUpdatesAndGraph fails with duplicate neighbor #15467

@msokolov

Description

@msokolov

Description

gradlew test --tests TestLucene95HnswVectorsFormat.testRandomWithUpdatesAndGraph -Dtests.seed=D50703366970158A -Dtests.multiplier=3 -Dtests.locale=khq-Latn-ML -Dtests.timezone=Arctic/Longyearbyen -Dtests.asserts=true -Dtests.file.encoding=UTF-8

reproduces for me, giving

+org.apache.lucene.index.CheckIndex$CheckIndexException: Field "field" has repeated neighbors of node 6 with value 192
	at __randomizedtesting.SeedInfo.seed([D50703366970158A:ABDAC62BDE1BBDE9]:0)
	at app/org.apache.lucene.core@11.0.0-SNAPSHOT/org.apache.lucene.index.CheckIndex.testHnswGraph(CheckIndex.java:3035)
	at app/org.apache.lucene.core@11.0.0-SNAPSHOT/org.apache.lucene.index.CheckIndex.testHnswGraphs(CheckIndex.java:2919)
	at app/org.apache.lucene.core@11.0.0-SNAPSHOT/org.apache.lucene.index.CheckIndex.testSegment(CheckIndex.java:1126)
	at app/org.apache.lucene.core@11.0.0-SNAPSHOT/org.apache.lucene.index.CheckIndex.checkIndex(CheckIndex.java:823)
	at app/org.apache.lucene.core@11.0.0-SNAPSHOT/org.apache.lucene.index.CheckIndex.checkIndex(CheckIndex.java:593)
	at app/org.apache.lucene.test_framework@11.0.0-SNAPSHOT/org.apache.lucene.tests.util.TestUtil.checkIndex(TestUtil.java:333)
	at app/org.apache.lucene.test_framework@11.0.0-SNAPSHOT/org.apache.lucene.tests.store.MockDirectoryWrapper.close(MockDirectoryWrapper.java:917)
	at app/org.apache.lucene.test_framework@11.0.0-SNAPSHOT/org.apache.lucene.tests.index.BaseKnnVectorsFormatTestCase.testRandomWithUpdatesAndGraph(BaseKnnVectorsFormatTestCase.java:1615)

Version and environment details

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    skip-changelogApply to PRs that don't need a changelog entry, stopping the automated changelog check.type:bug

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions