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

Pipeline builds do not run after Groovy 2.x upgrade

    Details

    • Type: Bug
    • Status: Resolved (View Workflow)
    • Priority: Blocker
    • Resolution: Fixed
    • Component/s: pipeline
    • Environment:
      OSX
      JDK 8
      Jenkins 2.0-beta-2 (suggested plugins)
      Pipeline 2.0
    • Similar Issues:

      Description

      Steps to reproduce it:

      1. Install Jenkins 2.0-beta-2.
      2. Restart
      3. Upgrade Pipeline from 1.15 to 2.0 (in my case 2.0 was not propagated to my nearest UC mirror so the install wizard installed 1.15. I manually changed it to: http://ftp.icm.edu.pl/packages/jenkins/updates/current/update-center.json which already contains 2.0 packages). Make sure you mark all Pipeline related plugins (the ones that were aggregated by workflow-aggregator before 2.0) in the Upgrade tab (otherwise you will stay in 1.15 and only the aggregator is updated).
      4. Create a pipeline with the script generated by the sample "Hello World".
      5. Build it.
      6. It hangs before starting any step and the CPS VM thread dump is empty.

        Attachments

          Issue Links

            Activity

            amuniz Antonio Muñiz created issue -
            amuniz Antonio Muñiz made changes -
            Field Original Value New Value
            Description Steps to reproduce it:

            # Install Jenkins 2.0-beta-2.
            # Upgrade Pipeline from 1.15 to 2.0 (in my case 2.0 was not propagated to my nearest UC [mirror|http://mirrors.clinkerhq.com/jenkins/updates/current/update-center.json] so the install wizard installed 1.15. I manually changed it to: http://ftp.icm.edu.pl/packages/jenkins/updates/current/update-center.json which already contains 2.0 packages).
            # Create a pipeline with the script generated by the sample "Hello World".
            # Build it.
            # It hangs before starting any step and the CPS VM thread dump is empty.
            Steps to reproduce it:

            # Install Jenkins 2.0-beta-2.
            # Upgrade Pipeline from 1.15 to 2.0 (in my case 2.0 was not propagated to my nearest UC [mirror|http://mirrors.clinkerhq.com/jenkins/updates/current/update-center.json] so the install wizard installed 1.15. I manually changed it to: http://ftp.icm.edu.pl/packages/jenkins/updates/current/update-center.json which already contains 2.0 packages). Make sure you mark all Pipeline related plugins (the ones that were aggregated by workflow-aggregator before 2.0) in the Upgrade tab (otherwise you will stay in 1.15 and only the aggregator is updated).
            # Create a pipeline with the script generated by the sample "Hello World".
            # Build it.
            # It hangs before starting any step and the CPS VM thread dump is empty.
            amuniz Antonio Muñiz made changes -
            Environment OSX
            JDK 8
            Jenkins 2.0-beta-2
            Pipeline 2.0
            OSX
            JDK 8
            Jenkins 2.0-beta-1 (suggested plugins)
            Pipeline 2.0
            jglick Jesse Glick made changes -
            Status Open [ 1 ] In Progress [ 3 ]
            amuniz Antonio Muñiz made changes -
            Environment OSX
            JDK 8
            Jenkins 2.0-beta-1 (suggested plugins)
            Pipeline 2.0
            OSX
            JDK 8
            Jenkins 2.0-beta-2 (suggested plugins)
            Pipeline 2.0
            amuniz Antonio Muñiz made changes -
            Description Steps to reproduce it:

            # Install Jenkins 2.0-beta-2.
            # Upgrade Pipeline from 1.15 to 2.0 (in my case 2.0 was not propagated to my nearest UC [mirror|http://mirrors.clinkerhq.com/jenkins/updates/current/update-center.json] so the install wizard installed 1.15. I manually changed it to: http://ftp.icm.edu.pl/packages/jenkins/updates/current/update-center.json which already contains 2.0 packages). Make sure you mark all Pipeline related plugins (the ones that were aggregated by workflow-aggregator before 2.0) in the Upgrade tab (otherwise you will stay in 1.15 and only the aggregator is updated).
            # Create a pipeline with the script generated by the sample "Hello World".
            # Build it.
            # It hangs before starting any step and the CPS VM thread dump is empty.
            Steps to reproduce it:

            # Install Jenkins 2.0-beta-2.
            # Restart
            # Upgrade Pipeline from 1.15 to 2.0 (in my case 2.0 was not propagated to my nearest UC [mirror|http://mirrors.clinkerhq.com/jenkins/updates/current/update-center.json] so the install wizard installed 1.15. I manually changed it to: http://ftp.icm.edu.pl/packages/jenkins/updates/current/update-center.json which already contains 2.0 packages). Make sure you mark all Pipeline related plugins (the ones that were aggregated by workflow-aggregator before 2.0) in the Upgrade tab (otherwise you will stay in 1.15 and only the aggregator is updated).
            # Create a pipeline with the script generated by the sample "Hello World".
            # Build it.
            # It hangs before starting any step and the CPS VM thread dump is empty.
            jglick Jesse Glick made changes -
            Link This issue is blocking JENKINS-21249 [ JENKINS-21249 ]
            jglick Jesse Glick made changes -
            Summary Pipeline builds hang before starting any step Pipeline builds do not run after Groovy 2.x upgrade
            jglick Jesse Glick made changes -
            Labels 2.0 groovy regression
            jglick Jesse Glick made changes -
            Link This issue is blocking JENKINS-26481 [ JENKINS-26481 ]
            jglick Jesse Glick made changes -
            Remote Link This issue links to "PR 24 (Web Link)" [ 14168 ]
            jglick Jesse Glick made changes -
            Remote Link This issue links to "PR 2 (Web Link)" [ 14169 ]
            jglick Jesse Glick made changes -
            Status In Progress [ 3 ] Resolved [ 5 ]
            Resolution Fixed [ 1 ]
            rtyler R. Tyler Croy made changes -
            Workflow JNJira [ 170085 ] JNJira + In-Review [ 198782 ]
            abayer Andrew Bayer made changes -
            Component/s pipeline-general [ 21692 ]
            abayer Andrew Bayer made changes -
            Component/s workflow-plugin [ 18820 ]

              People

              • Assignee:
                jglick Jesse Glick
                Reporter:
                amuniz Antonio Muñiz
              • Votes:
                0 Vote for this issue
                Watchers:
                5 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: