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

Build Failure #279

Closed
weijia-aws opened this issue Jan 28, 2025 · 1 comment
Closed

Build Failure #279

weijia-aws opened this issue Jan 28, 2025 · 1 comment

Comments

@weijia-aws
Copy link

Currently if we run ./gradlew build, it will fail due to some failing integ tests

Tests with failures:

 - org.opensearch.neuralsearch.processor.NeuralQueryEnricherProcessorIT.testNeuralQueryEnricherProcessor_whenNoModelIdPassedInNeuralSparseQuery_thenSuccess
 - org.opensearch.neuralsearch.processor.NeuralSparseTwoPhaseProcessorIT.testMultiNeuralSparseQuery_whenTwoPhaseAndModelInference_thenGetExpectedScore
 - org.opensearch.neuralsearch.processor.NeuralSparseTwoPhaseProcessorIT.testMultiNeuralSparseQuery_whenTwoPhaseAndMultiBoolean_thenGetExpectedScore
 - org.opensearch.neuralsearch.processor.SparseEncodingProcessIT.testSparseEncodingProcessorWithPrune
 - org.opensearch.neuralsearch.processor.SparseEncodingProcessIT.testSparseEncodingProcessor
 - org.opensearch.neuralsearch.query.NeuralSparseQueryIT.testRescoreQuery
 - org.opensearch.neuralsearch.query.NeuralSparseQueryIT.testBooleanQuery_withSparseEncodingAndBM25Queries
 - org.opensearch.neuralsearch.query.NeuralSparseQueryIT.testBasicQueryUsingQueryText
 - org.opensearch.neuralsearch.query.NeuralSparseQueryIT.testBooleanQuery_withMultipleSparseEncodingQueries

Error message could be (before gradle cache clean):

org.opensearch.client.ResponseException: method [GET], host [http://127.0.0.1:54754/], URI [/test-sparse-basic-index/_search?timeout=1000s&size=1], status line [HTTP/1.1 500 Internal Server Error]
{"error":{"root_cause":[{"type":"null_pointer_exception","reason":"Cannot invoke \"org.opensearch.ml.common.output.model.ModelTensorOutput.getMlModelOutputs()\" because \"modelTensorOutput\" is null"}],"type":"null_pointer_exception","reason":"Cannot invoke \"org.opensearch.ml.common.output.model.ModelTensorOutput.getMlModelOutputs()\" because \"modelTensorOutput\" is null"},"status":500}

or (after gradle cache clean):

Can not start node{::integTest-0}, missing: /Users/alias/.gradle/caches/8.9/transforms/c7a7edbbed8f711bb27516cb0abad874/transformed/opensearch-3.0.0-SNAPSHOT-darwin-arm64.tar.gz

Note that all the tests fail while making a search call

We don't know the root cause of the failure yet (most likely a dependency issue), need a deeper dive

@weijia-aws
Copy link
Author

Sorry, wrong repo

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant