You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by Apache Jenkins Server <je...@builds.apache.org> on 2012/02/25 05:27:25 UTC

Build failed in Jenkins: sling-trunk-1.5 #1599

See <https://builds.apache.org/job/sling-trunk-1.5/1599/changes>

Changes:

[thecarlhall] SLING-2427 Escape the resource metadata in HtmlRendererServlet to stop HTML injects via URL.

------------------------------------------
[...truncated 18241 lines...]
 T E S T S
-------------------------------------------------------
There are no tests to run.

Results :

Tests run: 0, Failures: 0, Errors: 0, Skipped: 0

[JENKINS] Recording test results[INFO] Checking unresolved references to org.codehaus.mojo.signature:java15:1.0

[INFO] 
[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>
[INFO] 
[INFO] --- maven-enforcer-plugin:1.0:enforce (enforce-java) @ org.apache.sling.testing.samples.integrationtests ---
[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/2012-02-25_03-41-19/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/2012-02-25_03-41-19/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
Feb 25, 2012 4:26:17 AM hudson.maven.ExecutedMojo <init>
WARNING: Failed to getClass for org.apache.maven.plugin.source.SourceJarMojo
[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
8 [main] INFO org.apache.sling.testing.samples.integrationtests.http.OsgiConsoleTest - Server base URL=http://localhost:46665
18 [main] INFO org.apache.sling.testing.tools.jarexec.JarExecutor - Executable jar options: -p 46665
18 [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 46665
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.samples.integrationtests.http.OsgiConsoleTest - Will wait up to 60 seconds for server to become ready
23 [main] INFO org.apache.sling.testing.samples.integrationtests.http.OsgiConsoleTest - 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]
25.02.2012 04:26:18.368 *INFO* [main] Setting sling.home=sling (default)
25.02.2012 04:26:18.368 *INFO* [main] Starting Sling in sling (<https://builds.apache.org/job/sling-trunk-1.5/ws/trunk/testing/samples/integration-tests/sling)>
25.02.2012 04:26:18.373 *INFO* [main] Checking launcher JAR in folder sling
25.02.2012 04:26:18.383 *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.1330143978383)
25.02.2012 04:26:18.385 *INFO* [main] Loading launcher class org.apache.sling.launchpad.base.app.MainDelegate from org.apache.sling.launchpad.base.jar.1330143978383
25.02.2012 04:26:18.398 *INFO* [main] Starting launcher ...
25.02.2012 04:26:18.400 *INFO* [main] HTTP server port: 46665
25.02.2012 04:26:19.619 *INFO* [main] Startup completed
60802 [main] INFO org.apache.sling.testing.samples.integrationtests.http.OsgiConsoleTest - Server not ready after 60 seconds, giving up
Tests run: 1, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 60.886 sec <<< FAILURE!
Running org.apache.sling.testing.samples.integrationtests.serverside.JSONResponseTest
Tests run: 1, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 0.003 sec <<< FAILURE!
Running org.apache.sling.testing.samples.integrationtests.serverside.SingleServerSideMethodTest
Tests run: 1, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 0.004 sec <<< FAILURE!
Running org.apache.sling.testing.samples.integrationtests.serverside.sling.SlingServerSideSingleMethodTest
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
Tests run: 1, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 0.002 sec <<< FAILURE!
Running org.apache.sling.testing.samples.integrationtests.serverside.FailingTestsTest
Tests run: 1, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 0.003 sec <<< FAILURE!
Running org.apache.sling.testing.samples.integrationtests.serverside.scriptable.ScriptableTestsTest
Tests run: 2, Failures: 2, Errors: 0, Skipped: 0, Time elapsed: 0.015 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!

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 ---
[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/2012-02-25_03-41-19/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
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO] 
[INFO] Apache Sling JAR Resource Bundle .................. SUCCESS [26.602s]
[INFO] Apache Sling (Parent) ............................. SUCCESS [23.130s]
[INFO] Sling Adapter Annotations ......................... SUCCESS [7.414s]
[INFO] Apache Sling Maven Plugin to create Jackrabbit OCM descriptors  SUCCESS [11.744s]
[INFO] Apache Sling Maven Plugin for Compiling JSP Sources into Bundles  SUCCESS [20.346s]
[INFO] Apache Sling Maven Plugin for Supporting Bundle Development  SUCCESS [14.603s]
[INFO] Apache Sling Launchpad Base ....................... SUCCESS [33.343s]
[INFO] Apache Sling Launchpad Maven Plugin ............... SUCCESS [43.869s]
[INFO] Sling Launchpad Standalone Archetype .............. SUCCESS [7.395s]
[INFO] Sling Launchpad Webapp Archetype .................. SUCCESS [6.308s]
[INFO] Sling Initial Content Archetype ................... SUCCESS [6.824s]
[INFO] Sling Servlet Archetype ........................... SUCCESS [21.526s]
[INFO] Sling Bundle Archetype ............................ SUCCESS [6.941s]
[INFO] Sling JCRInstall Bundle Archetype ................. SUCCESS [6.846s]
[INFO] Apache Sling API .................................. SUCCESS [35.622s]
[INFO] Apache Sling System Bundle Extension: Java Transaction API  SUCCESS [5.747s]
[INFO] Apache Sling System Bundle Extension: XML APIs .... SUCCESS [5.868s]
[INFO] Apache Sling System Bundle Extension: Activation API  SUCCESS [5.865s]
[INFO] Apache Sling System Bundle Extension: WS APIs ..... SUCCESS [6.109s]
[INFO] Apache Sling Dynamic Class Loader Support ......... SUCCESS [7.883s]
[INFO] Apache Sling JSON Library ......................... SUCCESS [10.917s]
[INFO] Apache Sling SLF4J Implementation ................. SUCCESS [12.810s]
[INFO] Apache Sling OSGi LogService Implementation ....... SUCCESS [7.979s]
[INFO] Apache Sling MIME type mapping support ............ SUCCESS [15.048s]
[INFO] Apache Sling Commons OSGi support ................. SUCCESS [9.063s]
[INFO] Apache Sling Scheduler Support .................... SUCCESS [15.632s]
[INFO] Apache Sling Testing Utilities .................... SUCCESS [29.186s]
[INFO] Apache Sling Thread Support ....................... SUCCESS [8.719s]
[INFO] Apache Sling Authentication Service ............... SUCCESS [12.312s]
[INFO] Apache Sling OpenID Authentication ................ SUCCESS [42.791s]
[INFO] Apache Sling Form Based Authentication Handler .... SUCCESS [24.035s]
[INFO] Apache Sling Authentication Selector .............. SUCCESS [10.856s]
[INFO] Apache Sling Engine Implementation ................ SUCCESS [33.677s]
[INFO] Apache Sling Repository API Bundle ................ SUCCESS [8.116s]
[INFO] Apache Sling JCR Base Bundle ...................... SUCCESS [13.535s]
[INFO] Apache Sling JCR ClassLoader ...................... SUCCESS [11.594s]
[INFO] Apache Sling Initial Content Loader ............... SUCCESS [22.260s]
[INFO] Apache Sling Jackrabbit Embedded Repository ....... SUCCESS [34.973s]
[INFO] Apache Sling Jackrabbit UserManager Support ....... SUCCESS [15.814s]
[INFO] Apache Sling Jackrabbit JSR-283 Access Control Manager Support  SUCCESS [9.081s]
[INFO] Apache Sling Object Content Mapping ............... SUCCESS [18.478s]
[INFO] Apache Sling JCR Resource Resolver ................ SUCCESS [47.392s]
[INFO] Apache Sling Simple WebDAV Access to repositories . SUCCESS [18.038s]
[INFO] Apache Sling DavEx Access to repositories ......... SUCCESS [13.815s]
[INFO] Apache Sling JCR WebConsole Bundle ................ SUCCESS [10.130s]
[INFO] Apache Sling Servlet Resolver ..................... SUCCESS [12.660s]
[INFO] Apache Sling Default GET Servlets ................. SUCCESS [13.839s]
[INFO] Apache Sling Default POST Servlets ................ SUCCESS [14.752s]
[INFO] Apache Sling Compat Servlets ...................... SUCCESS [8.999s]
[INFO] Apache Sling Scripting Implementation API ......... SUCCESS [6.817s]
[INFO] Apache Sling Scripting Core implementation ........ SUCCESS [23.573s]
[INFO] Apache Sling Scripting JavaScript Support ......... SUCCESS [22.848s]
[INFO] Apache Sling Scripting JSP Support ................ SUCCESS [26.572s]
[INFO] Apache Sling JSP Tag Library ...................... SUCCESS [10.663s]
[INFO] Apache Sling Adapter Manager Implementation ....... SUCCESS [8.575s]
[INFO] Apache Sling Bundle Resource Provider ............. SUCCESS [7.625s]
[INFO] Apache Sling Event Support ........................ SUCCESS [4:18.422s]
[INFO] Apache Sling Filesystem Resource Provider ......... SUCCESS [8.179s]
[INFO] Apache Sling Settings ............................. SUCCESS [6.924s]
[INFO] Apache Sling Thread Dumper ........................ SUCCESS [7.106s]
[INFO] Apache Sling Web Console Branding ................. SUCCESS [7.517s]
[INFO] Apache Sling Web Console Security Provider ........ SUCCESS [9.647s]
[INFO] Apache Sling Groovy Extensions .................... SUCCESS [12.685s]
[INFO] Apache Sling Explorer ............................. SUCCESS [7.234s]
[INFO] Apache Sling Test Tools ........................... SUCCESS [15.740s]
[INFO] Apache Sling JUnit Core ........................... SUCCESS [10.539s]
[INFO] Apache Sling JUnit Scriptable Tests Provider ...... SUCCESS [10.980s]
[INFO] Apache Sling JUnit Remote Tests Runners ........... SUCCESS [7.492s]
[INFO] Apache Sling Installer ............................ SUCCESS [10.418s]
[INFO] Apache Sling File Installer ....................... SUCCESS [9.320s]
[INFO] Apache Sling JCR Installer ........................ SUCCESS [2:02.660s]
[INFO] Apache Sling Installer Configuration Admin Support  SUCCESS [8.596s]
[INFO] Apache Sling Deployment Package Installer ......... SUCCESS [6.565s]
[INFO] Apache Sling Installer Integration Tests .......... SUCCESS [1:40.181s]
[INFO] Apache Sling Launchpad API ........................ SUCCESS [7.903s]
[INFO] Apache Sling Launchpad Installer .................. SUCCESS [6.665s]
[INFO] Apache Sling Launchpad Content .................... SUCCESS [8.582s]
[INFO] Apache Sling Launchpad Application Builder ........ SUCCESS [5:38.746s]
[INFO] Apache Sling Sample Server-Side Tests ............. SUCCESS [6.782s]
[INFO] Apache Sling Failing Server-Side Tests ............ SUCCESS [7.182s]
[INFO] Apache Sling Sample Integration Tests ............. FAILURE [1:21.667s]
[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 Integration Tests .................... 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: 45:53.967s
[INFO] Finished at: Sat Feb 25 04:27:21 UTC 2012
[INFO] Final Memory: 162M/345M
[INFO] ------------------------------------------------------------------------
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:104)
	at hudson.maven.Maven3Builder.call(Maven3Builder.java:70)
	at hudson.remoting.UserRequest.perform(UserRequest.java:118)
	at hudson.remoting.UserRequest.perform(UserRequest.java:48)
	at hudson.remoting.Request$2.run(Request.java:287)
	at hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecutorService.java:72)
	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.
channel stopped
[locks-and-latches] Releasing all the locks
[locks-and-latches] All the locks released


Jenkins build is back to normal : sling-trunk-1.5 #1600

Posted by Apache Jenkins Server <je...@builds.apache.org>.
See <https://builds.apache.org/job/sling-trunk-1.5/1600/changes>