Skip to content

Mixed Cluster Tests failing after joda migration #42679

@jbaiera

Description

@jbaiera

Tests are failing on 7.x, 7.2, and 7.1 due to unexpected warnings returned from 6.8 nodes pertaining to date pattern usages.

Seems to be related to #41956, Looks like the tests need to be updated to expect warnings.

Muting the tests, will report back here with the commits of the mutes.

Failures:

7.x:
https://elasticsearch-ci.elastic.co/job/elastic+elasticsearch+7.x+periodic/618/console
https://gradle.com/s/r6caor7lose3i

:qa:mixed-cluster:v6.8.1#mixedClusterTestRunner FAILED
--
Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF8
 
 
org.elasticsearch.backwards.MixedClusterClientYamlTestSuiteIT > test {p0=search/140_pre_filter_search_shards/pre_filter_shard_size with shards that have no hit} FAILED
java.lang.AssertionError: Failure at [search/140_pre_filter_search_shards:2]: got unexpected warning header [
299 Elasticsearch-6.8.1-SNAPSHOT-6853a61 "'y' year should be replaced with 'u'. Use 'y' for year-of-era. Prefix your date format with '8' to use the new specifier."
]
 
Caused by:
java.lang.AssertionError: got unexpected warning header [
299 Elasticsearch-6.8.1-SNAPSHOT-6853a61 "'y' year should be replaced with 'u'. Use 'y' for year-of-era. Prefix your date format with '8' to use the new specifier."
]
REPRODUCE WITH: ./gradlew :qa:mixed-cluster:v6.8.1#mixedClusterTestRunner --tests "org.elasticsearch.backwards.MixedClusterClientYamlTestSuiteIT.test {p0=search/140_pre_filter_search_shards/pre_filter_shard_size with shards that have no hit}" -Dtests.seed=49C104CFAF9D0BDB -Dtests.security.manager=true -Dtests.locale=en-US -Dtests.timezone=America/Buenos_Aires -Dcompiler.java=12 -Druntime.java=8
 
org.elasticsearch.backwards.MixedClusterClientYamlTestSuiteIT > test {p0=search/140_pre_filter_search_shards/pre_filter_shard_size with invalid parameter} FAILED
java.lang.AssertionError: Failure at [search/140_pre_filter_search_shards:2]: got unexpected warning header [
299 Elasticsearch-6.8.1-SNAPSHOT-6853a61 "'y' year should be replaced with 'u'. Use 'y' for year-of-era. Prefix your date format with '8' to use the new specifier."
]
 
Caused by:
java.lang.AssertionError: got unexpected warning header [
299 Elasticsearch-6.8.1-SNAPSHOT-6853a61 "'y' year should be replaced with 'u'. Use 'y' for year-of-era. Prefix your date format with '8' to use the new specifier."
]

7.2:
https://elasticsearch-ci.elastic.co/job/elastic+elasticsearch+7.2+intake/51/console
https://scans.gradle.com/s/g62fd6k2pxd5m

:qa:mixed-cluster:v6.8.1#mixedClusterTestRunner FAILED
--
Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF8
 
 
org.elasticsearch.backwards.MixedClusterClientYamlTestSuiteIT > test {p0=search/140_pre_filter_search_shards/pre_filter_shard_size with shards that have no hit} FAILED
java.lang.AssertionError: Failure at [search/140_pre_filter_search_shards:2]: got unexpected warning header [
299 Elasticsearch-6.8.1-SNAPSHOT-6853a61 "'y' year should be replaced with 'u'. Use 'y' for year-of-era. Prefix your date format with '8' to use the new specifier."
]
 
Caused by:
java.lang.AssertionError: got unexpected warning header [
299 Elasticsearch-6.8.1-SNAPSHOT-6853a61 "'y' year should be replaced with 'u'. Use 'y' for year-of-era. Prefix your date format with '8' to use the new specifier."
]
REPRODUCE WITH: ./gradlew :qa:mixed-cluster:v6.8.1#mixedClusterTestRunner --tests "org.elasticsearch.backwards.MixedClusterClientYamlTestSuiteIT.test {p0=search/140_pre_filter_search_shards/pre_filter_shard_size with shards that have no hit}" -Dtests.seed=282C405AE3A5C1C7 -Dtests.security.manager=true -Dtests.locale=ar-IQ -Dtests.timezone=America/Shiprock -Dcompiler.java=12 -Druntime.java=8
 
org.elasticsearch.backwards.MixedClusterClientYamlTestSuiteIT > test {p0=search/140_pre_filter_search_shards/pre_filter_shard_size with invalid parameter} FAILED
java.lang.AssertionError: Failure at [search/140_pre_filter_search_shards:2]: got unexpected warning header [
299 Elasticsearch-6.8.1-SNAPSHOT-6853a61 "'y' year should be replaced with 'u'. Use 'y' for year-of-era. Prefix your date format with '8' to use the new specifier."
]
 
Caused by:
java.lang.AssertionError: got unexpected warning header [
299 Elasticsearch-6.8.1-SNAPSHOT-6853a61 "'y' year should be replaced with 'u'. Use 'y' for year-of-era. Prefix your date format with '8' to use the new specifier."
]

7.1:
https://elasticsearch-ci.elastic.co/job/elastic+elasticsearch+7.1+default-distro/84/console
https://gradle.com/s/ysje3e4pgzj4e

:qa:mixed-cluster:v6.8.1#mixedClusterTestRunner FAILED
--
Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF8
 
 
org.elasticsearch.backwards.MixedClusterClientYamlTestSuiteIT > test {p0=search/140_pre_filter_search_shards/pre_filter_shard_size with invalid parameter} FAILED
java.lang.AssertionError: Failure at [search/140_pre_filter_search_shards:2]: got unexpected warning header [
299 Elasticsearch-6.8.1-SNAPSHOT-6853a61 "'y' year should be replaced with 'u'. Use 'y' for year-of-era. Prefix your date format with '8' to use the new specifier."
]
 
Caused by:
java.lang.AssertionError: got unexpected warning header [
299 Elasticsearch-6.8.1-SNAPSHOT-6853a61 "'y' year should be replaced with 'u'. Use 'y' for year-of-era. Prefix your date format with '8' to use the new specifier."
]
REPRODUCE WITH: ./gradlew :qa:mixed-cluster:v6.8.1#mixedClusterTestRunner --tests "org.elasticsearch.backwards.MixedClusterClientYamlTestSuiteIT.test {p0=search/140_pre_filter_search_shards/pre_filter_shard_size with invalid parameter}" -Dtests.seed=20C7A190F4DD968A -Dtests.security.manager=true -Dtests.locale=uk -Dtests.timezone=Europe/Brussels -Dtests.distribution=default -Dcompiler.java=12 -Druntime.java=8
 
org.elasticsearch.backwards.MixedClusterClientYamlTestSuiteIT > test {p0=search/140_pre_filter_search_shards/pre_filter_shard_size with shards that have no hit} FAILED
java.lang.AssertionError: Failure at [search/140_pre_filter_search_shards:2]: got unexpected warning header [
299 Elasticsearch-6.8.1-SNAPSHOT-6853a61 "'y' year should be replaced with 'u'. Use 'y' for year-of-era. Prefix your date format with '8' to use the new specifier."
]
 
Caused by:
java.lang.AssertionError: got unexpected warning header [
299 Elasticsearch-6.8.1-SNAPSHOT-6853a61 "'y' year should be replaced with 'u'. Use 'y' for year-of-era. Prefix your date format with '8' to use the new specifier."
]
REPRODUCE WITH: ./gradlew :qa:mixed-cluster:v6.8.1#mixedClusterTestRunner --tests "org.elasticsearch.backwards.MixedClusterClientYamlTestSuiteIT.test {p0=search/140_pre_filter_search_shards/pre_filter_shard_size with shards that have no hit}" -Dtests.seed=20C7A190F4DD968A -Dtests.security.manager=true -Dtests.locale=uk -Dtests.timezone=Europe/Brussels -Dtests.distribution=default -Dcompiler.java=12 -Druntime.java=8
 
org.elasticsearch.backwards.MixedClusterClientYamlTestSuiteIT > test {p0=search.aggregation/230_composite/Composite aggregation with format} FAILED
java.lang.AssertionError: Failure at [search.aggregation/230_composite:248]: got unexpected warning header [
299 Elasticsearch-6.8.1-SNAPSHOT-6853a61 "'y' year should be replaced with 'u'. Use 'y' for year-of-era. Prefix your date format with '8' to use the new specifier."
]
 
Caused by:
java.lang.AssertionError: got unexpected warning header [
299 Elasticsearch-6.8.1-SNAPSHOT-6853a61 "'y' year should be replaced with 'u'. Use 'y' for year-of-era. Prefix your date format with '8' to use the new specifier."
]
REPRODUCE WITH: ./gradlew :qa:mixed-cluster:v6.8.1#mixedClusterTestRunner --tests "org.elasticsearch.backwards.MixedClusterClientYamlTestSuiteIT.test {p0=search.aggregation/230_composite/Composite aggregation with format}" -Dtests.seed=20C7A190F4DD968A -Dtests.security.manager=true -Dtests.locale=uk -Dtests.timezone=Europe/Brussels -Dtests.distribution=default -Dcompiler.java=12 -Druntime.java=8

Metadata

Metadata

Assignees

No one assigned

    Labels

    :Core/Infra/CoreCore issues without another label>test-failureTriaged test failures from CI

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions