Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Parallel multi-project builds cause the output to be jumbled together #18

Closed
jbisotti opened this issue Dec 9, 2013 · 3 comments
Closed
Assignees
Milestone

Comments

@jbisotti
Copy link

jbisotti commented Dec 9, 2013

Parallel execution is an incubating feature.
:subproj1:dependencyUpdates
:subproj2:dependencyUpdates
:subproj3:dependencyUpdates
:subproj4:dependencyUpdates
:subproj5:dependencyUpdates
:subproj6:dependencyUpdates
:subproj7:dependencyUpdates
:subproj8:dependencyUpdates


------------------------------------------------------------
------------------------------------------------------------
:subproj3 Project Dependency Updates
:subproj4 Project Dependency Updates
------------------------------------------------------------
------------------------------------------------------------

The following dependencies are using the latest milestone version:

The following dependencies are using the latest milestone version:
 - junit:junit:4.11
 - junit:junit:4.11
 - log4j:log4j:1.2.17
 - org.mockito:mockito-all:1.9.5
 - org.spockframework:spock-core:0.7-groovy-2.0
 - log4j:log4j:1.2.17

------------------------------------------------------------
:subproj2 Project Dependency Updates
------------------------------------------------------------

The following dependencies are using the latest milestone version:
 - org.mockito:mockito-all:1.9.5
 - junit:junit:4.11

 - log4j:log4j:1.2.17
 - org.spockframework:spock-core:0.7-groovy-2.0
 - org.mockito:mockito-all:1.9.5
The following dependencies have later milestone versions:
 - org.spockframework:spock-core:0.7-groovy-2.0

The following dependencies have later milestone versions:

The following dependencies have later milestone versions:
 - cglib:cglib-nodep [2.2 -> 3.1]
 - org.codehaus.groovy:groovy-all [2.1.4 -> 2.2.1]
 - org.slf4j:slf4j-log4j12 [1.5.8 -> 1.7.5]
 - cglib:cglib-nodep [2.2 -> 3.1]
 - org.springframework:spring-test [3.1.0.RELEASE -> 4.0.0.RC2]
 - org.codehaus.groovy:groovy-all [2.1.4 -> 2.2.1]
 - cglib:cglib-nodep [2.2 -> 3.1]
 - com.google.guava:guava [14.0.1 -> 15.0]
 - commons-lang:commons-lang [2.5 -> 2.6]
 - org.codehaus.groovy:groovy-all [2.1.4 -> 2.2.1]
:subproj9:dependencyUpdates
 - org.springframework:spring-test [3.1.0.RELEASE -> 4.0.0.RC2]
:subproj10:dependencyUpdates
:subproj11:dependencyUpdates

------------------------------------------------------------
:subproj7 Project Dependency Updates
------------------------------------------------------------

The following dependencies are using the latest milestone version:
 - junit:junit:4.11
 - log4j:log4j:1.2.17
 - org.mockito:mockito-all:1.9.5
 - org.spockframework:spock-core:0.7-groovy-2.0

The following dependencies have later milestone versions:
 - cglib:cglib-nodep [2.2 -> 3.1]
 - commons-io:commons-io [1.4 -> 2.4]
 - org.bouncycastle:bcprov-jdk16 [1.45 -> 1.46]
 - org.codehaus.groovy:groovy-all [2.1.4 -> 2.2.1]
:subproj12:LstAlertListener:dependencyUpdates

------------------------------------------------------------
:subproj6 Project Dependency Updates
------------------------------------------------------------

The following dependencies are using the latest milestone version:
 - junit:junit:4.11
 - log4j:log4j:1.2.17
 - org.mockito:mockito-all:1.9.5
 - org.spockframework:spock-core:0.7-groovy-2.0

The following dependencies have later milestone versions:
 - cglib:cglib-nodep [2.2 -> 3.1]
 - com.google.guava:guava [14.0.1 -> 15.0]
 - com.thoughtworks.xstream:xstream [1.4.4 -> 1.4.5]
 - dom4j:dom4j [1.6 -> 1.6.1]
 - org.codehaus.groovy:groovy-all [2.1.4 -> 2.2.1]
 - org.springframework:spring-test [3.1.0.RELEASE -> 4.0.0.RC2]
:subproj12:SendObjectStore:dependencyUpdates

------------------------------------------------------------
:subproj5 Project Dependency Updates
------------------------------------------------------------

The following dependencies are using the latest milestone version:
 - junit:junit:4.11
 - log4j:log4j:1.2.17
 - org.mockito:mockito-all:1.9.5
 - org.spockframework:spock-core:0.7-groovy-2.0

The following dependencies have later milestone versions:
 - antlr:antlr [2.7.5 -> 2.7.7]
 - cglib:cglib-nodep [2.2 -> 3.1]
 - com.google.guava:guava [14.0.1 -> 15.0]
 - org.codehaus.groovy:groovy-all [2.1.4 -> 2.2.1]
 - org.snmp4j:snmp4j [1.9.1f -> 1.11.3]

------------------------------------------------------------
:subproj8 Project Dependency Updates
------------------------------------------------------------

The following dependencies are using the latest milestone version:
 - commons-net:commons-net:3.3
 - junit:junit:4.11
 - log4j:log4j:1.2.17
 - org.mockito:mockito-all:1.9.5
 - org.spockframework:spock-core:0.7-groovy-2.0

The following dependencies have later milestone versions:
 - cglib:cglib-nodep [2.2 -> 3.1]
 - org.apache.httpcomponents:httpclient [4.2.5 -> 4.3.1]
 - org.apache.httpcomponents:httpmime [4.2.5 -> 4.3.1]
 - org.codehaus.groovy:groovy-all [2.1.4 -> 2.2.1]
 - org.springframework:spring-test [3.1.0.RELEASE -> 4.0.0.RC2]

------------------------------------------------------------
:subproj11 Project Dependency Updates
------------------------------------------------------------


The following dependencies are using the latest milestone version:
------------------------------------------------------------
:subproj9 Project Dependency Updates
 - junit:junit:4.11
------------------------------------------------------------
 - log4j:log4j:1.2.17

 - org.mockito:mockito-all:1.9.5
The following dependencies are using the latest milestone version:
 - org.spockframework:spock-core:0.7-groovy-2.0

 - junit:junit:4.11
The following dependencies have later milestone versions:
 - log4j:log4j:1.2.17
 - cglib:cglib-nodep [2.2 -> 3.1]
 - org.mockito:mockito-all:1.9.5
 - com.thoughtworks.xstream:xstream [1.4.4 -> 1.4.5]
 - org.spockframework:spock-core:0.7-groovy-2.0
 - org.codehaus.groovy:groovy-all [2.1.4 -> 2.2.1]

The following dependencies have later milestone versions:
 - cglib:cglib-nodep [2.2 -> 3.1]
 - dom4j:dom4j [1.6 -> 1.6.1]
 - org.codehaus.groovy:groovy-all [2.1.4 -> 2.2.1]
 - org.springframework:spring-test [3.1.0.RELEASE -> 4.0.0.RC2]

------------------------------------------------------------
:subproj12:LstAlertListener Project Dependency Updates
------------------------------------------------------------

The following dependencies are using the latest milestone version:
 - commons-cli:commons-cli:1.2
 - junit:junit:4.11
 - log4j:log4j:1.2.17
 - org.mockito:mockito-all:1.9.5
 - org.spockframework:spock-core:0.7-groovy-2.0

The following dependencies have later milestone versions:
 - cglib:cglib-nodep [2.2 -> 3.1]
 - org.codehaus.groovy:groovy-all [2.1.4 -> 2.2.1]

------------------------------------------------------------
:subproj10 Project Dependency Updates
------------------------------------------------------------

The following dependencies are using the latest milestone version:
 - junit:junit:4.11

------------------------------------------------------------
 - log4j:log4j:1.2.17
:subproj1 Project Dependency Updates
 - org.mockito:mockito-all:1.9.5
------------------------------------------------------------
 - org.spockframework:spock-core:0.7-groovy-2.0

The following dependencies are using the latest milestone version:
 - org.spockframework:spock-spring:0.7-groovy-2.0

 - junit:junit:4.11

 - log4j:log4j:1.2.17
------------------------------------------------------------
 - net.sf.opencsv:opencsv:2.3
The following dependencies have later milestone versions:
 - org.mockito:mockito-all:1.9.5
:subproj12:SendObjectStore Project Dependency Updates
 - org.spockframework:spock-core:0.7-groovy-2.0
 - cglib:cglib-nodep [2.2 -> 3.1]
 - org.spockframework:spock-spring:0.7-groovy-2.0
------------------------------------------------------------

 - com.google.guava:guava [14.0.1 -> 15.0]
The following dependencies have later milestone versions:

 - org.codehaus.groovy:groovy-all [2.1.4 -> 2.2.1]
The following dependencies are using the latest milestone version:
 - org.springframework:spring-test [3.1.0.RELEASE -> 4.0.0.RC2]
 - commons-cli:commons-cli:1.2
 - junit:junit:4.11
 - cglib:cglib-nodep [2.2 -> 3.1]
 - log4j:log4j:1.2.17
 - com.google.guava:guava [14.0.1 -> 15.0]
 - org.mockito:mockito-all:1.9.5
 - com.thoughtworks.xstream:xstream [1.4.4 -> 1.4.5]
 - org.spockframework:spock-core:0.7-groovy-2.0
 - commons-codec:commons-codec [1.6 -> 1.8]

 - commons-collections:commons-collections [3.2.1 -> 20040616]
The following dependencies have later milestone versions:
 - commons-lang:commons-lang [2.5 -> 2.6]
 - cglib:cglib-nodep [2.2 -> 3.1]
 - commons-logging:commons-logging [1.1.1 -> 99.0-does-not-exist]
 - org.codehaus.groovy:groovy-all [2.1.4 -> 2.2.1]
 - jmdns:jmdns [0.2 -> 2.1.0]
 - org.codehaus.groovy:groovy-all [2.1.4 -> 2.2.1]
 - org.hibernate:hibernate-annotations [3.5.4-Final -> 3.5.6-Final]
 - org.hibernate:hibernate-core [3.5.4-Final -> 4.3.0.CR2]
 - org.hibernate:hibernate-envers [3.5.4-Final -> 4.3.0.CR2]
 - org.hibernate.javax.persistence:hibernate-jpa-2.0-api [1.0.0.Final -> 1.0.1.Final]
 - org.jasypt:jasypt [1.7 -> 1.9.1]
 - org.springframework:spring-beans [3.1.0.RELEASE -> 4.0.0.RC2]
 - org.springframework:spring-context [3.1.0.RELEASE -> 4.0.0.RC2]
 - org.springframework:spring-core [3.1.0.RELEASE -> 4.0.0.RC2]
 - org.springframework:spring-test [3.1.0.RELEASE -> 4.0.0.RC2]

BUILD SUCCESSFUL

Total time: 2.989 secs
@jochenberger
Copy link
Collaborator

This probably means we'll have to write into a buffer in each submodule and write them out in one step. I wonder if that's enough, AFAICT we could still get race conditions when two threads write their buffers at the same time. I wonder if Gradle already provides a mechanism for that kind of problem.

jochenberger added a commit to jochenberger/gradle-versions-plugin that referenced this issue Dec 10, 2013
jochenberger added a commit that referenced this issue Dec 10, 2013
@ghost ghost assigned jochenberger Dec 10, 2013
@jochenberger
Copy link
Collaborator

Could you please try whether b3925f6 fixes the problem?

@jochenberger
Copy link
Collaborator

I believe this is fixed now, feel free to comment if the problem persists after 0.5 (which is not yet released).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants