Skip to content

[CI] MixedClusterClientYamlTestSuiteIT failing (crash due to assertion) #76552

@henningandersen

Description

@henningandersen

Has happened on two different PRs and locally on unmodified master

Build scan:
https://gradle-enterprise.elastic.co/s/3wwzm7vghnze4
https://gradle-enterprise.elastic.co/s/3jiec6et2wbbe

Repro line:

./gradlew ':qa:mixed-cluster:v7.15.0#mixedClusterTest' -Dtests.class="org.elasticsearch.backwards.MixedClusterClientYamlTestSuiteIT" -Dtests.method="test {p0=snapshot.get/10_basic/Get snapshot info when verbose is false}" -Dtests.seed=489DEE34D256CCBA -Dtests.bwc=true -Dtests.locale=sl-SI -Dtests.timezone=America/Cayman -Druntime.java=11

Reproduces locally?:

Yes, using following against master:

./gradlew ':qa:mixed-cluster:check' -Dtests.seed=A5080EDD8FCF06C8 -Dtests.bwc=true -Dtests.locale=es-HN -Dtests.timezone=Etc/GMT+9 -Druntime.java=11

Applicable branches:

master (at least).

Failure history:

build-stats

started failing this morning. Likely the backport of #75501 in #76539.

Failure excerpt:

[2021-08-16T07:44:25,603][ERROR][o.e.b.ElasticsearchUncaughtExceptionHandler] [v7.15.0-0] fatal error in thread [elasticsearch[v7.15.0-0][generic][T#4]], exiting
java.lang.AssertionError: Provided explict repo shard id statuses [[RepositoryShardId{[test_index/84YPuuceTUKHo8NGh3X_Xw]}{0}=>ShardSnapshotStatus[state=INIT, nodeId=qccWoxkyR7-hl0j9W2SRlA, reason=null, generation=_new, shardSnapshotResult=null]]] but no source
	at org.elasticsearch.cluster.SnapshotsInProgress$Entry.<init>(SnapshotsInProgress.java:559) ~[elasticsearch-8.0.0-SNAPSHOT.jar:8.0.0-SNAPSHOT]
	at org.elasticsearch.cluster.SnapshotsInProgress$Entry.readFrom(SnapshotsInProgress.java:610) ~[elasticsearch-8.0.0-SNAPSHOT.jar:8.0.0-SNAPSHOT]
	at org.elasticsearch.cluster.SnapshotsInProgress.lambda$new$0(SnapshotsInProgress.java:67) ~[elasticsearch-8.0.0-SNAPSHOT.jar:8.0.0-SNAPSHOT]
	at org.elasticsearch.common.io.stream.StreamInput.readCollection(StreamInput.java:1253) ~[elasticsearch-8.0.0-SNAPSHOT.jar:8.0.0-SNAPSHOT]
	at org.elasticsearch.common.io.stream.StreamInput.readList(StreamInput.java:1203) ~[elasticsearch-8.0.0-SNAPSHOT.jar:8.0.0-SNAPSHOT]
	at org.elasticsearch.cluster.SnapshotsInProgress.<init>(SnapshotsInProgress.java:67) ~[elasticsearch-8.0.0-SNAPSHOT.jar:8.0.0-SNAPSHOT]

Did not mute any tests, since this hits too widely.

Metadata

Metadata

Labels

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions