@@ -669,7 +669,7 @@ def executeTests(os, edition, maintainer, mode, engine, portInit, archDir, arch,
669
669
" --configDir etc/jenkins " +
670
670
" --skipLogAnalysis true " +
671
671
" --skipTimeCritical true " +
672
- " --skipNonDeterministic true " +
672
+ " --skipNondeterministic true " +
673
673
" --storageEngine ${ engine} " +
674
674
testStruct[2 ]
675
675
@@ -704,7 +704,7 @@ def executeTests(os, edition, maintainer, mode, engine, portInit, archDir, arch,
704
704
// even if the features are green this is completely broken performance wise..
705
705
// DO NOT INCREASE!!
706
706
707
- timeout(30 ) {
707
+ timeout(os == ' linux ' ? 30 : 60 ) {
708
708
def tmpDir = pwd() + " /" + runDir + " /tmp"
709
709
710
710
withEnv([" TMPDIR=${ tmpDir} " , " TEMPDIR=${ tmpDir} " , " TMP=${ tmpDir} " ]) {
@@ -726,13 +726,21 @@ def executeTests(os, edition, maintainer, mode, engine, portInit, archDir, arch,
726
726
}
727
727
}
728
728
catch (exc) {
729
- echo " caught error, copying log to ${ logFileFailed} "
730
- echo exc. toString()
729
+ def msg = exc. toString()
730
+
731
+ echo " caught error, copying log to ${ logFileFailed} : ${ msg} "
731
732
732
733
fileOperations([
733
- fileCreateOperation(fileContent : ' TEST FAILED' , fileName : " ${ archDir} -FAIL.txt" )
734
+ fileCreateOperation(fileContent : ' TEST FAILED: ${msg} ' , fileName : " ${ archDir} -FAIL.txt" )
734
735
])
735
736
737
+ if (os == ' linux' || os == ' mac' ) {
738
+ sh " echo \" ${ msg} \" >> ${ logFile} "
739
+ }
740
+ else {
741
+ powershell " echo \" ${ msg} \" | Out-File -filepath ${ logFile} -append"
742
+ }
743
+
736
744
copyFile(os, logFile, logFileFailed)
737
745
throw exc
738
746
}
@@ -1020,10 +1028,19 @@ def buildEdition(os, edition, maintainer) {
1020
1028
}
1021
1029
}
1022
1030
catch (exc) {
1031
+ def msg = exc. toString()
1032
+
1023
1033
fileOperations([
1024
- fileCreateOperation(fileContent : ' BUILD FAILED' , fileName : " ${ archDir} -FAIL.txt" )
1034
+ fileCreateOperation(fileContent : ' BUILD FAILED: ${msg} ' , fileName : " ${ archDir} -FAIL.txt" )
1025
1035
])
1026
1036
1037
+ if (os == ' linux' || os == ' mac' ) {
1038
+ sh " echo \" ${ msg} \" >> ${ logFile} "
1039
+ }
1040
+ else {
1041
+ powershell " echo \" ${ msg} \" | Out-File -filepath ${ logFile} -append"
1042
+ }
1043
+
1027
1044
renameFolder(arch, archFail)
1028
1045
throw exc
1029
1046
}
0 commit comments