See <https://builds.apache.org/job/sling-trunk-1.7/391/changes>

Changes:

[bdelacretaz] SLING-3215 - switch to JUnit4-style tests, to be able to use 
RetryRule later

[bdelacretaz] SLING-3214 - some utility methods have moved to the new HttpTest 
class

[bdelacretaz] SLING-3214 - adapt HttpTestBase and related classes for 
Junit4-style tests

------------------------------------------
[...truncated 38480 lines...]
        at java.lang.Thread.run(Thread.java:724)
</pre>
<h3>Request Progress:</h3>
<pre>
      0 (2013-10-29 13:44:16) TIMER_START{Request Processing}
      0 (2013-10-29 13:44:16) COMMENT timer_end format is {&lt;elapsed 
msec&gt;,&lt;timer name&gt;} &lt;optional message&gt;
      0 (2013-10-29 13:44:16) LOG Method=GET, 
PathInfo=/SLING457Test/1383054255756/x.foo.html
      0 (2013-10-29 13:44:16) TIMER_START{ResourceResolution}
      1 (2013-10-29 13:44:16) TIMER_END{1,ResourceResolution} 
URI=/SLING457Test/1383054255756/x.foo.html resolves to 
Resource=JcrNodeResource, type=/SLING457Test/1383054255756/b, superType=null, 
path=/SLING457Test/1383054255756/x
      1 (2013-10-29 13:44:16) LOG Resource Path Info: SlingRequestPathInfo: 
path='/SLING457Test/1383054255756/x', selectorString='foo', extension='html', 
suffix='null'
      1 (2013-10-29 13:44:16) TIMER_START{ServletResolution}
      1 (2013-10-29 13:44:16) TIMER_START{resolveServlet(JcrNodeResource, 
type=/SLING457Test/1383054255756/b, superType=null, 
path=/SLING457Test/1383054255756/x)}
      9 (2013-10-29 13:44:16) TIMER_END{8,resolveServlet(JcrNodeResource, 
type=/SLING457Test/1383054255756/b, superType=null, 
path=/SLING457Test/1383054255756/x)} Using servlet 
/SLING457Test/1383054255756/a/foo.html.jsp
      9 (2013-10-29 13:44:16) TIMER_END{8,ServletResolution} 
URI=/SLING457Test/1383054255756/x.foo.html handled by 
Servlet=/SLING457Test/1383054255756/a/foo.html.jsp
      9 (2013-10-29 13:44:16) LOG Applying Requestfilters
      9 (2013-10-29 13:44:16) LOG Calling filter: 
org.apache.sling.engine.impl.debug.RequestProgressTrackerLogFilter
      9 (2013-10-29 13:44:16) LOG Calling filter: 
org.apache.sling.launchpad.testservices.filters.SlingFilter
      9 (2013-10-29 13:44:16) LOG Calling filter: 
org.apache.sling.launchpad.testservices.filters.NoPropertyFilter
      9 (2013-10-29 13:44:16) 
TIMER_START{/SLING457Test/1383054255756/a/foo.html.jsp#0}
    830 (2013-10-29 13:44:16) LOG SCRIPT ERROR: 
org.apache.sling.scripting.jsp.jasper.JasperException: Unable to compile class 
for JSP
    830 (2013-10-29 13:44:16) 
TIMER_END{821,/SLING457Test/1383054255756/a/foo.html.jsp#0}
    837 (2013-10-29 13:44:16) 
TIMER_START{handleError:throwable=java.lang.NullPointerException}
    843 (2013-10-29 13:44:16) 
TIMER_END{6,handleError:throwable=java.lang.NullPointerException} Using handler 
org.apache.sling.servlets.resolver.internal.defaults.DefaultErrorHandlerServlet
    854 (2013-10-29 13:44:16) TIMER_END{854,Request Processing} Dumping 
SlingRequestProgressTracker Entries
</pre>
<hr>
<address>ApacheSling/2.2 (jetty/7.x.y-SNAPSHOT, Java HotSpot(TM) Server VM 
1.7.0_25, Linux 3.2.0-51-generic i386)</address>
</body>
</html>
) expected:<200> but was:<500>
        at junit.framework.Assert.fail(Assert.java:57)
        at junit.framework.Assert.failNotEquals(Assert.java:329)
        at junit.framework.Assert.assertEquals(Assert.java:78)
        at junit.framework.Assert.assertEquals(Assert.java:234)
        at junit.framework.TestCase.assertEquals(TestCase.java:401)
        at 
org.apache.sling.commons.testing.integration.HttpTestBase.getContent(HttpTestBase.java:369)
        at 
org.apache.sling.commons.testing.integration.HttpTestBase.getContent(HttpTestBase.java:344)
        at 
org.apache.sling.commons.testing.integration.HttpTestBase.getContent(HttpTestBase.java:336)
        at 
org.apache.sling.commons.testing.integration.HttpTestBase.getContent(HttpTestBase.java:331)
        at 
org.apache.sling.launchpad.webapp.integrationtest.issues.SLING457Test.testCallFooHtml(SLING457Test.java:78)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
        at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:606)
        at junit.framework.TestCase.runTest(TestCase.java:176)
        at junit.framework.TestCase.runBare(TestCase.java:141)
        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:255)
        at junit.framework.TestSuite.run(TestSuite.java:250)
        at 
org.junit.internal.runners.JUnit38ClassRunner.run(JUnit38ClassRunner.java:84)
        at junit.framework.JUnit4TestAdapter.run(JUnit4TestAdapter.java:38)
        at junit.framework.TestSuite.runTest(TestSuite.java:255)
        at 
org.apache.sling.launchpad.testing.LoggingSuite.runTest(LoggingSuite.java:56)
        at junit.framework.TestSuite.run(TestSuite.java:250)
        at 
org.apache.sling.launchpad.testing.LoggingSuite.run(LoggingSuite.java:46)
        at 
org.junit.internal.runners.JUnit38ClassRunner.run(JUnit38ClassRunner.java:84)
        at 
org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:252)
        at 
org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:141)
        at 
org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:112)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
        at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:606)
        at 
org.apache.maven.surefire.util.ReflectionUtils.invokeMethodWithArray(ReflectionUtils.java:189)
        at 
org.apache.maven.surefire.booter.ProviderFactory$ProviderProxy.invoke(ProviderFactory.java:165)
        at 
org.apache.maven.surefire.booter.ProviderFactory.invokeProvider(ProviderFactory.java:85)
        at 
org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:115)
        at 
org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:75)

initializationError(org.apache.sling.launchpad.webapp.integrationtest.JspScriptingTest)
  Time elapsed: 0 sec  <<< ERROR!
java.lang.Exception: No runnable methods
        at 
org.junit.runners.BlockJUnit4ClassRunner.validateInstanceMethods(BlockJUnit4ClassRunner.java:169)
        at 
org.junit.runners.BlockJUnit4ClassRunner.collectInitializationErrors(BlockJUnit4ClassRunner.java:104)
        at org.junit.runners.ParentRunner.validate(ParentRunner.java:355)
        at org.junit.runners.ParentRunner.<init>(ParentRunner.java:76)
        at 
org.junit.runners.BlockJUnit4ClassRunner.<init>(BlockJUnit4ClassRunner.java:57)
        at 
org.junit.internal.builders.JUnit4Builder.runnerForClass(JUnit4Builder.java:10)
        at 
org.junit.runners.model.RunnerBuilder.safeRunnerForClass(RunnerBuilder.java:59)
        at 
org.junit.internal.builders.AllDefaultPossibilitiesBuilder.runnerForClass(AllDefaultPossibilitiesBuilder.java:26)
        at 
org.junit.runners.model.RunnerBuilder.safeRunnerForClass(RunnerBuilder.java:59)
        at 
org.junit.internal.requests.ClassRequest.getRunner(ClassRequest.java:26)
        at junit.framework.JUnit4TestAdapter.<init>(JUnit4TestAdapter.java:30)
        at junit.framework.JUnit4TestAdapter.<init>(JUnit4TestAdapter.java:24)
        at org.apache.sling.launchpad.testing.TestAll.suite(TestAll.java:74)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
        at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:606)
        at 
org.junit.internal.runners.SuiteMethod.testFromSuiteMethod(SuiteMethod.java:35)
        at org.junit.internal.runners.SuiteMethod.<init>(SuiteMethod.java:24)
        at org.junit.runners.AllTests.<init>(AllTests.java:25)
        at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
        at 
sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)
        at 
sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
        at java.lang.reflect.Constructor.newInstance(Constructor.java:526)
        at 
org.junit.internal.builders.AnnotatedBuilder.buildRunner(AnnotatedBuilder.java:29)
        at 
org.junit.internal.builders.AnnotatedBuilder.runnerForClass(AnnotatedBuilder.java:21)
        at 
org.junit.runners.model.RunnerBuilder.safeRunnerForClass(RunnerBuilder.java:59)
        at 
org.junit.internal.builders.AllDefaultPossibilitiesBuilder.runnerForClass(AllDefaultPossibilitiesBuilder.java:26)
        at 
org.junit.runners.model.RunnerBuilder.safeRunnerForClass(RunnerBuilder.java:59)
        at 
org.junit.internal.requests.ClassRequest.getRunner(ClassRequest.java:26)
        at 
org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:250)
        at 
org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:141)
        at 
org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:112)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
        at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:606)
        at 
org.apache.maven.surefire.util.ReflectionUtils.invokeMethodWithArray(ReflectionUtils.java:189)
        at 
org.apache.maven.surefire.booter.ProviderFactory$ProviderProxy.invoke(ProviderFactory.java:165)
        at 
org.apache.maven.surefire.booter.ProviderFactory.invokeProvider(ProviderFactory.java:85)
        at 
org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:115)
        at 
org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:75)


Results :

Failed tests:   
testRecentRequestsEscape(org.apache.sling.launchpad.webapp.integrationtest.issues.SLING2085Test):
 expected:<201> but was:<503>
  
testCallFooHtml(org.apache.sling.launchpad.webapp.integrationtest.issues.SLING457Test):
 Expected status 200 for 
http://localhost:53063/SLING457Test/1383054255756/x.foo.html (content=<!DOCTYPE 
HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">(..)

Tests in error: 
  
testWithoutError(org.apache.sling.launchpad.webapp.integrationtest.issues.SLING2094Test):
 Expected status code 302 for POST, got 503, 
URL=http://localhost:53063/apps/sling2094, Content=[<html>(..)
  
testWithError(org.apache.sling.launchpad.webapp.integrationtest.issues.SLING2094Test):
 mkdir(http://localhost:53063/apps) failed, status code=503
  
testDateBeanProperties(org.apache.sling.launchpad.webapp.integrationtest.issues.SLING2617Test):
 Expected status code 302 for POST, got 503, 
URL=http://localhost:53063/SLING2617Test/, Content=[<html>(..)
  
initializationError(org.apache.sling.launchpad.webapp.integrationtest.JspScriptingTest):
 No runnable methods

Tests run: 510, Failures: 2, Errors: 4, Skipped: 0

[ERROR] There are test failures.

Please refer to 
<https://builds.apache.org/job/sling-trunk-1.7/ws/trunk/launchpad/testing/target/surefire-reports>
 for the individual test results.
[JENKINS] Archiving disabled
[JENKINS] Archiving disabled
[JENKINS] Archiving disabled
[JENKINS] Archiving disabled
[JENKINS] Archiving disabled
[JENKINS] Archiving disabled
[JENKINS] Archiving disabled
[JENKINS] Archiving disabled
[JENKINS] Archiving disabled
[JENKINS] Archiving disabled
[JENKINS] Archiving disabled
[JENKINS] Archiving disabled
[JENKINS] Archiving disabled
[JENKINS] Archiving disabled
[JENKINS] Archiving disabled
[JENKINS] Archiving disabled
[JENKINS] Archiving disabled
[JENKINS] Archiving disabled
[JENKINS] Archiving disabled
[JENKINS] Archiving disabled
[JENKINS] Archiving disabled
[JENKINS] Archiving disabled
[JENKINS] Archiving disabled
[JENKINS] Archiving disabled
[JENKINS] Archiving disabled
[JENKINS] Archiving disabled
[JENKINS] Archiving disabled
[JENKINS] Archiving disabled
[JENKINS] Archiving disabled
[JENKINS] Archiving disabled
[JENKINS] Archiving disabled
[JENKINS] Archiving disabled
[JENKINS] Archiving disabled
[JENKINS] Archiving disabled
[JENKINS] Archiving disabled
[JENKINS] Archiving disabled
[JENKINS] Archiving disabled
[JENKINS] Archiving disabled
[JENKINS] Archiving disabled
[JENKINS] Archiving disabled
[JENKINS] Archiving disabled
[JENKINS] Archiving disabled
[JENKINS] Archiving disabled
[JENKINS] Archiving disabled
[JENKINS] Archiving disabled
[JENKINS] Archiving disabled
[JENKINS] Archiving disabled
[JENKINS] Archiving disabled
[JENKINS] Archiving disabled
[JENKINS] Archiving disabled
[JENKINS] Archiving disabled
[JENKINS] Archiving disabled
[JENKINS] Archiving disabled
[JENKINS] Archiving disabled
[JENKINS] Archiving disabled
[JENKINS] Archiving disabled
[JENKINS] Archiving disabled
[JENKINS] Archiving disabled
[JENKINS] Archiving disabled
[JENKINS] Archiving disabled
[JENKINS] Archiving disabled
[JENKINS] Archiving disabled
[JENKINS] Archiving disabled
[JENKINS] Archiving disabled
[JENKINS] Archiving disabled
[JENKINS] Archiving disabled
[JENKINS] Archiving disabled
[JENKINS] Archiving disabled
[JENKINS] Archiving disabled
[JENKINS] Archiving disabled
[JENKINS] Archiving disabled
[JENKINS] Archiving disabled
[JENKINS] Archiving disabled
[JENKINS] Archiving disabled
[JENKINS] Archiving disabled
[JENKINS] Archiving disabled
[JENKINS] Archiving disabled
[JENKINS] Archiving disabled
[JENKINS] Archiving disabled
[JENKINS] Archiving disabled
[JENKINS] Archiving disabled
[JENKINS] Archiving disabled
[JENKINS] Archiving disabled
[JENKINS] Archiving disabled
[JENKINS] Archiving disabled
[JENKINS] Archiving disabled
[JENKINS] Archiving disabled
[JENKINS] Archiving disabled
[JENKINS] Archiving disabled
[JENKINS] Archiving disabled
[JENKINS] Archiving disabled
[JENKINS] Archiving disabled
[JENKINS] Archiving disabled
[JENKINS] Archiving disabled
[JENKINS] Archiving disabled
[JENKINS] Archiving disabled
[JENKINS] Archiving disabled
[JENKINS] Archiving disabled
[JENKINS] Archiving disabled
[JENKINS] Archiving disabled
[JENKINS] Archiving disabled
[JENKINS] Archiving disabled
[JENKINS] Archiving disabled
[JENKINS] Archiving disabled
[JENKINS] Archiving disabled
[JENKINS] Archiving disabled
[JENKINS] Archiving disabled
[JENKINS] Archiving disabled
[JENKINS] Archiving disabled
[JENKINS] Archiving disabled
[JENKINS] Archiving disabled
[JENKINS] Archiving disabled
Waiting for Jenkins to finish collecting data
Sending e-mails to: dev@sling.apache.org
channel stopped

Reply via email to