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

Matrix jobs consistently fail when run concurrently

XMLWordPrintable

      Jenkins 1.518

      We use matrix jobs for deployments and have noticed matrix jobs always fail when we disable Run each configuration sequentially. The failure appears on random hosts.

      • Our jobs assemble a zip file which is SCP'd to a target host and inflated.

      Problem seen and important points

      • The wagon-maven-plugin:1.0-beta-4:upload step runs and appears to SCP the zip file to the target host.
      • We can see the zip file in the Jenkins workspace directory for the axis.
      • The zip file is not found on the target host and the deploy fails.
      • The same matrix job succeeds when run sequentially.
      • We see the same behavior with all matrix jobs.

      Additional observations

      • This problem does not appear resource-related because we can run non-matrix jobs concurrently and they succeed.
      • The same bad behavior for matrix jobs occurs on single and multi-node Jenkins servers. Thus it isn't a slave problem.

            Unassigned Unassigned
            sstack S Stack
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated: