[dna-issues] [JBoss JIRA] Updated: (DNA-618) SVN connector integration tests are failing with '404 Not Found'

Brian Carothers (JIRA) jira-events at lists.jboss.org
Wed Jan 6 19:57:30 EST 2010


     [ https://jira.jboss.org/jira/browse/DNA-618?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Brian Carothers updated DNA-618:
--------------------------------

    Attachment: DNA-618.patch


The attached patch shrinks the size of the repo, making it run dramatically more quickly from sites outside of the jboss.org network.  Prior to the search code, there was no particular penalty for having a huge repo as long as you didn't try to read every node.  But the search code has to read the whole repo to build the search index.  In this case, that required reading several thousand files, each requiring two network calls (one for the file and one for its contents).

To echo something Randall said earlier on IRC, we probably need to start adding our own internal tests of the connectors on large repositories, but I think that will be separate from the TCK tests.

> SVN connector integration tests are failing with '404 Not Found'
> ----------------------------------------------------------------
>
>                 Key: DNA-618
>                 URL: https://jira.jboss.org/jira/browse/DNA-618
>             Project: DNA
>          Issue Type: Bug
>          Components: Connectors
>    Affects Versions: 0.7
>            Reporter: Randall Hauch
>            Priority: Blocker
>             Fix For: 0.7
>
>         Attachments: DNA-618.patch
>
>
> This failure happened during one of the nightly integration tests.  Note the '!' character in the path - is that right??
> org.jboss.dna.graph.connector.RepositorySourceException: org.tmatesoft.svn.core.SVNException: svn: '/repos/dna/!svn/bc/1517/trunk/ddl_sequencer/pom.xml' path not found: 404 Not Found (http://anonsvn.jboss.org)
> 	at org.jboss.dna.graph.search.SearchEngineIndexer.checkRequestForErrors(SearchEngineIndexer.java:380)
> 	at org.jboss.dna.graph.search.SearchEngineIndexer.indexSubgraph(SearchEngineIndexer.java:265)
> 	at org.jboss.dna.graph.search.SearchEngineIndexer.index(SearchEngineIndexer.java:227)
> 	at org.jboss.dna.graph.search.SearchEngineIndexer.index(SearchEngineIndexer.java:135)
> 	at org.jboss.dna.jcr.RepositoryQueryManager$SelfContained.reindexContent(RepositoryQueryManager.java:334)
> 	at org.jboss.dna.jcr.RepositoryQueryManager$SelfContained.<init>(RepositoryQueryManager.java:292)
> 	at org.jboss.dna.jcr.JcrRepository.<init>(JcrRepository.java:593)
> 	at org.jboss.dna.jcr.JcrEngine.doCreateJcrRepository(JcrEngine.java:257)
> 	at org.jboss.dna.jcr.JcrEngine.getRepository(JcrEngine.java:175)
> 	at org.jboss.dna.test.integration.svn.SvnAndJcrIntegrationTest.beforeEach(SvnAndJcrIntegrationTest.java:72)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> 	...
> Caused by: org.tmatesoft.svn.core.SVNException: svn: '/repos/dna/!svn/bc/1517/trunk/ddl_sequencer/pom.xml' path not found: 404 Not Found (http://anonsvn.jboss.org)
> 	at org.tmatesoft.svn.core.internal.wc.SVNErrorManager.error(SVNErrorManager.java:64)
> 	at org.tmatesoft.svn.core.internal.wc.SVNErrorManager.error(SVNErrorManager.java:51)
> 	at org.tmatesoft.svn.core.internal.io.dav.DAVUtil.getResourceProperties(DAVUtil.java:71)
> 	at org.tmatesoft.svn.core.internal.io.dav.DAVRepository.getFile(DAVRepository.java:275)
> 	at org.jboss.dna.connector.svn.SVNRepositoryRequestProcessor.getData(SVNRepositoryRequestProcessor.java:1351)
> 	at org.jboss.dna.connector.svn.SVNRepositoryRequestProcessor.readNode(SVNRepositoryRequestProcessor.java:285)
> 	at org.jboss.dna.connector.svn.SVNRepositoryRequestProcessor.process(SVNRepositoryRequestProcessor.java:308)
> 	at org.jboss.dna.graph.request.processor.RequestProcessor.process(RequestProcessor.java:608)
> 	at org.jboss.dna.graph.request.processor.RequestProcessor.process(RequestProcessor.java:241)
> 	at org.jboss.dna.graph.request.processor.RequestProcessor.process(RequestProcessor.java:314)
> 	at org.jboss.dna.graph.request.processor.RequestProcessor.process(RequestProcessor.java:223)
> 	at org.jboss.dna.connector.svn.SVNRepositoryConnection.execute(SVNRepositoryConnection.java:174)
> 	at org.jboss.dna.graph.connector.RepositoryConnectionPool$ConnectionWrapper.execute(RepositoryConnectionPool.java:996)
> 	at org.jboss.dna.graph.request.CompositeRequestChannel$2.call(CompositeRequestChannel.java:193)
> 	at org.jboss.dna.graph.request.CompositeRequestChannel$2.call(CompositeRequestChannel.java:189)
> 	at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:269)
> 	at java.util.concurrent.FutureTask.run(FutureTask.java:123)
> 	at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:650)
> 	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:675)
> 	at java.lang.Thread.run(Thread.java:595)

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the dna-issues mailing list