• Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Major Major
    • core
    • None

      We are currently hitting an issue where some of our builds just vanish some time after they were successfully completed. Only 4 out of 11 jobs are affected by this bug but I couldn't figure out what is special about them. LogRotate is enabled but also fails to clean up excess builds for these projects. From a file system perspective this looks like:

      root@build:/srv/jenkins/jobs/Apache HTTPClient SPNEGO Support/builds# ls -la
      [...]
      drwxr-xr-x 2 tomcat6 tomcat6 4096 Jun 2 01:14 2013-06-02_01-14-29
      drwxr-xr-x 2 tomcat6 tomcat6 4096 Jun 2 11:48 2013-06-02_11-48-19
      [...]
      lrwxrwxrwx 1 tomcat6 tomcat6 19 Jun 2 01:14 59 -> 2013-06-02_01-14-29
      lrwxrwxrwx 1 tomcat6 tomcat6 19 Jun 2 11:48 60 -> 2013-06-02_11-48-19
      lrwxrwxrwx 1 tomcat6 tomcat6 2 Mai 24 15:27 lastFailedBuild -> -1
      lrwxrwxrwx 1 tomcat6 tomcat6 2 Jun 2 11:48 lastStableBuild -> 60
      lrwxrwxrwx 1 tomcat6 tomcat6 2 Jun 2 11:48 lastSuccessfulBuild -> 60
      lrwxrwxrwx 1 tomcat6 tomcat6 2 Mai 23 16:35 lastUnstableBuild -> -1
      lrwxrwxrwx 1 tomcat6 tomcat6 2 Mai 24 15:27 lastUnsuccessfulBuild -> -1

      changing to

      root@build:/srv/jenkins/jobs/Apache HTTPClient SPNEGO Support/builds# ls -la
      [...]
      drwxr-xr-x 2 tomcat6 tomcat6 4096 Jun 2 01:14 2013-06-02_01-14-29
      drwxr-xr-x 2 tomcat6 tomcat6 4096 Jun 2 11:48 2013-06-02_11-48-19
      [...]
      lrwxrwxrwx 1 tomcat6 tomcat6 19 Jun 2 01:14 59 -> 2013-06-02_01-14-29
      lrwxrwxrwx 1 tomcat6 tomcat6 19 Jun 2 11:48 60 -> 2013-06-02_11-48-19
      lrwxrwxrwx 1 tomcat6 tomcat6 2 Mai 24 15:27 lastFailedBuild -> -1
      lrwxrwxrwx 1 tomcat6 tomcat6 2 Jun 2 11:48 lastStableBuild -> 60
      lrwxrwxrwx 1 tomcat6 tomcat6 2 Jun 2 16:34 lastSuccessfulBuild -> -1
      lrwxrwxrwx 1 tomcat6 tomcat6 2 Mai 23 16:35 lastUnstableBuild -> -1
      lrwxrwxrwx 1 tomcat6 tomcat6 2 Mai 24 15:27 lastUnsuccessfulBuild -> -1

      If the symlink is manually corrected, it will be reset to the wrong location on next access (e.g. reloading the dashboard).

      Even on finest loglevel there do not seem to be any relevant log entries.

      What information is required to investigate this further?

            Unassigned Unassigned
            mbechler Moritz Bechler
            Votes:
            4 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved: