Change By: ankita bairathi (03/Oct/14 9:52 PM)
Description: Hi,

I am using scm-sync-configuration plugin to have a backup. I am trying to restore the backup on a different system. The plugin restores everything but fails to restore the symlinks. Below are the contents of the builds.

drwxr-x---  2 jenkins jenkins 4096 Sep 30 20:03 2014-06-27_17-41-37
drwxr-x---  2 jenkins jenkins 4096 Sep 30 20:03 lastSuccessfulBuild
drwxr-x---  2 jenkins jenkins 4096 Sep 30 20:03 2014-08-18_23-46-54
drwxr-x---  2 jenkins jenkins 4096 Sep 30 20:03 2014-07-29_18-47-12
drwxr-x---  2 jenkins jenkins 4096 Sep 30 20:03 2014-07-29_18-22-33
drwxr-x---  2 jenkins jenkins 4096 Sep 30 20:03 2014-07-24_18-02-07
drwxr-x---  2 jenkins jenkins 4096 Sep 30 20:03 2014-07-24_06-45-22
drwxr-x---  2 jenkins jenkins 4096 Sep 30 20:03 2014-06-27_21-43-37
drwxr-x---  2 jenkins jenkins 4096 Sep 30 20:03 2014-06-27_17-54-11
drwxr-x---  2 jenkins jenkins 4096 Sep 30 20:03 18
drwxr-x---  2 jenkins jenkins 4096 Sep 30 20:03 16
drwxr-x---  2 jenkins jenkins 4096 Sep 30 20:03 13
drwxr-x---  2 jenkins jenkins 4096 Sep 30 20:03 10
drwxr-x---  2 jenkins jenkins 4096 Sep 30 20:03 1
drwxr-x---  2 jenkins jenkins 4096 Sep 30 20:03 8
drwxr-x---  2 jenkins jenkins 4096 Sep 30 20:03 6
drwxr-x---  2 jenkins jenkins 4096 Sep 30 20:03 5
drwxr-x---  2 jenkins jenkins 4096 Sep 30 20:03 2014-08-18_23-34-14
drwxr-x---  2 jenkins jenkins 4096 Sep 30 20:03 2014-07-29_18-02-01
drwxr-x---  2 jenkins jenkins 4096 Sep 30 20:03 2014-07-24_18-30-59
drwxr-x---  2 jenkins jenkins 4096 Sep 30 20:03 2014-07-24_06-11-06
drwxr-x---  2 jenkins jenkins 4096 Sep 30 20:03 2014-07-24_05-07-46
drwxr-x---  2 jenkins jenkins 4096 Sep 30 20:03 2014-07-23_23-09-06
drwxr-x---  2 jenkins jenkins 4096 Sep 30 20:03 2014-07-02_05-01-48
drwxr-x---  2 jenkins jenkins 4096 Sep 30 20:03 2014-06-27_21-44-16
drwxr-x---  2 jenkins jenkins 4096 Sep 30 20:03 2
drwxr-x---  2 jenkins jenkins 4096 Sep 30 20:03 19
drwxr-x---  2 jenkins jenkins 4096 Sep 30 20:03 11
drwxr-x---  2 jenkins jenkins 4096 Sep 30 20:03 lastStableBuild
drwxr-x---  2 jenkins jenkins 4096 Sep 30 20:03 9
drwxr-x---  2 jenkins jenkins 4096 Sep 30 20:03 7
drwxr-x---  2 jenkins jenkins 4096 Sep 30 20:03 4
drwxr-x---  2 jenkins jenkins 4096 Sep 30 20:03 3
drwxr-x---  2 jenkins jenkins 4096 Sep 30 20:03 2014-07-23_23-09-08
drwxr-x---  2 jenkins jenkins 4096 Sep 30 20:03 2014-06-19_06-08-51
drwxr-x---  2 jenkins jenkins 4096 Sep 30 20:03 2014-06-19_06-06-23
drwxr-x---  2 jenkins jenkins 4096 Sep 30 20:03 17
drwxr-x---  2 jenkins jenkins 4096 Sep 30 20:03 15
drwxr-x---  2 jenkins jenkins 4096 Sep 30 20:03 14
drwxr-x---  2 jenkins jenkins 4096 Sep 30 20:03 12

As a result, jenkins server keeps throwing below warnings:


Oct 03, 2014 9:22:27 PM jenkins.model.PeepholePermalink updateCache
WARNING: Failed to update hudson.model.FreeStyleProject@282eb209[monsoon-onboarding-shortcuts-rpm-master-el6] lastSuccessfulBuild permalink for
 monsoon  SAMPLE - onboarding-shortcuts- rpm- master-el6  #72
java.io.IOException: Unable to delete
 /ngs/app/jenkins/jobs/monsoon  SAMPLE - onboarding-shortcuts- rpm -master-el6 /builds/lastSuccessfulBuild
        at hudson.util.AtomicFileWriter.commit(AtomicFileWriter.java:112)
        at jenkins.model.PeepholePermalink.writeSymlink(PeepholePermalink.java:177)
        at jenkins.model.PeepholePermalink.updateCache(PeepholePermalink.java:142)
        at jenkins.model.PeepholePermalink.resolve(PeepholePermalink.java:114)
        at hudson.model.Job.getLastSuccessfulBuild(Job.java:836)
        at hudson.model.AbstractProject.poll(AbstractProject.java:1477)
        at hudson.triggers.SCMTrigger$Runner.runPolling(SCMTrigger.java:462)
        at hudson.triggers.SCMTrigger$Runner.run(SCMTrigger.java:491)
        at hudson.util.SequentialExecutionQueue$QueueEntry.run(SequentialExecutionQueue.java:118)
        at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
        at java.util.concurrent.FutureTask.run(FutureTask.java:262)
        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:744)


This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira

--
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to