[Yanel-commits] Build failed in Hudson: Yanel-trunk #312

hudson at wyona.com hudson at wyona.com
Thu Aug 6 10:39:40 CEST 2009


See http://195.226.6.72:8080/job/Yanel-trunk/312/changes

Changes:

[Michi] log message improved

------------------------------------------
[...truncated 2302 lines...]
BUILD SUCCESSFUL
Total time: 3 seconds
+ cat
+ ./build.sh test -Dwebtest.home.dir=/opt/canoo/webtest-3.0-R_1758 -Dwebtest.config.host=localhost -Dwebtest.config.protocol=http -Dwebtest.config.port=8180 -Dheadless=
Apache Ant version 1.7.1 compiled on June 27 2008
INFO: Building Yanel...
Buildfile: src/build/build.xml

test:

dependencies:

init:

compile-classes:

build:

dependencies:

init:

build-resources:

dependencies:

init:

generate-resources-test-build-from-default:

dependencies:

init:

generate-resources-test-build-from-local:

copy-properties:
     [copy] Copying 1 file to http://195.226.6.72:8080/job/Yanel-trunk/ws/yanel-trunk.working-copy/build/test/htmlunit 

init:

build-test-resources:
    [javac] Compiling 3 source files to http://195.226.6.72:8080/job/Yanel-trunk/ws/yanel-trunk.working-copy/build/test/junit 
    [javac] Compiling 6 source files to http://195.226.6.72:8080/job/Yanel-trunk/ws/yanel-trunk.working-copy/build/test/htmlunit 

test:
     [echo] Delete old Test-Results
     [echo] Running the tests at 2009-08-06-09-38-14
     [echo] NOTE: Running the tests might take a while. Thanks for your patience ...

dependencies:

init:

compile-classes:

build:

dependencies:

init:

build-resources:

dependencies:

init:

generate-resources-test-build-from-default:

dependencies:

init:

generate-resources-test-build-from-local:

copy-properties:

init:

build-test-resources:
    [javac] Compiling 3 source files to http://195.226.6.72:8080/job/Yanel-trunk/ws/yanel-trunk.working-copy/build/test/junit 
    [javac] Compiling 6 source files to http://195.226.6.72:8080/job/Yanel-trunk/ws/yanel-trunk.working-copy/build/test/htmlunit 

junit:
     [echo] Running the junit tests
    [junit] WARNING: multiple versions of ant detected in path for junit 
    [junit]          jar:http://195.226.6.72:8080/job/Yanel-trunk/ws/yanel-trunk.working-copy/tools/apache-ant/lib/ant.jar!/org/apache/tools/ant/Project.class 
    [junit]      and jar:http://195.226.6.72:8080/job/Yanel-trunk/ws/yanel-trunk.working-copy/build/webapps/yanel/WEB-INF/lib/ant-1.7.0.jar!/org/apache/tools/ant/Project.class 
    [junit] Running foo.bar.yanel.impl.resources.ImageResourceTest
    [junit] Testsuite: foo.bar.yanel.impl.resources.ImageResourceTest
    [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 5.802 sec
    [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 5.802 sec
    [junit] 
    [junit] Testcase: testWriteRead took 5.042 sec
    [junit] Running org.wyona.yanel.core.map.RealmConfigurationTest
    [junit] Testsuite: org.wyona.yanel.core.map.RealmConfigurationTest
    [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 8.827 sec
    [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 8.827 sec
    [junit] 
    [junit] Testcase: testCopyRealm took 8.201 sec
    [junit] Running org.wyona.yanel.core.util.HttpServletRequestHelperTest
    [junit] Testsuite: org.wyona.yanel.core.util.HttpServletRequestHelperTest
    [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 0.997 sec
    [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 0.997 sec
    [junit] 
    [junit] Testcase: testDecodeURIinURLpath took 0.226 sec
    [junit] Running org.wyona.yanel.core.util.PathUtilTest
    [junit] Testsuite: org.wyona.yanel.core.util.PathUtilTest
    [junit] Tests run: 4, Failures: 0, Errors: 0, Time elapsed: 6.437 sec
    [junit] Tests run: 4, Failures: 0, Errors: 0, Time elapsed: 6.437 sec
    [junit] 
    [junit] Testcase: testRTIPath took 5.693 sec
    [junit] Testcase: testRCPath took 0.011 sec
    [junit] Testcase: testBackToContext took 0.004 sec
    [junit] Testcase: testBackToRealm took 0.004 sec
    [junit] Running org.wyona.yanel.impl.map.MapImplTest
    [junit] Testsuite: org.wyona.yanel.impl.map.MapImplTest
    [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 4.728 sec
    [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 4.728 sec
    [junit] 
    [junit] Testcase: testRTI took 4.03 sec
    [junit] Running org.wyona.yanel.impl.resources.NutchResourceTest
    [junit] Testsuite: org.wyona.yanel.impl.resources.NutchResourceTest
    [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 4.142 sec
    [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 4.142 sec
    [junit] 
    [junit] Testcase: testDummy took 3.678 sec
    [junit] Running org.wyona.yanel.impl.resources.XMLResourceTest
    [junit] Testsuite: org.wyona.yanel.impl.resources.XMLResourceTest
    [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 4.219 sec
    [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 4.219 sec
    [junit] 
    [junit] Testcase: testWriteRead took 3.681 sec

htmlunit:
     [echo] Running the htmlunit tests
    [junit] WARNING: multiple versions of ant detected in path for junit 
    [junit]          jar:http://195.226.6.72:8080/job/Yanel-trunk/ws/yanel-trunk.working-copy/tools/apache-ant/lib/ant.jar!/org/apache/tools/ant/Project.class 
    [junit]      and jar:http://195.226.6.72:8080/job/Yanel-trunk/ws/yanel-trunk.working-copy/build/webapps/yanel/WEB-INF/lib/ant-1.7.0.jar!/org/apache/tools/ant/Project.class 
    [junit] Running foo.bar.yanel.impl.resources.ImageResourceWebTest
    [junit] Testsuite: foo.bar.yanel.impl.resources.ImageResourceWebTest
    [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 0.924 sec
    [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 0.924 sec
    [junit] 
    [junit] Testcase: testXMLResource took 0.47 sec
    [junit] Running org.wyona.yanel.htmlunit.usecases.XIncludeWebTest
    [junit] Testsuite: org.wyona.yanel.htmlunit.usecases.XIncludeWebTest
    [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 7.107 sec
    [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 7.107 sec
    [junit] 
    [junit] Testcase: testXInclude took 6.645 sec
    [junit] Running org.wyona.yanel.htmlunit.yanelwebsite.GlobalDataWebTest
    [junit] Testsuite: org.wyona.yanel.htmlunit.yanelwebsite.GlobalDataWebTest
    [junit] Tests run: 6, Failures: 0, Errors: 0, Time elapsed: 2.748 sec
    [junit] Tests run: 6, Failures: 0, Errors: 0, Time elapsed: 2.748 sec
    [junit] 
    [junit] Testcase: testAboutPage took 0.98 sec
    [junit] Testcase: testUsersPages took 0.387 sec
    [junit] Testcase: testDataRepoSitetreePage took 0.266 sec
    [junit] Testcase: testResourceTypesPages took 0.514 sec
    [junit] Testcase: testHtdocsPages took 0.176 sec
    [junit] Testcase: testNonExistingPage took 0.032 sec
    [junit] Running org.wyona.yanel.htmlunit.yanelwebsite.SimpleWebTest
    [junit] Testsuite: org.wyona.yanel.htmlunit.yanelwebsite.SimpleWebTest
    [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 1.885 sec
    [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 1.885 sec
    [junit] 
    [junit] Testcase: testYanelWebsite took 1.44 sec
    [junit] Running org.wyona.yanel.impl.resources.NutchResourceWebTest
    [junit] Testsuite: org.wyona.yanel.impl.resources.NutchResourceWebTest
    [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 3.053 sec
    [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 3.053 sec
    [junit] 
    [junit] Testcase: testNutchResource took 2.645 sec
    [junit] Running org.wyona.yanel.impl.resources.WikiResourceWebTest
    [junit] Testsuite: org.wyona.yanel.impl.resources.WikiResourceWebTest
    [junit] Tests run: 1, Failures: 0, Errors: 1, Time elapsed: 2.942 sec
    [junit] Tests run: 1, Failures: 0, Errors: 1, Time elapsed: 2.942 sec
    [junit] ------------- Standard Error -----------------
    [junit] [ERROR] htmlunit log - Exception in testcase [Wiki Resource Web Test] <com.gargoylesoftware.htmlunit.FailingHttpStatusCodeException: 500 Internal Server Error for http://localhost:8180/yanel/test/use-cases/hello/wiki/hello-world.html>com.gargoylesoftware.htmlunit.FailingHttpStatusCodeException: 500 Internal Server Error for http://localhost:8180/yanel/test/use-cases/hello/wiki/hello-world.html
    [junit] 	at com.gargoylesoftware.htmlunit.WebClient.getPage(WebClient.java:338)
    [junit] 	at com.gargoylesoftware.htmlunit.WebClient.getPage(WebClient.java:389)
    [junit] 	at org.wyona.yanel.htmlunit.AbstractHtmlUnitTest.loadHtmlPage(Unknown Source)
    [junit] 	at org.wyona.yanel.impl.resources.WikiResourceWebTest.testXMLResource(Unknown Source)
    [junit] 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    [junit] 	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    [junit] 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    [junit] 	at java.lang.reflect.Method.invoke(Method.java:585)
    [junit] 	at junit.framework.TestCase.runTest(TestCase.java:154)
    [junit] 	at org.wyona.yanel.htmlunit.AbstractHtmlUnitTest.runTest(Unknown Source)
    [junit] 	at junit.framework.TestCase.runBare(TestCase.java:127)
    [junit] 	at junit.framework.TestResult$1.protect(TestResult.java:106)
    [junit] 	at junit.framework.TestResult.runProtected(TestResult.java:124)
    [junit] 	at junit.framework.TestResult.run(TestResult.java:109)
    [junit] 	at junit.framework.TestCase.run(TestCase.java:118)
    [junit] 	at junit.framework.TestSuite.runTest(TestSuite.java:208)
    [junit] 	at junit.framework.TestSuite.run(TestSuite.java:203)
    [junit] 	at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.run(JUnitTestRunner.java:421)
    [junit] 	at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.launch(JUnitTestRunner.java:912)
    [junit] 	at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.main(JUnitTestRunner.java:766)
    [junit] 
    [junit] ------------- ---------------- ---------------
    [junit] 
    [junit] Testcase: testXMLResource took 2.477 sec
    [junit] 	Caused an ERROR
    [junit] 500 Internal Server Error for http://localhost:8180/yanel/test/use-cases/hello/wiki/hello-world.html
    [junit] com.gargoylesoftware.htmlunit.FailingHttpStatusCodeException: 500 Internal Server Error for http://localhost:8180/yanel/test/use-cases/hello/wiki/hello-world.html
    [junit] 	at com.gargoylesoftware.htmlunit.WebClient.getPage(WebClient.java:338)
    [junit] 	at com.gargoylesoftware.htmlunit.WebClient.getPage(WebClient.java:389)
    [junit] 	at org.wyona.yanel.htmlunit.AbstractHtmlUnitTest.loadHtmlPage(Unknown Source)
    [junit] 	at org.wyona.yanel.impl.resources.WikiResourceWebTest.testXMLResource(Unknown Source)
    [junit] 	at org.wyona.yanel.htmlunit.AbstractHtmlUnitTest.runTest(Unknown Source)
    [junit] 
    [junit] Test org.wyona.yanel.impl.resources.WikiResourceWebTest FAILED
    [junit] Running org.wyona.yanel.impl.resources.XMLResourceWebTest
    [junit] Testsuite: org.wyona.yanel.impl.resources.XMLResourceWebTest
    [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 2.025 sec
    [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 2.025 sec
    [junit] 
    [junit] Testcase: testXMLResource took 1.549 sec
    [junit] Running org.wyona.yanel.impl.resources.YanelUserResourceWebTest
    [junit] Testsuite: org.wyona.yanel.impl.resources.YanelUserResourceWebTest
    [junit] Tests run: 5, Failures: 0, Errors: 0, Time elapsed: 3.053 sec
    [junit] Tests run: 5, Failures: 0, Errors: 0, Time elapsed: 3.053 sec
    [junit] 
    [junit] Testcase: testSuccessfulPasswordUpdate took 1.816 sec
    [junit] Testcase: testAuthenticationInPasswordUpdate took 0.218 sec
    [junit] Testcase: testNewPasswordValidationInPasswordUpdate took 0.163 sec
    [junit] Testcase: testSuccessfulProfileUpdate took 0.217 sec
    [junit] Testcase: testUnsuccessfulProfileUpdate took 0.18 sec
    [junit] Running org.wyona.yanel.test.htmlunit.resources.DirectoryResourceWebTest
    [junit] Testsuite: org.wyona.yanel.test.htmlunit.resources.DirectoryResourceWebTest
    [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 1.724 sec
    [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 1.724 sec
    [junit] 
    [junit] Testcase: testXHTMLViewOfDirectoryResource took 1.32 sec

result:

archive-tests:

BUILD FAILED
http://195.226.6.72:8080/job/Yanel-trunk/ws/yanel-trunk.working-copy/src/build/targets/test.xml :5: The following error occurred while executing this line:
http://195.226.6.72:8080/job/Yanel-trunk/ws/yanel-trunk.working-copy/src/test/build.xml :186: The following error occurred while executing this line:
http://195.226.6.72:8080/job/Yanel-trunk/ws/yanel-trunk.working-copy/src/test/build.xml :227: One or more tests failed.

Total time: 1 minute 41 seconds
Recording test results



More information about the Yanel-commits mailing list