[JIRA] (JENKINS-59525) SVN update Failure;unable to create file in Jenkins(Docker)

7 views
Skip to first unread message

sriramarvind95@gmail.com (JIRA)

unread,
Sep 25, 2019, 8:52:02 AM9/25/19
to jenkinsc...@googlegroups.com
Sriram Arvind created an issue
 
Jenkins / Bug JENKINS-59525
SVN update Failure;unable to create file in Jenkins(Docker)
Issue Type: Bug Bug
Assignee: Ivan Fernandez Calvo
Components: subversion-plugin
Created: 2019-09-25 12:51
Environment: Jenkins:2.195(DOCKER)
Subversion:1.8
Subversion Plugin:2.12.1
Priority: Major Major
Reporter: Sriram Arvind

Hi, 

i am running Jenkins Pipeline with SCM using SVN.It is a Maven based CI and CD.

The pipeline project ran successfully at first time,but it is failing after the first success.

 my stack trace: it is not able to create a particular file

{{}}


org.tmatesoft.svn.core.SVNException: svn: E204899: Cannot create new file '/var/jenkins_home/workspace/pipeline-testing-1/console/wc-content-notification/target/.svn/lock' at org.tmatesoft.svn.core.internal.wc.SVNErrorManager.error(SVNErrorManager.java:70) at org.tmatesoft.svn.core.internal.wc.SVNErrorManager.error(SVNErrorManager.java:57) at org.tmatesoft.svn.core.internal.io.dav.http.HTTPConnection.request(HTTPConnection.java:760) at org.tmatesoft.svn.core.internal.io.dav.http.HTTPConnection.request(HTTPConnection.java:352) at org.tmatesoft.svn.core.internal.io.dav.http.HTTPConnection.request(HTTPConnection.java:340) at org.tmatesoft.svn.core.internal.io.dav.DAVConnection.performHttpRequest(DAVConnection.java:910) at org.tmatesoft.svn.core.internal.io.dav.DAVConnection.doReport(DAVConnection.java:363) at org.tmatesoft.svn.core.internal.io.dav.DAVRepository.runReport(DAVRepository.java:1349) at org.tmatesoft.svn.core.internal.io.dav.DAVRepository.update(DAVRepository.java:847) at org.tmatesoft.svn.core.internal.wc16.SVNUpdateClient16.update(SVNUpdateClient16.java:507) at org.tmatesoft.svn.core.internal.wc16.SVNUpdateClient16.doUpdate(SVNUpdateClient16.java:364) at org.tmatesoft.svn.core.internal.wc16.SVNUpdateClient16.doUpdate(SVNUpdateClient16.java:274) at org.tmatesoft.svn.core.internal.wc2.old.SvnOldUpdate.run(SvnOldUpdate.java:27) at org.tmatesoft.svn.core.internal.wc2.old.SvnOldUpdate.run(SvnOldUpdate.java:11) at org.tmatesoft.svn.core.internal.wc2.SvnOperationRunner.run(SvnOperationRunner.java:21) at org.tmatesoft.svn.core.wc2.SvnOperationFactory.run(SvnOperationFactory.java:1239) at org.tmatesoft.svn.core.wc2.SvnOperation.run(SvnOperation.java:294) at org.tmatesoft.svn.core.wc.SVNUpdateClient.doUpdate(SVNUpdateClient.java:311) at org.tmatesoft.svn.core.wc.SVNUpdateClient.doUpdate(SVNUpdateClient.java:291) at org.tmatesoft.svn.core.wc.SVNUpdateClient.doUpdate(SVNUpdateClient.java:387) at hudson.scm.subversion.UpdateUpdater$TaskImpl.perform(UpdateUpdater.java:160) at hudson.scm.subversion.WorkspaceUpdater$UpdateTask.delegateTo(WorkspaceUpdater.java:168) at hudson.scm.SubversionSCM$CheckOutTask.perform(SubversionSCM.java:1040) at hudson.scm.SubversionSCM$CheckOutTask.invoke(SubversionSCM.java:1016) at hudson.scm.SubversionSCM$CheckOutTask.invoke(SubversionSCM.java:989) at hudson.FilePath.act(FilePath.java:1077) at hudson.FilePath.act(FilePath.java:1060) at hudson.scm.SubversionSCM.checkout(SubversionSCM.java:936) at hudson.scm.SubversionSCM.checkout(SubversionSCM.java:863) at org.jenkinsci.plugins.workflow.steps.scm.SCMStep.checkout(SCMStep.java:124) at org.jenkinsci.plugins.workflow.steps.scm.SCMStep$StepExecutionImpl.run(SCMStep.java:93) at org.jenkinsci.plugins.workflow.steps.scm.SCMStep$StepExecutionImpl.run(SCMStep.java:80) at org.jenkinsci.plugins.workflow.steps.SynchronousNonBlockingStepExecution.lambda$start$0(SynchronousNonBlockingStepExecution.java:47) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) at java.lang.Thread.run(Thread.java:748) ERROR: Subversion update failed

 

{{}}

my docker-compose file: as i am using jenkins in docker.

 

version: '3'
services:
 jenkins:
 container_name: jenkins
 image: 'jenkins/docker'
 build:
 context: .
 environment:
 - JAVA_OPTS=-Dhudson.spool-svn=true
 ports:
 - "8090:8080"
 volumes:
 - '$PWD/jenkins_home:/var/jenkins_home'
 - '/var/run/docker.sock:/var/run/docker.sock'
 networks:
 - net
networks:
 net:

{{}}

Temporarily im deleting the pipeline project folder,so that a fresh checkout happens and the pipeline is executed properly. 

Add Comment Add Comment
 
This message was sent by Atlassian Jira (v7.13.6#713006-sha1:cc4451f)
Atlassian logo

kuisathaverat@gmail.com (JIRA)

unread,
Sep 25, 2019, 11:04:02 AM9/25/19
to jenkinsc...@googlegroups.com
Ivan Fernandez Calvo assigned an issue to Unassigned
Change By: Ivan Fernandez Calvo
Assignee: Ivan Fernandez Calvo

kuisathaverat@gmail.com (JIRA)

unread,
Sep 25, 2019, 11:05:02 AM9/25/19
to jenkinsc...@googlegroups.com
Ivan Fernandez Calvo commented on Bug JENKINS-59525
 
Re: SVN update Failure;unable to create file in Jenkins(Docker)

I'd suggest you to cleanup the workspace before or after the build

Reply all
Reply to author
Forward
0 new messages