Welcome to the Inedo Forums! Check out the Forums Guide for help getting started.

If you are experiencing any issues with the forum software, please visit the Contact Form on our website and let us know!

Unhandled Exception SharpSvn.SVnRepositoryIOException



  • I have a poll setup to check the SVN server at regular intervals in order to initiate automatic builds.

    Unfortunately a side effect of the way the Hyper-V hosts are backed up is that the server temporarily loses network connection at about 1 in the morning.

    As a result buildmaster logs are regularly filled up with the messages at the bottom of this post.

    Could a configuration option be added into the plugin to allow these messages to be muted, or configured to mute unless the problem persists for longer than x minutes?

    Unhandled Exception: SharpSvn.SvnRepositoryIOException: OPTIONS of 'xxx': could not connect to server (xxx)

    Server stack trace:
    at Inedo.BuildMaster.Util.Persistence.ExecuteMethodOnXmlPersistedObject(String objectXml, String methodName, Object[] parameters)
    at Inedo.BuildMaster.Extensibility.Agents.Local.LocalAgent.Inedo.BuildMaster.Extensibility.Agents.IPersistedObjectExecuter.ExecuteMethodOnXmlPersistedObject(String objectXml, String methodName, Object[] parameters)
    at Inedo.BuildMaster.Proxies.AgentProxy`1.ProxyExecute(IMethodCallMessage methodCallMessage)

    Exception rethrown at [0]:
    at System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage reqMsg, IMessage retMsg)
    at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData& msgData, Int32 type)
    at Inedo.BuildMaster.Extensibility.Providers.SourceControl.IRevisionProvider.GetCurrentRevision(String path)
    at Inedo.BuildMaster.Windows.ServiceApplication.ScheduleExecuter.ExecuteScmTriggered(Int32 buildScheduleId, Int32 applicationId, Int32 sourceControlProviderId, String path, String applicationName, Int32 quietPeriodMinutes)
    at Inedo.BuildMaster.Windows.ServiceApplication.ScheduleExecuter.<Execute>b__8(Object args)



  • I would suggest just disabling your build schedules during the outage period. Maybe at 12:45AM through 1:15AM (or whatever).

    This can be done through the API methods (BuildSchedules_GetSchedules and BuildSchedules_CreateOrUpdateSCMTriggered), or through a simple SQL Query (UPDATE BuildSchedules SET Active_Indicator = 'N').

    We don't have a generic task scheduler built-in to BuildMaster, so you'd want to use Windows Task scheduler to run the enable/disables.



Inedo Website HomeSupport HomeCode of ConductForums GuideDocumentation