elastic / elasticsearch

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

[CI] SnapshotLifecycleStatsTests testEqualsAndHashcode failing #111300

Closed elasticsearchmachine closed 3 months ago

elasticsearchmachine commented 3 months ago

Build Scans:

Reproduction Line:

./gradlew ":x-pack:plugin:core:test" --tests "org.elasticsearch.xpack.core.slm.SnapshotLifecycleStatsTests.testEqualsAndHashcode" -Dtests.seed=8A4E808A652FF440 -Dtests.locale=sr-CS -Dtests.timezone=Africa/Luanda -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:!('testEqualsAndHashcode'),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.core.slm.SnapshotLifecycleStatsTests'),title:Suite,width:medium),grow:!t,order:1,type:optionsListControl,width:medium)))))

Failure Message:

java.lang.AssertionError: SnapshotLifecycleStats mutation should not be equal to original
Expected: not <{"retention_runs":0,"retention_failed":1230613797,"retention_timed_out":752914370,"retention_deletion_time":"3.2d","retention_deletion_time_millis":277883433,"total_snapshots_taken":2104697739,"total_snapshots_failed":1270261316,"total_snapshots_deleted":2959427238,"total_snapshot_deletion_failures":1231655820,"policy_stats":[{"policy":"policy-KCmL","snapshots_taken":2104697739,"snapshots_failed":0,"snapshots_deleted":147010706,"snapshot_deletion_failures":0},{"policy":"policy-fbGF","snapshots_taken":0,"snapshots_failed":685987780,"snapshots_deleted":1089655183,"snapshot_deletion_failures":1231655820},{"policy":"policy-fypF","snapshots_taken":0,"snapshots_failed":0,"snapshots_deleted":1722761349,"snapshot_deletion_failures":0},{"policy":"policy-uOsB","snapshots_taken":0,"snapshots_failed":584273536,"snapshots_deleted":0,"snapshot_deletion_failures":0}]}>
     but: was <{"retention_runs":0,"retention_failed":1230613797,"retention_timed_out":752914370,"retention_deletion_time":"3.2d","retention_deletion_time_millis":277883433,"total_snapshots_taken":2104697739,"total_snapshots_failed":1270261316,"total_snapshots_deleted":2959427238,"total_snapshot_deletion_failures":1231655820,"policy_stats":[{"policy":"policy-KCmL","snapshots_taken":2104697739,"snapshots_failed":0,"snapshots_deleted":147010706,"snapshot_deletion_failures":0},{"policy":"policy-fbGF","snapshots_taken":0,"snapshots_failed":685987780,"snapshots_deleted":1089655183,"snapshot_deletion_failures":1231655820},{"policy":"policy-fypF","snapshots_taken":0,"snapshots_failed":0,"snapshots_deleted":1722761349,"snapshot_deletion_failures":0},{"policy":"policy-uOsB","snapshots_taken":0,"snapshots_failed":584273536,"snapshots_deleted":0,"snapshot_deletion_failures":0}]}>

Issue Reasons:

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

elasticsearchmachine commented 3 months ago

This has been muted on branch main

Mute Reasons:

Build Scans:

elasticsearchmachine commented 3 months ago

Pinging @elastic/es-data-management (Team:Data Management)