Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[AUTOCUT] OS Distribution Build Failed for k-NN-2.5.0 #683

Closed
opensearch-ci-bot opened this issue Dec 17, 2022 · 3 comments
Closed

[AUTOCUT] OS Distribution Build Failed for k-NN-2.5.0 #683

opensearch-ci-bot opened this issue Dec 17, 2022 · 3 comments
Labels
autocut untriaged v2.5.0 'Issues and PRs related to version v2.5.0'

Comments

@opensearch-ci-bot
Copy link
Collaborator

Received Error: Error building k-NN, retry with: ./build.sh manifests/2.5.0/opensearch-2.5.0.yml --component k-NN.
The distribution build for k-NN has failed.
Please see build log at https://build.ci.opensearch.org/job/distribution-build-opensearch/6726/consoleFull

@opensearch-ci-bot opensearch-ci-bot added autocut v2.5.0 'Issues and PRs related to version v2.5.0' untriaged labels Dec 17, 2022
@jmazanec15
Copy link
Member

Seeing this:

REPRODUCE WITH: ./gradlew ':test' --tests "org.opensearch.knn.index.codec.KNN940Codec.KNN940CodecTests.testKnnVectorIndex" -Dtests.seed=B000FDFABDFF3231 -Dtests.security.manager=false -Dtests.locale=nl-NL -Dtests.timezone=America/Kentucky/Louisville -Druntime.java=17

org.opensearch.knn.index.codec.KNN940Codec.KNN940CodecTests > testKnnVectorIndex FAILED
    org.mockito.exceptions.verification.TooManyActualInvocations: 
    kNN940PerFieldKnnVectorsFormat.getKnnVectorsFormatForField(
        "test_vector_one"
    );
    Wanted 1 time:
    -> at org.opensearch.knn.index.codec.KNNCodecTestCase.testKnnVectorIndex(KNNCodecTestCase.java:323)
    But was 2 times:
    -> at org.apache.lucene.codecs.perfield.PerFieldKnnVectorsFormat$FieldsWriter.getInstance(PerFieldKnnVectorsFormat.java:134)
    -> at org.apache.lucene.codecs.perfield.PerFieldKnnVectorsFormat$FieldsWriter.getInstance(PerFieldKnnVectorsFormat.java:134)
        at __randomizedtesting.SeedInfo.seed([B000FDFABDFF3231:1F55CF7AEB456207]:0)
        at app//org.opensearch.knn.index.codec.KNNCodecTestCase.testKnnVectorIndex(KNNCodecTestCase.java:323)
        at app//org.opensearch.knn.index.codec.KNN940Codec.KNN940CodecTests.testKnnVectorIndex(KNN940CodecTests.java:38)

@jmazanec15
Copy link
Member

Was able to reproduce locally on 2.x:

./gradlew ':test' --tests "org.opensearch.knn.index.codec.KNN940Codec.KNN940CodecTests.testKnnVectorIndex" -Dtests.seed=B000FDFABDFF3231 -Dtests.security.manager=false -Dtests.locale=nl-NL -Dtests.timezone=America/Kentucky/Louisville -Druntime.java=17

org.opensearch.knn.index.codec.KNN940Codec.KNN940CodecTests > testKnnVectorIndex FAILED
    org.mockito.exceptions.verification.TooManyActualInvocations:
    kNN940PerFieldKnnVectorsFormat.getKnnVectorsFormatForField(
        "test_vector_one"
    );
    Wanted 1 time:
    -> at org.opensearch.knn.index.codec.KNNCodecTestCase.testKnnVectorIndex(KNNCodecTestCase.java:323)
    But was 2 times:
    -> at org.apache.lucene.codecs.perfield.PerFieldKnnVectorsFormat$FieldsWriter.getInstance(PerFieldKnnVectorsFormat.java:134)
    -> at org.apache.lucene.codecs.perfield.PerFieldKnnVectorsFormat$FieldsWriter.getInstance(PerFieldKnnVectorsFormat.java:134)
        at __randomizedtesting.SeedInfo.seed([B000FDFABDFF3231:1F55CF7AEB456207]:0)
        at app//org.opensearch.knn.index.codec.KNNCodecTestCase.testKnnVectorIndex(KNNCodecTestCase.java:323)
        at app//org.opensearch.knn.index.codec.KNN940Codec.KNN940CodecTests.testKnnVectorIndex(KNN940CodecTests.java:38)

@jmazanec15
Copy link
Member

Fixed with #707

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
autocut untriaged v2.5.0 'Issues and PRs related to version v2.5.0'
Projects
None yet
Development

No branches or pull requests

2 participants