• Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Major Major
    • core
    • EXP

      Hello

      JENKINS have migrated to the latest version. 1.616
      Operating system is CentOS release 5.4 (Final) and run in tomcat6 with jdk 1.7
      After migration we've had the loss of the old build of tasks.

      Attached doc with task WREC_WREC_PRE and no job/build in history. And sending directory listing with the state of the tasks before entering the website of the task.

      ***********
      total 48
      drwxr-xr-x 2 ias10g dba 4096 jun 18 2014 1
      drwxr-xr-x 2 ias10g dba 4096 jul 2 2014 2
      drwxr-xr-x 2 ias10g dba 4096 jun 4 08:25 2014-06-18_14-02-05
      drwxr-xr-x 2 ias10g dba 4096 jun 4 08:25 2014-07-02_13-24-50
      drwxr-xr-x 2 ias10g dba 4096 jun 4 08:25 2014-08-01_08-57-04
      drwxr-xr-x 2 ias10g dba 4096 jun 4 08:25 2014-08-01_11-02-58
      drwxr-xr-x 2 ias10g dba 4096 jun 4 08:25 2014-09-30_09-03-56
      drwxr-xr-x 2 ias10g dba 4096 jun 4 08:25 2014-11-25_07-42-08
      drwxr-xr-x 2 ias10g dba 4096 ago 1 2014 3
      drwxr-xr-x 2 ias10g dba 4096 ago 1 2014 4
      drwxr-xr-x 2 ias10g dba 4096 sep 30 2014 5
      drwxr-xr-x 2 ias10g dba 4096 nov 25 2014 6
      lrwxrwxrwx 1 ias10g dba 2 may 7 2014 lastFailedBuild -> -1
      lrwxrwxrwx 1 ias10g dba 1 nov 25 2014 lastStableBuild -> 6
      lrwxrwxrwx 1 ias10g dba 2 jun 4 08:19 lastSuccessfulBuild -> -1
      rw-rr- 1 ias10g dba 0 jun 4 08:13 legacyIds
      ****************

      When I go on the website of the task, the board loses that had symbolic links.

      **************
      total 48
      drwxr-xr-x 2 ias10g dba 4096 jun 18 2014 1
      drwxr-xr-x 2 ias10g dba 4096 jul 2 2014 2
      drwxr-xr-x 2 ias10g dba 4096 jun 4 08:25 2014-06-18_14-02-05
      drwxr-xr-x 2 ias10g dba 4096 jun 4 08:25 2014-07-02_13-24-50
      drwxr-xr-x 2 ias10g dba 4096 jun 4 08:25 2014-08-01_08-57-04
      drwxr-xr-x 2 ias10g dba 4096 jun 4 08:25 2014-08-01_11-02-58
      drwxr-xr-x 2 ias10g dba 4096 jun 4 08:25 2014-09-30_09-03-56
      drwxr-xr-x 2 ias10g dba 4096 jun 4 08:25 2014-11-25_07-42-08
      drwxr-xr-x 2 ias10g dba 4096 ago 1 2014 3
      drwxr-xr-x 2 ias10g dba 4096 ago 1 2014 4
      drwxr-xr-x 2 ias10g dba 4096 sep 30 2014 5
      drwxr-xr-x 2 ias10g dba 4096 nov 25 2014 6
      lrwxrwxrwx 1 ias10g dba 2 may 7 2014 lastFailedBuild -> -1
      lrwxrwxrwx 1 ias10g dba 2 jun 4 10:52 lastStableBuild -> -1
      lrwxrwxrwx 1 ias10g dba 2 jun 4 08:19 lastSuccessfulBuild -> -1

      lrwxrwxrwx 1 ias10g dba 2 jun 4 10:52 lastUnstableBuild -> -1
      lrwxrwxrwx 1 ias10g dba 2 jun 4 10:52 lastUnsuccessfulBuild -> -1
      rw-rr- 1 ias10g dba 0 jun 4 08:13 legacyIds
      **************
      If we make a symbolic link, loads data but not right date: 01/01/1970. Can you see in the doc attached

      Does anyone know how to recover the builds of the tasks ?. It is very important to me.

          [JENKINS-28742] migration: loss builds of a task in web

          jose sanchez added a comment -

          I forgot to say that when I start jenkins in catalina.out I can see messages like this:

          jun 04, 2015 8:13:16 AM jenkins.model.RunIdMigrator doMigrate
          ADVERTENCIA: failed to process /datos/.jenkins/jobs/WREC_WREC_PRE/builds/2014-06-18_14-02-05
          java.nio.file.FileAlreadyExistsException: /datos/.jenkins/jobs/WREC_WREC_PRE/builds/1
          at sun.nio.fs.UnixCopyFile.move(UnixCopyFile.java:422)
          at sun.nio.fs.UnixFileSystemProvider.move(UnixFileSystemProvider.java:262)
          at java.nio.file.Files.move(Files.java:1347)
          at sun.reflect.GeneratedMethodAccessor38.invoke(Unknown Source)
          at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
          at java.lang.reflect.Method.invoke(Method.java:606)
          at jenkins.model.RunIdMigrator.move(RunIdMigrator.java:297)
          at jenkins.model.RunIdMigrator.doMigrate(RunIdMigrator.java:264)
          at jenkins.model.RunIdMigrator.migrate(RunIdMigrator.java:166)
          at hudson.model.Job.onLoad(Job.java:194)
          at hudson.model.AbstractProject.onLoad(AbstractProject.java:318)
          at hudson.model.Project.onLoad(Project.java:98)
          at hudson.model.Items.load(Items.java:322)
          at jenkins.model.Jenkins$17.run(Jenkins.java:2655)
          at org.jvnet.hudson.reactor.TaskGraphBuilder$TaskImpl.run(TaskGraphBuilder.java:169)
          at org.jvnet.hudson.reactor.Reactor.runTask(Reactor.java:282)
          at jenkins.model.Jenkins$7.runTask(Jenkins.java:905)
          at org.jvnet.hudson.reactor.Reactor$2.run(Reactor.java:210)
          at org.jvnet.hudson.reactor.Reactor$Node.run(Reactor.java:117)
          at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
          at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
          at java.lang.Thread.run(Thread.java:745)

          and this

          ADVERTENCIA: Failed to inspect /datos/.jenkins/jobs/WREC_WREC_EXP/builds/2: /datos/.jenkins/jobs/WREC_WREC_EXP/builds/2/build.xml doesn't exist
          01-jun-2015 23:24:53 jenkins.diagnostics.ooom.Problem$Inspector scan

          jose sanchez added a comment - I forgot to say that when I start jenkins in catalina.out I can see messages like this: jun 04, 2015 8:13:16 AM jenkins.model.RunIdMigrator doMigrate ADVERTENCIA: failed to process /datos/.jenkins/jobs/WREC_WREC_PRE/builds/2014-06-18_14-02-05 java.nio.file.FileAlreadyExistsException: /datos/.jenkins/jobs/WREC_WREC_PRE/builds/1 at sun.nio.fs.UnixCopyFile.move(UnixCopyFile.java:422) at sun.nio.fs.UnixFileSystemProvider.move(UnixFileSystemProvider.java:262) at java.nio.file.Files.move(Files.java:1347) at sun.reflect.GeneratedMethodAccessor38.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:606) at jenkins.model.RunIdMigrator.move(RunIdMigrator.java:297) at jenkins.model.RunIdMigrator.doMigrate(RunIdMigrator.java:264) at jenkins.model.RunIdMigrator.migrate(RunIdMigrator.java:166) at hudson.model.Job.onLoad(Job.java:194) at hudson.model.AbstractProject.onLoad(AbstractProject.java:318) at hudson.model.Project.onLoad(Project.java:98) at hudson.model.Items.load(Items.java:322) at jenkins.model.Jenkins$17.run(Jenkins.java:2655) at org.jvnet.hudson.reactor.TaskGraphBuilder$TaskImpl.run(TaskGraphBuilder.java:169) at org.jvnet.hudson.reactor.Reactor.runTask(Reactor.java:282) at jenkins.model.Jenkins$7.runTask(Jenkins.java:905) at org.jvnet.hudson.reactor.Reactor$2.run(Reactor.java:210) at org.jvnet.hudson.reactor.Reactor$Node.run(Reactor.java:117) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) at java.lang.Thread.run(Thread.java:745) and this ADVERTENCIA: Failed to inspect /datos/.jenkins/jobs/WREC_WREC_EXP/builds/2: /datos/.jenkins/jobs/WREC_WREC_EXP/builds/2/build.xml doesn't exist 01-jun-2015 23:24:53 jenkins.diagnostics.ooom.Problem$Inspector scan

          Daniel Beck added a comment -

          What exactly is a "task"?

          Daniel Beck added a comment - What exactly is a "task"?

            Unassigned Unassigned
            sangorjo jose sanchez
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: