elastic / elasticsearch

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

[CI] DatafeedJobsRestIT testLookbackWithIndicesOptions failing #116127

Open elasticsearchmachine opened 4 days ago

elasticsearchmachine commented 4 days ago

Build Scans:

Reproduction Line:

./gradlew ":x-pack:plugin:ml:qa:native-multi-node-tests:javaRestTest" --tests "org.elasticsearch.xpack.ml.integration.DatafeedJobsRestIT.testLookbackWithIndicesOptions" -Dtests.seed=E7142F54D3B30265 -Dtests.locale=ar-DZ -Dtests.timezone=EST -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.ml.integration.DatafeedJobsRestIT),title:'Suite',type:optionsListControl),'144933da-5c1b-4257-a969-7f43455a7901':(dataViewId:fbbdc689-be23-4b3d-8057-aa402e9ed0c5,fieldName:name.keyword,order:2,selectedOptions:!(testLookbackWithIndicesOptions),title:'Test',type:optionsListControl)))))

Failure Message:

org.elasticsearch.client.WarningFailureException: method [PUT], host [http://[::1]:39693], URI [/.hidden-index], status line [HTTP/1.1 200 OK]
Warnings: [Index [.hidden-index] name begins with a dot (.), which is deprecated, and will not be allowed in a future Elasticsearch version.]
{"acknowledged":true,"shards_acknowledged":true,"index":".hidden-index"}

Issue Reasons:

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

elasticsearchmachine commented 4 days ago

This has been muted on branch main

Mute Reasons:

Build Scans:

elasticsearchmachine commented 4 days ago

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

davidkyle commented 1 day ago

The test does indeed create a .hidden-index in order to test the expand wild card options. It is creating the hidden index that is causing the failure. Low risk as the test hasn't change, what has changed is that creating a dot prefixed index is now deprecated.