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 Hudson Server <hu...@hudson.apache.org> on 2011/03/11 18:03:13 UTC

Build failed in Jenkins: sling-trunk-1.5 » Apache Sling Sample Integration Tests #1147

See <https://hudson.apache.org/hudson/job/sling-trunk-1.5/org.apache.sling$org.apache.sling.testing.samples.integrationtests/1147/>

------------------------------------------
[INFO] ------------------------------------------------------------------------
[INFO] Building Apache Sling Sample Integration Tests
[INFO]    task-segment: [clean, deploy]
[INFO] ------------------------------------------------------------------------
[INFO] [clean:clean {execution: default-clean}]
[INFO] Deleting directory <https://hudson.apache.org/hudson/job/sling-trunk-1.5/org.apache.sling$org.apache.sling.testing.samples.integrationtests/ws/target>
[INFO] Deleting file-set: <https://hudson.apache.org/hudson/job/sling-trunk-1.5/org.apache.sling$org.apache.sling.testing.samples.integrationtests/ws/> (included: [sling], excluded: [])
[INFO] [enforcer:enforce {execution: enforce-java}]
[INFO] [remote-resources:process {execution: default}]
[INFO] [resources:resources {execution: default-resources}]
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory <https://hudson.apache.org/hudson/job/sling-trunk-1.5/org.apache.sling$org.apache.sling.testing.samples.integrationtests/ws/src/main/resources>
[INFO] Copying 3 resources
[INFO] [antrun:run {execution: default}]
[INFO] Executing tasks
     [echo] **************** WARNING (SLING-443/SLING-1782) ******************************
     [echo] On most platforms, you'll get OutOfMemoryErrors when building unless you set
     [echo] on 32bit platforms: MAVEN_OPTS="-Xmx256M -XX:MaxPermSize=256M", see SLING-443
     [echo] on 64bit platforms: MAVEN_OPTS="-Xmx512M -XX:MaxPermSize=512M", see SLING-1782
     [echo] ******************************************************************************
[INFO] Executed tasks
[INFO] [dependency:copy-dependencies {execution: copy-runnable-jar}]
[INFO] Copying org.apache.sling.launchpad-6-SNAPSHOT-standalone.jar to <https://hudson.apache.org/hudson/job/sling-trunk-1.5/org.apache.sling$org.apache.sling.testing.samples.integrationtests/ws/target/dependency/org.apache.sling.launchpad-6-SNAPSHOT-standalone.jar>
[INFO] [dependency:copy-dependencies {execution: copy-additional-bundles}]
[INFO] Copying junit-4.8.2.jar to <https://hudson.apache.org/hudson/job/sling-trunk-1.5/org.apache.sling$org.apache.sling.testing.samples.integrationtests/ws/target/sling/additional-bundles/junit-4.8.2.jar>
[INFO] Copying org.apache.sling.commons.json-2.0.6.jar to <https://hudson.apache.org/hudson/job/sling-trunk-1.5/org.apache.sling$org.apache.sling.testing.samples.integrationtests/ws/target/sling/additional-bundles/org.apache.sling.commons.json-2.0.6.jar>
[INFO] Copying org.apache.sling.junit.core-0.1.1-SNAPSHOT.jar to <https://hudson.apache.org/hudson/job/sling-trunk-1.5/org.apache.sling$org.apache.sling.testing.samples.integrationtests/ws/target/sling/additional-bundles/org.apache.sling.junit.core-0.1.1-SNAPSHOT.jar>
[INFO] Copying org.apache.sling.junit.remote-0.1.1-SNAPSHOT.jar to <https://hudson.apache.org/hudson/job/sling-trunk-1.5/org.apache.sling$org.apache.sling.testing.samples.integrationtests/ws/target/sling/additional-bundles/org.apache.sling.junit.remote-0.1.1-SNAPSHOT.jar>
[INFO] Copying org.apache.sling.junit.scriptable-0.1.1-SNAPSHOT.jar to <https://hudson.apache.org/hudson/job/sling-trunk-1.5/org.apache.sling$org.apache.sling.testing.samples.integrationtests/ws/target/sling/additional-bundles/org.apache.sling.junit.scriptable-0.1.1-SNAPSHOT.jar>
[INFO] Copying org.apache.sling.launchpad-6-SNAPSHOT-standalone.jar to <https://hudson.apache.org/hudson/job/sling-trunk-1.5/org.apache.sling$org.apache.sling.testing.samples.integrationtests/ws/target/sling/additional-bundles/org.apache.sling.launchpad-6-SNAPSHOT-standalone.jar>
[INFO] Copying org.apache.sling.testing.samples.failingtests-0.1.1-SNAPSHOT.jar to <https://hudson.apache.org/hudson/job/sling-trunk-1.5/org.apache.sling$org.apache.sling.testing.samples.integrationtests/ws/target/sling/additional-bundles/org.apache.sling.testing.samples.failingtests-0.1.1-SNAPSHOT.jar>
[INFO] Copying org.apache.sling.testing.samples.sampletests-0.1.1-SNAPSHOT.jar to <https://hudson.apache.org/hudson/job/sling-trunk-1.5/org.apache.sling$org.apache.sling.testing.samples.integrationtests/ws/target/sling/additional-bundles/org.apache.sling.testing.samples.sampletests-0.1.1-SNAPSHOT.jar>
[INFO] Copying org.apache.sling.testing.tools-0.1.1-SNAPSHOT.jar to <https://hudson.apache.org/hudson/job/sling-trunk-1.5/org.apache.sling$org.apache.sling.testing.samples.integrationtests/ws/target/sling/additional-bundles/org.apache.sling.testing.tools-0.1.1-SNAPSHOT.jar>
[INFO] Copying slf4j-api-1.5.11.jar to <https://hudson.apache.org/hudson/job/sling-trunk-1.5/org.apache.sling$org.apache.sling.testing.samples.integrationtests/ws/target/sling/additional-bundles/slf4j-api-1.5.11.jar>
[INFO] Copying slf4j-simple-1.5.11.jar to <https://hudson.apache.org/hudson/job/sling-trunk-1.5/org.apache.sling$org.apache.sling.testing.samples.integrationtests/ws/target/sling/additional-bundles/slf4j-simple-1.5.11.jar>
[INFO] [build-helper:reserve-network-port {execution: reserve-server-port}]
[INFO] Reserved port 59020 for http.port
[INFO] [compiler:compile {execution: default-compile}]
[INFO] No sources to compile
[INFO] [resources:testResources {execution: default-testResources}]
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory <https://hudson.apache.org/hudson/job/sling-trunk-1.5/org.apache.sling$org.apache.sling.testing.samples.integrationtests/ws/src/test/resources>
[INFO] Copying 3 resources
[INFO] [compiler:testCompile {execution: default-testCompile}]
[INFO] Compiling 11 source files to <https://hudson.apache.org/hudson/job/sling-trunk-1.5/org.apache.sling$org.apache.sling.testing.samples.integrationtests/ws/target/test-classes>
[INFO] [surefire:test {execution: default-test}]
[INFO] Surefire report directory: <https://hudson.apache.org/hudson/job/sling-trunk-1.5/org.apache.sling$org.apache.sling.testing.samples.integrationtests/ws/target/surefire-reports>

-------------------------------------------------------
 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] [jar:jar {execution: default-jar}]
[INFO] Building jar: <https://hudson.apache.org/hudson/job/sling-trunk-1.5/org.apache.sling$org.apache.sling.testing.samples.integrationtests/ws/target/org.apache.sling.testing.samples.integrationtests-0.1.1-SNAPSHOT.jar>
[INFO] Preparing source:jar
[WARNING] Removing: jar from forked lifecycle, to prevent recursive invocation.
[JENKINS] Archiving <https://hudson.apache.org/hudson/job/sling-trunk-1.5/org.apache.sling$org.apache.sling.testing.samples.integrationtests/ws/pom.xml> to /home/hudson/hudson/jobs/sling-trunk-1.5/modules/org.apache.sling$org.apache.sling.testing.samples.integrationtests/builds/2011-03-11_16-28-30/archive/org.apache.sling/org.apache.sling.testing.samples.integrationtests/0.1.1-SNAPSHOT/pom.xml
[JENKINS] Archiving <https://hudson.apache.org/hudson/job/sling-trunk-1.5/org.apache.sling$org.apache.sling.testing.samples.integrationtests/ws/target/org.apache.sling.testing.samples.integrationtests-0.1.1-SNAPSHOT.jar> to /home/hudson/hudson/jobs/sling-trunk-1.5/modules/org.apache.sling$org.apache.sling.testing.samples.integrationtests/builds/2011-03-11_16-28-30/archive/org.apache.sling/org.apache.sling.testing.samples.integrationtests/0.1.1-SNAPSHOT/org.apache.sling.testing.samples.integrationtests-0.1.1-SNAPSHOT.jar
[INFO] [enforcer:enforce {execution: enforce-java}]
[INFO] [source:jar {execution: attach-sources}]
[INFO] Building jar: <https://hudson.apache.org/hudson/job/sling-trunk-1.5/org.apache.sling$org.apache.sling.testing.samples.integrationtests/ws/target/org.apache.sling.testing.samples.integrationtests-0.1.1-SNAPSHOT-sources.jar>
[INFO] [failsafe:integration-test {execution: integration-test}]
[INFO] Failsafe report directory: <https://hudson.apache.org/hudson/job/sling-trunk-1.5/org.apache.sling$org.apache.sling.testing.samples.integrationtests/ws/target/failsafe-reports>

-------------------------------------------------------
 T E S T S
-------------------------------------------------------
Running org.apache.sling.testing.samples.integrationtests.http.OsgiConsoleTest
4 [main] INFO org.apache.sling.testing.tools.sling.SlingTestBase - Server base URL=http://localhost:59020
17 [main] INFO org.apache.sling.testing.tools.jarexec.JarExecutor - Executable jar options: -p 59020
17 [main] INFO org.apache.sling.testing.tools.jarexec.JarExecutor - Executing java -Xmx512m -jar <https://hudson.apache.org/hudson/job/sling-trunk-1.5/org.apache.sling$org.apache.sling.testing.samples.integrationtests/ws/target/dependency/org.apache.sling.launchpad-6-SNAPSHOT-standalone.jar> -p 59020
20 [main] INFO org.apache.sling.testing.tools.sling.TimeoutsProvider - Timeout factor set to 1.0 from system property sling.testing.timeout.multiplier
20 [main] INFO org.apache.sling.testing.tools.sling.SlingTestBase - Will wait up to 60 seconds for server to become ready
22 [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]
11.03.2011 09:02:48.889 *INFO* [main] Setting sling.home=sling (default)
11.03.2011 09:02:48.889 *INFO* [main] Starting Sling in sling (<https://hudson.apache.org/hudson/job/sling-trunk-1.5/org.apache.sling$org.apache.sling.testing.samples.integrationtests/ws/sling)>
11.03.2011 09:02:48.894 *INFO* [main] Checking launcher JAR in folder sling
11.03.2011 09:02:48.904 *INFO* [main] Installing new launcher: jar:<https://hudson.apache.org/hudson/job/sling-trunk-1.5/org.apache.sling$org.apache.sling.testing.samples.integrationtests/ws/target/dependency/org.apache.sling.launchpad-6-SNAPSHOT-standalone.jar!/resources/org.apache.sling.launchpad.base.jar,> 2.3.0 (org.apache.sling.launchpad.base.jar.1299862968904)
11.03.2011 09:02:48.906 *INFO* [main] Loading launcher class org.apache.sling.launchpad.base.app.MainDelegate from org.apache.sling.launchpad.base.jar.1299862968904
11.03.2011 09:02:48.917 *INFO* [main] Starting launcher ...
11.03.2011 09:02:48.921 *INFO* [main] HTTP server port: 59020
11.03.2011 09:02:50.064 *INFO* [main] Startup completed
18852 [main] INFO org.apache.sling.testing.tools.sling.SlingTestBase - All 3 paths return expected content, server ready
18852 [main] INFO org.apache.sling.testing.tools.osgi.WebconsoleClient - Installing additional bundle org.apache.sling.junit.core-0.1.1-SNAPSHOT.jar
19046 [main] INFO org.apache.sling.testing.tools.osgi.WebconsoleClient - Installing additional bundle org.apache.sling.junit.scriptable-0.1.1-SNAPSHOT.jar
19055 [main] INFO org.apache.sling.testing.tools.osgi.WebconsoleClient - Installing additional bundle org.apache.sling.testing.samples.sampletests-0.1.1-SNAPSHOT.jar
19063 [main] INFO org.apache.sling.testing.tools.osgi.WebconsoleClient - Installing additional bundle org.apache.sling.testing.samples.failingtests-0.1.1-SNAPSHOT.jar
19071 [main] INFO org.apache.sling.testing.tools.osgi.WebconsoleClient - Installing additional bundle org.apache.sling.junit.remote-0.1.1-SNAPSHOT.jar
19079 [main] INFO org.apache.sling.testing.tools.sling.SlingTestBase - 5 additional bundles installed from <https://hudson.apache.org/hudson/job/sling-trunk-1.5/org.apache.sling$org.apache.sling.testing.samples.integrationtests/ws/target/sling/additional-bundles>
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 21.531 sec
Running org.apache.sling.testing.samples.integrationtests.serverside.DontCareForTestsCountTest
21466 [main] INFO org.apache.sling.testing.tools.sling.SlingTestBase - Server base URL=http://localhost:59020
21466 [main] INFO org.apache.sling.testing.samples.integrationtests.serverside.DontCareForTestsCountTest - Checking that /system/sling/junit returns status 200, timeout=60 seconds
21486 [main] INFO org.apache.sling.junit.remote.httpclient.RemoteTestHttpClient - Executing test remotely, path=/org.apache.sling.testing.samples.sampletests.json JUnit servlet URL=http://localhost:59020/system/sling/junit
21542 [main] INFO org.apache.sling.junit.remote.testrunner.SlingRemoteTestRunner - Server-side tests executed at http://localhost:59020/system/sling/junit with path /org.apache.sling.testing.samples.sampletests.json
Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.081 sec
Running org.apache.sling.testing.samples.integrationtests.serverside.JSONResponseTest
21551 [main] INFO org.apache.sling.testing.tools.sling.SlingTestBase - Server base URL=http://localhost:59020
21552 [main] INFO org.apache.sling.testing.samples.integrationtests.serverside.JSONResponseTest - Checking JSON list of server-side tests (timeout=30 seconds)
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.006 sec
Running org.apache.sling.testing.samples.integrationtests.serverside.FailingTestsTest
21560 [main] INFO org.apache.sling.testing.tools.sling.SlingTestBase - Server base URL=http://localhost:59020
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.009 sec
Running org.apache.sling.testing.samples.integrationtests.serverside.SingleServerSideMethodTest
21572 [main] INFO org.apache.sling.testing.tools.sling.SlingTestBase - Server base URL=http://localhost:59020
21572 [main] INFO org.apache.sling.junit.remote.httpclient.RemoteTestHttpClient - Executing test remotely, path=/org.apache.sling.testing.samples.sampletests.JUnit4Test/testRequiresBefore.json JUnit servlet URL=http://localhost:59020/system/sling/junit
21584 [main] INFO org.apache.sling.junit.remote.testrunner.SlingRemoteTestRunner - Server-side tests executed at http://localhost:59020/system/sling/junit with path /org.apache.sling.testing.samples.sampletests.JUnit4Test/testRequiresBefore.json
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.014 sec
Running org.apache.sling.testing.samples.integrationtests.serverside.sling.SlingServerSideSingleMethodTest
21588 [main] INFO org.apache.sling.testing.tools.sling.SlingTestBase - Server base URL=http://localhost:59020
21647 [main] INFO org.apache.sling.testing.samples.integrationtests.serverside.sling.SlingServerSideSingleMethodTest - Checking that /test/sling/1299862990349.junit returns status 200, timeout=30 seconds
21655 [main] INFO org.apache.sling.testing.samples.integrationtests.serverside.sling.SlingServerSideSingleMethodTest - /test/sling/1299862990349.junit is ready, returns expected content
21655 [main] INFO org.apache.sling.junit.remote.httpclient.RemoteTestHttpClient - Executing test remotely, path=/org.apache.sling.testing.samples.sampletests.JUnit4Test/testRequiresBefore.json JUnit servlet URL=http://localhost:59020/test/sling/1299862990349.junit
21667 [main] INFO org.apache.sling.junit.remote.testrunner.SlingRemoteTestRunner - Server-side tests executed at http://localhost:59020/test/sling/1299862990349.junit with path /org.apache.sling.testing.samples.sampletests.JUnit4Test/testRequiresBefore.json
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.08 sec
Running org.apache.sling.testing.samples.integrationtests.serverside.sling.SlingServerSideTest
21671 [main] INFO org.apache.sling.testing.tools.sling.SlingTestBase - Server base URL=http://localhost:59020
21671 [main] INFO org.apache.sling.junit.remote.httpclient.RemoteTestHttpClient - Executing test remotely, path=/org.apache.sling.testing.samples.sampletests.json JUnit servlet URL=http://localhost:59020/test/sling/1299862990349.junit
21684 [main] INFO org.apache.sling.junit.remote.testrunner.SlingRemoteTestRunner - Server-side tests executed at http://localhost:59020/test/sling/1299862990349.junit with path /org.apache.sling.testing.samples.sampletests.json
Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.017 sec
Running org.apache.sling.testing.samples.integrationtests.serverside.ServerSideSampleTest
21690 [main] INFO org.apache.sling.testing.tools.sling.SlingTestBase - Server base URL=http://localhost:59020
21690 [main] INFO org.apache.sling.junit.remote.httpclient.RemoteTestHttpClient - Executing test remotely, path=/org.apache.sling.testing.samples.sampletests.json JUnit servlet URL=http://localhost:59020/system/sling/junit
21700 [main] INFO org.apache.sling.junit.remote.testrunner.SlingRemoteTestRunner - Server-side tests executed at http://localhost:59020/system/sling/junit with path /org.apache.sling.testing.samples.sampletests.json
Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.013 sec
Running org.apache.sling.testing.samples.integrationtests.serverside.scriptable.ScriptableTestsTest
21715 [main] INFO org.apache.sling.testing.tools.sling.SlingTestBase - Server base URL=http://localhost:59020
21846 [main] INFO org.apache.sling.junit.remote.httpclient.RemoteTestHttpClient - Executing test remotely, path=/org.apache.sling.junit.scriptable.ScriptableTestsProvider.json JUnit servlet URL=http://localhost:59020/system/sling/junit
22006 [main] INFO org.apache.sling.testing.tools.sling.SlingTestBase - Server base URL=http://localhost:59020
22095 [main] INFO org.apache.sling.junit.remote.httpclient.RemoteTestHttpClient - Executing test remotely, path=/org.apache.sling.junit.scriptable.ScriptableTestsProvider.json JUnit servlet URL=http://localhost:59020/system/sling/junit
Tests run: 2, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 0.452 sec <<< FAILURE!

Results :

Failed tests: 
  testScriptableTest[0](org.apache.sling.testing.samples.integrationtests.serverside.scriptable.ScriptableTestsTest): Expected 0 failing tests but got 1: [verifyContent[0](org.apache.sling.junit.scriptable.TestAllPaths): Unexpected content at path /apps/testing/ScriptableTests/testnode.test.txt, should be just TEST_PASSED (lines starting with # and empty lines are ignored)
content was:
** Resource dumped by PlainTextRendererServlet**
Resource path:/apps/testing/ScriptableTests/testnode
Resource metadata: {sling.resolutionPath=/apps/testing/ScriptableTests/testnode, sling.resolutionPathInfo=.test.txt}
Resource type: testing/ScriptableTests
Resource super type: -

** Resource properties **
jcr:createdBy: admin
sling:resourceType: testing/ScriptableTests
jcr:created: java.util.GregorianCalendar[time=1299862990523,areFieldsSet=true,areAllFieldsSet=true,lenient=true,zone=sun.util.calendar.ZoneInfo[id="GMT-08:00",offset=-28800000,dstSavings=0,useDaylight=false,transitions=0,lastRule=null],firstDayOfWeek=1,minimalDaysInFirstWeek=1,ERA=1,YEAR=2011,MONTH=2,WEEK_OF_YEAR=11,WEEK_OF_MONTH=2,DAY_OF_MONTH=11,DAY_OF_YEAR=70,DAY_OF_WEEK=6,DAY_OF_WEEK_IN_MONTH=2,AM_PM=0,HOUR=9,HOUR_OF_DAY=9,MINUTE=3,SECOND=10,MILLISECOND=523,ZONE_OFFSET=-28800000,DST_OFFSET=0]
jcr:primaryType: sling:Folder
jcr:mixinTypes: [sling:Test]

]

Tests run: 22, Failures: 1, 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] [ianal:verify-legal-files {execution: default}]
[INFO] Checking legal files in: org.apache.sling.testing.samples.integrationtests-0.1.1-SNAPSHOT.jar
[INFO] Checking legal files in: org.apache.sling.testing.samples.integrationtests-0.1.1-SNAPSHOT-sources.jar
[INFO] [failsafe:verify {execution: verify}]
[INFO] Failsafe report directory: <https://hudson.apache.org/hudson/job/sling-trunk-1.5/org.apache.sling$org.apache.sling.testing.samples.integrationtests/ws/target/failsafe-reports>
[WARNING] File encoding has not been set, using platform encoding ANSI_X3.4-1968, i.e. build is platform dependent!
[JENKINS] Archiving <https://hudson.apache.org/hudson/job/sling-trunk-1.5/org.apache.sling$org.apache.sling.testing.samples.integrationtests/ws/target/org.apache.sling.testing.samples.integrationtests-0.1.1-SNAPSHOT-sources.jar> to /home/hudson/hudson/jobs/sling-trunk-1.5/modules/org.apache.sling$org.apache.sling.testing.samples.integrationtests/builds/2011-03-11_16-28-30/archive/org.apache.sling/org.apache.sling.testing.samples.integrationtests/0.1.1-SNAPSHOT/org.apache.sling.testing.samples.integrationtests-0.1.1-SNAPSHOT-sources.jar
[INFO] ------------------------------------------------------------------------
[ERROR] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] There are test failures.

Please refer to <https://hudson.apache.org/hudson/job/sling-trunk-1.5/org.apache.sling$org.apache.sling.testing.samples.integrationtests/ws/target/failsafe-reports> for the individual test results.
[INFO] ------------------------------------------------------------------------
[INFO] For more information, run Maven with the -e switch
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 34 minutes 8 seconds
[INFO] Finished at: Fri Mar 11 09:03:12 GMT-08:00 2011
[INFO] Final Memory: 121M/191M
[INFO] ------------------------------------------------------------------------


Jenkins build is back to normal : sling-trunk-1.5 » Apache Sling Sample Integration Tests #1148

Posted by Apache Hudson Server <hu...@hudson.apache.org>.
See <https://hudson.apache.org/hudson/job/sling-trunk-1.5/org.apache.sling$org.apache.sling.testing.samples.integrationtests/1148/changes>