[GRADLE-3367] Gradle build hangs when tests task is executed with --parallel Created: 01/Dec/15  Updated: 17/May/16  Resolved: 08/Dec/15

Status: Resolved
Project: Gradle
Affects Version/s: None
Fix Version/s: 2.10-rc-1

Type: Bug
Reporter: Sterling Greene Assignee: Lari Hotari
Resolution: Fixed Votes: 0


 Description   

https://discuss.gradle.org/t/gradle-build-hangs-when-tests-task-is-executed/13019

I am running to into a scenario where the gradle build hangs intermittently. It happens right before the tests are executed. I have tried adding more logging for the tests, but I believe the the build is not even reaching the point where it runs the tests and hangs before that.

I am running the build on teamcity.
Gradle command: ./gradlew clean assemble test --no-daemon --info
Gradle version: 2.7
OS: Linux 3.8.13-26.2.2.el6uek.x86_64 Red Hat Enterprise Linux Server release 6.5 (Santiago)
Java: 1.7.0_80
gradle.properties:
org.gradle.daemon=true
org.gradle.jvmargs=-Xmx6g -XX:MaxPermSize=4g -XX:ReservedCodeCacheSize=1024m
org.gradle.parallel=true



 Comments   
Comment by Lari Hotari [ 17/May/16 ]

There is a regression in Gradle 2.13 that has the similar problem. That will be fixed for Gradle 2.14 .

Generated at Wed Jun 30 12:46:57 CDT 2021 using Jira 8.4.2#804003-sha1:d21414fc212e3af190e92c2d2ac41299b89402cf.