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

Pipeline Intermittent "Error grabbing Grapes" Issues

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Minor Minor
    • None
    • Jenkins: 2.73.2.1 workflow-cps-global-lib:2.9
    • 749.v70084559234a_

      Intermittently, when a pipeline uses the "@Grab" notation, it results in the following error: 
      java.lang.RuntimeException: Error grabbing Grapes – [unresolved dependency: commons-codec#commons-codec;1.9: java.util.ConcurrentModificationException at java.util.ArrayList$Itr.checkForComodification(ArrayList.java:909)] 

      If this is related to GROOVY-7407, perhaps the recommended WorkaroundGroovy7407WrappingGrapeEngine.java could be imported into workflow-cps-global-lib and called the first time a trusted library is loaded (before it can attempt to grab anything)?

       

          [JENKINS-48974] Pipeline Intermittent "Error grabbing Grapes" Issues

          Steven Deal created issue -
          Steven Deal made changes -
          Summary Original: Pipeline Intermittent "Error grabbing Grapes " Issues New: Pipeline Intermittent "Error grabbing Grapes" Issues
          Jesse Glick made changes -
          Issue Type Original: Task [ 3 ] New: Bug [ 1 ]
          CloudBees Inc. made changes -
          Remote Link New: This issue links to "CloudBees Internal CD-398 (Web Link)" [ 20147 ]
          Basil Crow made changes -
          Released As New: 749.v70084559234a_
          Assignee New: Basil Crow [ basil ]
          Resolution New: Fixed [ 1 ]
          Status Original: Open [ 1 ] New: Closed [ 6 ]
          Basil Crow made changes -
          Remote Link New: This issue links to "jenkinsci/pipeline-groovy-lib-plugin#148 (Web Link)" [ 30492 ]
          Basil Crow made changes -
          Link New: This issue is duplicated by JENKINS-75141 [ JENKINS-75141 ]

            basil Basil Crow
            stevendeal Steven Deal
            Votes:
            10 Vote for this issue
            Watchers:
            21 Start watching this issue

              Created:
              Updated:
              Resolved: