-
Notifications
You must be signed in to change notification settings - Fork 25.6k
Closed
Labels
:Data Management/ILM+SLMIndex and Snapshot lifecycle managementIndex and Snapshot lifecycle management>test-failureTriaged test failures from CITriaged test failures from CI
Description
Failure looks like:
org.elasticsearch.xpack.core.ilm.AllocationRoutedStepTests > testConditionMetOnlyOneCopyAllocated FAILED
java.lang.AssertionError: expected:<{"message":"Waiting for [1] shards to be allocated to nodes matching the given filters","shards_left_to_allocate":1,"all_shards_active":true,"actual_replicas":0}> but was:<{"message":"Waiting for [2] shards to be allocated to nodes matching the given filters","shards_left_to_allocate":2,"all_shards_active":true,"actual_replicas":0}>
at __randomizedtesting.SeedInfo.seed([3A143B85B1863CAD:5F5BF5689490D9A5]:0)
at org.junit.Assert.fail(Assert.java:88)
at org.junit.Assert.failNotEquals(Assert.java:834)
at org.junit.Assert.assertEquals(Assert.java:118)
at org.junit.Assert.assertEquals(Assert.java:144)
at org.elasticsearch.xpack.core.ilm.AllocationRoutedStepTests.assertAllocateStatus(AllocationRoutedStepTests.java:337)
at org.elasticsearch.xpack.core.ilm.AllocationRoutedStepTests.testConditionMetOnlyOneCopyAllocated(AllocationRoutedStepTests.java:132)
REPRODUCE WITH: ./gradlew ':x-pack:plugin:core:test' --tests "org.elasticsearch.xpack.core.ilm.AllocationRoutedStepTests.testConditionMetOnlyOneCopyAllocated" -Dtests.seed=3A143B85B1863CAD -Dtests.security.manager=true -Dtests.locale=nnh-CM -Dtests.timezone=Antarctica/Rothera -Dcompiler.java=12 -Druntime.java=11
Suite: Test class org.elasticsearch.xpack.core.ilm.AllocationRoutedStepTests
1> [2019-09-25T17:37:43,866][INFO ][o.e.x.c.i.AllocationRoutedStepTests] [testConditionMetOnlyOneCopyAllocated] before test
1> [2019-09-25T17:37:44,370][INFO ][o.e.x.c.i.AllocationRoutedStepTests] [testConditionMetOnlyOneCopyAllocated] after test
2> REPRODUCE WITH: ./gradlew ':x-pack:plugin:core:test' --tests "org.elasticsearch.xpack.core.ilm.AllocationRoutedStepTests.testConditionMetOnlyOneCopyAllocated" -Dtests.seed=3A143B85B1863CAD -Dtests.security.manager=true -Dtests.locale=nnh-CM -Dtests.timezone=Antarctica/Rothera -Dcompiler.java=12 -Druntime.java=11
2> java.lang.AssertionError: expected:<{"message":"Waiting for [1] shards to be allocated to nodes matching the given filters","shards_left_to_allocate":1,"all_shards_active":true,"actual_replicas":0}> but was:<{"message":"Waiting for [2] shards to be allocated to nodes matching the given filters","shards_left_to_allocate":2,"all_shards_active":true,"actual_replicas":0}>
at __randomizedtesting.SeedInfo.seed([3A143B85B1863CAD:5F5BF5689490D9A5]:0)
at org.junit.Assert.fail(Assert.java:88)
at org.junit.Assert.failNotEquals(Assert.java:834)
at org.junit.Assert.assertEquals(Assert.java:118)
at org.junit.Assert.assertEquals(Assert.java:144)
at org.elasticsearch.xpack.core.ilm.AllocationRoutedStepTests.assertAllocateStatus(AllocationRoutedStepTests.java:337)
at org.elasticsearch.xpack.core.ilm.AllocationRoutedStepTests.testConditionMetOnlyOneCopyAllocated(AllocationRoutedStepTests.java:132)
2> NOTE: leaving temporary files on disk at: /home/hinmanm/es/elasticsearch/x-pack/plugin/core/build/testrun/test/temp/org.elasticsearch.xpack.core.ilm.AllocationRoutedStepTests_3A143B85B1863CAD-002
2> NOTE: test params are: codec=Asserting(Lucene80): {}, docValues:{}, maxPointsInLeafNode=1957, maxMBSortInHeap=5.669703030301839, sim=Asserting(org.apache.lucene.search.similarities.AssertingSimilarity@47132557), locale=nnh-CM, timezone=Antarctica/Rothera
2> NOTE: Linux 5.2.16-200.fc30.x86_64 amd64/Oracle Corporation 11.0.3 (64-bit)/cpus=8,threads=1,free=457274880,total=536870912
2> NOTE: All tests run in this JVM: [AllocationRoutedStepTests]
1 test completed, 1 failed
Tests with failures:
- org.elasticsearch.xpack.core.ilm.AllocationRoutedStepTests.testConditionMetOnlyOneCopyAllocated
This reproduces for me on 7.x with the following:
./gradlew ':x-pack:plugin:core:test' --tests "org.elasticsearch.xpack.core.ilm.AllocationRoutedStepTests.testConditionMetOnlyOneCopyAllocated" -Dtests.seed=3A143B85B1863CAD -Dtests.security.manager=true -Dtests.locale=nnh-CM -Dtests.timezone=Antarctica/Rothera -Dcompiler.java=12 -Druntime.java=11
Looks like it may just be the message that needs to be adjusted.
Metadata
Metadata
Assignees
Labels
:Data Management/ILM+SLMIndex and Snapshot lifecycle managementIndex and Snapshot lifecycle management>test-failureTriaged test failures from CITriaged test failures from CI