[Yanel-commits] Build failed in Hudson: Yanel-trunk #635
hudson at wyona.com
hudson at wyona.com
Wed Feb 10 10:25:53 CET 2010
See http://195.226.6.72:8080/job/Yanel-trunk/635/changes
Changes:
[Michi] instructions re running tests improved
------------------------------------------
[...truncated 2366 lines...]
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 2010-02-10-10-24-40
[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: 4.802 sec
[junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 4.802 sec
[junit]
[junit] Testcase: testWriteRead took 4.392 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: 7.28 sec
[junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 7.28 sec
[junit]
[junit] Testcase: testCopyRealm took 6.833 sec
[junit] Running org.wyona.yanel.core.serialization.SerializerFactoryTest
[junit] Testsuite: org.wyona.yanel.core.serialization.SerializerFactoryTest
[junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 0.85 sec
[junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 0.85 sec
[junit]
[junit] Testcase: testGetSerializer took 0.392 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.604 sec
[junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 0.604 sec
[junit]
[junit] Testcase: testDecodeURIinURLpath took 0.155 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: 3.755 sec
[junit] Tests run: 4, Failures: 0, Errors: 0, Time elapsed: 3.755 sec
[junit]
[junit] Testcase: testRTIPath took 3.352 sec
[junit] Testcase: testRCPath took 0.007 sec
[junit] Testcase: testBackToContext took 0.004 sec
[junit] Testcase: testBackToRealm took 0.007 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: 3.525 sec
[junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 3.525 sec
[junit]
[junit] Testcase: testRTI took 3.055 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.229 sec
[junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 4.229 sec
[junit]
[junit] Testcase: testDummy took 3.72 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: 3.667 sec
[junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 3.667 sec
[junit]
[junit] Testcase: testWriteRead took 3.195 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: 1.025 sec
[junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 1.025 sec
[junit]
[junit] Testcase: testXMLResource took 0.491 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: 11.306 sec
[junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 11.306 sec
[junit]
[junit] Testcase: testXInclude took 9.446 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.487 sec
[junit] Tests run: 6, Failures: 0, Errors: 0, Time elapsed: 2.487 sec
[junit]
[junit] Testcase: testAboutPage took 0.933 sec
[junit] Testcase: testUsersPages took 0.155 sec
[junit] Testcase: testDataRepoSitetreePage took 0.188 sec
[junit] Testcase: testResourceTypesPages took 0.385 sec
[junit] Testcase: testHtdocsPages took 0.383 sec
[junit] Testcase: testNonExistingPage took 0.036 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.696 sec
[junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 1.696 sec
[junit]
[junit] Testcase: testYanelWebsite took 1.283 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: 2.461 sec
[junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 2.461 sec
[junit]
[junit] Testcase: testNutchResource took 2.067 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.024 sec
[junit] Tests run: 1, Failures: 0, Errors: 1, Time elapsed: 2.024 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:597)
[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 1.618 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: 1.937 sec
[junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 1.937 sec
[junit]
[junit] Testcase: testXMLResource took 1.432 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: 2.91 sec
[junit] Tests run: 5, Failures: 0, Errors: 0, Time elapsed: 2.91 sec
[junit]
[junit] Testcase: testSuccessfulPasswordUpdate took 1.803 sec
[junit] Testcase: testAuthenticationInPasswordUpdate took 0.158 sec
[junit] Testcase: testNewPasswordValidationInPasswordUpdate took 0.31 sec
[junit] Testcase: testSuccessfulProfileUpdate took 0.137 sec
[junit] Testcase: testUnsuccessfulProfileUpdate took 0.128 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.67 sec
[junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 1.67 sec
[junit]
[junit] Testcase: testXHTMLViewOfDirectoryResource took 1.246 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 :187: 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 :228: One or more tests failed.
Total time: 1 minute 22 seconds
Recording test results
More information about the Yanel-commits
mailing list