elastic / elasticsearch

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

[CI] PinnedQueryBuilderIT testPinnedPromotions failing #116097

Open elasticsearchmachine opened 1 month ago

elasticsearchmachine commented 1 month ago

Build Scans:

Reproduction Line:

./gradlew ":x-pack:plugin:search-business-rules:internalClusterTest" --tests "org.elasticsearch.xpack.searchbusinessrules.PinnedQueryBuilderIT.testPinnedPromotions" -Dtests.seed=9C84A102B3A7353A -Dtests.locale=es-PR -Dtests.timezone=America/Cancun -Druntime.java=23

Applicable branches: main

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.searchbusinessrules.PinnedQueryBuilderIT),title:'Suite',type:optionsListControl),'144933da-5c1b-4257-a969-7f43455a7901':(dataViewId:fbbdc689-be23-4b3d-8057-aa402e9ed0c5,fieldName:name.keyword,order:2,selectedOptions:!(testPinnedPromotions),title:'Test',type:optionsListControl)))))

Failure Message:

java.lang.Exception: Test abandoned because suite timeout was reached.

Issue Reasons:

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

elasticsearchmachine commented 1 month ago

This has been muted on branch main

Mute Reasons:

Build Scans:

elasticsearchmachine commented 1 month ago

Pinging @elastic/es-search (Team:Search)

benwtrent commented 1 month ago

This timeout is weird, I cannot see anything that is locking in the threads nor any other piece of significant work.

benwtrent commented 1 month ago

Indeed, this uses DFS_QUERY_THEN_FETCH. Could be related: https://github.com/elastic/elasticsearch/pull/116060/files

benwtrent commented 1 month ago

One failure was before: d3321ea64c3f4cf8e68470604f10cd370d02c9da

another was after: 281416d043f5332e4e384c414ae207e041d7e397

So, it maybe unrelated :(

benwtrent commented 1 month ago

Ah, but both were after: https://github.com/elastic/elasticsearch/commit/78a531bf4eed313d44b80638ddf015cc586ee2b6

That one might indeed be the cause, but the DFS change didn't actually fix it.

elasticsearchmachine commented 3 weeks ago

Pinging @elastic/es-search-foundations (Team:Search Foundations)