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

Print progress of pending pickles

    XMLWordPrintable

Details

    Description

      After restarting Jenkins with a running flow that has some "pickled" object references (such as slave/workspace pairs from the node step), the flow does not resume until all pickles are resolved. This delay could be long, and the user may have no idea what is happening, because nothing is shown in the console.

      Attachments

        Issue Links

          Activity

            jglick Jesse Glick added a comment -

            Implementation complete, except for the last suggestion to automatically abort an ExecutorPickle which is determined to be unloadable due to a deleted ephemeral node. This could be done later if desired. In the meantime, it is now much easier to identify and cancel builds affected by such issues.

            jglick Jesse Glick added a comment - Implementation complete, except for the last suggestion to automatically abort an ExecutorPickle which is determined to be unloadable due to a deleted ephemeral node. This could be done later if desired. In the meantime, it is now much easier to identify and cancel builds affected by such issues.
            jglick Jesse Glick added a comment -

            Released as five plugin updates.

            jglick Jesse Glick added a comment - Released as five plugin updates.

            Code changed in jenkins
            User: Jesse Glick
            Path:
            src/main/java/org/jenkinsci/plugins/workflow/flow/FlowExecutionOwner.java
            src/main/java/org/jenkinsci/plugins/workflow/pickles/Pickle.java
            http://jenkins-ci.org/commit/workflow-cps-plugin/cbd00d462ebfb8d320e87228f88baf6d6f0f90f3
            Log:
            JENKINS-26130 Way to print progress from pickles.

            scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Jesse Glick Path: src/main/java/org/jenkinsci/plugins/workflow/flow/FlowExecutionOwner.java src/main/java/org/jenkinsci/plugins/workflow/pickles/Pickle.java http://jenkins-ci.org/commit/workflow-cps-plugin/cbd00d462ebfb8d320e87228f88baf6d6f0f90f3 Log: JENKINS-26130 Way to print progress from pickles.

            Code changed in jenkins
            User: Jesse Glick
            Path:
            src/main/java/org/jenkinsci/plugins/workflow/flow/FlowExecutionList.java
            src/main/java/org/jenkinsci/plugins/workflow/flow/FlowExecutionOwner.java
            src/main/java/org/jenkinsci/plugins/workflow/pickles/Pickle.java
            http://jenkins-ci.org/commit/workflow-cps-plugin/d85f3c2d60f7d4a7f0f4e2687f6e31069b6d0f28
            Log:
            Merge pull request #5 from jglick/PPPP-JENKINS-26130

            JENKINS-26130 Way to print progress from pickles

            scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Jesse Glick Path: src/main/java/org/jenkinsci/plugins/workflow/flow/FlowExecutionList.java src/main/java/org/jenkinsci/plugins/workflow/flow/FlowExecutionOwner.java src/main/java/org/jenkinsci/plugins/workflow/pickles/Pickle.java http://jenkins-ci.org/commit/workflow-cps-plugin/d85f3c2d60f7d4a7f0f4e2687f6e31069b6d0f28 Log: Merge pull request #5 from jglick/PPPP- JENKINS-26130 JENKINS-26130 Way to print progress from pickles

            Code changed in jenkins
            User: Jesse Glick
            Path:
            src/main/java/org/jenkinsci/plugins/workflow/pickles/Pickle.java
            http://jenkins-ci.org/commit/workflow-cps-plugin/3705e3f13c84ae5a29a1cba0884e5e67f54e7caa
            Log:
            JENKINS-26130 JENKINS-31842 Request that pickle futures be printable.

            scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Jesse Glick Path: src/main/java/org/jenkinsci/plugins/workflow/pickles/Pickle.java http://jenkins-ci.org/commit/workflow-cps-plugin/3705e3f13c84ae5a29a1cba0884e5e67f54e7caa Log: JENKINS-26130 JENKINS-31842 Request that pickle futures be printable.

            People

              jglick Jesse Glick
              jglick Jesse Glick
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: