dcoliversun opened a new issue, #9328:
URL: https://github.com/apache/incubator-gluten/issues/9328

   ### Backend
   
   VL (Velox)
   
   ### Bug description
   
   Expected behavior:  
   Running `python3 tools/scripts/gen-function-support-docs.py 
--spark_home=/opt/ --categories=scalar` command can execute the entire scalar 
suite.
   
   Actual behavior:  
   Only GlutenSQLQueryTestSuite aborted.     
   Re-running with `mvn clean test -P spark-3.5,spark-ut,backends-velox 
-DargLine="-Dspark.test.home=/opt/" 
-DwildcardSuites=org.apache.spark.sql.GlutenSQLQueryTestSuite -Dtest=none 
-Dsurefire.failIfNoSpecifiedTests=false 
-DtagsToInclude=org.apache.spark.tags.ExtendedSQLTest` can get same result.  
   
   ```
   [INFO] --- scalatest-maven-plugin:2.2.0:test (test) @ gluten-ut-spark35 ---
   [INFO] ScalaTest report directory: 
/root/incubator-gluten/gluten-ut/spark35/target/surefire-reports
   Discovery starting.
   Discovery completed in 5 seconds, 153 milliseconds.
   Run starting. Expected test count is: 789
   GlutenSQLQueryTestSuite:
   org.apache.spark.sql.GlutenSQLQueryTestSuite *** ABORTED ***
     java.lang.RuntimeException: Unable to load a Suite class 
org.apache.spark.sql.GlutenSQLQueryTestSuite that was discovered in the 
runpath: null
     at 
org.scalatest.tools.DiscoverySuite$.getSuiteInstance(DiscoverySuite.scala:80)
     at 
org.scalatest.tools.DiscoverySuite.$anonfun$nestedSuites$1(DiscoverySuite.scala:38)
     at 
scala.collection.TraversableLike.$anonfun$map$1(TraversableLike.scala:286)
     at scala.collection.Iterator.foreach(Iterator.scala:943)
     at scala.collection.Iterator.foreach$(Iterator.scala:943)
     at scala.collection.AbstractIterator.foreach(Iterator.scala:1431)
     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 scala.collection.TraversableLike.map(TraversableLike.scala:286)
     ...
     Cause: java.lang.NullPointerException:
     at 
scala.collection.mutable.ArrayOps$ofRef$.newBuilder$extension(ArrayOps.scala:202)
     at scala.collection.mutable.ArrayOps$ofRef.newBuilder(ArrayOps.scala:198)
     at scala.collection.TraversableLike.partition(TraversableLike.scala:449)
     at scala.collection.TraversableLike.partition$(TraversableLike.scala:448)
     at scala.collection.mutable.ArrayOps$ofRef.partition(ArrayOps.scala:198)
     at 
org.apache.spark.sql.GlutenSQLQueryTestSuite.listFilesRecursively(GlutenSQLQueryTestSuite.scala:786)
     at 
org.apache.spark.sql.GlutenSQLQueryTestSuite.listTestCases$lzycompute(GlutenSQLQueryTestSuite.scala:242)
     at 
org.apache.spark.sql.GlutenSQLQueryTestSuite.listTestCases(GlutenSQLQueryTestSuite.scala:196)
     at 
org.apache.spark.sql.GlutenSQLQueryTestSuite.<init>(GlutenSQLQueryTestSuite.scala:265)
     at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
     ...
   ```
   
   ### Spark version
   
   Spark-3.5.x
   
   ### Spark configurations
   
   _No response_
   
   ### System information
   
   _No response_
   
   ### Relevant logs
   
   ```bash
   
   ```


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to