Build record migration prints warnings for permalinks

This issue is archived. You can view it, but you can't modify it. Learn more

XMLWordPrintable

    • Type: Bug
    • Resolution: Unresolved
    • Priority: Minor
    • Component/s: core
    • Environment:
      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.

            Assignee:
            Jesse Glick
            Reporter:
            Daniel Beck
            Archiver:
            Jenkins Service Account

              Created:
              Updated:
              Archived: