Failed

org.apache.spark.ml.feature.ChiSqSelectorSuite.(It is not a test it is a sbt.testing.SuiteSelector)

Failing for the past 1 build (Since Failed#5028 )
Took 28 ms.

Error Message

java.lang.IllegalStateException: Shutdown hooks cannot be modified during shutdown.

Stacktrace

sbt.ForkMain$ForkError: java.lang.IllegalStateException: Shutdown hooks cannot be modified during shutdown.
	at org.apache.spark.util.SparkShutdownHookManager.add(ShutdownHookManager.scala:195)
	at org.apache.spark.util.ShutdownHookManager$.addShutdownHook(ShutdownHookManager.scala:153)
	at org.apache.spark.storage.DiskBlockManager.addShutdownHook(DiskBlockManager.scala:157)
	at org.apache.spark.storage.DiskBlockManager.<init>(DiskBlockManager.scala:54)
	at org.apache.spark.storage.BlockManager.<init>(BlockManager.scala:190)
	at org.apache.spark.SparkEnv$.create(SparkEnv.scala:393)
	at org.apache.spark.SparkEnv$.createDriverEnv(SparkEnv.scala:189)
	at org.apache.spark.SparkContext.createSparkEnv(SparkContext.scala:269)
	at org.apache.spark.SparkContext.<init>(SparkContext.scala:447)
	at org.apache.spark.SparkContext.<init>(SparkContext.scala:131)
	at org.apache.spark.ml.util.MLTest.createSparkSession(MLTest.scala:51)
	at org.apache.spark.ml.util.MLTest.createSparkSession$(MLTest.scala:50)
	at org.apache.spark.ml.feature.ChiSqSelectorSuite.createSparkSession(ChiSqSelectorSuite.scala:26)
	at org.apache.spark.sql.test.SharedSparkSessionBase.initializeSession(SharedSparkSession.scala:114)
	at org.apache.spark.sql.test.SharedSparkSessionBase.initializeSession$(SharedSparkSession.scala:112)
	at org.apache.spark.ml.feature.ChiSqSelectorSuite.initializeSession(ChiSqSelectorSuite.scala:26)
	at org.apache.spark.sql.test.SharedSparkSessionBase.beforeAll(SharedSparkSession.scala:122)
	at org.apache.spark.sql.test.SharedSparkSessionBase.beforeAll$(SharedSparkSession.scala:121)
	at org.apache.spark.ml.feature.ChiSqSelectorSuite.org$apache$spark$sql$test$SharedSparkSession$$super$beforeAll(ChiSqSelectorSuite.scala:26)
	at org.apache.spark.sql.test.SharedSparkSession.beforeAll(SharedSparkSession.scala:45)
	at org.apache.spark.sql.test.SharedSparkSession.beforeAll$(SharedSparkSession.scala:43)
	at org.apache.spark.ml.feature.ChiSqSelectorSuite.org$apache$spark$ml$util$TempDirectory$$super$beforeAll(ChiSqSelectorSuite.scala:26)
	at org.apache.spark.ml.util.TempDirectory.beforeAll(TempDirectory.scala:39)
	at org.apache.spark.ml.util.TempDirectory.beforeAll$(TempDirectory.scala:38)
	at org.apache.spark.ml.feature.ChiSqSelectorSuite.org$apache$spark$ml$util$MLTest$$super$beforeAll(ChiSqSelectorSuite.scala:26)
	at org.apache.spark.ml.util.MLTest.beforeAll(MLTest.scala:55)
	at org.apache.spark.ml.util.MLTest.beforeAll$(MLTest.scala:54)
	at org.apache.spark.ml.feature.ChiSqSelectorSuite.beforeAll(ChiSqSelectorSuite.scala:33)
	at org.scalatest.BeforeAndAfterAll.liftedTree1$1(BeforeAndAfterAll.scala:212)
	at org.scalatest.BeforeAndAfterAll.run(BeforeAndAfterAll.scala:210)
	at org.scalatest.BeforeAndAfterAll.run$(BeforeAndAfterAll.scala:208)
	at org.apache.spark.SparkFunSuite.run(SparkFunSuite.scala:58)
	at org.scalatest.tools.Framework.org$scalatest$tools$Framework$$runSuite(Framework.scala:317)
	at org.scalatest.tools.Framework$ScalaTestTask.execute(Framework.scala:510)
	at sbt.ForkMain$Run$2.call(ForkMain.java:296)
	at sbt.ForkMain$Run$2.call(ForkMain.java:286)
	at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
	at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
	at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
	at java.base/java.lang.Thread.run(Thread.java:834)