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

In a sequential pipeline sometimes the job is executed simultaneously in the master and in an agent

    Details

    • Type: Bug
    • Status: Open (View Workflow)
    • Priority: Minor
    • Resolution: Unresolved
    • Labels:
      None
    • Environment:
    • Similar Issues:

      Description

      I have created a test script "JenkinsfileTest" that use "agent none" as global configuration and a specific agent.

      The pipeline only has some checkouts, sleep, and a "sh echo 'hello'". No parallel execution or something similar.

      When you execute that script sometimes in the Build executor status appears that the job is executed in the master and in the agent at the same time. Unable to render embedded object: File (Screen Shot 2018-02-14 at 19.50.38.png?default=false) not found.

        Attachments

          Activity

          jraezrus Javier Raez created issue -
          abayer Andrew Bayer made changes -
          Field Original Value New Value
          Component/s workflow-durable-task-step-plugin [ 21715 ]
          Component/s workflow-cps-plugin [ 21713 ]
          Hide
          abayer Andrew Bayer added a comment -

          My first guess here is a race condition - the flyweight executor on the master hasn't vanished from the visualization yet by the time you've entered the next stage with an actual agent. The other possibility is that checkpoint is still executing asynchronously?

          Show
          abayer Andrew Bayer added a comment - My first guess here is a race condition - the flyweight executor on the master hasn't vanished from the visualization yet by the time you've entered the next stage with an actual agent . The other possibility is that checkpoint is still executing asynchronously?

            People

            • Assignee:
              Unassigned
              Reporter:
              jraezrus Javier Raez
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated: