[
https://issues.apache.org/jira/browse/BEAM-5913?focusedWorklogId=160657&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-160657
]
ASF GitHub Bot logged work on BEAM-5913:
----------------------------------------
Author: ASF GitHub Bot
Created on: 30/Oct/18 14:35
Start Date: 30/Oct/18 14:35
Worklog Time Spent: 10m
Work Description: swegner closed pull request #6882: [BEAM-5913]
Re-enable parallel builds for Java Jenkins jobs
URL: https://github.com/apache/beam/pull/6882
This is a PR merged from a forked repository.
As GitHub hides the original diff on merge, it is displayed below for
the sake of provenance:
As this is a foreign pull request (from a fork), the diff is supplied
below (as it won't show otherwise due to GitHub magic):
diff --git a/.test-infra/jenkins/PrecommitJobBuilder.groovy
b/.test-infra/jenkins/PrecommitJobBuilder.groovy
index cda41a2ca0f..214c2fdffbf 100644
--- a/.test-infra/jenkins/PrecommitJobBuilder.groovy
+++ b/.test-infra/jenkins/PrecommitJobBuilder.groovy
@@ -105,10 +105,6 @@ class PrecommitJobBuilder {
rootBuildScriptDir(commonJobProperties.checkoutDir)
tasks(gradleTask)
commonJobProperties.setGradleSwitches(delegate)
- if (nameBase == 'Java') {
- // BEAM-5035: Parallel builds are very flaky
- switches('--no-parallel')
- }
}
}
}
diff --git a/.test-infra/jenkins/job_PostCommit_Java_GradleBuild.groovy
b/.test-infra/jenkins/job_PostCommit_Java_GradleBuild.groovy
index 81a47631ec1..e2b1515bad0 100644
--- a/.test-infra/jenkins/job_PostCommit_Java_GradleBuild.groovy
+++ b/.test-infra/jenkins/job_PostCommit_Java_GradleBuild.groovy
@@ -43,8 +43,6 @@
PostcommitJobBuilder.postCommitJob('beam_PostCommit_Java_GradleBuild', 'Run Java
commonJobProperties.setGradleSwitches(delegate)
// Specify maven home on Jenkins, needed by Maven archetype integration
tests.
switches('-Pmaven_home=/home/jenkins/tools/maven/apache-maven-3.5.2')
- // BEAM-5035: Parallel builds are very flaky
- switches('--no-parallel')
}
}
}
diff --git
a/.test-infra/jenkins/job_PostCommit_Java_PortabilityApi_GradleBuild.groovy
b/.test-infra/jenkins/job_PostCommit_Java_PortabilityApi_GradleBuild.groovy
index 6ae98e474d2..f81c4d4e09b 100644
--- a/.test-infra/jenkins/job_PostCommit_Java_PortabilityApi_GradleBuild.groovy
+++ b/.test-infra/jenkins/job_PostCommit_Java_PortabilityApi_GradleBuild.groovy
@@ -43,8 +43,6 @@
PostcommitJobBuilder.postCommitJob('beam_PostCommit_Java_PortabilityApi_GradleBu
commonJobProperties.setGradleSwitches(delegate)
// Specify maven home on Jenkins, needed by Maven archetype integration
tests.
switches('-Pmaven_home=/home/jenkins/tools/maven/apache-maven-3.5.2')
- // BEAM-5035: Parallel builds are very flaky
- switches('--no-parallel')
// To catch as many as failures
switches('--continue')
}
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
Issue Time Tracking
-------------------
Worklog Id: (was: 160657)
Time Spent: 3h 20m (was: 3h 10m)
> Re-enable parallel builds on Jenkins
> ------------------------------------
>
> Key: BEAM-5913
> URL: https://issues.apache.org/jira/browse/BEAM-5913
> Project: Beam
> Issue Type: Improvement
> Components: build-system
> Reporter: Kenneth Knowles
> Assignee: Kenneth Knowles
> Priority: Critical
> Time Spent: 3h 20m
> Remaining Estimate: 0h
>
> Both Java precommit and multiple Java postcommit suites have parallel builds
> disabled. This has an intensely bad effect on runtimes, to the point where it
> can even change our workflows. We need to get parallel builds back ASAP.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)