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

Build record migration prints warnings for permalinks

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Minor Minor
    • core
    • None
    • Jenkins CI build from PR 1557 (Jenkins ver. 1.600-SNAPSHOT (private-01/31/2015 17:17 GMT-jenkins)) on OS X 10.9

      On a newly set up instance of Jenkins ~1.600(ish), with Promoted Builds, the following is logged after creating a job with promotions, building, promoting, and restarting:

      Feb 02, 2015 10:18:56 PM jenkins.model.RunIdMigrator migrate
      INFO: Migrating build records in /Users/danielbeck/Jenkins-Home/jobs/jobname/promotions/Foo/builds
      Feb 02, 2015 10:18:56 PM jenkins.model.RunIdMigrator doMigrate
      WARNING: found unexpected dir lastStableBuild
      Feb 02, 2015 10:18:56 PM jenkins.model.RunIdMigrator doMigrate
      WARNING: found unexpected dir lastSuccessfulBuild
      Feb 02, 2015 10:18:56 PM jenkins.model.RunIdMigrator migrate
      

      These directories mentioned are actually symlinks.

      $ pwd
      /Users/danielbeck/Jenkins-Home/jobs/jobname/promotions/Foo/builds
      $ ls -l
      total 16
      drwxr-xr-x+ 5 danielbeck  staff  170  2 Feb 22:21 1
      lrwxr-xr-x  1 danielbeck  staff    1  2 Feb 22:18 lastStableBuild -> 1
      lrwxr-xr-x  1 danielbeck  staff    1  2 Feb 22:18 lastSuccessfulBuild -> 1
      -rw-r--r--+ 1 danielbeck  staff    0  2 Feb 22:18 legacyIds

      While there seems to be no actual broken behavior, these warnings may still indicate something going wrong.

            jglick Jesse Glick
            danielbeck Daniel Beck
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated: