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 04:40:10 UTC

Build failed in Jenkins: sling-trunk-1.6 #1267

See <https://builds.apache.org/job/sling-trunk-1.6/1267/changes>

Changes:

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

------------------------------------------
[...truncated 16182 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] Building jar: <https://builds.apache.org/job/sling-trunk-1.6/ws/trunk/testing/samples/integration-tests/target/org.apache.sling.testing.samples.integrationtests-1.0.7-SNAPSHOT.jar>

[INFO] --- maven-jar-plugin:2.3.1:jar (default-jar) @ org.apache.sling.testing.samples.integrationtests ---
[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.6/ws/trunk/testing/samples/integration-tests/pom.xml> to /home/hudson/hudson/jobs/sling-trunk-1.6/modules/org.apache.sling$org.apache.sling.testing.samples.integrationtests/builds/2012-02-25_03-05-33/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.6/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.6/modules/org.apache.sling$org.apache.sling.testing.samples.integrationtests/builds/2012-02-25_03-05-33/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 3:39:02 AM hudson.maven.ExecutedMojo <init>
WARNING: Failed to getClass for org.apache.maven.plugin.source.SourceJarMojo
[INFO] [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] --- maven-source-plugin:2.1.2:jar (attach-sources) @ org.apache.sling.testing.samples.integrationtests ---
[INFO] Building jar: <https://builds.apache.org/job/sling-trunk-1.6/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.6/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:54696
17 [main] INFO org.apache.sling.testing.tools.jarexec.JarExecutor - Executable jar options: -p 54696
18 [main] INFO org.apache.sling.testing.tools.jarexec.JarExecutor - Executing java -Xmx512m -jar <https://builds.apache.org/job/sling-trunk-1.6/ws/trunk/testing/samples/integration-tests/target/dependency/org.apache.sling.launchpad-6-standalone.jar> -p 54696
22 [main] INFO org.apache.sling.testing.tools.sling.TimeoutsProvider - Timeout factor set to 1.0 from system property sling.testing.timeout.multiplier
22 [main] INFO org.apache.sling.testing.samples.integrationtests.http.OsgiConsoleTest - Will wait up to 60 seconds for server to become ready
24 [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 03:39:02.876 *INFO* [main] Setting sling.home=sling (default)
25.02.2012 03:39:02.877 *INFO* [main] Starting Sling in sling (<https://builds.apache.org/job/sling-trunk-1.6/ws/trunk/testing/samples/integration-tests/sling)>
25.02.2012 03:39:02.881 *INFO* [main] Checking launcher JAR in folder sling
25.02.2012 03:39:02.893 *INFO* [main] Installing new launcher: jar:<https://builds.apache.org/job/sling-trunk-1.6/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.1330141142893)
25.02.2012 03:39:02.894 *INFO* [main] Loading launcher class org.apache.sling.launchpad.base.app.MainDelegate from org.apache.sling.launchpad.base.jar.1330141142893
25.02.2012 03:39:02.905 *INFO* [main] Starting launcher ...
25.02.2012 03:39:02.906 *INFO* [main] HTTP server port: 54696
25.02.2012 03:39:04.154 *INFO* [main] Startup completed
60620 [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.699 sec <<< FAILURE!
Running org.apache.sling.testing.samples.integrationtests.serverside.JSONResponseTest
Tests run: 1, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 0.002 sec <<< FAILURE!
Running org.apache.sling.testing.samples.integrationtests.serverside.SingleServerSideMethodTest
Tests run: 1, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 0.002 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.001 sec <<< FAILURE!
Running org.apache.sling.testing.samples.integrationtests.serverside.scriptable.ScriptableTestsTest
Tests run: 2, Failures: 2, Errors: 0, Skipped: 0, Time elapsed: 0.012 sec <<< FAILURE!
Running org.apache.sling.testing.samples.integrationtests.serverside.DontCareForTestsCountTest
Tests run: 1, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 0.001 sec <<< FAILURE!
Running org.apache.sling.testing.samples.integrationtests.serverside.ServerSideSampleTest
Tests run: 1, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 0.001 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.6/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.6/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.6/modules/org.apache.sling$org.apache.sling.testing.samples.integrationtests/builds/2012-02-25_03-05-33/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 [22.705s]
[INFO] Apache Sling (Parent) ............................. SUCCESS [17.904s]
[INFO] Sling Adapter Annotations ......................... SUCCESS [4.040s]
[INFO] Apache Sling Maven Plugin to create Jackrabbit OCM descriptors  SUCCESS [6.291s]
[INFO] Apache Sling Maven Plugin for Compiling JSP Sources into Bundles  SUCCESS [14.132s]
[INFO] Apache Sling Maven Plugin for Supporting Bundle Development  SUCCESS [11.091s]
[INFO] Apache Sling Launchpad Base ....................... SUCCESS [28.127s]
[INFO] Apache Sling Launchpad Maven Plugin ............... SUCCESS [38.261s]
[INFO] Sling Launchpad Standalone Archetype .............. SUCCESS [3.759s]
[INFO] Sling Launchpad Webapp Archetype .................. SUCCESS [2.751s]
[INFO] Sling Initial Content Archetype ................... SUCCESS [2.931s]
[INFO] Sling Servlet Archetype ........................... SUCCESS [12.787s]
[INFO] Sling Bundle Archetype ............................ SUCCESS [2.960s]
[INFO] Sling JCRInstall Bundle Archetype ................. SUCCESS [2.800s]
[INFO] Apache Sling API .................................. SUCCESS [31.870s]
[INFO] Apache Sling System Bundle Extension: Java Transaction API  SUCCESS [3.075s]
[INFO] Apache Sling System Bundle Extension: XML APIs .... SUCCESS [3.060s]
[INFO] Apache Sling System Bundle Extension: Activation API  SUCCESS [2.959s]
[INFO] Apache Sling System Bundle Extension: WS APIs ..... SUCCESS [3.003s]
[INFO] Apache Sling Dynamic Class Loader Support ......... SUCCESS [5.772s]
[INFO] Apache Sling JSON Library ......................... SUCCESS [7.817s]
[INFO] Apache Sling SLF4J Implementation ................. SUCCESS [8.893s]
[INFO] Apache Sling OSGi LogService Implementation ....... SUCCESS [4.221s]
[INFO] Apache Sling MIME type mapping support ............ SUCCESS [9.203s]
[INFO] Apache Sling Commons OSGi support ................. SUCCESS [6.574s]
[INFO] Apache Sling Scheduler Support .................... SUCCESS [11.136s]
[INFO] Apache Sling Testing Utilities .................... SUCCESS [21.832s]
[INFO] Apache Sling Thread Support ....................... SUCCESS [4.182s]
[INFO] Apache Sling Authentication Service ............... SUCCESS [9.576s]
[INFO] Apache Sling OpenID Authentication ................ SUCCESS [35.559s]
[INFO] Apache Sling Form Based Authentication Handler .... SUCCESS [19.352s]
[INFO] Apache Sling Authentication Selector .............. SUCCESS [6.272s]
[INFO] Apache Sling Engine Implementation ................ SUCCESS [37.452s]
[INFO] Apache Sling Repository API Bundle ................ SUCCESS [3.364s]
[INFO] Apache Sling JCR Base Bundle ...................... SUCCESS [10.066s]
[INFO] Apache Sling JCR ClassLoader ...................... SUCCESS [7.746s]
[INFO] Apache Sling Initial Content Loader ............... SUCCESS [18.431s]
[INFO] Apache Sling Jackrabbit Embedded Repository ....... SUCCESS [29.110s]
[INFO] Apache Sling Jackrabbit UserManager Support ....... SUCCESS [11.911s]
[INFO] Apache Sling Jackrabbit JSR-283 Access Control Manager Support  SUCCESS [4.820s]
[INFO] Apache Sling Object Content Mapping ............... SUCCESS [13.790s]
[INFO] Apache Sling JCR Resource Resolver ................ SUCCESS [39.861s]
[INFO] Apache Sling Simple WebDAV Access to repositories . SUCCESS [12.116s]
[INFO] Apache Sling DavEx Access to repositories ......... SUCCESS [7.510s]
[INFO] Apache Sling JCR WebConsole Bundle ................ SUCCESS [5.619s]
[INFO] Apache Sling Servlet Resolver ..................... SUCCESS [7.419s]
[INFO] Apache Sling Default GET Servlets ................. SUCCESS [8.836s]
[INFO] Apache Sling Default POST Servlets ................ SUCCESS [8.935s]
[INFO] Apache Sling Compat Servlets ...................... SUCCESS [5.219s]
[INFO] Apache Sling Scripting Implementation API ......... SUCCESS [3.570s]
[INFO] Apache Sling Scripting Core implementation ........ SUCCESS [19.367s]
[INFO] Apache Sling Scripting JavaScript Support ......... SUCCESS [18.370s]
[INFO] Apache Sling Scripting JSP Support ................ SUCCESS [21.490s]
[INFO] Apache Sling JSP Tag Library ...................... SUCCESS [7.322s]
[INFO] Apache Sling Adapter Manager Implementation ....... SUCCESS [5.113s]
[INFO] Apache Sling Bundle Resource Provider ............. SUCCESS [3.700s]
[INFO] Apache Sling Event Support ........................ SUCCESS [4:14.351s]
[INFO] Apache Sling Filesystem Resource Provider ......... SUCCESS [4.405s]
[INFO] Apache Sling Settings ............................. SUCCESS [5.883s]
[INFO] Apache Sling Thread Dumper ........................ SUCCESS [3.650s]
[INFO] Apache Sling Web Console Branding ................. SUCCESS [2.936s]
[INFO] Apache Sling Web Console Security Provider ........ SUCCESS [5.660s]
[INFO] Apache Sling Groovy Extensions .................... SUCCESS [7.623s]
[INFO] Apache Sling Explorer ............................. SUCCESS [3.929s]
[INFO] Apache Sling Test Tools ........................... SUCCESS [8.583s]
[INFO] Apache Sling JUnit Core ........................... SUCCESS [6.821s]
[INFO] Apache Sling JUnit Scriptable Tests Provider ...... SUCCESS [6.441s]
[INFO] Apache Sling JUnit Remote Tests Runners ........... SUCCESS [4.349s]
[INFO] Apache Sling Installer ............................ SUCCESS [6.766s]
[INFO] Apache Sling File Installer ....................... SUCCESS [5.063s]
[INFO] Apache Sling JCR Installer ........................ SUCCESS [1:56.360s]
[INFO] Apache Sling Installer Configuration Admin Support  SUCCESS [7.218s]
[INFO] Apache Sling Deployment Package Installer ......... SUCCESS [3.857s]
[INFO] Apache Sling Installer Integration Tests .......... SUCCESS [1:23.333s]
[INFO] Apache Sling Launchpad API ........................ SUCCESS [3.364s]
[INFO] Apache Sling Launchpad Installer .................. SUCCESS [3.591s]
[INFO] Apache Sling Launchpad Content .................... SUCCESS [3.069s]
[INFO] Apache Sling Launchpad Application Builder ........ SUCCESS [4:38.791s]
[INFO] Apache Sling Sample Server-Side Tests ............. SUCCESS [3.858s]
[INFO] Apache Sling Failing Server-Side Tests ............ SUCCESS [3.756s]
[INFO] Apache Sling Sample Integration Tests ............. FAILURE [1:18.257s]
[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: 34:22.925s
[INFO] Finished at: Sat Feb 25 03:40:06 UTC 2012
[INFO] Final Memory: 186M/436M
[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.6/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.6/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.6/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:597)
	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:303)
	at java.util.concurrent.FutureTask.run(FutureTask.java:138)
	at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
	at java.lang.Thread.run(Thread.java:662)
Caused by: org.apache.maven.plugin.MojoFailureException: There are test failures.

Please refer to <https://builds.apache.org/job/sling-trunk-1.6/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.6 #1268

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