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

Build record migration prints warnings for permalinks

    Details

    • Type: Bug
    • Status: Open (View Workflow)
    • Priority: Minor
    • Resolution: Unresolved
    • Component/s: core
    • Labels:
      None
    • 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
    • Similar Issues:

      Description

      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.

        Attachments

          Issue Links

            Activity

            Hide
            jglick Jesse Glick added a comment -

            Not specific to Promoted Builds; true of any permalink. Harmless AFAIK but unintentional.

            Show
            jglick Jesse Glick added a comment - Not specific to Promoted Builds; true of any permalink. Harmless AFAIK but unintentional.

              People

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

                Dates

                • Created:
                  Updated: