See <https://builds.apache.org/job/sling-trunk-1.5/1305/changes>
Changes: [cziegeler] SLING-2167 : Use session from default implementation to let the tests pass ------------------------------------------ [...truncated 16195 lines...] [INFO] --- animal-sniffer-maven-plugin:1.7:check (default) @ org.apache.sling.testing.samples.integrationtests --- [INFO] [INFO] --- maven-jar-plugin:2.3.1:jar (default-jar) @ org.apache.sling.testing.samples.integrationtests --- [INFO] Building jar: <https://builds.apache.org/job/sling-trunk-1.5/ws/trunk/testing/samples/integration-tests/target/org.apache.sling.testing.samples.integrationtests-1.0.7-SNAPSHOT.jar> mojo forkStarted org.apache.maven.plugins:maven-source-plugin:2.1.2(attach-sources) forkedProjectStarted org.apache.sling:org.apache.sling.testing.samples.integrationtests1.0.7-SNAPSHOT [INFO] [INFO] --- maven-enforcer-plugin:1.0:enforce (enforce-java) @ org.apache.sling.testing.samples.integrationtests --- forkedProjectSucceeded org.apache.sling:org.apache.sling.testing.samples.integrationtests1.0.7-SNAPSHOT [JENKINS] Archiving <https://builds.apache.org/job/sling-trunk-1.5/ws/trunk/testing/samples/integration-tests/pom.xml> to /home/hudson/hudson/jobs/sling-trunk-1.5/modules/org.apache.sling$org.apache.sling.testing.samples.integrationtests/builds/2011-08-12_09-05-10/archive/org.apache.sling/org.apache.sling.testing.samples.integrationtests/1.0.7-SNAPSHOT/org.apache.sling.testing.samples.integrationtests-1.0.7-SNAPSHOT.pom [JENKINS] Archiving <https://builds.apache.org/job/sling-trunk-1.5/ws/trunk/testing/samples/integration-tests/target/org.apache.sling.testing.samples.integrationtests-1.0.7-SNAPSHOT.jar> to /home/hudson/hudson/jobs/sling-trunk-1.5/modules/org.apache.sling$org.apache.sling.testing.samples.integrationtests/builds/2011-08-12_09-05-10/archive/org.apache.sling/org.apache.sling.testing.samples.integrationtests/1.0.7-SNAPSHOT/org.apache.sling.testing.samples.integrationtests-1.0.7-SNAPSHOT.jar mojo forkSucceeded org.apache.maven.plugins:maven-source-plugin:2.1.2(attach-sources) ignoring exception during new ExecutedMojo null [INFO] [INFO] --- maven-source-plugin:2.1.2:jar (attach-sources) @ org.apache.sling.testing.samples.integrationtests --- [INFO] META-INF already added, skipping [INFO] META-INF/LICENSE already added, skipping [INFO] META-INF/NOTICE already added, skipping [INFO] META-INF/DEPENDENCIES already added, skipping [INFO] Building jar: <https://builds.apache.org/job/sling-trunk-1.5/ws/trunk/testing/samples/integration-tests/target/org.apache.sling.testing.samples.integrationtests-1.0.7-SNAPSHOT-sources.jar> [INFO] META-INF already added, skipping [INFO] META-INF/LICENSE already added, skipping [INFO] META-INF/NOTICE already added, skipping [INFO] META-INF/DEPENDENCIES already added, skipping [INFO] [INFO] --- maven-failsafe-plugin:2.7.2:integration-test (integration-test) @ org.apache.sling.testing.samples.integrationtests --- [INFO] Failsafe report directory: <https://builds.apache.org/job/sling-trunk-1.5/ws/trunk/testing/samples/integration-tests/target/failsafe-reports> ------------------------------------------------------- T E S T S ------------------------------------------------------- Running org.apache.sling.testing.samples.integrationtests.http.OsgiConsoleTest 5 [main] INFO org.apache.sling.testing.tools.sling.SlingTestBase - Server base URL=http://localhost:35583 17 [main] INFO org.apache.sling.testing.tools.jarexec.JarExecutor - Executable jar options: -p 35583 17 [main] INFO org.apache.sling.testing.tools.jarexec.JarExecutor - Executing java -Xmx512m -jar <https://builds.apache.org/job/sling-trunk-1.5/ws/trunk/testing/samples/integration-tests/target/dependency/org.apache.sling.launchpad-6-standalone.jar> -p 35583 21 [main] INFO org.apache.sling.testing.tools.sling.TimeoutsProvider - Timeout factor set to 1.0 from system property sling.testing.timeout.multiplier 21 [main] INFO org.apache.sling.testing.tools.sling.SlingTestBase - Will wait up to 60 seconds for server to become ready 23 [main] INFO org.apache.sling.testing.tools.sling.SlingTestBase - Checking that GET requests return expected content (timeout=60 seconds): [/:script src="system/sling.js", /.explorer.html:href="/libs/sling/explorer/css/explorer.css", /sling-test/sling/sling-test.html:Sling client library tests] 12.08.2011 09:46:15.551 *INFO* [main] Setting sling.home=sling (default) 12.08.2011 09:46:15.552 *INFO* [main] Starting Sling in sling (<https://builds.apache.org/job/sling-trunk-1.5/ws/trunk/testing/samples/integration-tests/sling)> 12.08.2011 09:46:15.556 *INFO* [main] Checking launcher JAR in folder sling 12.08.2011 09:46:15.567 *INFO* [main] Installing new launcher: jar:<https://builds.apache.org/job/sling-trunk-1.5/ws/trunk/testing/samples/integration-tests/target/dependency/org.apache.sling.launchpad-6-standalone.jar!/resources/org.apache.sling.launchpad.base.jar,> 2.3.0 (org.apache.sling.launchpad.base.jar.1313142375567) 12.08.2011 09:46:15.568 *INFO* [main] Loading launcher class org.apache.sling.launchpad.base.app.MainDelegate from org.apache.sling.launchpad.base.jar.1313142375567 12.08.2011 09:46:15.580 *INFO* [main] Starting launcher ... 12.08.2011 09:46:15.581 *INFO* [main] HTTP server port: 35583 12.08.2011 09:46:16.794 *INFO* [main] Startup completed 60649 [main] INFO org.apache.sling.testing.tools.sling.SlingTestBase - Server not ready after 60 seconds, giving up Tests run: 1, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 60.73 sec <<< FAILURE! Running org.apache.sling.testing.samples.integrationtests.serverside.JSONResponseTest 60671 [main] INFO org.apache.sling.testing.tools.sling.SlingTestBase - Server base URL=http://localhost:35583 Tests run: 1, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 0.003 sec <<< FAILURE! Running org.apache.sling.testing.samples.integrationtests.serverside.SingleServerSideMethodTest 60682 [main] INFO org.apache.sling.testing.tools.sling.SlingTestBase - Server base URL=http://localhost:35583 Tests run: 1, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 0.003 sec <<< FAILURE! Running org.apache.sling.testing.samples.integrationtests.serverside.sling.SlingServerSideSingleMethodTest 60689 [main] INFO org.apache.sling.testing.tools.sling.SlingTestBase - Server base URL=http://localhost:35583 Tests run: 1, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 0.004 sec <<< FAILURE! Running org.apache.sling.testing.samples.integrationtests.serverside.sling.SlingServerSideTest 60698 [main] INFO org.apache.sling.testing.tools.sling.SlingTestBase - Server base URL=http://localhost:35583 Tests run: 1, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 0.002 sec <<< FAILURE! Running org.apache.sling.testing.samples.integrationtests.serverside.FailingTestsTest 60703 [main] INFO org.apache.sling.testing.tools.sling.SlingTestBase - Server base URL=http://localhost:35583 Tests run: 1, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 0.002 sec <<< FAILURE! Running org.apache.sling.testing.samples.integrationtests.serverside.scriptable.ScriptableTestsTest 60717 [main] INFO org.apache.sling.testing.tools.sling.SlingTestBase - Server base URL=http://localhost:35583 60719 [main] INFO org.apache.sling.testing.tools.sling.SlingTestBase - Server base URL=http://localhost:35583 Tests run: 2, Failures: 2, Errors: 0, Skipped: 0, Time elapsed: 0.013 sec <<< FAILURE! Running org.apache.sling.testing.samples.integrationtests.serverside.DontCareForTestsCountTest Tests run: 1, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 0.002 sec <<< FAILURE! Running org.apache.sling.testing.samples.integrationtests.serverside.ServerSideSampleTest Tests run: 1, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 0.002 sec <<< FAILURE! 60723 [main] INFO org.apache.sling.testing.tools.sling.SlingTestBase - Server base URL=http://localhost:35583 60728 [main] INFO org.apache.sling.testing.tools.sling.SlingTestBase - Server base URL=http://localhost:35583 Results : Failed tests: testSomeConsolePaths(org.apache.sling.testing.samples.integrationtests.http.OsgiConsoleTest): Server not ready after 60 seconds, giving up testWithRetries(org.apache.sling.testing.samples.integrationtests.serverside.JSONResponseTest): Server is not ready according to previous tests initializationError(org.apache.sling.testing.samples.integrationtests.serverside.SingleServerSideMethodTest): Server is not ready according to previous tests initializationError(org.apache.sling.testing.samples.integrationtests.serverside.sling.SlingServerSideSingleMethodTest): Server is not ready according to previous tests initializationError(org.apache.sling.testing.samples.integrationtests.serverside.sling.SlingServerSideTest): Server is not ready according to previous tests testFailures(org.apache.sling.testing.samples.integrationtests.serverside.FailingTestsTest): Server is not ready according to previous tests testScriptableTest[0](org.apache.sling.testing.samples.integrationtests.serverside.scriptable.ScriptableTestsTest): Server is not ready according to previous tests testScriptableTest[1](org.apache.sling.testing.samples.integrationtests.serverside.scriptable.ScriptableTestsTest): Server is not ready according to previous tests initializationError(org.apache.sling.testing.samples.integrationtests.serverside.DontCareForTestsCountTest): Server is not ready according to previous tests initializationError(org.apache.sling.testing.samples.integrationtests.serverside.ServerSideSampleTest): Server is not ready according to previous tests Tests run: 10, Failures: 10, Errors: 0, Skipped: 0 [WARNING] File encoding has not been set, using platform encoding ANSI_X3.4-1968, i.e. build is platform dependent! [JENKINS] Recording test results [INFO] [INFO] Checking legal files in: org.apache.sling.testing.samples.integrationtests-1.0.7-SNAPSHOT.jar [INFO] Checking legal files in: org.apache.sling.testing.samples.integrationtests-1.0.7-SNAPSHOT-sources.jar [INFO] --- ianal-maven-plugin:1.0-alpha-1:verify-legal-files (default) @ org.apache.sling.testing.samples.integrationtests --- [INFO] [INFO] Failsafe report directory: <https://builds.apache.org/job/sling-trunk-1.5/ws/trunk/testing/samples/integration-tests/target/failsafe-reports> [WARNING] File encoding has not been set, using platform encoding ANSI_X3.4-1968, i.e. build is platform dependent! [INFO] --- maven-failsafe-plugin:2.7.2:verify (verify) @ org.apache.sling.testing.samples.integrationtests --- mojoFailed org.apache.maven.plugins:maven-failsafe-plugin:2.7.2(verify) projectFailed org.apache.sling:org.apache.sling.testing.samples.integrationtests:1.0.7-SNAPSHOT [JENKINS] Archiving <https://builds.apache.org/job/sling-trunk-1.5/ws/trunk/testing/samples/integration-tests/target/org.apache.sling.testing.samples.integrationtests-1.0.7-SNAPSHOT-sources.jar> to /home/hudson/hudson/jobs/sling-trunk-1.5/modules/org.apache.sling$org.apache.sling.testing.samples.integrationtests/builds/2011-08-12_09-05-10/archive/org.apache.sling/org.apache.sling.testing.samples.integrationtests/1.0.7-SNAPSHOT/org.apache.sling.testing.samples.integrationtests-1.0.7-SNAPSHOT-sources.jar sessionEnded [INFO] ------------------------------------------------------------------------ [INFO] Reactor Summary: [INFO] [INFO] Apache Sling (Parent) ............................. SUCCESS [15.636s] [INFO] Apache Sling Maven Plugin to create Jackrabbit OCM descriptors SUCCESS [10.872s] [INFO] Apache Sling Maven Plugin for Compiling JSP Sources into Bundles SUCCESS [9.468s] [INFO] Apache Sling Maven Plugin for Supporting Bundle Development SUCCESS [9.360s] [INFO] Apache Sling Launchpad API ........................ SUCCESS [8.517s] [INFO] Apache Sling Launchpad Base ....................... SUCCESS [26.255s] [INFO] Apache Sling Launchpad Maven Plugin ............... SUCCESS [13.865s] [INFO] Sling Launchpad Standalone Archetype .............. SUCCESS [8.174s] [INFO] Sling Launchpad Webapp Archetype .................. SUCCESS [7.550s] [INFO] Sling Initial Content Archetype ................... SUCCESS [8.065s] [INFO] Sling Servlet Archetype ........................... SUCCESS [7.740s] [INFO] Sling Bundle Archetype ............................ SUCCESS [7.031s] [INFO] Sling JCRInstall Bundle Archetype ................. SUCCESS [7.069s] [INFO] Apache Sling API .................................. SUCCESS [16.824s] [INFO] Apache Sling System Bundle Extension: Java Transaction API SUCCESS [7.600s] [INFO] Apache Sling System Bundle Extension: XML APIs .... SUCCESS [7.150s] [INFO] Apache Sling Dynamic Class Loader Support ......... SUCCESS [9.063s] [INFO] Apache Sling JSON Library ......................... SUCCESS [10.139s] [INFO] Apache Sling OSGi LogService Implementation ....... SUCCESS [10.516s] [INFO] Apache Sling MIME type mapping support ............ SUCCESS [9.536s] [INFO] Apache Sling Commons OSGi support ................. SUCCESS [9.302s] [INFO] Apache Sling Scheduler Support .................... SUCCESS [12.428s] [INFO] Apache Sling Testing Utilities .................... SUCCESS [19.110s] [INFO] Apache Sling Thread Support ....................... SUCCESS [21.787s] [INFO] Apache Sling Authentication Service ............... SUCCESS [12.783s] [INFO] Apache Sling OpenID Authentication ................ SUCCESS [15.538s] [INFO] Apache Sling Form Based Authentication Handler .... SUCCESS [17.745s] [INFO] Apache Sling Authentication Selector .............. SUCCESS [9.399s] [INFO] Apache Sling Engine Implementation ................ SUCCESS [14.248s] [INFO] Apache Sling Repository API Bundle ................ SUCCESS [8.506s] [INFO] Apache Sling JCR Base Bundle ...................... SUCCESS [10.662s] [INFO] Apache Sling JCR ClassLoader ...................... SUCCESS [9.939s] [INFO] Apache Sling Initial Content Loader ............... SUCCESS [13.064s] [INFO] Apache Sling Jackrabbit Embedded Repository ....... SUCCESS [39.691s] [INFO] Apache Sling Jackrabbit UserManager Support ....... SUCCESS [10.874s] [INFO] Apache Sling Jackrabbit JSR-283 Access Control Manager Support SUCCESS [10.031s] [INFO] Apache Sling Object Content Mapping ............... SUCCESS [15.588s] [INFO] Apache Sling JCR Resource Resolver ................ SUCCESS [39.366s] [INFO] Apache Sling Simple WebDAV Access to repositories . SUCCESS [17.106s] [INFO] Apache Sling DavEx Access to repositories ......... SUCCESS [13.468s] [INFO] Apache Sling JCR WebConsole Bundle ................ SUCCESS [10.879s] [INFO] Apache Sling Servlet Resolver ..................... SUCCESS [12.982s] [INFO] Apache Sling Default GET Servlets ................. SUCCESS [12.074s] [INFO] Apache Sling Default POST Servlets ................ SUCCESS [14.241s] [INFO] Apache Sling Scripting Implementation API ......... SUCCESS [10.993s] [INFO] Apache Sling Scripting Core implementation ........ SUCCESS [12.958s] [INFO] Apache Sling Scripting JavaScript Support ......... SUCCESS [23.010s] [INFO] Apache Sling Scripting JSP Support ................ SUCCESS [29.822s] [INFO] Apache Sling JSP Tag Library ...................... SUCCESS [10.884s] [INFO] Apache Sling Adapter Manager Implementation ....... SUCCESS [11.759s] [INFO] Apache Sling Bundle Resource Provider ............. SUCCESS [10.572s] [INFO] Apache Sling Event Support ........................ SUCCESS [4:10.572s] [INFO] Apache Sling Filesystem Resource Provider ......... SUCCESS [11.259s] [INFO] Apache Sling Settings ............................. SUCCESS [10.956s] [INFO] Apache Sling Thread Dumper ........................ SUCCESS [11.085s] [INFO] Apache Sling Web Console Branding ................. SUCCESS [10.397s] [INFO] Apache Sling Web Console Security Provider ........ SUCCESS [12.419s] [INFO] Apache Sling Integration Tests .................... SUCCESS [17.301s] [INFO] Apache Sling Groovy Extensions .................... SUCCESS [16.282s] [INFO] Apache Sling Explorer ............................. SUCCESS [11.783s] [INFO] Apache Sling Test Tools ........................... SUCCESS [11.701s] [INFO] Apache Sling JUnit Core ........................... SUCCESS [14.698s] [INFO] Apache Sling JUnit Scriptable Tests Provider ...... SUCCESS [12.953s] [INFO] Apache Sling JUnit Remote Tests Runners ........... SUCCESS [11.983s] [INFO] Apache Sling Installer ............................ SUCCESS [13.394s] [INFO] Apache Sling File Installer ....................... SUCCESS [11.171s] [INFO] Apache Sling JCR Installer ........................ SUCCESS [2:01.941s] [INFO] Apache Sling Installer Configuration Admin Support SUCCESS [11.516s] [INFO] Apache Sling Deployment Package Installer ......... SUCCESS [11.339s] [INFO] Apache Sling Installer Integration Tests .......... SUCCESS [1:20.880s] [INFO] Apache Sling Launchpad Installer .................. SUCCESS [11.664s] [INFO] Apache Sling Launchpad Content .................... SUCCESS [10.886s] [INFO] Apache Sling Launchpad Application Builder ........ SUCCESS [4:21.075s] [INFO] Apache Sling Sample Server-Side Tests ............. SUCCESS [12.544s] [INFO] Apache Sling Failing Server-Side Tests ............ SUCCESS [11.733s] [INFO] Apache Sling Sample Integration Tests ............. FAILURE [1:13.886s] [INFO] Apache Sling Launchpad Testing Services ........... SKIPPED [INFO] Apache Sling Launchpad Testing Services WAR ....... SKIPPED [INFO] Apache Sling Launchpad Test Bundles ............... SKIPPED [INFO] Apache Sling Launchpad Testing .................... SKIPPED [INFO] Apache Sling Launchpad Testing WAR version ........ SKIPPED [INFO] Apache Sling (Builder) ............................ SKIPPED [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 41:54.178s [INFO] Finished at: Fri Aug 12 09:47:18 UTC 2011 [INFO] Final Memory: 95M/222M [INFO] ------------------------------------------------------------------------ maven builder waiting mavenExecutionResult exceptions not empty message : Failed to execute goal org.apache.maven.plugins:maven-failsafe-plugin:2.7.2:verify (verify) on project org.apache.sling.testing.samples.integrationtests: There are test failures. Please refer to <https://builds.apache.org/job/sling-trunk-1.5/ws/trunk/testing/samples/integration-tests/target/failsafe-reports> for the individual test results. cause : There are test failures. Please refer to <https://builds.apache.org/job/sling-trunk-1.5/ws/trunk/testing/samples/integration-tests/target/failsafe-reports> for the individual test results. Stack trace : org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.apache.maven.plugins:maven-failsafe-plugin:2.7.2:verify (verify) on project org.apache.sling.testing.samples.integrationtests: There are test failures. Please refer to <https://builds.apache.org/job/sling-trunk-1.5/ws/trunk/testing/samples/integration-tests/target/failsafe-reports> for the individual test results. at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:213) at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153) at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145) at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:84) at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:59) at org.apache.maven.lifecycle.internal.LifecycleStarter.singleThreadedBuild(LifecycleStarter.java:183) at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:161) at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:319) at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:156) at org.jvnet.hudson.maven3.launcher.Maven3Launcher.main(Maven3Launcher.java:79) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:592) at org.codehaus.plexus.classworlds.launcher.Launcher.launchStandard(Launcher.java:329) at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:239) at org.jvnet.hudson.maven3.agent.Maven3Main.launch(Maven3Main.java:158) at hudson.maven.Maven3Builder.call(Maven3Builder.java:128) at hudson.maven.Maven3Builder.call(Maven3Builder.java:75) at hudson.remoting.UserRequest.perform(UserRequest.java:118) at hudson.remoting.UserRequest.perform(UserRequest.java:48) at hudson.remoting.Request$2.run(Request.java:270) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:417) 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:651) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:676) at java.lang.Thread.run(Thread.java:595) Caused by: org.apache.maven.plugin.MojoFailureException: There are test failures. Please refer to <https://builds.apache.org/job/sling-trunk-1.5/ws/trunk/testing/samples/integration-tests/target/failsafe-reports> for the individual test results. at org.apache.maven.plugin.surefire.SurefireHelper.reportExecution(SurefireHelper.java:74) at org.apache.maven.plugin.failsafe.VerifyMojo.execute(VerifyMojo.java:205) at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:101) at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:209) ... 27 more Maven failed with error. Sending e-mails to: [email protected] channel stopped [locks-and-latches] Releasing all the locks [locks-and-latches] All the locks released
