@@ -645,6 +645,12 @@ jobs:
645
645
with :
646
646
name : test-report-spark32
647
647
path : ' **/surefire-reports/TEST-*.xml'
648
+ - name : Upload unit tests log files
649
+ if : ${{ !success() }}
650
+ uses : actions/upload-artifact@v4
651
+ with :
652
+ name : ${{ github.job }}-test-log
653
+ path : " **/target/*.log"
648
654
- name : Upload golden files
649
655
if : failure()
650
656
uses : actions/upload-artifact@v4
@@ -679,6 +685,12 @@ jobs:
679
685
with :
680
686
name : test-report-spark32-slow
681
687
path : ' **/surefire-reports/TEST-*.xml'
688
+ - name : Upload unit tests log files
689
+ if : ${{ !success() }}
690
+ uses : actions/upload-artifact@v4
691
+ with :
692
+ name : ${{ github.job }}-test-log
693
+ path : " **/target/*.log"
682
694
683
695
run-spark-test-spark33 :
684
696
needs : build-native-lib-centos-7
@@ -716,6 +728,12 @@ jobs:
716
728
with :
717
729
name : test-report-spark33
718
730
path : ' **/surefire-reports/TEST-*.xml'
731
+ - name : Upload unit tests log files
732
+ if : ${{ !success() }}
733
+ uses : actions/upload-artifact@v4
734
+ with :
735
+ name : ${{ github.job }}-test-log
736
+ path : " **/target/*.log"
719
737
- name : Upload golden files
720
738
if : failure()
721
739
uses : actions/upload-artifact@v4
@@ -753,6 +771,12 @@ jobs:
753
771
with :
754
772
name : test-report-spark33-slow
755
773
path : ' **/surefire-reports/TEST-*.xml'
774
+ - name : Upload unit tests log files
775
+ if : ${{ !success() }}
776
+ uses : actions/upload-artifact@v4
777
+ with :
778
+ name : ${{ github.job }}-test-log
779
+ path : " **/target/*.log"
756
780
757
781
run-spark-test-spark34 :
758
782
needs : build-native-lib-centos-7
@@ -796,6 +820,12 @@ jobs:
796
820
with :
797
821
name : test-report-spark34-jdk17
798
822
path : ' **/surefire-reports/TEST-*.xml'
823
+ - name : Upload unit tests log files
824
+ if : ${{ !success() }}
825
+ uses : actions/upload-artifact@v4
826
+ with :
827
+ name : ${{ github.job }}-test-log
828
+ path : " **/target/*.log"
799
829
- name : Upload golden files
800
830
if : failure()
801
831
uses : actions/upload-artifact@v4
@@ -842,6 +872,12 @@ jobs:
842
872
with :
843
873
name : test-report-spark34
844
874
path : ' **/surefire-reports/TEST-*.xml'
875
+ - name : Upload unit tests log files
876
+ if : ${{ !success() }}
877
+ uses : actions/upload-artifact@v4
878
+ with :
879
+ name : ${{ github.job }}-test-log
880
+ path : " **/target/*.log"
845
881
- name : Upload golden files
846
882
if : failure()
847
883
uses : actions/upload-artifact@v4
@@ -883,6 +919,12 @@ jobs:
883
919
with :
884
920
name : test-report-spark34-slow-jdk17
885
921
path : ' **/surefire-reports/TEST-*.xml'
922
+ - name : Upload unit tests log files
923
+ if : ${{ !success() }}
924
+ uses : actions/upload-artifact@v4
925
+ with :
926
+ name : ${{ github.job }}-test-log
927
+ path : " **/target/*.log"
886
928
887
929
run-spark-test-spark34-slow-jdk8 :
888
930
needs : build-native-lib-centos-7
@@ -915,6 +957,12 @@ jobs:
915
957
with :
916
958
name : test-report-spark34-slow-jdk8
917
959
path : ' **/surefire-reports/TEST-*.xml'
960
+ - name : Upload unit tests log files
961
+ if : ${{ !success() }}
962
+ uses : actions/upload-artifact@v4
963
+ with :
964
+ name : ${{ github.job }}-test-log
965
+ path : " **/target/*.log"
918
966
919
967
run-spark-test-spark35 :
920
968
needs : build-native-lib-centos-7
@@ -952,6 +1000,12 @@ jobs:
952
1000
with :
953
1001
name : test-report-spark35
954
1002
path : ' **/surefire-reports/TEST-*.xml'
1003
+ - name : Upload unit tests log files
1004
+ if : ${{ !success() }}
1005
+ uses : actions/upload-artifact@v4
1006
+ with :
1007
+ name : ${{ github.job }}-test-log
1008
+ path : " **/target/*.log"
955
1009
- name : Upload golden files
956
1010
if : failure()
957
1011
uses : actions/upload-artifact@v4
@@ -999,6 +1053,12 @@ jobs:
999
1053
with :
1000
1054
name : test-report-spark35-jdk17
1001
1055
path : ' **/surefire-reports/TEST-*.xml'
1056
+ - name : Upload unit tests log files
1057
+ if : ${{ !success() }}
1058
+ uses : actions/upload-artifact@v4
1059
+ with :
1060
+ name : ${{ github.job }}-test-log
1061
+ path : " **/target/*.log"
1002
1062
- name : Upload golden files
1003
1063
if : failure()
1004
1064
uses : actions/upload-artifact@v4
@@ -1042,6 +1102,12 @@ jobs:
1042
1102
with :
1043
1103
name : test-report-spark35-scala213
1044
1104
path : ' **/surefire-reports/TEST-*.xml'
1105
+ - name : Upload unit tests log files
1106
+ if : ${{ !success() }}
1107
+ uses : actions/upload-artifact@v4
1108
+ with :
1109
+ name : ${{ github.job }}-test-log
1110
+ path : " **/target/*.log"
1045
1111
1046
1112
run-spark-test-spark35-slow :
1047
1113
needs : build-native-lib-centos-7
@@ -1071,6 +1137,12 @@ jobs:
1071
1137
with :
1072
1138
name : test-report-spark35-slow
1073
1139
path : ' **/surefire-reports/TEST-*.xml'
1140
+ - name : Upload unit tests log files
1141
+ if : ${{ !success() }}
1142
+ uses : actions/upload-artifact@v4
1143
+ with :
1144
+ name : ${{ github.job }}-test-log
1145
+ path : " **/target/*.log"
1074
1146
1075
1147
run-spark-test-spark35-ras :
1076
1148
needs : build-native-lib-centos-7
@@ -1107,6 +1179,12 @@ jobs:
1107
1179
with :
1108
1180
name : test-report-spark35-ras
1109
1181
path : ' **/surefire-reports/TEST-*.xml'
1182
+ - name : Upload unit tests log files
1183
+ if : ${{ !success() }}
1184
+ uses : actions/upload-artifact@v4
1185
+ with :
1186
+ name : ${{ github.job }}-test-log
1187
+ path : " **/target/*.log"
1110
1188
1111
1189
run-spark-test-spark35-slow-ras :
1112
1190
needs : build-native-lib-centos-7
@@ -1135,6 +1213,12 @@ jobs:
1135
1213
with :
1136
1214
name : test-report-spark35-slow-ras
1137
1215
path : ' **/surefire-reports/TEST-*.xml'
1216
+ - name : Upload unit tests log files
1217
+ if : ${{ !success() }}
1218
+ uses : actions/upload-artifact@v4
1219
+ with :
1220
+ name : ${{ github.job }}-test-log
1221
+ path : " **/target/*.log"
1138
1222
1139
1223
run-spark-test-spark35-smj :
1140
1224
needs : build-native-lib-centos-7
@@ -1171,6 +1255,12 @@ jobs:
1171
1255
with :
1172
1256
name : test-report-spark35-smj
1173
1257
path : ' **/surefire-reports/TEST-*.xml'
1258
+ - name : Upload unit tests log files
1259
+ if : ${{ !success() }}
1260
+ uses : actions/upload-artifact@v4
1261
+ with :
1262
+ name : ${{ github.job }}-test-log
1263
+ path : " **/target/*.log"
1174
1264
1175
1265
run-spark-test-spark35-slow-smj :
1176
1266
needs : build-native-lib-centos-7
@@ -1199,6 +1289,12 @@ jobs:
1199
1289
with :
1200
1290
name : test-report-spark35-slow-smj
1201
1291
path : ' **/surefire-reports/TEST-*.xml'
1292
+ - name : Upload unit tests log files
1293
+ if : ${{ !success() }}
1294
+ uses : actions/upload-artifact@v4
1295
+ with :
1296
+ name : ${{ github.job }}-test-log
1297
+ path : " **/target/*.log"
1202
1298
1203
1299
run-cpp-test-udf-test :
1204
1300
runs-on : ubuntu-20.04
@@ -1240,3 +1336,14 @@ jobs:
1240
1336
# Depends on --build_example=ON.
1241
1337
$MVN_CMD test -Pspark-3.5 -Pbackends-velox -Piceberg -Pdelta -DtagsToExclude=None \
1242
1338
-DtagsToInclude=org.apache.gluten.tags.UDFTest
1339
+ - name : Upload test report
1340
+ uses : actions/upload-artifact@v4
1341
+ with :
1342
+ name : test-report-spark35-udf
1343
+ path : ' **/surefire-reports/TEST-*.xml'
1344
+ - name : Upload unit tests log files
1345
+ if : ${{ !success() }}
1346
+ uses : actions/upload-artifact@v4
1347
+ with :
1348
+ name : ${{ github.job }}-test-log
1349
+ path : " **/target/*.log"
0 commit comments