Jenkins doesn't execute ALL TIME with hudson.util.IOException2

This continues to happen, and then resolves throughout the day on several Jenkins assignments:

hudson.util.IOException2: revision check failed on http://svn.myCompanyRepo.com/path/to/project at hudson.scm.SubversionChangeLogBuilder.buildModule(SubversionChangeLogBuilder.java:189) at hudson.scm.SubversionChangeLogBuilder.run(SubversionChangeLogBuilder.java:132) at hudson.scm.SubversionSCM.calcChangeLog(SubversionSCM.java:738) at hudson.scm.SubversionSCM.checkout(SubversionSCM.java:899) at hudson.model.AbstractProject.checkout(AbstractProject.java:1414) at hudson.model.AbstractBuild$AbstractBuildExecution.defaultCheckout(AbstractBuild.java:671) at jenkins.scm.SCMCheckoutStrategy.checkout(SCMCheckoutStrategy.java:88) at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:580) at hudson.model.Run.execute(Run.java:1676) at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43) at hudson.model.ResourceController.execute(ResourceController.java:88) at hudson.model.Executor.run(Executor.java:231) Caused by: org.tmatesoft.svn.core.SVNCancelException: [etc...] 

Has anyone else experienced this and is there an easy fix? I am tired of receiving email for these false errors.

In our Jenkins environment, (unfortunately) the Windows Server 2008 R2 virtual machine is enabled.

+3
source share
1 answer

It looks like an error using svnkit . What version of the SVN plugin are you using? When did it happen? Can you do a check on your server using the Subversion URL?

Here is what I will do:

  • On your Windows Server 2008 R2 virtual machine, install the Subversion command-line client, if it is not already installed.
  • In this assembly, disable the assembly with an error. Thus, it is not built on you while you are debugging errors.
  • Using the console, find the working directory in which this task is performed. Try to check yourself.
  • If you cannot check but get a different error, it is possible that there is a network problem.
  • If you can check on this server, the problem may be the version of the Subversion plugin. Try moving the plugin back to the previous version of this plugin. Right now, it's at 2.2 (which works for me). The previous version, which I can downgrade to 1.54.

Who is the user who runs Jenkins? I know on Windows, this may be a service account, which makes it difficult to debug these things. I usually change this to a user called "Jenkins" that I can log into. So I'm the same user as Jenkins.

See if this helps solve the problem.

0
source

Source: https://habr.com/ru/post/921748/