Skip to content

EnableAllocationShortCircuitTests CI Failure #40964

Closed
@davidkyle

Description

@davidkyle

One of these

   > Throwable #1: java.lang.IllegalArgumentException: Illegal rebalance.enable value [NEW_PRIMARIES]
   >    at __randomizedtesting.SeedInfo.seed([4AA5D27894DF4C68:6923462EACD9DBE1]:0)
   >    at org.elasticsearch.cluster.routing.allocation.decider.EnableAllocationDecider$Rebalance.parse(EnableAllocationDecider.java:282)
   >    at org.elasticsearch.common.settings.Setting.get(Setting.java:412)
   >    at org.elasticsearch.common.settings.Setting.get(Setting.java:406)
   >    at org.elasticsearch.cluster.routing.allocation.decider.EnableAllocationDecider.canRebalance(EnableAllocationDecider.java:153)
   >    at org.elasticsearch.cluster.routing.allocation.decider.AllocationDeciders.canRebalance(AllocationDeciders.java:192)
   >    at org.elasticsearch.cluster.routing.allocation.allocator.BalancedShardsAllocator$Balancer.balance(BalancedShardsAllocator.java:324)
   >    at org.elasticsearch.cluster.routing.allocation.allocator.BalancedShardsAllocator.allocate(BalancedShardsAllocator.java:124)
   >    at org.elasticsearch.cluster.routing.allocation.AllocationService.reroute(AllocationService.java:413)
   >    at org.elasticsearch.cluster.routing.allocation.AllocationService.reroute(AllocationService.java:378)
   >    at org.elasticsearch.cluster.routing.allocation.AllocationService.reroute(AllocationService.java:361)
   >    at org.elasticsearch.cluster.routing.allocation.decider.EnableAllocationShortCircuitTests.testRebalancingAttemptedIfDisabledButOverridenOnSpecificIndices(EnableAllocationShortCircuitTests.java:140)

Reproduces

./gradlew :server:unitTest \
  -Dtests.seed=4AA5D27894DF4C68 \
  -Dtests.class=org.elasticsearch.cluster.routing.allocation.decider.EnableAllocationShortCircuitTests \
  -Dtests.method="testRebalancingAttemptedIfDisabledButOverridenOnSpecificIndices" \
  -Dtests.security.manager=true \
  -Dtests.locale=en-TT \
  -Dtests.timezone=Africa/Niamey \
  -Dcompiler.java=12 \
  -Druntime.java=11

https://elasticsearch-ci.elastic.co/job/elastic+elasticsearch+master+intake/3014/console

Metadata

Metadata

Assignees

No one assigned

    Labels

    :Distributed Coordination/AllocationAll issues relating to the decision making around placing a shard (both master logic & on the nodes)>test-failureTriaged test failures from CI

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions