Skip to content

[CI] ClusterStateRestCancellationIT testClusterStateRestCancellation trips assertion #72056

@jtibshirani

Description

@jtibshirani

It hasn't failed before in this way, but felt worth filing since it tripped an assert in the code:

    if (acceptableClusterStatePredicate.test(state)) {
            ActionListener.completeWith(listener, () -> buildResponse(request, state));
    } else {
            assert acceptableClusterStateOrFailedPredicate.test(state) == false;
    ...

Build scan:
https://gradle-enterprise.elastic.co/s/awg667j3ynola/tests/:qa:smoke-test-http:integTest/org.elasticsearch.http.ClusterStateRestCancellationIT/testClusterStateRestCancellation

Reproduction line:
./gradlew ':qa:smoke-test-http:integTest' --tests "org.elasticsearch.http.ClusterStateRestCancellationIT.testClusterStateRestCancellation" -Dtests.seed=BF5860E36BE09C8F -Dtests.locale=hr-HR -Dtests.timezone=America/Boise -Druntime.java=15

Applicable branches:
master

Reproduces locally?:
No

Failure history: this test has failed once before recently, but not with the same error

Failure excerpt:

org.elasticsearch.http.ClusterStateRestCancellationIT > classMethod FAILED
    com.carrotsearch.randomizedtesting.UncaughtExceptionError: Captured an uncaught exception in thread: Thread[id=1526, name=elasticsearch[node_s0][transport_worker][T#3], state=RUNNABLE, group=TGRP-ClusterStateRestCancellationIT]

        Caused by:
        java.lang.AssertionError
            at __randomizedtesting.SeedInfo.seed([BF5860E36BE09C8F]:0)
            at org.elasticsearch.action.admin.cluster.state.TransportClusterStateAction.masterOperation(TransportClusterStateAction.java:82)
            at org.elasticsearch.action.admin.cluster.state.TransportClusterStateAction.masterOperation(TransportClusterStateAction.java:42)
            at org.elasticsearch.action.support.master.TransportMasterNodeAction$AsyncSingleAction.lambda$doStart$3(TransportMasterNodeAction.java:151)
            at org.elasticsearch.action.ActionRunnable$2.doRun(ActionRunnable.java:62)

Metadata

Metadata

Assignees

Labels

:Distributed Coordination/Cluster CoordinationCluster formation and cluster state publication, including cluster membership and fault detection.>test-failureTriaged test failures from CITeam:Distributed (Obsolete)Meta label for distributed team (obsolete). Replaced by Distributed Indexing/Coordination.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions