HyukjinKwon opened a new pull request #25608: [SPARK-28894][SQL][TESTS] Report 
test results of SQLQueryTestSuite correctly in Jenkins
URL: https://github.com/apache/spark/pull/25608
 
 
   ### What changes were proposed in this pull request?
   
   See 
https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/109834/testReport/junit/org.apache.spark.sql/SQLQueryTestSuite/
   
   ![Screen Shot 2019-08-28 at 4 08 58 
PM](https://user-images.githubusercontent.com/6477701/63833484-2a23ea00-c9ae-11e9-91a1-0859cb183fea.png)
   
   Seems Jenkins doesn't correctly report the test names and we should search 
logs to identify which sql file failed.
   
   Root cause seems Jenkins does not correctly understand the dot in its test 
name. Seems Jenkins has multiple implicit rules for JUnit XML reports, in 
particular, about `classname` and `name` in `testcase` (e.g., the first dot is 
package name, etc.).
   
   Seems scalatest produces JUnit XML report correctly; however, Jenkins seems 
misunderstanding the dot in the test name.
   
   This problem happens to all the tests written in Spark so we better have to 
avoid dot in test names; otherwise, the test title seems truncated in Jenkins 
test report.
   
   ### Why are the changes needed?
   
   To debug Jenkins logs easier.
   
   ### Does this PR introduce any user-facing change?
   
   It store the test name correctly in Jenkins.
   
   ### How was this patch tested?
   
   Jenkins test is required.
   

----------------------------------------------------------------
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.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

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

Reply via email to