REPRODUCE WITH: ./gradlew ':modules:transport-netty4:javaRestTest' --tests "org.elasticsearch.rest.Netty4HeadBodyIsEmptyIT.testTemplateExists" -Dtests.seed=929C4965732D9139 -Dtests.security.manager=true -Dtests.locale=zh-CN -Dtests.timezone=Asia/Vladivostok -Druntime.java=11 -Dtests.fips.enabled=true
org.elasticsearch.rest.Netty4HeadBodyIsEmptyIT > testTemplateExists FAILED |
-- | --
| org.elasticsearch.client.WarningFailureException: method [PUT], host [http://[::1]:35925], URI [/_template/template], status line [HTTP/1.1 200 OK] |
| Warnings: [legacy template [template] has index patterns [*] matching patterns from existing composable templates [ilm-history,.watch-history-14,.triggered_watches,.slm-history,synthetics,metrics,.deprecation-indexing-template,.watches,logs] with patterns (ilm-history => [ilm-history-5*],.watch-history-14 => [.watcher-history-14*],.triggered_watches => [.triggered_watches*],.slm-history => [.slm-history-5*],synthetics => [synthetics-*-*],metrics => [metrics-*-*],.deprecation-indexing-template => [.logs-deprecation-elasticsearch],.watches => [.watches*],logs => [logs-*-*]); this template [template] may be ignored in favor of a composable template at index creation time] |
| {"acknowledged":true} |
| at __randomizedtesting.SeedInfo.seed([929C4965732D9139:416DB177AAD2AE0A]:0) |
| at org.elasticsearch.client.RestClient.convertResponse(RestClient.java:326) |
| at org.elasticsearch.client.RestClient.performRequest(RestClient.java:296) |
| at org.elasticsearch.client.RestClient.performRequest(RestClient.java:270) |
| at org.elasticsearch.rest.Netty4HeadBodyIsEmptyIT.testTemplateExists(Netty4HeadBodyIsEmptyIT.java:137)
This might be caused again by the fact that we force the default distribution to be used instead which causes some default templates to be installed. We can either skip this in fips mode or acknowledge the warning header in fips mode
Build scan: https://gradle-enterprise.elastic.co/s/uyhi5qrl4il5m
Repro line:
Reproduces locally?: yes
Applicable branches: master
Failure history:
Failure excerpt:
This might be caused again by the fact that we force the default distribution to be used instead which causes some default templates to be installed. We can either skip this in fips mode or acknowledge the warning header in fips mode