Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-42189

Groovy 2.4.8 interoperability issues

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Critical Critical
    • workflow-cps-plugin
    • Jenkins 2.19-stable with a single commit that bumps groovy 2.4.8
      workflow-cps-plugin 2.23

      The issue depicted in blocked_threads.png appeared in our production server.
      (it results on a broken state that we fixed by rebooting the server)

      The result of the first investigation is the following:
      cleanUpGlobalClassSet
      https://github.com/jenkinsci/workflow-cps-plugin/blob/master/src/main/java/org/jenkinsci/plugins/workflow/cps/CpsFlowExecution.java#L1037

      seems to have compatibility issues with the memory leak fix implemented in groovy 2.4.8
      https://github.com/apache/groovy/pull/219/commits/f7c688e101af77170448cf0be9103c4e6dac3f74

      It seems that gradle had a similar issue, that was fixed by the following commit in groovy 2.4.8
      https://github.com/apache/groovy/commit/82c9d20a160c7e4f59630f163a68df82f5e0eba4

        1. 20170221_thread_dump.html.htm
          1.30 MB
          Emmanuel Debanne
        2. blocked_threads.png
          372 kB
          Jon Alberdi

            jglick Jesse Glick
            yetanotherion Jon Alberdi
            Votes:
            0 Vote for this issue
            Watchers:
            8 Start watching this issue

              Created:
              Updated:
              Resolved: