Description
https://github.com/apache/spark/actions/runs/5766913899/job/15635782831
[info] - update class loader after stubbing: new session *** FAILED *** (101 milliseconds) 6233[info] "Exception in SerializedLambda.readResolve" did not contain "java.lang.NoSuchMethodException: org.apache.spark.sql.connect.client.StubClassDummyUdf" (UDFClassLoadingE2ESuite.scala:57) 6234[info] org.scalatest.exceptions.TestFailedException: 6235[info] at org.scalatest.Assertions.newAssertionFailedException(Assertions.scala:472) 6236[info] at org.scalatest.Assertions.newAssertionFailedException$(Assertions.scala:471) 6237[info] at org.scalatest.Assertions$.newAssertionFailedException(Assertions.scala:1231) 6238[info] at org.scalatest.Assertions$AssertionsHelper.macroAssert(Assertions.scala:1295) 6239[info] at org.apache.spark.sql.connect.client.UDFClassLoadingE2ESuite.$anonfun$new$1(UDFClassLoadingE2ESuite.scala:57) 6240[info] at scala.runtime.java8.JFunction0$mcV$sp.apply(JFunction0$mcV$sp.java:23) 6241[info] at org.apache.spark.sql.connect.client.util.RemoteSparkSession.$anonfun$test$1(RemoteSparkSession.scala:243) 6242[info] at org.scalatest.OutcomeOf.outcomeOf(OutcomeOf.scala:85) 6243[info] at org.scalatest.OutcomeOf.outcomeOf$(OutcomeOf.scala:83) 6244[info] at org.scalatest.OutcomeOf$.outcomeOf(OutcomeOf.scala:104) 6245[info] at org.scalatest.Transformer.apply(Transformer.scala:22) 6246[info] at org.scalatest.Transformer.apply(Transformer.scala:20) 6247[info] at org.scalatest.funsuite.AnyFunSuiteLike$$anon$1.apply(AnyFunSuiteLike.scala:226) 6248[info] at org.scalatest.TestSuite.withFixture(TestSuite.scala:196) 6249[info] at org.scalatest.TestSuite.withFixture$(TestSuite.scala:195) 6250[info] at org.scalatest.funsuite.AnyFunSuite.withFixture(AnyFunSuite.scala:1564) 6251[info] at org.scalatest.funsuite.AnyFunSuiteLike.invokeWithFixture$1(AnyFunSuiteLike.scala:224) 6252[info] at org.scalatest.funsuite.AnyFunSuiteLike.$anonfun$runTest$1(AnyFunSuiteLike.scala:236) 6253[info] at org.scalatest.SuperEngine.runTestImpl(Engine.scala:306) 6254[info] at org.scalatest.funsuite.AnyFunSuiteLike.runTest(AnyFunSuiteLike.scala:236) 6255[info] at org.scalatest.funsuite.AnyFunSuiteLike.runTest$(AnyFunSuiteLike.scala:218) 6256[info] at org.scalatest.funsuite.AnyFunSuite.runTest(AnyFunSuite.scala:1564) 6257[info] at org.scalatest.funsuite.AnyFunSuiteLike.$anonfun$runTests$1(AnyFunSuiteLike.scala:269) 6258[info] at org.scalatest.SuperEngine.$anonfun$runTestsInBranch$1(Engine.scala:413) 6259[info] at scala.collection.immutable.List.foreach(List.scala:431) 6260[info] at org.scalatest.SuperEngine.traverseSubNodes$1(Engine.scala:401) 6261[info] at org.scalatest.SuperEngine.runTestsInBranch(Engine.scala:396) 6262[info] at org.scalatest.SuperEngine.runTestsImpl(Engine.scala:475) 6263[info] at org.scalatest.funsuite.AnyFunSuiteLike.runTests(AnyFunSuiteLike.scala:269) 6264[info] at org.scalatest.funsuite.AnyFunSuiteLike.runTests$(AnyFunSuiteLike.scala:268) 6265[info] at org.scalatest.funsuite.AnyFunSuite.runTests(AnyFunSuite.scala:1564) 6266[info] at org.scalatest.Suite.run(Suite.scala:1114) 6267[info] at org.scalatest.Suite.run$(Suite.scala:1096) 6268[info] at org.scalatest.funsuite.AnyFunSuite.org$scalatest$funsuite$AnyFunSuiteLike$$super$run(AnyFunSuite.scala:1564) 6269[info] at org.scalatest.funsuite.AnyFunSuiteLike.$anonfun$run$1(AnyFunSuiteLike.scala:273) 6270[info] at org.scalatest.SuperEngine.runImpl(Engine.scala:535) 6271[info] at org.scalatest.funsuite.AnyFunSuiteLike.run(AnyFunSuiteLike.scala:273) 6272[info] at org.scalatest.funsuite.AnyFunSuiteLike.run$(AnyFunSuiteLike.scala:272) 6273[info] at org.apache.spark.sql.connect.client.UDFClassLoadingE2ESuite.org$scalatest$BeforeAndAfterAll$$super$run(UDFClassLoadingE2ESuite.scala:29) 6274[info] at org.scalatest.BeforeAndAfterAll.liftedTree1$1(BeforeAndAfterAll.scala:213) 6275[info] at org.scalatest.BeforeAndAfterAll.run(BeforeAndAfterAll.scala:210) 6276[info] at org.scalatest.BeforeAndAfterAll.run$(BeforeAndAfterAll.scala:208) 6277[info] at org.apache.spark.sql.connect.client.UDFClassLoadingE2ESuite.run(UDFClassLoadingE2ESuite.scala:29) 6278[info] at org.scalatest.tools.Framework.org$scalatest$tools$Framework$$runSuite(Framework.scala:321) 6279[info] at org.scalatest.tools.Framework$ScalaTestTask.execute(Framework.scala:517) 6280[info] at sbt.ForkMain$Run.lambda$runTest$1(ForkMain.java:414) 6281[info] at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264) 6282[info] at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136) 6283[info] at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635) 6284[info] at java.base/java.lang.Thread.run(Thread.java:833) 6285[info] - update class loader after stubbing: same session *** FAILED *** (52 milliseconds) 6286[info] "Exception in SerializedLambda.readResolve" did not contain "java.lang.NoSuchMethodException: org.apache.spark.sql.connect.client.StubClassDummyUdf" (UDFClassLoadingE2ESuite.scala:73) 6287[info] org.scalatest.exceptions.TestFailedException: 6288[info] at org.scalatest.Assertions.newAssertionFailedException(Assertions.scala:472) 6289[info] at org.scalatest.Assertions.newAssertionFailedException$(Assertions.scala:471) 6290[info] at org.scalatest.Assertions$.newAssertionFailedException(Assertions.scala:1231) 6291[info] at org.scalatest.Assertions$AssertionsHelper.macroAssert(Assertions.scala:1295) 6292[info] at org.apache.spark.sql.connect.client.UDFClassLoadingE2ESuite.$anonfun$new$3(UDFClassLoadingE2ESuite.scala:73) 6293[info] at scala.runtime.java8.JFunction0$mcV$sp.apply(JFunction0$mcV$sp.java:23) 6294[info] at org.apache.spark.sql.connect.client.util.RemoteSparkSession.$anonfun$test$1(RemoteSparkSession.scala:243) 6295[info] at org.scalatest.OutcomeOf.outcomeOf(OutcomeOf.scala:85) 6296[info] at org.scalatest.OutcomeOf.outcomeOf$(OutcomeOf.scala:83) 6297[info] at org.scalatest.OutcomeOf$.outcomeOf(OutcomeOf.scala:104) 6298[info] at org.scalatest.Transformer.apply(Transformer.scala:22) 6299[info] at org.scalatest.Transformer.apply(Transformer.scala:20) 6300[info] at org.scalatest.funsuite.AnyFunSuiteLike$$anon$1.apply(AnyFunSuiteLike.scala:226) 6301[info] at org.scalatest.TestSuite.withFixture(TestSuite.scala:196) 6302[info] at org.scalatest.TestSuite.withFixture$(TestSuite.scala:195) 6303[info] at org.scalatest.funsuite.AnyFunSuite.withFixture(AnyFunSuite.scala:1564) 6304[info] at org.scalatest.funsuite.AnyFunSuiteLike.invokeWithFixture$1(AnyFunSuiteLike.scala:224) 6305[info] at org.scalatest.funsuite.AnyFunSuiteLike.$anonfun$runTest$1(AnyFunSuiteLike.scala:236) 6306[info] at org.scalatest.SuperEngine.runTestImpl(Engine.scala:306) 6307[info] at org.scalatest.funsuite.AnyFunSuiteLike.runTest(AnyFunSuiteLike.scala:236) 6308[info] at org.scalatest.funsuite.AnyFunSuiteLike.runTest$(AnyFunSuiteLike.scala:218) 6309[info] at org.scalatest.funsuite.AnyFunSuite.runTest(AnyFunSuite.scala:1564) 6310[info] at org.scalatest.funsuite.AnyFunSuiteLike.$anonfun$runTests$1(AnyFunSuiteLike.scala:269) 6311[info] at org.scalatest.SuperEngine.$anonfun$runTestsInBranch$1(Engine.scala:413) 6312[info] at scala.collection.immutable.List.foreach(List.scala:431) 6313[info] at org.scalatest.SuperEngine.traverseSubNodes$1(Engine.scala:401) 6314[info] at org.scalatest.SuperEngine.runTestsInBranch(Engine.scala:396) 6315[info] at org.scalatest.SuperEngine.runTestsImpl(Engine.scala:475) 6316[info] at org.scalatest.funsuite.AnyFunSuiteLike.runTests(AnyFunSuiteLike.scala:269) 6317[info] at org.scalatest.funsuite.AnyFunSuiteLike.runTests$(AnyFunSuiteLike.scala:268) 6318[info] at org.scalatest.funsuite.AnyFunSuite.runTests(AnyFunSuite.scala:1564) 6319[info] at org.scalatest.Suite.run(Suite.scala:1114) 6320[info] at org.scalatest.Suite.run$(Suite.scala:1096) 6321[info] at org.scalatest.funsuite.AnyFunSuite.org$scalatest$funsuite$AnyFunSuiteLike$$super$run(AnyFunSuite.scala:1564) 6322[info] at org.scalatest.funsuite.AnyFunSuiteLike.$anonfun$run$1(AnyFunSuiteLike.scala:273) 6323[info] at org.scalatest.SuperEngine.runImpl(Engine.scala:535) 6324[info] at org.scalatest.funsuite.AnyFunSuiteLike.run(AnyFunSuiteLike.scala:273) 6325[info] at org.scalatest.funsuite.AnyFunSuiteLike.run$(AnyFunSuiteLike.scala:272) 6326[info] at org.apache.spark.sql.connect.client.UDFClassLoadingE2ESuite.org$scalatest$BeforeAndAfterAll$$super$run(UDFClassLoadingE2ESuite.scala:29) 6327[info] at org.scalatest.BeforeAndAfterAll.liftedTree1$1(BeforeAndAfterAll.scala:213) 6328[info] at org.scalatest.BeforeAndAfterAll.run(BeforeAndAfterAll.scala:210) 6329[info] at org.scalatest.BeforeAndAfterAll.run$(BeforeAndAfterAll.scala:208) 6330[info] at org.apache.spark.sql.connect.client.UDFClassLoadingE2ESuite.run(UDFClassLoadingE2ESuite.scala:29) 6331[info] at org.scalatest.tools.Framework.org$scalatest$tools$Framework$$runSuite(Framework.scala:321) 6332[info] at org.scalatest.tools.Framework$ScalaTestTask.execute(Framework.scala:517) 6333[info] at sbt.ForkMain$Run.lambda$runTest$1(ForkMain.java:414) 6334[info] at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264) 6335[info] at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136) 6336[info] at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635) 6337[info] at java.base/java.lang.Thread.run(Thread.java:833)