• Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Major Major
    • pipeline
    • None
    • Workflow master branch (1.10-SNAPSHOT)
      Launched with hpi:run

      This workflow script is generating wrong timing actions (timing action values taken from build/N/workflow/*.xml):

      Step TimingAction value echo logged time
      start=new Date()
      echo "STARTED $start" (1439200972584 -> 10:02:52 GMT) 10:02:31 GMT
      stage 'Checkout'
      start=new Date()
      echo "BEFORE GIT $start" (1439200972621 -> 10:02:52 GMT) 10:02:31 GMT
      git url: 'https://github.com/jenkinsci/workflow-plugin.git' (1439200972634 -> 10:02:52 GMT)
      end=new Date()
      echo "AFTER GIT $end" (1439200972648 -> 10:02:52 GMT) 10:02:52 GMT

      Logged dates and timing action values match when replacing the git step by a sleep step.

          [JENKINS-29875] Wrong timing actions

          The issue is shown when using the "mail" step also. So I think it could be related to all step executions implementing AbstractSynchronousStepExecution.

          Antonio Muñiz added a comment - The issue is shown when using the "mail" step also. So I think it could be related to all step executions implementing AbstractSynchronousStepExecution .

          Jesse Glick added a comment -

          Probably related to, or a duplicate of, JENKINS-25879.

          Jesse Glick added a comment - Probably related to, or a duplicate of, JENKINS-25879 .

          Code changed in jenkins
          User: Antonio Muñiz
          Path:
          aggregator/src/test/java/org/jenkinsci/plugins/workflow/steps/SynchronousNonBlockingStep.java
          aggregator/src/test/java/org/jenkinsci/plugins/workflow/steps/SynchronousNonBlockingStepTest.java
          scm-step/src/main/java/org/jenkinsci/plugins/workflow/steps/scm/SCMStep.java
          step-api/src/main/java/org/jenkinsci/plugins/workflow/steps/AbstractSynchronousNonBlockingStepExecution.java
          step-api/src/main/java/org/jenkinsci/plugins/workflow/steps/AbstractSynchronousStepExecution.java
          http://jenkins-ci.org/commit/workflow-plugin/f37973876fb118578e1e6cf32c7b4348394121b2
          Log:
          JENKINS-29875 New API for long lived synchronous steps

          SCM/JIRA link daemon added a comment - Code changed in jenkins User: Antonio Muñiz Path: aggregator/src/test/java/org/jenkinsci/plugins/workflow/steps/SynchronousNonBlockingStep.java aggregator/src/test/java/org/jenkinsci/plugins/workflow/steps/SynchronousNonBlockingStepTest.java scm-step/src/main/java/org/jenkinsci/plugins/workflow/steps/scm/SCMStep.java step-api/src/main/java/org/jenkinsci/plugins/workflow/steps/AbstractSynchronousNonBlockingStepExecution.java step-api/src/main/java/org/jenkinsci/plugins/workflow/steps/AbstractSynchronousStepExecution.java http://jenkins-ci.org/commit/workflow-plugin/f37973876fb118578e1e6cf32c7b4348394121b2 Log: JENKINS-29875 New API for long lived synchronous steps

          Code changed in jenkins
          User: Antonio Muñiz
          Path:
          COMPATIBILITY.md
          http://jenkins-ci.org/commit/workflow-plugin/e794ec0ac766c4b3e6d53efee72776d53caab0a9
          Log:
          Merge branch 'master' into JENKINS-29875

          SCM/JIRA link daemon added a comment - Code changed in jenkins User: Antonio Muñiz Path: COMPATIBILITY.md http://jenkins-ci.org/commit/workflow-plugin/e794ec0ac766c4b3e6d53efee72776d53caab0a9 Log: Merge branch 'master' into JENKINS-29875

          Code changed in jenkins
          User: Antonio Muñiz
          Path:
          CHANGES.md
          COMPATIBILITY.md
          README.md
          step-api/README.md
          support/src/main/java/org/jenkinsci/plugins/workflow/support/steps/input/InputStepExecution.java
          support/src/main/java/org/jenkinsci/plugins/workflow/support/steps/input/POSTHyperlinkNote.java
          http://jenkins-ci.org/commit/workflow-plugin/b9c368babb26221d2700c31fb907e19616b69754
          Log:
          Merge branch 'master' into JENKINS-29875

          SCM/JIRA link daemon added a comment - Code changed in jenkins User: Antonio Muñiz Path: CHANGES.md COMPATIBILITY.md README.md step-api/README.md support/src/main/java/org/jenkinsci/plugins/workflow/support/steps/input/InputStepExecution.java support/src/main/java/org/jenkinsci/plugins/workflow/support/steps/input/POSTHyperlinkNote.java http://jenkins-ci.org/commit/workflow-plugin/b9c368babb26221d2700c31fb907e19616b69754 Log: Merge branch 'master' into JENKINS-29875

          Code changed in jenkins
          User: Jesse Glick
          Path:
          CHANGES.md
          aggregator/src/test/java/org/jenkinsci/plugins/workflow/steps/SynchronousNonBlockingStepTest.java
          basic-steps/src/main/java/org/jenkinsci/plugins/workflow/steps/ArtifactArchiverStepExecution.java
          basic-steps/src/main/java/org/jenkinsci/plugins/workflow/steps/ArtifactUnarchiverStepExecution.java
          basic-steps/src/main/java/org/jenkinsci/plugins/workflow/steps/CoreStep.java
          basic-steps/src/main/java/org/jenkinsci/plugins/workflow/steps/FileExistsStep.java
          basic-steps/src/main/java/org/jenkinsci/plugins/workflow/steps/MailStep.java
          basic-steps/src/main/java/org/jenkinsci/plugins/workflow/steps/ReadFileStep.java
          basic-steps/src/main/java/org/jenkinsci/plugins/workflow/steps/ToolStep.java
          basic-steps/src/main/java/org/jenkinsci/plugins/workflow/steps/WriteFileStep.java
          scm-step/src/main/java/org/jenkinsci/plugins/workflow/steps/scm/SCMStep.java
          step-api/src/main/java/org/jenkinsci/plugins/workflow/steps/AbstractSynchronousNonBlockingStepExecution.java
          step-api/src/main/java/org/jenkinsci/plugins/workflow/steps/AbstractSynchronousStepExecution.java
          http://jenkins-ci.org/commit/workflow-plugin/3570b889ca9f0a8492df02d8031fe6fb42131963
          Log:
          Merge pull request #176 from amuniz/JENKINS-29875

          JENKINS-29875 New API for long lived synchronous steps

          Compare: https://github.com/jenkinsci/workflow-plugin/compare/bfcd19e42d84...3570b889ca9f

          SCM/JIRA link daemon added a comment - Code changed in jenkins User: Jesse Glick Path: CHANGES.md aggregator/src/test/java/org/jenkinsci/plugins/workflow/steps/SynchronousNonBlockingStepTest.java basic-steps/src/main/java/org/jenkinsci/plugins/workflow/steps/ArtifactArchiverStepExecution.java basic-steps/src/main/java/org/jenkinsci/plugins/workflow/steps/ArtifactUnarchiverStepExecution.java basic-steps/src/main/java/org/jenkinsci/plugins/workflow/steps/CoreStep.java basic-steps/src/main/java/org/jenkinsci/plugins/workflow/steps/FileExistsStep.java basic-steps/src/main/java/org/jenkinsci/plugins/workflow/steps/MailStep.java basic-steps/src/main/java/org/jenkinsci/plugins/workflow/steps/ReadFileStep.java basic-steps/src/main/java/org/jenkinsci/plugins/workflow/steps/ToolStep.java basic-steps/src/main/java/org/jenkinsci/plugins/workflow/steps/WriteFileStep.java scm-step/src/main/java/org/jenkinsci/plugins/workflow/steps/scm/SCMStep.java step-api/src/main/java/org/jenkinsci/plugins/workflow/steps/AbstractSynchronousNonBlockingStepExecution.java step-api/src/main/java/org/jenkinsci/plugins/workflow/steps/AbstractSynchronousStepExecution.java http://jenkins-ci.org/commit/workflow-plugin/3570b889ca9f0a8492df02d8031fe6fb42131963 Log: Merge pull request #176 from amuniz/ JENKINS-29875 JENKINS-29875 New API for long lived synchronous steps Compare: https://github.com/jenkinsci/workflow-plugin/compare/bfcd19e42d84...3570b889ca9f

          Code changed in jenkins
          User: Antonio Muñiz
          Path:
          scm-step/src/main/java/org/jenkinsci/plugins/workflow/steps/scm/SCMStep.java
          http://jenkins-ci.org/commit/workflow-scm-step-plugin/9ab99d8649984edca74563bfeffb4a6242ac5931
          Log:
          JENKINS-29875 New API for long lived synchronous steps

          Originally-Committed-As: f37973876fb118578e1e6cf32c7b4348394121b2

          SCM/JIRA link daemon added a comment - Code changed in jenkins User: Antonio Muñiz Path: scm-step/src/main/java/org/jenkinsci/plugins/workflow/steps/scm/SCMStep.java http://jenkins-ci.org/commit/workflow-scm-step-plugin/9ab99d8649984edca74563bfeffb4a6242ac5931 Log: JENKINS-29875 New API for long lived synchronous steps Originally-Committed-As: f37973876fb118578e1e6cf32c7b4348394121b2

            amuniz Antonio Muñiz
            amuniz Antonio Muñiz
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: