This is an automated email from the ASF dual-hosted git repository.
tibordigana pushed a commit to branch buildfix
in repository https://gitbox.apache.org/repos/asf/maven-surefire.git
The following commit(s) were added to refs/heads/buildfix by this push:
new 8acbf55 investigating build failure
8acbf55 is described below
commit 8acbf555e01ad207b501816323c79a2605dbf9ce
Author: tibordigana <[email protected]>
AuthorDate: Mon Jul 15 12:28:51 2019 +0200
investigating build failure
---
Jenkinsfile | 36 ++++--------------------------------
surefire-its/pom.xml | 2 +-
2 files changed, 5 insertions(+), 33 deletions(-)
diff --git a/Jenkinsfile b/Jenkinsfile
index f850f7d..2cf89d2 100644
--- a/Jenkinsfile
+++ b/Jenkinsfile
@@ -30,7 +30,7 @@ properties(
]
)
-final def oses = ['linux':'ubuntu && !H24', 'windows':'Windows &&
!windows-2016-1']
+final def oses = ['linux':'ubuntu && !H24', 'windows':'Windows']
final def mavens = env.BRANCH_NAME == 'master' ? ['3.6.x', '3.2.x'] : ['3.6.x']
// all non-EOL versions and the first EA
final def jdks = [8]
@@ -162,37 +162,7 @@ def buildProcess(String stageKey, String jdkName, String
jdkTestName, String mvn
}
}
} finally {
- if (makeReports) {
- openTasks(ignoreCase: true, canComputeNew: false, defaultEncoding:
'UTF-8', pattern: sourcesPatternCsv(),
- high: tasksViolationHigh(), normal:
tasksViolationNormal(), low: tasksViolationLow())
-
- jacoco(changeBuildStatus: false,
- execPattern: '**/*.exec',
- sourcePattern: sourcesPatternCsv(),
- classPattern: classPatternCsv())
-
- junit(healthScaleFactor: 0.0,
- allowEmptyResults: true,
- keepLongStdio: true,
- testResults: testReportsPatternCsv())
-
- if (currentBuild.result == 'UNSTABLE') {
- currentBuild.result = 'FAILURE'
- }
- }
-
- if (currentBuild.result != null && currentBuild.result != 'SUCCESS') {
- if (fileExists('maven-failsafe-plugin/target/it')) {
- zip(zipFile: "maven-failsafe-plugin--${stageKey}.zip", dir:
'maven-failsafe-plugin/target/it', archive: true)
- }
-
- if (fileExists('surefire-its/target')) {
- zip(zipFile: "surefire-its--${stageKey}.zip", dir:
'surefire-its/target', archive: true)
- }
-
- archiveArtifacts(artifacts: "*--${stageKey}.zip",
allowEmptyArchive: true, onlyIfSuccessful: false)
- }
- // clean up after ourselves to reduce disk space
+ sleep time: 1, unit: 'SECONDS'
cleanWs()
}
}
@@ -205,6 +175,7 @@ static def sourcesPatternCsv() {
'**/maven-surefire-report-plugin/src/main/java,' +
'**/surefire-api/src/main/java,' +
'**/surefire-booter/src/main/java,' +
+ '**/surefire-extensions-api/src/main/java,' +
'**/surefire-grouper/src/main/java,' +
'**/surefire-its/src/main/java,' +
'**/surefire-logger-api/src/main/java,' +
@@ -220,6 +191,7 @@ static def classPatternCsv() {
'**/maven-surefire-report-plugin/target/classes,' +
'**/surefire-api/target/classes,' +
'**/surefire-booter/target/classes,' +
+ '**/surefire-extensions-api/target/classes,' +
'**/surefire-grouper/target/classes,' +
'**/surefire-its/target/classes,' +
'**/surefire-logger-api/target/classes,' +
diff --git a/surefire-its/pom.xml b/surefire-its/pom.xml
index 2c4a7e6..cd9eb26 100644
--- a/surefire-its/pom.xml
+++ b/surefire-its/pom.xml
@@ -175,7 +175,7 @@
<forkMode>once</forkMode>
<argLine>-server -Xmx64m -XX:+UseG1GC
-XX:+TieredCompilation -XX:TieredStopAtLevel=1 -Djava.awt.headless=true
-Djdk.net.URLClassPath.disableClassPathURLCheck=true</argLine>
<includes>
- <include>org/apache/**/*IT*.java</include>
+
<include>org/apache/**/Surefire946KillMainProcessInReusableForkIT.java</include>
</includes>
<!-- Pass current surefire version to the main suite so
that it -->
<!-- can forward to all integration test projects.
SUREFIRE-513 -->