Uploaded image for project: 'Spark'
  1. Spark
  2. SPARK-42770

SQLImplicitsTestSuite test failed with Java 17

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 3.4.0, 3.5.0
    • 3.4.1
    • Connect, Tests
    • None

    Description

      https://github.com/apache/spark/actions/runs/4318647315/jobs/7537203682

      [info] - test implicit encoder resolution *** FAILED *** (1 second, 329 milliseconds)
      4429[info]   2023-03-02T23:00:20.404434 did not equal 2023-03-02T23:00:20.404434875 (SQLImplicitsTestSuite.scala:63)
      4430[info]   org.scalatest.exceptions.TestFailedException:
      4431[info]   at org.scalatest.Assertions.newAssertionFailedException(Assertions.scala:472)
      4432[info]   at org.scalatest.Assertions.newAssertionFailedException$(Assertions.scala:471)
      4433[info]   at org.scalatest.Assertions$.newAssertionFailedException(Assertions.scala:1231)
      4434[info]   at org.scalatest.Assertions$AssertionsHelper.macroAssert(Assertions.scala:1295)
      4435[info]   at org.apache.spark.sql.SQLImplicitsTestSuite.testImplicit$1(SQLImplicitsTestSuite.scala:63)
      4436[info]   at org.apache.spark.sql.SQLImplicitsTestSuite.$anonfun$new$2(SQLImplicitsTestSuite.scala:133)
      4437[info]   at scala.runtime.java8.JFunction0$mcV$sp.apply(JFunction0$mcV$sp.java:23)
      4438[info]   at org.scalatest.OutcomeOf.outcomeOf(OutcomeOf.scala:85)
      4439[info]   at org.scalatest.OutcomeOf.outcomeOf$(OutcomeOf.scala:83)
      4440[info]   at org.scalatest.OutcomeOf$.outcomeOf(OutcomeOf.scala:104)
      4441[info]   at org.scalatest.Transformer.apply(Transformer.scala:22)
      4442[info]   at org.scalatest.Transformer.apply(Transformer.scala:20)
      4443[info]   at org.scalatest.funsuite.AnyFunSuiteLike$$anon$1.apply(AnyFunSuiteLike.scala:226)
      4444[info]   at org.scalatest.TestSuite.withFixture(TestSuite.scala:196)
      4445[info]   at org.scalatest.TestSuite.withFixture$(TestSuite.scala:195)
      4446[info]   at org.scalatest.funsuite.AnyFunSuite.withFixture(AnyFunSuite.scala:1564)
      4447[info]   at org.scalatest.funsuite.AnyFunSuiteLike.invokeWithFixture$1(AnyFunSuiteLike.scala:224)
      4448[info]   at org.scalatest.funsuite.AnyFunSuiteLike.$anonfun$runTest$1(AnyFunSuiteLike.scala:236)
      4449[info]   at org.scalatest.SuperEngine.runTestImpl(Engine.scala:306)
      4450[info]   at org.scalatest.funsuite.AnyFunSuiteLike.runTest(AnyFunSuiteLike.scala:236)
      4451[info]   at org.scalatest.funsuite.AnyFunSuiteLike.runTest$(AnyFunSuiteLike.scala:218)
      4452[info]   at org.scalatest.funsuite.AnyFunSuite.runTest(AnyFunSuite.scala:1564)
      4453[info]   at org.scalatest.funsuite.AnyFunSuiteLike.$anonfun$runTests$1(AnyFunSuiteLike.scala:269)
      4454[info]   at org.scalatest.SuperEngine.$anonfun$runTestsInBranch$1(Engine.scala:413)
      4455[info]   at scala.collection.immutable.List.foreach(List.scala:431)
      4456[info]   at org.scalatest.SuperEngine.traverseSubNodes$1(Engine.scala:401)
      4457[info]   at org.scalatest.SuperEngine.runTestsInBranch(Engine.scala:396)
      4458[info]   at org.scalatest.SuperEngine.runTestsImpl(Engine.scala:475)
      4459[info]   at org.scalatest.funsuite.AnyFunSuiteLike.runTests(AnyFunSuiteLike.scala:269)
      4460[info]   at org.scalatest.funsuite.AnyFunSuiteLike.runTests$(AnyFunSuiteLike.scala:268)
      4461[info]   at org.scalatest.funsuite.AnyFunSuite.runTests(AnyFunSuite.scala:1564)
      4462[info]   at org.scalatest.Suite.run(Suite.scala:1114)
      4463[info]   at org.scalatest.Suite.run$(Suite.scala:1096)
      4464[info]   at org.scalatest.funsuite.AnyFunSuite.org$scalatest$funsuite$AnyFunSuiteLike$$super$run(AnyFunSuite.scala:1564)
      4465[info]   at org.scalatest.funsuite.AnyFunSuiteLike.$anonfun$run$1(AnyFunSuiteLike.scala:273)
      4466[info]   at org.scalatest.SuperEngine.runImpl(Engine.scala:535)
      4467[info]   at org.scalatest.funsuite.AnyFunSuiteLike.run(AnyFunSuiteLike.scala:273)
      4468[info]   at org.scalatest.funsuite.AnyFunSuiteLike.run$(AnyFunSuiteLike.scala:272)
      4469[info]   at org.apache.spark.sql.SQLImplicitsTestSuite.org$scalatest$BeforeAndAfterAll$$super$run(SQLImplicitsTestSuite.scala:34)
      4470[info]   at org.scalatest.BeforeAndAfterAll.liftedTree1$1(BeforeAndAfterAll.scala:213)
      4471[info]   at org.scalatest.BeforeAndAfterAll.run(BeforeAndAfterAll.scala:210)
      4472[info]   at org.scalatest.BeforeAndAfterAll.run$(BeforeAndAfterAll.scala:208)
      4473[info]   at org.apache.spark.sql.SQLImplicitsTestSuite.run(SQLImplicitsTestSuite.scala:34)
      4474[info]   at org.scalatest.tools.Framework.org$scalatest$tools$Framework$$runSuite(Framework.scala:321)
      4475[info]   at org.scalatest.tools.Framework$ScalaTestTask.execute(Framework.scala:517)
      4476[info]   at sbt.ForkMain$Run.lambda$runTest$1(ForkMain.java:413)
      4477[info]   at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
      4478[info]   at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136)
      4479[info]   at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
      4480[info]   at java.base/java.lang.Thread.run(Thread.java:833) 

      Attachments

        Activity

          People

            LuciferYang Yang Jie
            LuciferYang Yang Jie
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: