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

Missing build status in the build history of several jobs

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Not A Defect
    • Icon: Major Major
    • core
    • None

      Dear,

      We are currently using Jenkins 1.596.3 and we are facing issues with several Jenkins jobs for which the status of several builds is missing in the job history.

      As an example, we have a job X for which the history displays the following build results:

      • build 28 (job failed)
      • build 27 (job failed)
      • build 26 (job successfull)
      • build 23 (job failed)
      • build 21 (job failed)
      • build 20 (job successfull)

      The results of the builds #22, #24 and #25 are not displayed in the history of the job.

      However, on the server, I see the following subdirectories:

      lrwxrwxrwx 1 www server    2 Oct  9 20:55 lastUnstableBuild -> -1
      lrwxrwxrwx 1 www server   19 Oct 20 19:30 20 -> 2015-10-20_19-30-25
      drwxr-xr-x 2 www server 4096 Oct 20 20:55 2015-10-20_19-30-25
      lrwxrwxrwx 1 www server   19 Oct 21 19:30 21 -> 2015-10-21_19-30-27
      drwxr-xr-x 2 www server 4096 Oct 21 20:59 2015-10-21_19-30-27
      lrwxrwxrwx 1 www server   19 Oct 22 19:30 22 -> 2015-10-22_19-30-22
      drwxr-xr-x 2 www server 4096 Oct 22 19:30 2015-10-22_19-30-22
      lrwxrwxrwx 1 www server   19 Oct 23 12:19 23 -> 2015-10-23_12-19-12
      drwxr-xr-x 2 www server 4096 Oct 23 14:35 2015-10-23_12-19-12
      lrwxrwxrwx 1 www server   19 Oct 23 19:30 24 -> 2015-10-23_19-30-28
      drwxr-xr-x 2 www server 4096 Oct 23 19:30 2015-10-23_19-30-28
      lrwxrwxrwx 1 www server   19 Oct 24 19:30 25 -> 2015-10-24_19-30-26
      drwxr-xr-x 2 www server 4096 Oct 24 19:30 2015-10-24_19-30-26
      lrwxrwxrwx 1 www server   19 Oct 26 07:06 26 -> 2015-10-26_07-06-15
      lrwxrwxrwx 1 www server    2 Oct 26 08:17 lastStableBuild -> 26
      lrwxrwxrwx 1 www server    2 Oct 26 08:17 lastSuccessfulBuild -> 26
      drwxr-xr-x 2 www server 4096 Oct 26 08:17 2015-10-26_07-06-15
      lrwxrwxrwx 1 www server   19 Oct 26 19:30 27 -> 2015-10-26_19-30-24
      drwxr-xr-x 2 www server 4096 Oct 27 00:15 2015-10-26_19-30-24
      lrwxrwxrwx 1 www server   19 Oct 27 00:30 28 -> 2015-10-27_00-30-28
      lrwxrwxrwx 1 www server    2 Oct 27 03:00 lastFailedBuild -> 28
      lrwxrwxrwx 1 www server    2 Oct 27 03:00 lastUnsuccessfulBuild -> 28
      drwxr-xr-x 2 www server 4096 Oct 27 03:00 2015-10-27_00-30-28
      lrwxrwxrwx 1 www server   19 Oct 27 19:30 29 -> 2015-10-27_19-30-27
      drwxr-xr-x 2 www server 4096 Oct 27 19:30 2015-10-27_19-30-27
      

      As you can see it, the builds #22, #24 and #25 are available on the disk.

      However, in the subdirectories related to these builds, compared to the other builds which are well displayed, it seems that we are missing some files (build.xml and injectedEnvVars.txt):

      ls -l 22/*
      -rw-r--r-- 1 www server    6 Oct 22 19:30 22/changelog.xml
      -rw-r--r-- 1 www server 1027 Oct 22 19:30 22/log
      ls -l 24/*
      -rw-r--r-- 1 www server    6 Oct 23 19:30 24/changelog.xml
      -rw-r--r-- 1 www server 1672 Oct 23 19:30 24/log
      ls -l 25/*
      -rw-r--r-- 1 www server    6 Oct 24 19:30 25/changelog.xml
      -rw-r--r-- 1 www server 1672 Oct 24 19:30 25/log
      

      The logs of our Jenkins instance do not provide any information which can help us to understand the root cause of the issue.

      There was no unavailability on the Jenkins instance at that time.

      You will find attached to this ticket the files related to these builds which are not displayed in the history.

      Could you please help us to identify the root cause of the issue ?

      Thanks

            Unassigned Unassigned
            lvercruysse Ludovic Vercruysse
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: