Uploaded image for project: 'Gradle'
  1. Gradle
  2. GRADLE-3367

Gradle build hangs when tests task is executed with --parallel

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.10-rc-1

      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

        Attachments

          Activity

            People

            Assignee:
            lhotari Lari Hotari
            Reporter:
            big-guy Sterling Greene
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: