Failed

org.apache.spark.mllib.classification.NaiveBayesSuite.Naive Bayes Multinomial

Failing for the past 1 build (Since Failed#5042 )
Took 0.71 sec.

Error Message

org.scalatest.exceptions.TestFailedException: Expected 0.7 and 0.7536231884057973 to be within 0.05 using absolute tolerance. validateModelFit:  piData: [-0.6931471805599453, -2.3025850929940455, -0.916290731874155]  thetaData: [-0.35667494393873245, -2.3025850929940455, -2.3025850929940455, -2.3025850929940455] [-2.3025850929940455, -0.35667494393873245, -2.3025850929940455, -2.3025850929940455] [-2.3025850929940455, -2.3025850929940455, -0.35667494393873245, -2.3025850929940455]  model.labels: [0.0, 1.0, 2.0]  model.pi: [-0.7665651538362903, -2.201220586649602, -0.856311441692565]  model.theta: [-0.35263131632385303, -2.3701363127735524, -2.299153086193339, -2.2696150737564755] [-2.4115753767024506, -0.2828627860158317, -2.4634004445670366, -2.637247374370019] [-2.3129821620778017, -2.275681800664593, -0.3589611202975753, -2.3035258268357657]

Stacktrace

sbt.ForkMain$ForkError: org.scalatest.exceptions.TestFailedException: Expected 0.7 and 0.7536231884057973 to be within 0.05 using absolute tolerance.
validateModelFit:
 piData: [-0.6931471805599453, -2.3025850929940455, -0.916290731874155]
 thetaData: [-0.35667494393873245, -2.3025850929940455, -2.3025850929940455, -2.3025850929940455]
[-2.3025850929940455, -0.35667494393873245, -2.3025850929940455, -2.3025850929940455]
[-2.3025850929940455, -2.3025850929940455, -0.35667494393873245, -2.3025850929940455]
 model.labels: [0.0, 1.0, 2.0]
 model.pi: [-0.7665651538362903, -2.201220586649602, -0.856311441692565]
 model.theta: [-0.35263131632385303, -2.3701363127735524, -2.299153086193339, -2.2696150737564755]
[-2.4115753767024506, -0.2828627860158317, -2.4634004445670366, -2.637247374370019]
[-2.3129821620778017, -2.275681800664593, -0.3589611202975753, -2.3035258268357657]
	at org.apache.spark.mllib.util.TestingUtils$DoubleWithAlmostEquals.$tilde$eq$eq(TestingUtils.scala:80)
	at org.apache.spark.mllib.classification.NaiveBayesSuite.$anonfun$validateModelFit$3(NaiveBayesSuite.scala:112)
	at org.apache.spark.mllib.classification.NaiveBayesSuite.$anonfun$validateModelFit$3$adapted(NaiveBayesSuite.scala:111)
	at scala.collection.immutable.Range.foreach(Range.scala:158)
	at org.apache.spark.mllib.classification.NaiveBayesSuite.$anonfun$validateModelFit$2(NaiveBayesSuite.scala:111)
	at org.apache.spark.mllib.classification.NaiveBayesSuite.$anonfun$validateModelFit$2$adapted(NaiveBayesSuite.scala:109)
	at scala.collection.Iterator.foreach(Iterator.scala:941)
	at scala.collection.Iterator.foreach$(Iterator.scala:941)
	at scala.collection.AbstractIterator.foreach(Iterator.scala:1429)
	at scala.collection.IterableLike.foreach(IterableLike.scala:74)
	at scala.collection.IterableLike.foreach$(IterableLike.scala:73)
	at scala.collection.AbstractIterable.foreach(Iterable.scala:56)
	at org.apache.spark.mllib.classification.NaiveBayesSuite.validateModelFit(NaiveBayesSuite.scala:109)
	at org.apache.spark.mllib.classification.NaiveBayesSuite.$anonfun$new$3(NaiveBayesSuite.scala:155)
	at scala.runtime.java8.JFunction0$mcV$sp.apply(JFunction0$mcV$sp.java:23)
	at org.scalatest.OutcomeOf.outcomeOf(OutcomeOf.scala:85)
	at org.scalatest.OutcomeOf.outcomeOf$(OutcomeOf.scala:83)
	at org.scalatest.OutcomeOf$.outcomeOf(OutcomeOf.scala:104)
	at org.scalatest.Transformer.apply(Transformer.scala:22)
	at org.scalatest.Transformer.apply(Transformer.scala:20)
	at org.scalatest.FunSuiteLike$$anon$1.apply(FunSuiteLike.scala:186)
	at org.apache.spark.SparkFunSuite.withFixture(SparkFunSuite.scala:157)
	at org.scalatest.FunSuiteLike.invokeWithFixture$1(FunSuiteLike.scala:184)
	at org.scalatest.FunSuiteLike.$anonfun$runTest$1(FunSuiteLike.scala:196)
	at org.scalatest.SuperEngine.runTestImpl(Engine.scala:286)
	at org.scalatest.FunSuiteLike.runTest(FunSuiteLike.scala:196)
	at org.scalatest.FunSuiteLike.runTest$(FunSuiteLike.scala:178)
	at org.apache.spark.SparkFunSuite.org$scalatest$BeforeAndAfterEach$$super$runTest(SparkFunSuite.scala:59)
	at org.scalatest.BeforeAndAfterEach.runTest(BeforeAndAfterEach.scala:221)
	at org.scalatest.BeforeAndAfterEach.runTest$(BeforeAndAfterEach.scala:214)
	at org.apache.spark.SparkFunSuite.runTest(SparkFunSuite.scala:59)
	at org.scalatest.FunSuiteLike.$anonfun$runTests$1(FunSuiteLike.scala:229)
	at org.scalatest.SuperEngine.$anonfun$runTestsInBranch$1(Engine.scala:393)
	at scala.collection.immutable.List.foreach(List.scala:392)
	at org.scalatest.SuperEngine.traverseSubNodes$1(Engine.scala:381)
	at org.scalatest.SuperEngine.runTestsInBranch(Engine.scala:376)
	at org.scalatest.SuperEngine.runTestsImpl(Engine.scala:458)
	at org.scalatest.FunSuiteLike.runTests(FunSuiteLike.scala:229)
	at org.scalatest.FunSuiteLike.runTests$(FunSuiteLike.scala:228)
	at org.scalatest.FunSuite.runTests(FunSuite.scala:1560)
	at org.scalatest.Suite.run(Suite.scala:1124)
	at org.scalatest.Suite.run$(Suite.scala:1106)
	at org.scalatest.FunSuite.org$scalatest$FunSuiteLike$$super$run(FunSuite.scala:1560)
	at org.scalatest.FunSuiteLike.$anonfun$run$1(FunSuiteLike.scala:233)
	at org.scalatest.SuperEngine.runImpl(Engine.scala:518)
	at org.scalatest.FunSuiteLike.run(FunSuiteLike.scala:233)
	at org.scalatest.FunSuiteLike.run$(FunSuiteLike.scala:232)
	at org.apache.spark.SparkFunSuite.org$scalatest$BeforeAndAfterAll$$super$run(SparkFunSuite.scala:59)
	at org.scalatest.BeforeAndAfterAll.liftedTree1$1(BeforeAndAfterAll.scala:213)
	at org.scalatest.BeforeAndAfterAll.run(BeforeAndAfterAll.scala:210)
	at org.scalatest.BeforeAndAfterAll.run$(BeforeAndAfterAll.scala:208)
	at org.apache.spark.SparkFunSuite.run(SparkFunSuite.scala:59)
	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)