Workers stuck on BlockingResultHandler.getResult


(Schalk Cronjé) #1

In a third issue for running tests on Appveyor where TestKit is involved which then runs tests utilising worker daemons I get tests failing bdue to this issue. Note the timeout is coming from @Timeout of the Spock Framework. (I don;t have tests taking this long on a local Windows installation).

A first glance seems that the processes are stuck on a lock waiting for workers to become available. Is still possible?

Method timed out after 360.00 seconds
	at java.util.concurrent.locks.LockSupport.park(LockSupport.java:175)
	at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await(AbstractQueuedSynchronizer.java:2039)
	at java.util.concurrent.ArrayBlockingQueue.take(ArrayBlockingQueue.java:403)
	at org.gradle.tooling.internal.consumer.BlockingResultHandler.getResult(BlockingResultHandler.java:40)
	at org.gradle.tooling.internal.consumer.DefaultBuildLauncher.run(DefaultBuildLauncher.java:77)
	at org.gradle.testkit.runner.internal.ToolingApiGradleExecutor.run(ToolingApiGradleExecutor.java:130)
	at org.gradle.testkit.runner.internal.DefaultGradleRunner.run(DefaultGradleRunner.java:285)
	at org.gradle.testkit.runner.internal.DefaultGradleRunner.buildAndFail(DefaultGradleRunner.java:245)