Open gmarouli opened 9 months ago
Pinging @elastic/es-distributed (Team:Distributed)
The failing SearchShards API assertion was added in #97212, so I'm going to reassign the test failure to the Search team.
Pinging @elastic/es-search (Team:Search)
Few observation from time spent debugging this test
{
SearchShardsResponse searchShardsResponse = null;
try {
searchShardsResponse = client().execute(TransportSearchShardsAction.TYPE, searchShardsRequest).actionGet();
} catch (SearchPhaseExecutionException e) {
// ignore as this is expected to happen
}
if (searchShardsResponse != null) {
for (SearchShardsGroup group : searchShardsResponse.getGroups()) {
assertFalse("no shard should be marked as skipped", group.skipped());
}
}
}
somehow searchShardsResponse
got returned but it is expected to contain no skipped groups. Here I'd like ES-Search team to explain how/why is can happen that searchShardsResponse
contains some results despite the fact that underlying shard(s) do not exists at time of query
Test is the same, but the exception is different. Let me know if it's worth creating a separate issue for it
Pinging @elastic/es-search-foundations (Team:Search Foundations)
This issue has been closed because it has been open for too long with no activity.
Any muted tests that were associated with this issue have been unmuted.
If the tests begin failing again, a new issue will be opened, and they may be muted again.
This issue is getting re-opened because there are still AwaitsFix mutes for the given test. It will likely be closed again in the future.
This test doesn't fail often but there have been 8 fails in history starting on the 27th of December 2023 (I checked 90 days).
Build scan: https://gradle-enterprise.elastic.co/s/37emgjkj2kabs/tests/:x-pack:plugin:searchable-snapshots:internalClusterTest/org.elasticsearch.xpack.searchablesnapshots.SearchableSnapshotsCanMatchOnCoordinatorIntegTests/testSearchableSnapshotShardsThatHaveMatchingDataAreNotSkippedOnTheCoordinatingNode
Reproduction line:
Applicable branches: main
Reproduces locally?: Didn't try
Failure history: Failure dashboard for
org.elasticsearch.xpack.searchablesnapshots.SearchableSnapshotsCanMatchOnCoordinatorIntegTests#testSearchableSnapshotShardsThatHaveMatchingDataAreNotSkippedOnTheCoordinatingNode
&_a=(controlGroupInput:(chainingSystem:HIERARCHICAL,controlStyle:twoLine,ignoreParentSettings:(ignoreFilters:!f,ignoreQuery:!f,ignoreTimerange:!f,ignoreValidations:!t),panels:('0c0c9cb8-ccd2-45c6-9b13-96bac4abc542':(explicitInput:(dataViewId:fbbdc689-be23-4b3d-8057-aa402e9ed0c5,enhancements:(),fieldName:task.keyword,grow:!t,id:'0c0c9cb8-ccd2-45c6-9b13-96bac4abc542',searchTechnique:wildcard,selectedOptions:!(),singleSelect:!t,title:'Gradle%20Task',width:medium),grow:!t,order:0,type:optionsListControl,width:small),'144933da-5c1b-4257-a969-7f43455a7901':(explicitInput:(dataViewId:fbbdc689-be23-4b3d-8057-aa402e9ed0c5,enhancements:(),fieldName:name.keyword,grow:!t,id:'144933da-5c1b-4257-a969-7f43455a7901',searchTechnique:wildcard,selectedOptions:!('testSearchableSnapshotShardsThatHaveMatchingDataAreNotSkippedOnTheCoordinatingNode'),title:Test,width:medium),grow:!t,order:2,type:optionsListControl,width:medium),'4e6ad9d6-6fdc-4fcc-bf1a-aa6ca79e0850':(explicitInput:(dataViewId:fbbdc689-be23-4b3d-8057-aa402e9ed0c5,enhancements:(),fieldName:className.keyword,grow:!t,id:'4e6ad9d6-6fdc-4fcc-bf1a-aa6ca79e0850',searchTechnique:wildcard,selectedOptions:!('org.elasticsearch.xpack.searchablesnapshots.SearchableSnapshotsCanMatchOnCoordinatorIntegTests'),title:Suite,width:medium),grow:!t,order:1,type:optionsListControl,width:medium)))))Failure excerpt: