Skip to content

[CCR] CCRIT.testAutoFollowing is failing #37231

Closed
@tlrx

Description

@tlrx

The test CCRIT.testAutoFollowing is failing on CI:
https://elasticsearch-ci.elastic.co/job/elastic+elasticsearch+master+intake/1125

With the error:

14:48:58   1> [2019-01-08T17:48:57,831][INFO ][o.e.u.CCRIT              ] [testAutoFollowing] There are still tasks running after this test that might break subsequent tests [cluster:monitor/state, indices:data/read/xpack/ccr/shard_changes, indices:data/read/xpack/ccr/shard_changes[s], xpack/ccr/shard_follow_task[c]].
14:48:58   1> [2019-01-08T17:48:57,832][INFO ][o.e.u.CCRIT              ] [testAutoFollowing] after test
14:48:58 FAILURE 10.2s | CCRIT.testAutoFollowing <<< FAILURES!
14:48:58    > Throwable #1: java.lang.AssertionError: 
14:48:58    > Expected: <1>
14:48:58    >      but: was <0>
14:48:58    > 	at __randomizedtesting.SeedInfo.seed([C7C9CBCAF12212B6:6827EDCAF58BB99B]:0)
14:48:58    > 	at org.hamcrest.MatcherAssert.assertThat(MatcherAssert.java:20)
14:48:58    > 	at org.elasticsearch.upgrades.CCRIT.assertFollowerGlobalCheckpoint(CCRIT.java:273)
14:48:58    > 	at org.elasticsearch.upgrades.CCRIT.lambda$testAutoFollowing$5(CCRIT.java:123)
14:48:58   2> NOTE: leaving temporary files on disk at: /var/lib/jenkins/workspace/elastic+elasticsearch+master+intake/x-pack/qa/rolling-upgrade/without-system-key/build/testrun/v6.7.0#oneThirdUpgradedTestRunner/J0/temp/org.elasticsearch.upgrades.CCRIT_C7C9CBCAF12212B6-001
14:48:58    > 	at org.elasticsearch.test.ESTestCase.assertBusy(ESTestCase.java:847)
14:48:58    > 	at org.elasticsearch.test.ESTestCase.assertBusy(ESTestCase.java:821)
14:48:58   2> NOTE: test params are: codec=Asserting(Lucene80): {}, docValues:{}, maxPointsInLeafNode=1566, maxMBSortInHeap=7.812807438368832, sim=Asserting(org.apache.lucene.search.similarities.AssertingSimilarity@33ae1d18), locale=es-DO, timezone=Europe/Volgograd
14:48:58    > 	at org.elasticsearch.upgrades.CCRIT.testAutoFollowing(CCRIT.java:121)
14:48:58    > 	at java.lang.Thread.run(Thread.java:748)
14:48:58    > 	Suppressed: java.lang.AssertionError: 
14:48:58   2> NOTE: Linux 4.9.0-8-amd64 amd64/Oracle Corporation 1.8.0_192 (64-bit)/cpus=16,threads=1,free=427840024,total=514850816
14:48:58    > Expected: <1>
14:48:58    >      but: was <0>
14:48:58    > 		at org.hamcrest.MatcherAssert.assertThat(MatcherAssert.java:20)
14:48:58    > 		at org.elasticsearch.upgrades.CCRIT.assertFollowerGlobalCheckpoint(CCRIT.java:273)
14:48:58   2> NOTE: All tests run in this JVM: [IndexAuditUpgradeIT, UpgradeClusterClientYamlTestSuiteIT, RollupIDUpgradeIT, IndexingIT, TokenBackwardsCompatibilityIT, CCRIT]
14:48:58    > 		at org.elasticsearch.upgrades.CCRIT.lambda$testAutoFollowing$5(CCRIT.java:123)
14:48:58    > 		at org.elasticsearch.test.ESTestCase.assertBusy(ESTestCase.java:835)
14:48:58    > 		... 39 more

It does not reproduce locally for me with:

./gradlew :x-pack:qa:rolling-upgrade:without-system-key:v6.7.0#oneThirdUpgradedTestRunner -Dtests.seed=C7C9CBCAF12212B6 -Dtests.class=org.elasticsearch.upgrades.CCRIT -Dtests.method="testAutoFollowing" -Dtests.security.manager=true -Dtests.locale=es-DO -Dtests.timezone=Europe/Volgograd -Dcompiler.java=11 -Druntime.java=8

The failure looks different from #35937 hence the new issue.

Metadata

Metadata

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions