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

Subversion Plug in 2.5 causes sporadic problems

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Critical Critical
    • blamesubversion-plugin
    • None
    • Jenkins 1.596, subversion-plugin 2.5, multijob-plgin 1.16

      Some SVN Updates work, some fail with following message:

      FATAL: hudson.scm.SVNRevisionState cannot be cast to hudson.scm.SVNRevisionState
      java.lang.ClassCastException: hudson.scm.SVNRevisionState cannot be cast to hudson.scm.SVNRevisionState
      at hudson.scm.SubversionSCM.calcChangeLog(SubversionSCM.java:725)
      at hudson.scm.SubversionSCM.checkout(SubversionSCM.java:860)
      at hudson.scm.SCM.checkout(SCM.java:484)
      at hudson.model.AbstractProject.checkout(AbstractProject.java:1265)
      at hudson.model.AbstractBuild$AbstractBuildExecution.defaultCheckout(AbstractBuild.java:622)
      at jenkins.scm.SCMCheckoutStrategy.checkout(SCMCheckoutStrategy.java:86)
      at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:528)
      at com.tikal.jenkins.plugins.multijob.MultiJobBuild$MultiJobRunnerImpl.run(MultiJobBuild.java:134)
      at hudson.model.Run.execute(Run.java:1759)
      at com.tikal.jenkins.plugins.multijob.MultiJobBuild.run(MultiJobBuild.java:73)
      at hudson.model.ResourceController.execute(ResourceController.java:89)
      at hudson.model.Executor.run(Executor.java:240)

          [JENKINS-26318] Subversion Plug in 2.5 causes sporadic problems

          Christian Grobauer created issue -
          Christian Grobauer made changes -
          Environment Original: Windows Server 2008 R2 New: Jenkins 1.596, subversion-plugin 2.5, multijob-plgin 1.16

          TerDale added a comment -

          Facing the same issue, though I don't have MultiJob plug in installed, so this is not an interoperability issue.
          Reverted back Subversion Plugin to v2.4.5.

          TerDale added a comment - Facing the same issue, though I don't have MultiJob plug in installed, so this is not an interoperability issue. Reverted back Subversion Plugin to v2.4.5.
          Christian Grobauer made changes -
          Summary Original: Submersion Plug in 2.5 causes sporadic problems with MultiJob Plug in New: Subversion Plug in 2.5 causes sporadic problems with MultiJob Plug in

          Karl Theil added a comment -

          i have same issue. do you have any svn shell commands in your job? i do "svn revert . --recursive" from command line because "svn revert before update" from subversion plugin takes too long (30 mins).

          Karl Theil added a comment - i have same issue. do you have any svn shell commands in your job? i do "svn revert . --recursive" from command line because "svn revert before update" from subversion plugin takes too long (30 mins).

          TerDale added a comment -

          Nope, I don't. Just getting sources thanks to the Subversion plugin, and enabled "Poll SCM" in "Build Triggers"

          TerDale added a comment - Nope, I don't. Just getting sources thanks to the Subversion plugin, and enabled "Poll SCM" in "Build Triggers"
          Christian Grobauer made changes -
          Summary Original: Subversion Plug in 2.5 causes sporadic problems with MultiJob Plug in New: Subversion Plug in 2.5 causes sporadic problems

          No, I also use only the subversion plugin for updating/reverting the source code.

          Christian Grobauer added a comment - No, I also use only the subversion plugin for updating/reverting the source code.

          Karl Theil added a comment -

          you may can delete tag multijob-plugin. My build fails sprodic with MatrixJob:

          FATAL: hudson.scm.SVNRevisionState cannot be cast to hudson.scm.SVNRevisionState
          java.lang.ClassCastException: hudson.scm.SVNRevisionState cannot be cast to hudson.scm.SVNRevisionState
          at hudson.scm.SubversionSCM.calcChangeLog(SubversionSCM.java:725)
          at hudson.scm.SubversionSCM.checkout(SubversionSCM.java:860)
          at hudson.scm.SCM.checkout(SCM.java:484)
          at hudson.model.AbstractProject.checkout(AbstractProject.java:1265)
          at hudson.model.AbstractBuild$AbstractBuildExecution.defaultCheckout(AbstractBuild.java:622)
          at jenkins.scm.SCMCheckoutStrategy.checkout(SCMCheckoutStrategy.java:86)
          at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:528)
          at hudson.model.Run.execute(Run.java:1759)
          at hudson.matrix.MatrixRun.run(MatrixRun.java:146)
          at hudson.model.ResourceController.execute(ResourceController.java:89)
          at hudson.model.Executor.run(Executor.java:240)

          Karl Theil added a comment - you may can delete tag multijob-plugin. My build fails sprodic with MatrixJob: FATAL: hudson.scm.SVNRevisionState cannot be cast to hudson.scm.SVNRevisionState java.lang.ClassCastException: hudson.scm.SVNRevisionState cannot be cast to hudson.scm.SVNRevisionState at hudson.scm.SubversionSCM.calcChangeLog(SubversionSCM.java:725) at hudson.scm.SubversionSCM.checkout(SubversionSCM.java:860) at hudson.scm.SCM.checkout(SCM.java:484) at hudson.model.AbstractProject.checkout(AbstractProject.java:1265) at hudson.model.AbstractBuild$AbstractBuildExecution.defaultCheckout(AbstractBuild.java:622) at jenkins.scm.SCMCheckoutStrategy.checkout(SCMCheckoutStrategy.java:86) at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:528) at hudson.model.Run.execute(Run.java:1759) at hudson.matrix.MatrixRun.run(MatrixRun.java:146) at hudson.model.ResourceController.execute(ResourceController.java:89) at hudson.model.Executor.run(Executor.java:240)
          Christian Grobauer made changes -
          Component/s Original: multijob-plugin [ 16545 ]

            schristou Steven Christou
            cgrb Christian Grobauer
            Votes:
            21 Vote for this issue
            Watchers:
            32 Start watching this issue

              Created:
              Updated: