Skip to content

Test failures around deprecating negative ByteSizeValue #68447

Closed
@pgomulka

Description

@pgomulka

7.x with 6.8.14 mixed cluster failes test when a timestamp is negative. This was deprecated and possibly 7.x tests do not assert about this

Values less than -1 bytes are deprecated and will not be supported in the next major version

most likely introduced by #27702
Look out for these tests

rg.elasticsearch.upgrades.UpgradeClusterClientYamlTestSuiteIT test {p0=mixed_cluster/10_basic/Get index works}
org.elasticsearch.upgrades.UpgradeClusterClientYamlTestSuiteIT test {p0=mixed_cluster/10_basic/Use the percolate query in mixed cluster}
org.elasticsearch.upgrades.UpgradeClusterClientYamlTestSuiteIT test {p0=mixed_cluster/10_basic/Verify custom cluster metadata still exists during upgrade}
org.elasticsearch.upgrades.UpgradeClusterClientYamlTestSuiteIT test {p0=mixed_cluster/10_basic/Verify nodes usage works}
org.elasticsearch.upgrades.UpgradeClusterClientYamlTestSuiteIT test {p0=mixed_cluster/10_basic/Verify that we can still find things with the template}
org.elasticsearch.upgrades.UpgradeClusterClientYamlTestSuiteIT test {p0=mixed_cluster/20_date_range/Insert more docs to java index}
org.elasticsearch.upgrades.UpgradeClusterClientYamlTestSuiteIT test {p0=mixed_cluster/20_date_range/Insert more docs to joda index}

Build scan:
https://gradle-enterprise.elastic.co/s/oulnm25d3t5wi/tests/failed
Repro line:
./gradlew ':qa:rolling-upgrade:v6.8.14#oneThirdUpgradedTest' -Dtests.class="org.elasticsearch.upgrades.UpgradeClusterClientYamlTestSuiteIT" -Dtests.method="test {p0=mixed_cluster/10_basic/Get index works}" -Dtests.seed=8B90F9C7DC1CE193 -Dtests.security.manager=true -Dtests.bwc=true -Dtests.locale=ru -Dtests.timezone=Australia/Yancowinna -Druntime.java=8 -Dtests.rest.suite=mixed_cluster

Reproduces locally?:
not yet..

Applicable branches:
7.x

Failure history:

Failure excerpt:

Metadata

Metadata

Assignees

No one assigned

    Labels

    :Core/Infra/CoreCore issues without another label>test-failureTriaged test failures from CITeam:Core/InfraMeta label for core/infra team

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions