elastic / elasticsearch

Free and Open Source, Distributed, RESTful Search Engine
https://www.elastic.co/products/elasticsearch
Other
1.53k stars 24.9k forks source link

[CI] SparseVectorQueryBuilderTests testToQuery failing #117904

Open elasticsearchmachine opened 15 hours ago

elasticsearchmachine commented 15 hours ago

Build Scans:

Reproduction Line:

./gradlew ":x-pack:plugin:core:test" --tests "org.elasticsearch.xpack.core.ml.search.SparseVectorQueryBuilderTests.testToQuery" -Dtests.seed=A00BAA5DA457B042 -Dtests.locale=es-CR -Dtests.timezone=AGT -Druntime.java=23

Applicable branches: 8.x

Reproduces locally?: N/A

Failure History: See dashboard&_a=(controlGroupState:(initialChildControlState:('0c0c9cb8-ccd2-45c6-9b13-96bac4abc542':(dataViewId:fbbdc689-be23-4b3d-8057-aa402e9ed0c5,fieldName:task.keyword,order:0,selectedOptions:!(),title:'GradleTask',type:optionsListControl),'4e6ad9d6-6fdc-4fcc-bf1a-aa6ca79e0850':(dataViewId:fbbdc689-be23-4b3d-8057-aa402e9ed0c5,fieldName:className.keyword,order:1,selectedOptions:!(org.elasticsearch.xpack.core.ml.search.SparseVectorQueryBuilderTests),title:'Suite',type:optionsListControl),'144933da-5c1b-4257-a969-7f43455a7901':(dataViewId:fbbdc689-be23-4b3d-8057-aa402e9ed0c5,fieldName:name.keyword,order:2,selectedOptions:!(testToQuery),title:'Test',type:optionsListControl)))))

Failure Message:

java.lang.AssertionError: null

Issue Reasons:

Note: This issue was created using new test triage automation. Please report issues or feedback to es-delivery.

elasticsearchmachine commented 15 hours ago

This has been muted on branch main

Mute Reasons:

Build Scans:

elasticsearchmachine commented 15 hours ago

Pinging @elastic/ml-core (Team:ML)

davidkyle commented 15 hours ago

The failure stack trace is

  2> java.lang.AssertionError   
        at __randomizedtesting.SeedInfo.seed([C5167C16CDA55663:32ED7E28BC269389]:0) 
        at org.junit.Assert.fail(Assert.java:87)    
        at org.junit.Assert.assertTrue(Assert.java:42)  
        at org.junit.Assert.assertTrue(Assert.java:53)  
        at org.elasticsearch.xpack.core.ml.search.SparseVectorQueryBuilderTests.testDoToQuery(SparseVectorQueryBuilderTests.java:235)   
        at org.elasticsearch.xpack.core.ml.search.SparseVectorQueryBuilderTests.testToQuery(SparseVectorQueryBuilderTests.java:227)

Reproduces with the repo line above

./gradlew ":x-pack:plugin:core:test" --tests "org.elasticsearch.xpack.core.ml.search.SparseVectorQueryBuilderTests.testToQuery" -Dtests.seed=C5167C16CDA55663 -Dtests.locale=wo-SN -Dtests.timezone=Asia/Tomsk -Druntime.java=23
kderusso commented 10 hours ago

Fix PR: https://github.com/elastic/elasticsearch/pull/117930