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

Build records cannot be loaded after 2.5 → 2.6 upgrade

    Details

    • Similar Issues:

      Description

      After upgrading to plugin version 2.6, get

      java.io.InvalidClassException: org.jenkinsci.plugins.workflow.steps.durable_task.DurableTaskStep$Execution; Class does not extend stream superclass
      

      when trying to resume a build that had been inside a sh/bat step running under plugin version 2.5-.

        Attachments

          Issue Links

            Activity

            Hide
            scm_issue_link SCM/JIRA link daemon added a comment -

            Code changed in jenkins
            User: Jesse Glick
            Path:
            pom.xml
            src/main/java/org/jenkinsci/plugins/workflow/steps/CatchErrorStep.java
            src/main/java/org/jenkinsci/plugins/workflow/steps/CoreWrapperStep.java
            src/main/java/org/jenkinsci/plugins/workflow/steps/EnvStep.java
            src/main/java/org/jenkinsci/plugins/workflow/steps/PushdStep.java
            src/main/java/org/jenkinsci/plugins/workflow/steps/RetryStepExecution.java
            src/main/java/org/jenkinsci/plugins/workflow/steps/SleepStep.java
            src/main/java/org/jenkinsci/plugins/workflow/steps/TimeoutStepExecution.java
            src/main/java/org/jenkinsci/plugins/workflow/steps/WaitForConditionStep.java
            src/main/java/org/jenkinsci/plugins/workflow/steps/WithContextStep.java
            src/test/java/org/jenkinsci/plugins/workflow/steps/CoreWrapperStepTest.java
            src/test/java/org/jenkinsci/plugins/workflow/steps/EnvStepRunTest.java
            src/test/java/org/jenkinsci/plugins/workflow/steps/TimeoutStepTest.java
            src/test/java/org/jenkinsci/plugins/workflow/steps/WaitForConditionStepTest.java
            src/test/resources/org/jenkinsci/plugins/workflow/steps/TimeoutStepTest/serialForm/jobs/timeout/builds/1/3.log
            src/test/resources/org/jenkinsci/plugins/workflow/steps/TimeoutStepTest/serialForm/jobs/timeout/builds/1/5.log
            src/test/resources/org/jenkinsci/plugins/workflow/steps/TimeoutStepTest/serialForm/jobs/timeout/builds/1/build.xml
            src/test/resources/org/jenkinsci/plugins/workflow/steps/TimeoutStepTest/serialForm/jobs/timeout/builds/1/log
            src/test/resources/org/jenkinsci/plugins/workflow/steps/TimeoutStepTest/serialForm/jobs/timeout/builds/1/program.dat
            src/test/resources/org/jenkinsci/plugins/workflow/steps/TimeoutStepTest/serialForm/jobs/timeout/builds/1/workflow/2.xml
            src/test/resources/org/jenkinsci/plugins/workflow/steps/TimeoutStepTest/serialForm/jobs/timeout/builds/1/workflow/3.xml
            src/test/resources/org/jenkinsci/plugins/workflow/steps/TimeoutStepTest/serialForm/jobs/timeout/builds/1/workflow/4.xml
            src/test/resources/org/jenkinsci/plugins/workflow/steps/TimeoutStepTest/serialForm/jobs/timeout/builds/1/workflow/5.xml
            src/test/resources/org/jenkinsci/plugins/workflow/steps/TimeoutStepTest/serialForm/jobs/timeout/config.xml
            src/test/resources/org/jenkinsci/plugins/workflow/steps/TimeoutStepTest/serialForm/jobs/timeout/nextBuildNumber
            src/test/resources/org/jenkinsci/plugins/workflow/steps/TimeoutStepTest/serialForm/org.jenkinsci.plugins.workflow.flow.FlowExecutionList.xml
            http://jenkins-ci.org/commit/workflow-basic-steps-plugin/10b3770d85e8935e41fc775feebd8a2c9e189d7b
            Log:
            Merge pull request #30 from jglick/AbstractStepExecutionImpl-JENKINS-40909

            JENKINS-40909 Ensure serial form compatibility of executions

            Compare: https://github.com/jenkinsci/workflow-basic-steps-plugin/compare/32c7e74953c9...10b3770d85e8

            Show
            scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Jesse Glick Path: pom.xml src/main/java/org/jenkinsci/plugins/workflow/steps/CatchErrorStep.java src/main/java/org/jenkinsci/plugins/workflow/steps/CoreWrapperStep.java src/main/java/org/jenkinsci/plugins/workflow/steps/EnvStep.java src/main/java/org/jenkinsci/plugins/workflow/steps/PushdStep.java src/main/java/org/jenkinsci/plugins/workflow/steps/RetryStepExecution.java src/main/java/org/jenkinsci/plugins/workflow/steps/SleepStep.java src/main/java/org/jenkinsci/plugins/workflow/steps/TimeoutStepExecution.java src/main/java/org/jenkinsci/plugins/workflow/steps/WaitForConditionStep.java src/main/java/org/jenkinsci/plugins/workflow/steps/WithContextStep.java src/test/java/org/jenkinsci/plugins/workflow/steps/CoreWrapperStepTest.java src/test/java/org/jenkinsci/plugins/workflow/steps/EnvStepRunTest.java src/test/java/org/jenkinsci/plugins/workflow/steps/TimeoutStepTest.java src/test/java/org/jenkinsci/plugins/workflow/steps/WaitForConditionStepTest.java src/test/resources/org/jenkinsci/plugins/workflow/steps/TimeoutStepTest/serialForm/jobs/timeout/builds/1/3.log src/test/resources/org/jenkinsci/plugins/workflow/steps/TimeoutStepTest/serialForm/jobs/timeout/builds/1/5.log src/test/resources/org/jenkinsci/plugins/workflow/steps/TimeoutStepTest/serialForm/jobs/timeout/builds/1/build.xml src/test/resources/org/jenkinsci/plugins/workflow/steps/TimeoutStepTest/serialForm/jobs/timeout/builds/1/log src/test/resources/org/jenkinsci/plugins/workflow/steps/TimeoutStepTest/serialForm/jobs/timeout/builds/1/program.dat src/test/resources/org/jenkinsci/plugins/workflow/steps/TimeoutStepTest/serialForm/jobs/timeout/builds/1/workflow/2.xml src/test/resources/org/jenkinsci/plugins/workflow/steps/TimeoutStepTest/serialForm/jobs/timeout/builds/1/workflow/3.xml src/test/resources/org/jenkinsci/plugins/workflow/steps/TimeoutStepTest/serialForm/jobs/timeout/builds/1/workflow/4.xml src/test/resources/org/jenkinsci/plugins/workflow/steps/TimeoutStepTest/serialForm/jobs/timeout/builds/1/workflow/5.xml src/test/resources/org/jenkinsci/plugins/workflow/steps/TimeoutStepTest/serialForm/jobs/timeout/config.xml src/test/resources/org/jenkinsci/plugins/workflow/steps/TimeoutStepTest/serialForm/jobs/timeout/nextBuildNumber src/test/resources/org/jenkinsci/plugins/workflow/steps/TimeoutStepTest/serialForm/org.jenkinsci.plugins.workflow.flow.FlowExecutionList.xml http://jenkins-ci.org/commit/workflow-basic-steps-plugin/10b3770d85e8935e41fc775feebd8a2c9e189d7b Log: Merge pull request #30 from jglick/AbstractStepExecutionImpl- JENKINS-40909 JENKINS-40909 Ensure serial form compatibility of executions Compare: https://github.com/jenkinsci/workflow-basic-steps-plugin/compare/32c7e74953c9...10b3770d85e8
            Hide
            scm_issue_link SCM/JIRA link daemon added a comment -

            Code changed in jenkins
            User: Jesse Glick
            Path:
            pom.xml
            src/main/java/org/jenkinsci/plugins/workflow/steps/CatchErrorStep.java
            src/main/java/org/jenkinsci/plugins/workflow/steps/CoreWrapperStep.java
            src/main/java/org/jenkinsci/plugins/workflow/steps/EnvStep.java
            src/main/java/org/jenkinsci/plugins/workflow/steps/PushdStep.java
            src/main/java/org/jenkinsci/plugins/workflow/steps/RetryStepExecution.java
            src/main/java/org/jenkinsci/plugins/workflow/steps/SleepStep.java
            src/main/java/org/jenkinsci/plugins/workflow/steps/TimeoutStepExecution.java
            src/main/java/org/jenkinsci/plugins/workflow/steps/WaitForConditionStep.java
            src/main/java/org/jenkinsci/plugins/workflow/steps/WithContextStep.java
            src/test/java/org/jenkinsci/plugins/workflow/steps/CoreWrapperStepTest.java
            src/test/java/org/jenkinsci/plugins/workflow/steps/EnvStepRunTest.java
            src/test/java/org/jenkinsci/plugins/workflow/steps/TimeoutStepTest.java
            src/test/java/org/jenkinsci/plugins/workflow/steps/WaitForConditionStepTest.java
            src/test/resources/org/jenkinsci/plugins/workflow/steps/TimeoutStepTest/serialForm/jobs/timeout/builds/1/3.log
            src/test/resources/org/jenkinsci/plugins/workflow/steps/TimeoutStepTest/serialForm/jobs/timeout/builds/1/5.log
            src/test/resources/org/jenkinsci/plugins/workflow/steps/TimeoutStepTest/serialForm/jobs/timeout/builds/1/build.xml
            src/test/resources/org/jenkinsci/plugins/workflow/steps/TimeoutStepTest/serialForm/jobs/timeout/builds/1/log
            src/test/resources/org/jenkinsci/plugins/workflow/steps/TimeoutStepTest/serialForm/jobs/timeout/builds/1/program.dat
            src/test/resources/org/jenkinsci/plugins/workflow/steps/TimeoutStepTest/serialForm/jobs/timeout/builds/1/workflow/2.xml
            src/test/resources/org/jenkinsci/plugins/workflow/steps/TimeoutStepTest/serialForm/jobs/timeout/builds/1/workflow/3.xml
            src/test/resources/org/jenkinsci/plugins/workflow/steps/TimeoutStepTest/serialForm/jobs/timeout/builds/1/workflow/4.xml
            src/test/resources/org/jenkinsci/plugins/workflow/steps/TimeoutStepTest/serialForm/jobs/timeout/builds/1/workflow/5.xml
            src/test/resources/org/jenkinsci/plugins/workflow/steps/TimeoutStepTest/serialForm/jobs/timeout/config.xml
            src/test/resources/org/jenkinsci/plugins/workflow/steps/TimeoutStepTest/serialForm/jobs/timeout/nextBuildNumber
            src/test/resources/org/jenkinsci/plugins/workflow/steps/TimeoutStepTest/serialForm/org.jenkinsci.plugins.workflow.flow.FlowExecutionList.xml
            http://jenkins-ci.org/commit/workflow-basic-steps-plugin/9ddd3cca90bec3f3f08ef8179d1a5e17544cc75a
            Log:
            JENKINS-40909 Ensure serial form compatibility of executions.

            Show
            scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Jesse Glick Path: pom.xml src/main/java/org/jenkinsci/plugins/workflow/steps/CatchErrorStep.java src/main/java/org/jenkinsci/plugins/workflow/steps/CoreWrapperStep.java src/main/java/org/jenkinsci/plugins/workflow/steps/EnvStep.java src/main/java/org/jenkinsci/plugins/workflow/steps/PushdStep.java src/main/java/org/jenkinsci/plugins/workflow/steps/RetryStepExecution.java src/main/java/org/jenkinsci/plugins/workflow/steps/SleepStep.java src/main/java/org/jenkinsci/plugins/workflow/steps/TimeoutStepExecution.java src/main/java/org/jenkinsci/plugins/workflow/steps/WaitForConditionStep.java src/main/java/org/jenkinsci/plugins/workflow/steps/WithContextStep.java src/test/java/org/jenkinsci/plugins/workflow/steps/CoreWrapperStepTest.java src/test/java/org/jenkinsci/plugins/workflow/steps/EnvStepRunTest.java src/test/java/org/jenkinsci/plugins/workflow/steps/TimeoutStepTest.java src/test/java/org/jenkinsci/plugins/workflow/steps/WaitForConditionStepTest.java src/test/resources/org/jenkinsci/plugins/workflow/steps/TimeoutStepTest/serialForm/jobs/timeout/builds/1/3.log src/test/resources/org/jenkinsci/plugins/workflow/steps/TimeoutStepTest/serialForm/jobs/timeout/builds/1/5.log src/test/resources/org/jenkinsci/plugins/workflow/steps/TimeoutStepTest/serialForm/jobs/timeout/builds/1/build.xml src/test/resources/org/jenkinsci/plugins/workflow/steps/TimeoutStepTest/serialForm/jobs/timeout/builds/1/log src/test/resources/org/jenkinsci/plugins/workflow/steps/TimeoutStepTest/serialForm/jobs/timeout/builds/1/program.dat src/test/resources/org/jenkinsci/plugins/workflow/steps/TimeoutStepTest/serialForm/jobs/timeout/builds/1/workflow/2.xml src/test/resources/org/jenkinsci/plugins/workflow/steps/TimeoutStepTest/serialForm/jobs/timeout/builds/1/workflow/3.xml src/test/resources/org/jenkinsci/plugins/workflow/steps/TimeoutStepTest/serialForm/jobs/timeout/builds/1/workflow/4.xml src/test/resources/org/jenkinsci/plugins/workflow/steps/TimeoutStepTest/serialForm/jobs/timeout/builds/1/workflow/5.xml src/test/resources/org/jenkinsci/plugins/workflow/steps/TimeoutStepTest/serialForm/jobs/timeout/config.xml src/test/resources/org/jenkinsci/plugins/workflow/steps/TimeoutStepTest/serialForm/jobs/timeout/nextBuildNumber src/test/resources/org/jenkinsci/plugins/workflow/steps/TimeoutStepTest/serialForm/org.jenkinsci.plugins.workflow.flow.FlowExecutionList.xml http://jenkins-ci.org/commit/workflow-basic-steps-plugin/9ddd3cca90bec3f3f08ef8179d1a5e17544cc75a Log: JENKINS-40909 Ensure serial form compatibility of executions.
            Hide
            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/support/pickles/serialization/RiverReader.java
            http://jenkins-ci.org/commit/workflow-support-plugin/23629ee0e162925a63520fbc8d5b2e964fca6051
            Log:
            Merge pull request #28 from jglick/AbstractStepExecutionImpl-JENKINS-39134

            JENKINS-40909 Mechanism to allow tests to intercept program.dat deserialization

            Compare: https://github.com/jenkinsci/workflow-support-plugin/compare/6b2934306dc4...23629ee0e162

            Show
            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/support/pickles/serialization/RiverReader.java http://jenkins-ci.org/commit/workflow-support-plugin/23629ee0e162925a63520fbc8d5b2e964fca6051 Log: Merge pull request #28 from jglick/AbstractStepExecutionImpl- JENKINS-39134 JENKINS-40909 Mechanism to allow tests to intercept program.dat deserialization Compare: https://github.com/jenkinsci/workflow-support-plugin/compare/6b2934306dc4...23629ee0e162
            Hide
            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/cps/nodes/StepAtomNode.java
            src/main/java/org/jenkinsci/plugins/workflow/cps/nodes/StepStartNode.java
            http://jenkins-ci.org/commit/workflow-cps-plugin/b62cb6a4e01cf3ee32c8ff7e03dee9bd625ca08e
            Log:
            Merge pull request #95 from jglick/AbstractStepExecutionImpl-JENKINS-39134

            JENKINS-40909 NPE encountered during tests

            Compare: https://github.com/jenkinsci/workflow-cps-plugin/compare/bea88cacbf80...b62cb6a4e01c

            Show
            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/cps/nodes/StepAtomNode.java src/main/java/org/jenkinsci/plugins/workflow/cps/nodes/StepStartNode.java http://jenkins-ci.org/commit/workflow-cps-plugin/b62cb6a4e01cf3ee32c8ff7e03dee9bd625ca08e Log: Merge pull request #95 from jglick/AbstractStepExecutionImpl- JENKINS-39134 JENKINS-40909 NPE encountered during tests Compare: https://github.com/jenkinsci/workflow-cps-plugin/compare/bea88cacbf80...b62cb6a4e01c
            Hide
            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/cps/nodes/StepAtomNode.java
            src/main/java/org/jenkinsci/plugins/workflow/cps/nodes/StepStartNode.java
            http://jenkins-ci.org/commit/workflow-cps-plugin/26a6f484d4b45ff81f482b506b440687b6c1d391
            Log:
            JENKINS-40909 NPE encountered during tests.

            Show
            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/cps/nodes/StepAtomNode.java src/main/java/org/jenkinsci/plugins/workflow/cps/nodes/StepStartNode.java http://jenkins-ci.org/commit/workflow-cps-plugin/26a6f484d4b45ff81f482b506b440687b6c1d391 Log: JENKINS-40909 NPE encountered during tests.
            Hide
            jglick Jesse Glick added a comment -

            More generally, would affect any resumable step made Guiceless by JENKINS-39134. In particular, steps like sleep in workflow-basic-steps would be affected—though those changes are still unreleased.

            Show
            jglick Jesse Glick added a comment - More generally, would affect any resumable step made Guiceless by JENKINS-39134 . In particular, steps like sleep in workflow-basic-steps would be affected—though those changes are still unreleased.
            Hide
            jglick Jesse Glick added a comment -

            Caused by fix of JENKINS-37486.

            Show
            jglick Jesse Glick added a comment - Caused by fix of JENKINS-37486 .

              People

              • Assignee:
                jglick Jesse Glick
                Reporter:
                jglick Jesse Glick
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: