Lately, we've got some stability issues with WDQS tests, I noticed several times CI tests failing, e.g.:
https://integration.wikimedia.org/ci/job/wikidata-query-rdf-maven/13/console
20:23:43 Started J0 PID(1751@ci-jessie-wikimedia-863527). 20:23:53 [20:23:43.569] Suite: org.wikidata.query.rdf.tool.WikibaseGeoExtensionIntegrationTest 20:23:53 1> #logback.classic pattern: %d{HH:mm:ss.SSS} [%thread] %-5level %logger{36} - %msg%n 20:23:53 2> Oct 20, 2017 8:23:49 PM com.carrotsearch.randomizedtesting.ThreadLeakControl checkThreadLeaks 20:23:53 2> SEVERE: 1 thread leaked from TEST scope at circleSearchWithDistance(org.wikidata.query.rdf.tool.WikibaseGeoExtensionIntegrationTest): 20:23:53 2> 1) Thread[id=51, name=HttpClient@1941102000-51, state=RUNNABLE, group=TGRP-WikibaseGeoExtensionIntegrationTest] 20:23:53 2> at (empty stack) 20:23:53 2> Oct 20, 2017 8:23:49 PM com.carrotsearch.randomizedtesting.ThreadLeakControl tryToInterruptAll 20:23:53 2> INFO: Starting to interrupt leaked threads: 20:23:53 2> 1) Thread[id=51, name=HttpClient@1941102000-51, state=TERMINATED, group={null group}] 20:23:53 2> Oct 20, 2017 8:23:49 PM com.carrotsearch.randomizedtesting.ThreadLeakControl tryToInterruptAll 20:23:53 2> INFO: All leaked threads terminated. 20:23:53 [20:23:48.814] ERROR 0.83s | WikibaseGeoExtensionIntegrationTest.circleSearchWithDistance <<< 20:23:53 > Throwable #1: com.carrotsearch.randomizedtesting.ThreadLeakError: 1 thread leaked from TEST scope at circleSearchWithDistance(org.wikidata.query.rdf.tool.WikibaseGeoExtensionIntegrationTest): 20:23:53 > 1) Thread[id=51, name=HttpClient@1941102000-51, state=RUNNABLE, group=TGRP-WikibaseGeoExtensionIntegrationTest] 20:23:53 > at (empty stack) 20:23:53 > at__randomizedtesting.SeedInfo.seed([8DC53E56CE368CDE:CC5F489B3434F99B]:0) 20:23:53 [20:23:53.068] Completed [1/8 (1!)] in 9.50s, 14 tests, 1 error <<< FAILURES! 20:23:53
We may want to figure out what is causing this, maybe out shutdown procedure leaves something not properly closed.