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

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Minor Minor
    • None

      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.

          [JENKINS-49562] In a sequential pipeline sometimes the job is executed simultaneously in the master and in an agent

          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?

          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?

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

              Created:
              Updated: