org.tmatesoft.svn.core.SVNCancelException: svn: Operation cancelled at hudson.scm.SubversionUpdateEventHandler.checkCancelled(SubversionUpdateEventHandler.java:191)

Jenkins JIRA | Ulli Hafner | 9 years ago
  1. 0

    When I cancel a job (using the "x" button on the right side of a job in the Build Executor Status table), then the job AND all following jobs are canceled. Seems to be a global cancel rather than a project specific cancel. E.g., I have a 1 item queue with job "analysis" running and job "compile" waiting. After pressing cancel for analysis and waiting some time, the analysis job has been canceled (ok) but also the compile job has been canceled (nok). Hudson shows the following log: started Updating svn://tux18.sys.net/adt/trunk/adt/sources ERROR: Failed to update svn://tux18.sys.net/adt/trunk/adt/sources org.tmatesoft.svn.core.SVNCancelException: svn: Operation cancelled at hudson.scm.SubversionUpdateEventHandler.checkCancelled(SubversionUpdateEventHandler.java:191) at org.tmatesoft.svn.core.wc.SVNBasicClient.checkCancelled(SVNBasicClient.java:334) at org.tmatesoft.svn.core.internal.wc.admin.SVNWCAccess.checkCancelled(SVNWCAccess.java:75) at org.tmatesoft.svn.core.internal.wc.admin.SVNWCAccess.doOpen(SVNWCAccess.java:359) at org.tmatesoft.svn.core.internal.wc.admin.SVNWCAccess.open(SVNWCAccess.java:261) at org.tmatesoft.svn.core.internal.wc.admin.SVNWCAccess.openAnchor(SVNWCAccess.java:153) at org.tmatesoft.svn.core.wc.SVNUpdateClient.doUpdate(SVNUpdateClient.java:145) at hudson.scm.SubversionSCM$CheckOutTask.invoke(SubversionSCM.java:382) at hudson.scm.SubversionSCM$CheckOutTask.invoke(SubversionSCM.java:354) at hudson.FilePath.act(FilePath.java:312) at hudson.scm.SubversionSCM.checkout(SubversionSCM.java:348) at hudson.scm.SubversionSCM.checkout(SubversionSCM.java:301) at hudson.model.AbstractProject.checkout(AbstractProject.java:564) at hudson.model.AbstractBuild$AbstractRunner.checkout(AbstractBuild.java:244) at hudson.model.AbstractBuild$AbstractRunner.run(AbstractBuild.java:218) at hudson.model.Run.run(Run.java:749) at hudson.model.Build.run(Build.java:102) at hudson.model.ResourceController.execute(ResourceController.java:70) at hudson.model.Executor.run(Executor.java:71)

    Jenkins JIRA | 9 years ago | Ulli Hafner
    org.tmatesoft.svn.core.SVNCancelException: svn: Operation cancelled at hudson.scm.SubversionUpdateEventHandler.checkCancelled(SubversionUpdateEventHandler.java:191)
  2. 0

    When I cancel a job (using the "x" button on the right side of a job in the Build Executor Status table), then the job AND all following jobs are canceled. Seems to be a global cancel rather than a project specific cancel. E.g., I have a 1 item queue with job "analysis" running and job "compile" waiting. After pressing cancel for analysis and waiting some time, the analysis job has been canceled (ok) but also the compile job has been canceled (nok). Hudson shows the following log: started Updating svn://tux18.sys.net/adt/trunk/adt/sources ERROR: Failed to update svn://tux18.sys.net/adt/trunk/adt/sources org.tmatesoft.svn.core.SVNCancelException: svn: Operation cancelled at hudson.scm.SubversionUpdateEventHandler.checkCancelled(SubversionUpdateEventHandler.java:191) at org.tmatesoft.svn.core.wc.SVNBasicClient.checkCancelled(SVNBasicClient.java:334) at org.tmatesoft.svn.core.internal.wc.admin.SVNWCAccess.checkCancelled(SVNWCAccess.java:75) at org.tmatesoft.svn.core.internal.wc.admin.SVNWCAccess.doOpen(SVNWCAccess.java:359) at org.tmatesoft.svn.core.internal.wc.admin.SVNWCAccess.open(SVNWCAccess.java:261) at org.tmatesoft.svn.core.internal.wc.admin.SVNWCAccess.openAnchor(SVNWCAccess.java:153) at org.tmatesoft.svn.core.wc.SVNUpdateClient.doUpdate(SVNUpdateClient.java:145) at hudson.scm.SubversionSCM$CheckOutTask.invoke(SubversionSCM.java:382) at hudson.scm.SubversionSCM$CheckOutTask.invoke(SubversionSCM.java:354) at hudson.FilePath.act(FilePath.java:312) at hudson.scm.SubversionSCM.checkout(SubversionSCM.java:348) at hudson.scm.SubversionSCM.checkout(SubversionSCM.java:301) at hudson.model.AbstractProject.checkout(AbstractProject.java:564) at hudson.model.AbstractBuild$AbstractRunner.checkout(AbstractBuild.java:244) at hudson.model.AbstractBuild$AbstractRunner.run(AbstractBuild.java:218) at hudson.model.Run.run(Run.java:749) at hudson.model.Build.run(Build.java:102) at hudson.model.ResourceController.execute(ResourceController.java:70) at hudson.model.Executor.run(Executor.java:71)

    Jenkins JIRA | 9 years ago | Ulli Hafner
    org.tmatesoft.svn.core.SVNCancelException: svn: Operation cancelled at hudson.scm.SubversionUpdateEventHandler.checkCancelled(SubversionUpdateEventHandler.java:191)
  3. 0

    Due to a missing check for SVNCancelException a Job which is aborted during SVN update/checkout doesn't keep the corresponding Maven build from starting. Corresponding console output: started Updating file:///data/subversion/repos/vk-group/vk/trunk/vk/main ERROR: Failed to update file:///data/subversion/repos/vk-group/vk/trunk/vk/main org.tmatesoft.svn.core.SVNCancelException: svn: Operation cancelled at hudson.scm.SubversionUpdateEventHandler.checkCancelled(SubversionUpdateEventHandler.java:104) at org.tmatesoft.svn.core.wc.SVNBasicClient.checkCancelled(SVNBasicClient.java:457) at org.tmatesoft.svn.core.internal.wc.admin.SVNWCAccess.checkCancelled(SVNWCAccess.java:73) at org.tmatesoft.svn.core.internal.wc.admin.SVNWCAccess.doOpen(SVNWCAccess.java:372) at org.tmatesoft.svn.core.internal.wc.admin.SVNWCAccess.doOpen(SVNWCAccess.java:385) at org.tmatesoft.svn.core.internal.wc.admin.SVNWCAccess.doOpen(SVNWCAccess.java:385) at org.tmatesoft.svn.core.internal.wc.admin.SVNWCAccess.doOpen(SVNWCAccess.java:385) at org.tmatesoft.svn.core.internal.wc.admin.SVNWCAccess.doOpen(SVNWCAccess.java:385) at org.tmatesoft.svn.core.internal.wc.admin.SVNWCAccess.doOpen(SVNWCAccess.java:385) at org.tmatesoft.svn.core.internal.wc.admin.SVNWCAccess.open(SVNWCAccess.java:263) at org.tmatesoft.svn.core.internal.wc.admin.SVNWCAccess.open(SVNWCAccess.java:256) at org.tmatesoft.svn.core.internal.wc.admin.SVNWCAccess.openAnchor(SVNWCAccess.java:151) at org.tmatesoft.svn.core.wc.SVNUpdateClient.update(SVNUpdateClient.java:413) at org.tmatesoft.svn.core.wc.SVNUpdateClient.doUpdate(SVNUpdateClient.java:394) at org.tmatesoft.svn.core.wc.SVNUpdateClient.doUpdate(SVNUpdateClient.java:210) at hudson.scm.SubversionSCM$CheckOutTask.invoke(SubversionSCM.java:508) at hudson.scm.SubversionSCM$CheckOutTask.invoke(SubversionSCM.java:479) at hudson.FilePath.act(FilePath.java:434) at hudson.scm.SubversionSCM.checkout(SubversionSCM.java:472) at hudson.scm.SubversionSCM.checkout(SubversionSCM.java:421) at hudson.model.AbstractProject.checkout(AbstractProject.java:801) at hudson.model.AbstractBuild$AbstractRunner.checkout(AbstractBuild.java:314) at hudson.model.AbstractBuild$AbstractRunner.run(AbstractBuild.java:266) at hudson.model.Run.run(Run.java:896) at hudson.maven.MavenModuleSetBuild.run(MavenModuleSetBuild.java:234) at hudson.model.ResourceController.execute(ResourceController.java:93) at hudson.model.Executor.run(Executor.java:119) [main] $ /appl/cibuild/apache-maven-2.0.10/bin/mvn org.codehaus.sonar:sonar-maven-plugin:1.6:sonar -Dsonar.jdbc.driver=com.mysql.jdbc.Driver -Dsonar.jdbc.username=sonar -Dsonar.jdbc.password=sonar -Dsonar.jdbc.url=jdbc:mysql://localhost:3306/sonar?useUnicode=true&characterEncoding=utf8 -Dsonar.host.url=http://cibuild.f.ddk/sonar -Dsonar.skipInstall=true -P all -e -Dweblogic.home=/appl/bea920/weblogic92 -Djdk.home=/appl/java1.5 -Dfile.encoding=ISO-8859-1 -Duser.language=de -Duser.country=DE -X + Error stacktraces are turned on. Maven version: 2.0.10 Java version: 1.5.0_17 OS name: "sunos" version: "5.10" arch: "sparc" Family: "unix" [DEBUG] Building Maven user-level plugin registry from: '/home/cibuild/.m2/plugin-registry.xml' [DEBUG] Building Maven global-level plugin registry from: '/appl/cibuild/apache-maven-2.0.10/conf/plugin-registry.xml' [INFO] Scanning for projects...

    Jenkins JIRA | 8 years ago | tjuerge
    org.tmatesoft.svn.core.SVNCancelException: svn: Operation cancelled at hudson.scm.SubversionUpdateEventHandler.checkCancelled(SubversionUpdateEventHandler.java:104)
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    When I manually abort a build during SVN update it is not marked as ABORTED but as FAILURE: Started by upstream project "abc" build number 31 Updating http://codebase.xyz ERROR: Failed to update http://codebase.xyz org.tmatesoft.svn.core.SVNCancelException: svn: Operation cancelled at hudson.scm.SubversionUpdateEventHandler.checkCancelled(SubversionUpdateEventHandler.java:112) at org.tmatesoft.svn.core.wc.SVNBasicClient.checkCancelled(SVNBasicClient.java:460) at org.tmatesoft.svn.core.internal.wc.admin.SVNWCAccess.checkCancelled(SVNWCAccess.java:82) at org.tmatesoft.svn.core.internal.wc.admin.SVNWCAccess.doOpen(SVNWCAccess.java:381) at org.tmatesoft.svn.core.internal.wc.admin.SVNWCAccess.doOpen(SVNWCAccess.java:397) at org.tmatesoft.svn.core.internal.wc.admin.SVNWCAccess.open(SVNWCAccess.java:272) at org.tmatesoft.svn.core.internal.wc.admin.SVNWCAccess.open(SVNWCAccess.java:265) at org.tmatesoft.svn.core.internal.wc.admin.SVNWCAccess.openAnchor(SVNWCAccess.java:160) at org.tmatesoft.svn.core.wc.SVNUpdateClient.update(SVNUpdateClient.java:512) at org.tmatesoft.svn.core.wc.SVNUpdateClient.doUpdate(SVNUpdateClient.java:401) at org.tmatesoft.svn.core.wc.SVNUpdateClient.doUpdate(SVNUpdateClient.java:217) at hudson.scm.SubversionSCM$CheckOutTask.invoke(SubversionSCM.java:576) at hudson.scm.SubversionSCM$CheckOutTask.invoke(SubversionSCM.java:543) at hudson.FilePath.act(FilePath.java:676) at hudson.FilePath.act(FilePath.java:660) at hudson.scm.SubversionSCM.checkout(SubversionSCM.java:536) at hudson.scm.SubversionSCM.checkout(SubversionSCM.java:484) at hudson.model.AbstractProject.checkout(AbstractProject.java:956) at hudson.model.AbstractBuild$AbstractRunner.checkout(AbstractBuild.java:400) at hudson.model.AbstractBuild$AbstractRunner.run(AbstractBuild.java:349) at hudson.model.Run.run(Run.java:1117) at hudson.maven.MavenModuleSetBuild.run(MavenModuleSetBuild.java:300) at hudson.model.ResourceController.execute(ResourceController.java:93) at hudson.model.Executor.run(Executor.java:122) Jabber notifier plugin: Sending notification to: xyz Jabber notifier plugin: Notifying suspects Email was triggered for: Failure There are 1 triggered emails. Sending email for trigger: Failure Sending e-mails to: xyz Notifying upstream projects of job completion Finished: FAILURE

    Jenkins JIRA | 7 years ago | kutzi
    org.tmatesoft.svn.core.SVNCancelException: svn: Operation cancelled at hudson.scm.SubversionUpdateEventHandler.checkCancelled(SubversionUpdateEventHandler.java:112)
  6. 0

    Due to a missing check for SVNCancelException a Job which is aborted during SVN update/checkout doesn't keep the corresponding Maven build from starting. Corresponding console output: started Updating file:///data/subversion/repos/vk-group/vk/trunk/vk/main ERROR: Failed to update file:///data/subversion/repos/vk-group/vk/trunk/vk/main org.tmatesoft.svn.core.SVNCancelException: svn: Operation cancelled at hudson.scm.SubversionUpdateEventHandler.checkCancelled(SubversionUpdateEventHandler.java:104) at org.tmatesoft.svn.core.wc.SVNBasicClient.checkCancelled(SVNBasicClient.java:457) at org.tmatesoft.svn.core.internal.wc.admin.SVNWCAccess.checkCancelled(SVNWCAccess.java:73) at org.tmatesoft.svn.core.internal.wc.admin.SVNWCAccess.doOpen(SVNWCAccess.java:372) at org.tmatesoft.svn.core.internal.wc.admin.SVNWCAccess.doOpen(SVNWCAccess.java:385) at org.tmatesoft.svn.core.internal.wc.admin.SVNWCAccess.doOpen(SVNWCAccess.java:385) at org.tmatesoft.svn.core.internal.wc.admin.SVNWCAccess.doOpen(SVNWCAccess.java:385) at org.tmatesoft.svn.core.internal.wc.admin.SVNWCAccess.doOpen(SVNWCAccess.java:385) at org.tmatesoft.svn.core.internal.wc.admin.SVNWCAccess.doOpen(SVNWCAccess.java:385) at org.tmatesoft.svn.core.internal.wc.admin.SVNWCAccess.open(SVNWCAccess.java:263) at org.tmatesoft.svn.core.internal.wc.admin.SVNWCAccess.open(SVNWCAccess.java:256) at org.tmatesoft.svn.core.internal.wc.admin.SVNWCAccess.openAnchor(SVNWCAccess.java:151) at org.tmatesoft.svn.core.wc.SVNUpdateClient.update(SVNUpdateClient.java:413) at org.tmatesoft.svn.core.wc.SVNUpdateClient.doUpdate(SVNUpdateClient.java:394) at org.tmatesoft.svn.core.wc.SVNUpdateClient.doUpdate(SVNUpdateClient.java:210) at hudson.scm.SubversionSCM$CheckOutTask.invoke(SubversionSCM.java:508) at hudson.scm.SubversionSCM$CheckOutTask.invoke(SubversionSCM.java:479) at hudson.FilePath.act(FilePath.java:434) at hudson.scm.SubversionSCM.checkout(SubversionSCM.java:472) at hudson.scm.SubversionSCM.checkout(SubversionSCM.java:421) at hudson.model.AbstractProject.checkout(AbstractProject.java:801) at hudson.model.AbstractBuild$AbstractRunner.checkout(AbstractBuild.java:314) at hudson.model.AbstractBuild$AbstractRunner.run(AbstractBuild.java:266) at hudson.model.Run.run(Run.java:896) at hudson.maven.MavenModuleSetBuild.run(MavenModuleSetBuild.java:234) at hudson.model.ResourceController.execute(ResourceController.java:93) at hudson.model.Executor.run(Executor.java:119) [main] $ /appl/cibuild/apache-maven-2.0.10/bin/mvn org.codehaus.sonar:sonar-maven-plugin:1.6:sonar -Dsonar.jdbc.driver=com.mysql.jdbc.Driver -Dsonar.jdbc.username=sonar -Dsonar.jdbc.password=sonar -Dsonar.jdbc.url=jdbc:mysql://localhost:3306/sonar?useUnicode=true&characterEncoding=utf8 -Dsonar.host.url=http://cibuild.f.ddk/sonar -Dsonar.skipInstall=true -P all -e -Dweblogic.home=/appl/bea920/weblogic92 -Djdk.home=/appl/java1.5 -Dfile.encoding=ISO-8859-1 -Duser.language=de -Duser.country=DE -X + Error stacktraces are turned on. Maven version: 2.0.10 Java version: 1.5.0_17 OS name: "sunos" version: "5.10" arch: "sparc" Family: "unix" [DEBUG] Building Maven user-level plugin registry from: '/home/cibuild/.m2/plugin-registry.xml' [DEBUG] Building Maven global-level plugin registry from: '/appl/cibuild/apache-maven-2.0.10/conf/plugin-registry.xml' [INFO] Scanning for projects...

    Jenkins JIRA | 8 years ago | tjuerge
    org.tmatesoft.svn.core.SVNCancelException: svn: Operation cancelled at hudson.scm.SubversionUpdateEventHandler.checkCancelled(SubversionUpdateEventHandler.java:104)

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. org.tmatesoft.svn.core.SVNCancelException

      svn: Operation cancelled at hudson.scm.SubversionUpdateEventHandler.checkCancelled(SubversionUpdateEventHandler.java:191)

      at org.tmatesoft.svn.core.wc.SVNBasicClient.checkCancelled()
    2. SVNKit Library
      SVNBasicClient.checkCancelled
      1. org.tmatesoft.svn.core.wc.SVNBasicClient.checkCancelled(SVNBasicClient.java:334)
      1 frame