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

Multi-Branch Pipeline tool installs fails frequently on branches

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • Blocker
    • Resolution: Duplicate
    • core
    • None
    • Jenkins 2.332.1
      Oracle Linux 7.9
      Lots of plugins installed, almost all are the most recent versions available

    Description

      I have a multi-branch pipeline job that seems to work fine on the main branch.  On other branches/PRs, I am seeing very frequent failures (> 90%) that appear to be related to Jenkins tool installations.

      In my Jenkinsfile, I have the following:

      tools {
          maven 'maven-3.8.4'
          jdk 'OpenJDK 15.0.2'
      }

      Both of these are set up to automatically download and install in the Jenkins Global Tool configuration.

      In builds that are working, Blue Ocean shows what I would expect (a single installation of each), see attached.  In builds that are failing, Blue Ocean shows that Jenkins is trying to install the tools twice, with the second OpenJDK installation always failing at the same point, see attached.  Note that both the successful and failing builds were done on the same branch with zero changes to the code or Jenkins configuration between the runs.

      At this point, I have no idea what could be causing this behavior so I am forced to assume that this is a Jenkins bug.

       

      Attachments

        1. Failing.png
          Failing.png
          161 kB
        2. Manual.log
          18 kB
        3. Triggered.log
          15 kB
        4. Working.png
          Working.png
          128 kB

        Issue Links

          Activity

            rhpatrick Robert Patrick created issue -
            rhpatrick Robert Patrick made changes -
            Field Original Value New Value
            Attachment Triggered.log [ 57542 ]
            rhpatrick Robert Patrick made changes -
            Attachment Manual.log [ 57543 ]
            rhpatrick Robert Patrick made changes -
            Link This issue duplicates JENKINS-40574 [ JENKINS-40574 ]
            rhpatrick Robert Patrick made changes -
            Link This issue duplicates JENKINS-41929 [ JENKINS-41929 ]
            rhpatrick Robert Patrick made changes -
            Resolution Duplicate [ 3 ]
            Status Open [ 1 ] Closed [ 6 ]

            People

              Unassigned Unassigned
              rhpatrick Robert Patrick
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: