JENKINS SVN Подключение: E175002: тайм-аут ожидания сервера - PullRequest
0 голосов
/ 14 ноября 2018

Мы используем SVN в качестве инструмента SCM и Jenkins в качестве инструмента CI. Первая проверка SVN от Дженкинса прошла успешно. Но последующие проверки завершаются с ошибкой тайм-аута.

Желаемый результат - успешная проверка и сборка.

18:04:53 ERROR: Failed to check out https://svnserver/svn/T11_2293_Digitalbanking/DevOps/EKYC-UTF8/ekycupdate
18:04:53 org.tmatesoft.svn.core.SVNException: svn: E175002: timed out waiting for server
18:04:53 svn: E175002: OPTIONS request failed on '/svn/T11_2293_Digitalbanking/DevOps/EKYC-UTF8/ekycupdate'
18:04:53    at org.tmatesoft.svn.core.internal.wc.SVNErrorManager.error(SVNErrorManager.java:112)
18:04:53    at org.tmatesoft.svn.core.internal.wc.SVNErrorManager.error(SVNErrorManager.java:96)
18:04:53    at org.tmatesoft.svn.core.internal.io.dav.http.HTTPConnection.request(HTTPConnection.java:765)
18:04:53    at org.tmatesoft.svn.core.internal.io.dav.http.HTTPConnection.request(HTTPConnection.java:352)
18:04:53    at org.tmatesoft.svn.core.internal.io.dav.http.HTTPConnection.request(HTTPConnection.java:340)
18:04:53    at org.tmatesoft.svn.core.internal.io.dav.DAVConnection.performHttpRequest(DAVConnection.java:910)
18:04:53    at org.tmatesoft.svn.core.internal.io.dav.DAVConnection.exchangeCapabilities(DAVConnection.java:702)
18:04:53    at org.tmatesoft.svn.core.internal.io.dav.DAVConnection.open(DAVConnection.java:113)
18:04:53    at org.tmatesoft.svn.core.internal.io.dav.DAVRepository.openConnection(DAVRepository.java:1035)
18:04:53    at org.tmatesoft.svn.core.internal.io.dav.DAVRepository.getLatestRevision(DAVRepository.java:164)
18:04:53    at org.tmatesoft.svn.core.internal.wc16.SVNBasicDelegate.getRevisionNumber(SVNBasicDelegate.java:480)
18:04:53    at org.tmatesoft.svn.core.internal.wc16.SVNBasicDelegate.getLocations(SVNBasicDelegate.java:833)
18:04:53    at org.tmatesoft.svn.core.internal.wc16.SVNBasicDelegate.createRepository(SVNBasicDelegate.java:527)
18:04:53    at org.tmatesoft.svn.core.internal.wc16.SVNUpdateClient16.doCheckout(SVNUpdateClient16.java:875)
18:04:53    at org.tmatesoft.svn.core.internal.wc2.old.SvnOldCheckout.run(SvnOldCheckout.java:66)
18:04:53    at org.tmatesoft.svn.core.internal.wc2.old.SvnOldCheckout.run(SvnOldCheckout.java:18)
18:04:53    at org.tmatesoft.svn.core.internal.wc2.SvnOperationRunner.run(SvnOperationRunner.java:21)
18:04:53    at org.tmatesoft.svn.core.wc2.SvnOperationFactory.run(SvnOperationFactory.java:1239)
18:04:53    at org.tmatesoft.svn.core.wc2.SvnOperation.run(SvnOperation.java:294)
18:04:53    at hudson.scm.subversion.CheckoutUpdater$SubversionUpdateTask.perform(CheckoutUpdater.java:133)
18:04:53    at hudson.scm.subversion.WorkspaceUpdater$UpdateTask.delegateTo(WorkspaceUpdater.java:168)
18:04:53    at hudson.scm.subversion.WorkspaceUpdater$UpdateTask.delegateTo(WorkspaceUpdater.java:176)
18:04:53    at hudson.scm.subversion.UpdateUpdater$TaskImpl.perform(UpdateUpdater.java:134)
18:04:53    at hudson.scm.subversion.WorkspaceUpdater$UpdateTask.delegateTo(WorkspaceUpdater.java:168)
18:04:53    at hudson.scm.SubversionSCM$CheckOutTask.perform(SubversionSCM.java:1041)
18:04:53    at hudson.scm.SubversionSCM$CheckOutTask.invoke(SubversionSCM.java:1017)
18:04:53    at hudson.scm.SubversionSCM$CheckOutTask.invoke(SubversionSCM.java:990)
18:04:53    at hudson.FilePath.act(FilePath.java:1042)
18:04:53    at hudson.FilePath.act(FilePath.java:1025)
18:04:53    at hudson.scm.SubversionSCM.checkout(SubversionSCM.java:937)
18:04:53    at hudson.scm.SubversionSCM.checkout(SubversionSCM.java:864)
18:04:53    at hudson.scm.SCM.checkout(SCM.java:504)
18:04:53    at hudson.model.AbstractProject.checkout(AbstractProject.java:1208)
18:04:53    at hudson.model.AbstractBuild$AbstractBuildExecution.defaultCheckout(AbstractBuild.java:574)
18:04:53    at jenkins.scm.SCMCheckoutStrategy.checkout(SCMCheckoutStrategy.java:86)
18:04:53    at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:499)
18:04:53    at hudson.model.Run.execute(Run.java:1798)
18:04:53    at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43)
18:04:53    at hudson.model.ResourceController.execute(ResourceController.java:97)
18:04:53    at hudson.model.Executor.run(Executor.java:429)
18:04:53 Caused by: java.net.SocketTimeoutException: connect timed out
18:04:53    at java.net.PlainSocketImpl.socketConnect(Native Method)
18:04:53    at java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:350)
18:04:53    at java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:206)
18:04:53    at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:188)
18:04:53    at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392)
18:04:53    at java.net.Socket.connect(Socket.java:589)
18:04:53    at sun.security.ssl.SSLSocketImpl.connect(SSLSocketImpl.java:673)
18:04:53    at org.tmatesoft.svn.core.internal.util.SVNSocketConnection.run(SVNSocketConnection.java:57)
18:04:53    at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
18:04:53    at java.util.concurrent.FutureTask.run(FutureTask.java:266)
18:04:53    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
18:04:53    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
18:04:53    at java.lang.Thread.run(Thread.java:748)
18:04:53 java.net.SocketTimeoutException: connect timed out
18:04:53    at java.net.PlainSocketImpl.socketConnect(Native Method)
18:04:53    at java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:350)
18:04:53    at java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:206)
18:04:53    at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:188)
18:04:53    at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392)
18:04:53    at java.net.Socket.connect(Socket.java:589)
18:04:53    at sun.security.ssl.SSLSocketImpl.connect(SSLSocketImpl.java:673)
18:04:53    at org.tmatesoft.svn.core.internal.util.SVNSocketConnection.run(SVNSocketConnection.java:57)
18:04:53    at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
18:04:53    at java.util.concurrent.FutureTask.run(FutureTask.java:266)
18:04:53    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
18:04:53    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
18:04:53    at java.lang.Thread.run(Thread.java:748)
18:04:53 Caused: org.tmatesoft.svn.core.SVNException: svn: E175002: timed out waiting for server
18:04:53 svn: E175002: OPTIONS request failed on '/svn/T11_2293_Digitalbanking/DevOps/EKYC-UTF8/ekycupdate'
18:04:53    at org.tmatesoft.svn.core.internal.wc.SVNErrorManager.error(SVNErrorManager.java:112)
18:04:53    at org.tmatesoft.svn.core.internal.wc.SVNErrorManager.error(SVNErrorManager.java:96)
18:04:53    at org.tmatesoft.svn.core.internal.io.dav.http.HTTPConnection.request(HTTPConnection.java:765)
18:04:53    at org.tmatesoft.svn.core.internal.io.dav.http.HTTPConnection.request(HTTPConnection.java:352)
18:04:53    at org.tmatesoft.svn.core.internal.io.dav.http.HTTPConnection.request(HTTPConnection.java:340)
18:04:53    at org.tmatesoft.svn.core.internal.io.dav.DAVConnection.performHttpRequest(DAVConnection.java:910)
18:04:53    at org.tmatesoft.svn.core.internal.io.dav.DAVConnection.exchangeCapabilities(DAVConnection.java:702)
18:04:53    at org.tmatesoft.svn.core.internal.io.dav.DAVConnection.open(DAVConnection.java:113)
18:04:53    at org.tmatesoft.svn.core.internal.io.dav.DAVRepository.openConnection(DAVRepository.java:1035)
18:04:53    at org.tmatesoft.svn.core.internal.io.dav.DAVRepository.getLatestRevision(DAVRepository.java:164)
18:04:53    at org.tmatesoft.svn.core.internal.wc16.SVNBasicDelegate.getRevisionNumber(SVNBasicDelegate.java:480)
18:04:53    at org.tmatesoft.svn.core.internal.wc16.SVNBasicDelegate.getLocations(SVNBasicDelegate.java:833)
18:04:53    at org.tmatesoft.svn.core.internal.wc16.SVNBasicDelegate.createRepository(SVNBasicDelegate.java:527)
18:04:53    at org.tmatesoft.svn.core.internal.wc16.SVNUpdateClient16.doCheckout(SVNUpdateClient16.java:875)
18:04:53    at org.tmatesoft.svn.core.internal.wc2.old.SvnOldCheckout.run(SvnOldCheckout.java:66)
18:04:53    at org.tmatesoft.svn.core.internal.wc2.old.SvnOldCheckout.run(SvnOldCheckout.java:18)
18:04:53    at org.tmatesoft.svn.core.internal.wc2.SvnOperationRunner.run(SvnOperationRunner.java:21)
18:04:53    at org.tmatesoft.svn.core.wc2.SvnOperationFactory.run(SvnOperationFactory.java:1239)
18:04:53    at org.tmatesoft.svn.core.wc2.SvnOperation.run(SvnOperation.java:294)
18:04:53    at hudson.scm.subversion.CheckoutUpdater$SubversionUpdateTask.perform(CheckoutUpdater.java:133)
18:04:53 Caused: java.io.IOException: Failed to check out https://hydsvnuat.icicibankltd.com/svn/T11_2293_Digitalbanking/DevOps/EKYC-UTF8/ekycupdate
18:04:53    at hudson.scm.subversion.CheckoutUpdater$SubversionUpdateTask.perform(CheckoutUpdater.java:144)
18:04:53    at hudson.scm.subversion.WorkspaceUpdater$UpdateTask.delegateTo(WorkspaceUpdater.java:168)
18:04:53    at hudson.scm.subversion.WorkspaceUpdater$UpdateTask.delegateTo(WorkspaceUpdater.java:176)
18:04:53    at hudson.scm.subversion.UpdateUpdater$TaskImpl.perform(UpdateUpdater.java:134)
18:04:53    at hudson.scm.subversion.WorkspaceUpdater$UpdateTask.delegateTo(WorkspaceUpdater.java:168)
18:04:53    at hudson.scm.SubversionSCM$CheckOutTask.perform(SubversionSCM.java:1041)
18:04:53    at hudson.scm.SubversionSCM$CheckOutTask.invoke(SubversionSCM.java:1017)
18:04:53    at hudson.scm.SubversionSCM$CheckOutTask.invoke(SubversionSCM.java:990)
18:04:53    at hudson.FilePath.act(FilePath.java:1042)
18:04:53    at hudson.FilePath.act(FilePath.java:1025)
18:04:53    at hudson.scm.SubversionSCM.checkout(SubversionSCM.java:937)
18:04:53    at hudson.scm.SubversionSCM.checkout(SubversionSCM.java:864)
18:04:53    at hudson.scm.SCM.checkout(SCM.java:504)
18:04:53    at hudson.model.AbstractProject.checkout(AbstractProject.java:1208)
18:04:53    at hudson.model.AbstractBuild$AbstractBuildExecution.defaultCheckout(AbstractBuild.java:574)
18:04:53    at jenkins.scm.SCMCheckoutStrategy.checkout(SCMCheckoutStrategy.java:86)
18:04:53    at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:499)
18:04:53    at hudson.model.Run.execute(Run.java:1798)
18:04:53    at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43)
18:04:53    at hudson.model.ResourceController.execute(ResourceController.java:97)
18:04:53    at hudson.model.Executor.run(Executor.java:429)

Есть идеи?

Примечание : наш Jenkins работает в контейнере Docker, и я недавно перешел на SVN из Git из-за политики компании.

1 Ответ

0 голосов
/ 14 июля 2019

Для всех читателей проблема заключалась в политике аутентификации нашей организации.Пользователи должны обновлять свои пароли каждые 30 дней в нашей организации.

Пользователь должен был сменить пароль и не обновлять его в Jenkins.В результате время соединения истекло.

Проблема была решена после обновления пароля пользователя SVN в Jenkins.

С уважением

...