[SPARK-33069][INFRA] Skip test result report if no JUnit XML files are found
[SPARK-33069][INFRA] Skip test result report if no JUnit XML files are found

### What changes were proposed in this pull request?

This PR proposes to skip test reporting ("Report test results") if there are no JUnit XML files are found.

Currently, we're running and skipping the tests dynamically. For example,
- if there are only changes in SparkR at the underlying commit, it only runs the SparkR tests, and skip the other tests and generate JUnit XML files for SparkR test cases.
- if there are only changes in `docs` at the underlying commit, the build skips all tests except linters and do not generate any JUnit XML files.

When test reporting ("Report test results") job is triggered after the main build ("Build and test
") is finished, and there are no JUnit XML files found, it reports the case as a failure. See https://github.com/apache/spark/runs/1196184007 as an example.

This PR works around it by simply skipping the testing report when there are no JUnit XML files are found.
Please see https://github.com/apache/spark/pull/29906#issuecomment-702525542 for more details.

### Why are the changes needed?

To avoid false alarm for test results.

### Does this PR introduce _any_ user-facing change?

No, dev-only.

### How was this patch tested?

Manually tested in my fork.

Positive case:

https://github.com/HyukjinKwon/spark/runs/1208624679?check_suite_focus=true
https://github.com/HyukjinKwon/spark/actions/runs/288996327

Negative case:

https://github.com/HyukjinKwon/spark/runs/1208229838?check_suite_focus=true
https://github.com/HyukjinKwon/spark/actions/runs/289000058

Closes #29946 from HyukjinKwon/test-junit-files.

Authored-by: HyukjinKwon <2680965ad5aae29275c8fb10150cb10f5554e78b@apache.org>
Signed-off-by: HyukjinKwon <2680965ad5aae29275c8fb10150cb10f5554e78b@apache.org>

hvanhovell/spark,wangmiao1981/spark,jiangxb1987/spark,witgo/spark,apache/spark,gengliangwang/spark,holdenk/spark,chuckchen/spark,holdenk/spark,vinodkc/spark,hvanhovell/spark,shuangshuangwang/spark,dongjoon-hyun/spark,HyukjinKwon/spark,hvanhovell/spark,apache/spark,dongjoon-hyun/spark,shuangshuangwang/spark,wangyum/spark,wangyum/spark,xuanyuanking/spark,cloud-fan/spark,JoshRosen/spark,vinodkc/spark,milliman/spark,HyukjinKwon/spark,apache/spark,holdenk/spark,nchammas/spark,gengliangwang/spark,zzcclp/spark,JoshRosen/spark,HyukjinKwon/spark,dongjoon-hyun/spark,hvanhovell/spark,holdenk/spark,zero323/spark,wangyum/spark,mahak/spark,vinodkc/spark,xuanyuanking/spark,zero323/spark,mahak/spark,mahak/spark,zero323/spark,srowen/spark,witgo/spark,wangmiao1981/spark,apache/spark,holdenk/spark,WeichenXu123/spark,wangyum/spark,shuangshuangwang/spark,mahak/spark,xuanyuanking/spark,cloud-fan/spark,hvanhovell/spark,shuangshuangwang/spark,dongjoon-hyun/spark,ueshin/apache-spark,zero323/spark,vinodkc/spark,jiangxb1987/spark,srowen/spark,jiangxb1987/spark,shaneknapp/spark,taroplus/spark,JoshRosen/spark,zzcclp/spark,zzcclp/spark,BryanCutler/spark,hvanhovell/spark,xuanyuanking/spark,BryanCutler/spark,zero323/spark,zero323/spark,jiangxb1987/spark,BryanCutler/spark,holdenk/spark,witgo/spark,taroplus/spark,wangyum/spark,gengliangwang/spark,shaneknapp/spark,taroplus/spark,witgo/spark,wangmiao1981/spark,BryanCutler/spark,srowen/spark,witgo/spark,WeichenXu123/spark,chuckchen/spark,dongjoon-hyun/spark,shaneknapp/spark,rednaxelafx/apache-spark,chuckchen/spark,chuckchen/spark,chuckchen/spark,hvanhovell/spark,WeichenXu123/spark,JoshRosen/spark,srowen/spark,nchammas/spark,maropu/spark,maropu/spark,cloud-fan/spark,cloud-fan/spark,milliman/spark,maropu/spark,milliman/spark,shaneknapp/spark,ueshin/apache-spark,shuangshuangwang/spark,HyukjinKwon/spark,dongjoon-hyun/spark,nchammas/spark,WeichenXu123/spark,jiangxb1987/spark,taroplus/spark,shuangshuangwang/spark,shaneknapp/spark,nchammas/spark,nchammas/spark,wangmiao1981/spark,vinodkc/spark,chuckchen/spark,zzcclp/spark,ueshin/apache-spark,rednaxelafx/apache-spark,shaneknapp/spark,zzcclp/spark,maropu/spark,wangyum/spark,mahak/spark,witgo/spark,nchammas/spark,HyukjinKwon/spark,chuckchen/spark,taroplus/spark,BryanCutler/spark,ueshin/apache-spark,ueshin/apache-spark,BryanCutler/spark,WeichenXu123/spark,cloud-fan/spark,BryanCutler/spark,gengliangwang/spark,milliman/spark,rednaxelafx/apache-spark,HyukjinKwon/spark,holdenk/spark,vinodkc/spark,WeichenXu123/spark,mahak/spark,JoshRosen/spark,dongjoon-hyun/spark,jiangxb1987/spark,maropu/spark,apache/spark,HyukjinKwon/spark,shaneknapp/spark,ueshin/apache-spark,milliman/spark,milliman/spark,mahak/spark,maropu/spark,gengliangwang/spark,wangmiao1981/spark,zzcclp/spark,maropu/spark,srowen/spark,milliman/spark,rednaxelafx/apache-spark,srowen/spark,wangyum/spark,nchammas/spark,JoshRosen/spark,wangmiao1981/spark,JoshRosen/spark,cloud-fan/spark,rednaxelafx/apache-spark,srowen/spark,WeichenXu123/spark,zzcclp/spark,taroplus/spark,rednaxelafx/apache-spark,rednaxelafx/apache-spark,shuangshuangwang/spark,xuanyuanking/spark,gengliangwang/spark,cloud-fan/spark,ueshin/apache-spark,zero323/spark,taroplus/spark,xuanyuanking/spark,gengliangwang/spark,xuanyuanking/spark,wangmiao1981/spark,jiangxb1987/spark,apache/spark,witgo/spark,vinodkc/spark,apache/spark