Hi Olli, On Fri, 2017-01-27 at 13:40 +0100, Oliver Lietz wrote: > On Wednesday 25 January 2017 18:53:17 Robert Munteanu wrote: > > Hi, > > > > We solved 7 issues in these releases: > > https://issues.apache.org/jira/browse/SLING/fixforversion/12335042 > > https://issues.apache.org/jira/browse/SLING/fixforversion/12335341 > > Hi Robert, > > there are new test errors when running Launchpad's integration tests > against > Sling Karaf. Did you test DavEx with regular Launchpad?
Yup, the next SNAPSHOT versions are part of the launchpad and tested at https://builds.apache.org/view/S-Z/view/Sling/job/sling-launchpad-tes ting-1.8/ What do I need to do to run these tests myself? Robert > > Running > org.apache.sling.launchpad.webapp.integrationtest.DavExDisabledAnonAc > cessTest > Tests run: 2, Failures: 0, Errors: 2, Skipped: 0, Time elapsed: 0.572 > sec <<< > FAILURE! - in > org.apache.sling.launchpad.webapp.integrationtest.DavExDisabledAnonAc > cessTest > testDescriptor(org.apache.sling.launchpad.webapp.integrationtest.DavE > xDisabledAnonAccessTest) > Time elapsed: 0.411 sec <<< ERROR! > javax.jcr.RepositoryException: Unable to access a repository with > the > following settings: > org.apache.jackrabbit.repository.uri: http://localhost:61839/serv > er/ > The following RepositoryFactory classes were consulted: > org.apache.jackrabbit.jcr2dav.Jcr2davRepositoryFactory: declined > org.apache.jackrabbit.jcr2spi.Jcr2spiRepositoryFactory: declined > org.apache.jackrabbit.commons.JndiRepositoryFactory: declined > org.apache.jackrabbit.core.RepositoryFactoryImpl: declined > Perhaps the repository you are trying to access is not available at > the > moment. > at > org.apache.jackrabbit.commons.JcrUtils.getRepository(JcrUtils.java:22 > 3) > at > org.apache.jackrabbit.commons.JcrUtils.getRepository(JcrUtils.java:26 > 3) > at > org.apache.sling.launchpad.webapp.integrationtest.DavExIntegrationTes > t.setUp(DavExIntegrationTest.java:47) > at junit.framework.TestCase.runBare(TestCase.java:139) > at junit.framework.TestResult$1.protect(TestResult.java:122) > at junit.framework.TestResult.runProtected(TestResult.java:142) > at junit.framework.TestResult.run(TestResult.java:125) > at junit.framework.TestCase.run(TestCase.java:129) > at junit.framework.TestSuite.runTest(TestSuite.java:252) > at junit.framework.TestSuite.run(TestSuite.java:247) > at > org.junit.internal.runners.JUnit38ClassRunner.run(JUnit38ClassRunner. > java:86) > at > org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provide > r.java:283) > at > org.apache.maven.surefire.junit4.JUnit4Provider.executeWithRerun(JUni > t4Provider.java:173) > at > org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4 > Provider.java:153) > at > org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider > .java:128) > at > org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameCla > ssLoader(ForkedBooter.java:203) > at > org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(Fork > edBooter.java:155) > at > org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java: > 103) > > testReadNode(org.apache.sling.launchpad.webapp.integrationtest.DavExD > isabledAnonAccessTest) > Time elapsed: 0.161 sec <<< ERROR! > javax.jcr.RepositoryException: Unable to access a repository with > the > following settings: > org.apache.jackrabbit.repository.uri: http://localhost:61839/serv > er/ > The following RepositoryFactory classes were consulted: > org.apache.jackrabbit.jcr2dav.Jcr2davRepositoryFactory: declined > org.apache.jackrabbit.jcr2spi.Jcr2spiRepositoryFactory: declined > org.apache.jackrabbit.commons.JndiRepositoryFactory: declined > org.apache.jackrabbit.core.RepositoryFactoryImpl: declined > Perhaps the repository you are trying to access is not available at > the > moment. > at > org.apache.jackrabbit.commons.JcrUtils.getRepository(JcrUtils.java:22 > 3) > at > org.apache.jackrabbit.commons.JcrUtils.getRepository(JcrUtils.java:26 > 3) > at > org.apache.sling.launchpad.webapp.integrationtest.DavExIntegrationTes > t.setUp(DavExIntegrationTest.java:47) > at junit.framework.TestCase.runBare(TestCase.java:139) > at junit.framework.TestResult$1.protect(TestResult.java:122) > at junit.framework.TestResult.runProtected(TestResult.java:142) > at junit.framework.TestResult.run(TestResult.java:125) > at junit.framework.TestCase.run(TestCase.java:129) > at junit.framework.TestSuite.runTest(TestSuite.java:252) > at junit.framework.TestSuite.run(TestSuite.java:247) > at > org.junit.internal.runners.JUnit38ClassRunner.run(JUnit38ClassRunner. > java:86) > at > org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provide > r.java:283) > at > org.apache.maven.surefire.junit4.JUnit4Provider.executeWithRerun(JUni > t4Provider.java:173) > at > org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4 > Provider.java:153) > at > org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider > .java:128) > at > org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameCla > ssLoader(ForkedBooter.java:203) > at > org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(Fork > edBooter.java:155) > at > org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java: > 103) > > Running > org.apache.sling.launchpad.webapp.integrationtest.DavExIntegrationTes > t > Tests run: 2, Failures: 0, Errors: 2, Skipped: 0, Time elapsed: 0.022 > sec <<< > FAILURE! - in > org.apache.sling.launchpad.webapp.integrationtest.DavExIntegrationTes > t > testDescriptor(org.apache.sling.launchpad.webapp.integrationtest.DavE > xIntegrationTest) > Time elapsed: 0.001 sec <<< ERROR! > javax.jcr.RepositoryException: Unable to access a repository with > the > following settings: > org.apache.jackrabbit.repository.uri: http://localhost:61839/serv > er/ > The following RepositoryFactory classes were consulted: > org.apache.jackrabbit.jcr2dav.Jcr2davRepositoryFactory: declined > org.apache.jackrabbit.jcr2spi.Jcr2spiRepositoryFactory: declined > org.apache.jackrabbit.commons.JndiRepositoryFactory: declined > org.apache.jackrabbit.core.RepositoryFactoryImpl: declined > Perhaps the repository you are trying to access is not available at > the > moment. > at > org.apache.jackrabbit.commons.JcrUtils.getRepository(JcrUtils.java:22 > 3) > at > org.apache.jackrabbit.commons.JcrUtils.getRepository(JcrUtils.java:26 > 3) > at > org.apache.sling.launchpad.webapp.integrationtest.DavExIntegrationTes > t.setUp(DavExIntegrationTest.java:47) > > testReadNode(org.apache.sling.launchpad.webapp.integrationtest.DavExI > ntegrationTest) > Time elapsed: 0.021 sec <<< ERROR! > javax.jcr.RepositoryException: Unable to access a repository with > the > following settings: > org.apache.jackrabbit.repository.uri: http://localhost:61839/serv > er/ > The following RepositoryFactory classes were consulted: > org.apache.jackrabbit.jcr2dav.Jcr2davRepositoryFactory: declined > org.apache.jackrabbit.jcr2spi.Jcr2spiRepositoryFactory: declined > org.apache.jackrabbit.commons.JndiRepositoryFactory: declined > org.apache.jackrabbit.core.RepositoryFactoryImpl: declined > Perhaps the repository you are trying to access is not available at > the > moment. > at > org.apache.jackrabbit.commons.JcrUtils.getRepository(JcrUtils.java:22 > 3) > at > org.apache.jackrabbit.commons.JcrUtils.getRepository(JcrUtils.java:26 > 3) > at > org.apache.sling.launchpad.webapp.integrationtest.DavExIntegrationTes > t.setUp(DavExIntegrationTest.java:47) > > Regards, > O. > >
