elastic / elasticsearch

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

[CI] EsqlSpecIT test {mv_percentile.FromIndex ASYNC} failing #112193

Closed elasticsearchmachine closed 2 weeks ago

elasticsearchmachine commented 2 weeks ago

Build Scans:

Reproduction Line:

./gradlew ":x-pack:plugin:esql:qa:server:multi-node:javaRestTest" --tests "org.elasticsearch.xpack.esql.qa.multi_node.EsqlSpecIT" -Dtests.method="test {mv_percentile.FromIndex ASYNC}" -Dtests.seed=EC3A719DBA4C3177 -Dtests.locale=ar-YE -Dtests.timezone=Universal -Druntime.java=22

Applicable branches: main

Reproduces locally?: N/A

Failure History: See dashboard&_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:!('test%20%7Bmv_percentile.FromIndex%20ASYNC%7D'),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.esql.qa.multi_node.EsqlSpecIT'),title:Suite,width:medium),grow:!t,order:1,type:optionsListControl,width:medium)))))

Failure Message:

java.lang.AssertionError: Data mismatch:
row 1 column 0:a list containing
row 1 column 0:0: expected "10037" but was "10069"
row 1 column 3:a list containing
row 1 column 3:0: expected <-7.08> but was <-7.725>
row 2 column 0:a list containing
row 2 column 0:0: expected "10039" but was "10072"
row 2 column 1:a list containing
row 2 column 1:0: expected "-6" but was "-7"
row 2 column 2:a list containing
row 2 column 2:0: expected "-6" but was "-7"
row 2 column 3:a list containing
row 2 column 3:0: expected <-6.9> but was <-7.725>

Issue Reasons:

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

elasticsearchmachine commented 2 weeks ago

This has been muted on branch main

Mute Reasons:

Build Scans:

elasticsearchmachine commented 2 weeks ago

Pinging @elastic/es-analytical-engine (Team:Analytics)

astefan commented 2 weeks ago

Likely related https://github.com/elastic/elasticsearch/issues/112036. And https://github.com/elastic/elasticsearch/issues/112037.

astefan commented 2 weeks ago

@ivancea mv_percentile failure returned. Maybe now the failure is more relevant than the previous one.

nik9000 commented 2 weeks ago

Ivan's away for a while. I said I'd watch for failures and then missed these. I'll look.

nik9000 commented 2 weeks ago

The bug had to do with our handling of already-sorted Blocks. I think this is a pretty common thing so I'd say this function was not infrequently broken. But the damage was limited to this function.