Can't create new build configurations for Ipr&Inspection runner

I updated my local test installation of TC from the last EAP to Beta (#4037) and since then I can't add a new build configuration that's using either the IPR or the Inspections runner.

After entering e.g. "IdeaTorino\Torino.ipr" in the "Path to .ipr file" and clicking Save, Agra always complains
Cannot find IPR file in VCS: Unable to find IdeaTorino\Torino.ipr in project Torino

Even in a project where an Ipr build configuration already exists (and works perfectly well), I cannot add an Inspection build configuration using exactly the same entry in the "Path to .ipr file".

Perhaps I should add that I configured just one VCS root and this one is using svn:externals property.
"Externals support" is enabled of course.

Again, that worked in the last EAP and seems to be broken in #4037).

7 comments
Comment actions Permalink

Tobias,

Could you please enable DEBUG level on the teamcity server,
remove TeamCity/logs/* files, and try the operation again.
See http://urltea.com/3g1 for reference how to enable debug options.

We'll try to detect the problem from the logs.
With kind regards
KIR

0
Comment actions Permalink

Ok, I have a log file with debug information now.
This is what happens when I try to create a new build config:

DEBUG - Server.vcs.impl.VcsManagerImpl - VCS:[svn ]
jetbrains.buildServer.vcs.VcsException: org.tmatesoft.svn.core.SVNException: svn: GET request failed on '/med_projekte/!svn/bc/5703/trunk/Konfiguration/MilanoBasic/IdeaBasic/MilanoBasic.ipr'
svn: '/med_projekte/!svn/bc/5703/trunk/Konfiguration/MilanoBasic/IdeaBasic/MilanoBasic.ipr' path not found: 404 Not Found (http://DeMucSApp01/)
at jetbrains.buildServer.buildTriggers.vcs.svn.SvnSupport.getContent(SvnSupport.java:42)
at jetbrains.buildServer.vcs.impl.VcsManagerImpl.getFileContent(VcsManagerImpl.java:54)
at jetbrains.buildServer.vcs.impl.VcsContentProvider.getContent(VcsContentProvider.java:1)
at jetbrains.buildServer.ideaSettings.IdeaSettings.update(IdeaSettings.java:80)
at jetbrains.buildServer.controllers.admin.ipr.IprWebManagerImpl.getErrors(IprWebManagerImpl.java:53)
at jetbrains.buildServer.controllers.admin.ipr.IprBasedRunTypeExtension.validate(IprBasedRunTypeExtension.java:2)
at jetbrains.buildServer.controllers.admin.projects.RunTypeExtensionProcessor.validate(RunTypeExtensionProcessor.java:4)
at jetbrains.buildServer.controllers.admin.projects.AdminCreateBuildTypeController.processCreateBuildTypeSubmit(AdminCreateBuildTypeController.java:6)
at jetbrains.buildServer.controllers.admin.projects.AdminCreateBuildTypeController.doPost(AdminCreateBuildTypeController.java:62)
at jetbrains.buildServer.controllers.BaseFormXmlController.doHandle(BaseFormXmlController.java:20)
at jetbrains.buildServer.controllers.BaseController.handleRequestInternal(BaseController.java:11)
at org.springframework.web.servlet.mvc.AbstractController.handleRequest(AbstractController.java:153)
at org.springframework.web.servlet.mvc.SimpleControllerHandlerAdapter.handle(SimpleControllerHandlerAdapter.java:44)
at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:723)
at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:663)
at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:394)
at org.springframework.web.servlet.FrameworkServlet.doPost(FrameworkServlet.java:358)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:709)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)
at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)
at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
at java.lang.Thread.run(Unknown Source)
Caused by: org.tmatesoft.svn.core.SVNException: svn: GET request failed on '/med_projekte/!svn/bc/5703/trunk/Konfiguration/MilanoBasic/IdeaBasic/MilanoBasic.ipr'
svn: '/med_projekte/!svn/bc/5703/trunk/Konfiguration/MilanoBasic/IdeaBasic/MilanoBasic.ipr' path not found: 404 Not Found (http://DeMucSApp01/)
at org.tmatesoft.svn.core.internal.wc.SVNErrorManager.error(SVNErrorManager.java:80)
at org.tmatesoft.svn.core.internal.io.dav.http.HTTPConnection.request(HTTPConnection.java:513)
at org.tmatesoft.svn.core.internal.io.dav.http.HTTPConnection.request(HTTPConnection.java:230)
at org.tmatesoft.svn.core.internal.io.dav.DAVConnection.doGet(DAVConnection.java:207)
at org.tmatesoft.svn.core.internal.io.dav.DAVRepository.getFile(DAVRepository.java:254)
at jetbrains.buildServer.buildTriggers.vcs.svn.SvnConnection.getContent(SvnConnection.java:146)
at jetbrains.buildServer.buildTriggers.vcs.svn.SvnSupport.getContent(SvnSupport.java:41)
... 32 more
DEBUG - rver.ideaSettings.IdeaSettings - IdeaSettings start: 0 msec
DEBUG - Server.vcs.impl.VcsManagerImpl - VCS:[svn ]
jetbrains.buildServer.vcs.VcsException: org.tmatesoft.svn.core.SVNException: svn: GET request failed on '/med_projekte/!svn/bc/5703/trunk/Konfiguration/MilanoBasic/IdeaBasic/MilanoBasic.ipr'
svn: '/med_projekte/!svn/bc/5703/trunk/Konfiguration/MilanoBasic/IdeaBasic/MilanoBasic.ipr' path not found: 404 Not Found (http://DeMucSApp01/)
at jetbrains.buildServer.buildTriggers.vcs.svn.SvnSupport.getContent(SvnSupport.java:42)
at jetbrains.buildServer.vcs.impl.VcsManagerImpl.getFileContent(VcsManagerImpl.java:54)
at jetbrains.buildServer.vcs.impl.VcsContentProvider.getContent(VcsContentProvider.java:1)
at jetbrains.buildServer.ideaSettings.IdeaSettings.update(IdeaSettings.java:80)
at jetbrains.buildServer.controllers.admin.ipr.IprWebManagerImpl.putIprInfo2Model(IprWebManagerImpl.java:24)
at jetbrains.buildServer.controllers.admin.ipr.IprBasedRunTypeExtension.fillModel(IprBasedRunTypeExtension.java:3)
at jetbrains.buildServer.controllers.admin.projects.RunTypeExtensionProcessor.fillModel(RunTypeExtensionProcessor.java:19)
at jetbrains.buildServer.controllers.admin.projects.ShowRunParametersController.doHandle(ShowRunParametersController.java:11)
at jetbrains.buildServer.controllers.BaseController.handleRequestInternal(BaseController.java:11)
at org.springframework.web.servlet.mvc.AbstractController.handleRequest(AbstractController.java:153)
at org.springframework.web.servlet.mvc.SimpleControllerHandlerAdapter.handle(SimpleControllerHandlerAdapter.java:44)
at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:723)
at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:663)
at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:394)
at org.springframework.web.servlet.FrameworkServlet.doPost(FrameworkServlet.java:358)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:709)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)
at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)
at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
at java.lang.Thread.run(Unknown Source)
Caused by: org.tmatesoft.svn.core.SVNException: svn: GET request failed on '/med_projekte/!svn/bc/5703/trunk/Konfiguration/MilanoBasic/IdeaBasic/MilanoBasic.ipr'
svn: '/med_projekte/!svn/bc/5703/trunk/Konfiguration/MilanoBasic/IdeaBasic/MilanoBasic.ipr' path not found: 404 Not Found (http://DeMucSApp01/)
at org.tmatesoft.svn.core.internal.wc.SVNErrorManager.error(SVNErrorManager.java:80)
at org.tmatesoft.svn.core.internal.io.dav.http.HTTPConnection.request(HTTPConnection.java:513)
at org.tmatesoft.svn.core.internal.io.dav.http.HTTPConnection.request(HTTPConnection.java:230)
at org.tmatesoft.svn.core.internal.io.dav.DAVConnection.doGet(DAVConnection.java:207)
at org.tmatesoft.svn.core.internal.io.dav.DAVRepository.getFile(DAVRepository.java:254)
at jetbrains.buildServer.buildTriggers.vcs.svn.SvnConnection.getContent(SvnConnection.java:146)
at jetbrains.buildServer.buildTriggers.vcs.svn.SvnSupport.getContent(SvnSupport.java:41)
... 30 more
DEBUG - rver.ideaSettings.IdeaSettings - IdeaSettings start: 0 msec


As I wrote, the folder "med_projekte/trunk/Konfiguration/MilanoBasic" doesn't have any subfolders or files, but only an svn:externals property, where e.g. "IdeaBasic" is set to "http://DeMucSApp01/med_projekte/trunk/Module/IdeaBasic".
Obviously there is a problem now accessing this folder that wasn't there with the Agra EAP release before 2.0 beta.

0
Comment actions Permalink

Here's something else I tried:

I created a new project with a new VCS root. Again I was using SVN and set the VCS root to a folder that has only an svn:externals property set.

After that, I could create a build configuration for the Maven2 runner. This build works well, all the sources could be checked out by TC (on the agent).

When I try to add an Ipr or Inspection build configuration, I get the same error described above again.

This problem severely limits my testing capabilities for Agra right now. :(

0
Comment actions Permalink

Tobias, the problem is that your IPR file is in svn:externals path. This is why we cannot find it
(and as I can say, such scenario should never had worked). As a workaround place your ipr file to main SVN VCS root.

Kind regards,
KIR

0
Comment actions Permalink

Exactly what do you mean by "workaound"?
Is this to be understood that you won't fix that behavior and that in order to use TC with svn:externals we'll have to re-design our whole project structure in svn?
IMHO there must not be a restriction that anything can be in svn:externals path but IPR files. That's just weird and is beyond any logic.
The pom.xml file for the Maven2 runner also is in the svn:externals path and there it works as well.

If you meant "workaround" as workaround for the time being and that this will be resolved in one of the next EAP build, then I could live with that.

Is there a JIRA issue I could watch?

Message was edited by:
Tobias Kurzke

0
Comment actions Permalink

Thanks, that was the reaction I was hoping for and that's why I think jetbrains has one of the best customer supports. ;)

0

Please sign in to leave a comment.