Skip to content

Test failure in CI due to tripping an assertion in DiskThresholdDecider #63376

@gwbrown

Description

@gwbrown

Build scan: https://gradle-enterprise.elastic.co/s/pvza4lbmqvddk

Repro line: ./gradlew ':x-pack:plugin:ccr:internalClusterTest' --tests "org.elasticsearch.xpack.ccr.AutoFollowIT.testAutoFollow" -Dtests.seed=D31F9C6068CCF791 -Dtests.security.manager=true -Dtests.locale=es-BO -Dtests.timezone=Pacific/Bougainville **-Druntime.java=8

Reproduces locally?: No

Applicable branches: 7.x

Failure history: No other failures in the history in build-stats, but the failure does not seem to be due to the test itself.

Failure excerpt:
Failure is due to tripping an assertion in DiskThresholdDecider.

Stack Trace:

java.lang.AssertionError: -1	
	at __randomizedtesting.SeedInfo.seed([D31F9C6068CCF791]:0)	
	at org.elasticsearch.cluster.routing.allocation.decider.DiskThresholdDecider.canAllocate(DiskThresholdDecider.java:275)	
	at org.elasticsearch.cluster.routing.allocation.decider.AllocationDeciders.canAllocate(AllocationDeciders.java:73)	
	at org.elasticsearch.gateway.PrimaryShardAllocator.buildNodesToAllocate(PrimaryShardAllocator.java:325)	
	at org.elasticsearch.gateway.PrimaryShardAllocator.makeAllocationDecision(PrimaryShardAllocator.java:138)	
	at org.elasticsearch.gateway.BaseGatewayShardAllocator.allocateUnassigned(BaseGatewayShardAllocator.java:58)	
	at org.elasticsearch.gateway.GatewayAllocator.innerAllocatedUnassigned(GatewayAllocator.java:154)	
	at org.elasticsearch.gateway.GatewayAllocator.allocateUnassigned(GatewayAllocator.java:143)	
	at org.elasticsearch.cluster.routing.allocation.AllocationService.allocateExistingUnassignedShards(AllocationService.java:448)	
	at org.elasticsearch.cluster.routing.allocation.AllocationService.reroute(AllocationService.java:432)	
	at org.elasticsearch.cluster.routing.allocation.AllocationService.reroute(AllocationService.java:400)	
	at org.elasticsearch.cluster.routing.BatchedRerouteService$1.execute(BatchedRerouteService.java:112)	
	at org.elasticsearch.cluster.ClusterStateUpdateTask.execute(ClusterStateUpdateTask.java:47)	
	at org.elasticsearch.cluster.service.MasterService.executeTasks(MasterService.java:702)	
	at org.elasticsearch.cluster.service.MasterService.calculateTaskOutputs(MasterService.java:324)	
	at org.elasticsearch.cluster.service.MasterService.runTasks(MasterService.java:219)	
	at org.elasticsearch.cluster.service.MasterService.access$000(MasterService.java:73)	
	at org.elasticsearch.cluster.service.MasterService$Batcher.run(MasterService.java:151)	
	at org.elasticsearch.cluster.service.TaskBatcher.runIfNotProcessed(TaskBatcher.java:150)	
	at org.elasticsearch.cluster.service.TaskBatcher$BatchedTask.run(TaskBatcher.java:188)	
	at org.elasticsearch.common.util.concurrent.ThreadContext$ContextPreservingRunnable.run(ThreadContext.java:678)	
	at org.elasticsearch.common.util.concurrent.PrioritizedEsThreadPoolExecutor$TieBreakingPrioritizedRunnable.runAndClean(PrioritizedEsThreadPoolExecutor.java:252)	
	at org.elasticsearch.common.util.concurrent.PrioritizedEsThreadPoolExecutor$TieBreakingPrioritizedRunnable.run(PrioritizedEsThreadPoolExecutor.java:215)	
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)	
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)	
	at java.lang.Thread.run(Thread.java:748)

Metadata

Metadata

Assignees

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 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