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

hudson at wyona.com hudson at wyona.com
Fri Jul 24 14:00:12 CEST 2009


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

Changes:

[Guillaume] Refactoring to ease internal use of resource-types in the servlet. Side-effects are:
- for the data-repository sitetree page when a view is not found by its viewId
 we return a 404 status code instead of trying to match resource-types' or else Yanel htdocs files.

Issue: 6897

------------------------------------------
[...truncated 2263 lines...]
+ 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-07-24-12-58-26
     [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: 7.34 sec
    [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 7.34 sec
    [junit] 
    [junit] Testcase: testWriteRead took 6.747 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: 9.566 sec
    [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 9.566 sec
    [junit] 
    [junit] Testcase: testCopyRealm took 9.167 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: 1.105 sec
    [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 1.105 sec
    [junit] 
    [junit] Testcase: testDecodeURIinURLpath took 0.206 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: 5.539 sec
    [junit] Tests run: 4, Failures: 0, Errors: 0, Time elapsed: 5.539 sec
    [junit] 
    [junit] Testcase: testRTIPath took 5.122 sec
    [junit] Testcase: testRCPath took 0.011 sec
    [junit] Testcase: testBackToContext took 0.006 sec
    [junit] Testcase: testBackToRealm took 0.003 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: 5.797 sec
    [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 5.797 sec
    [junit] 
    [junit] Testcase: testRTI took 5.031 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: 5.517 sec
    [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 5.517 sec
    [junit] 
    [junit] Testcase: testDummy took 4.795 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: 5.497 sec
    [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 5.497 sec
    [junit] 
    [junit] Testcase: testWriteRead took 4.654 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.591 sec
    [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 1.591 sec
    [junit] 
    [junit] Testcase: testXMLResource took 0.851 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.646 sec
    [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 11.646 sec
    [junit] 
    [junit] Testcase: testXInclude took 10.961 sec
    [junit] Running org.wyona.yanel.htmlunit.yanelwebsite.GlobalDataWebTest
    [junit] Testsuite: org.wyona.yanel.htmlunit.yanelwebsite.GlobalDataWebTest
    [junit] Tests run: 6, Failures: 0, Errors: 1, Time elapsed: 3.516 sec
    [junit] Tests run: 6, Failures: 0, Errors: 1, Time elapsed: 3.516 sec
    [junit] ------------- Standard Error -----------------
    [junit] [ERROR] htmlunit log - Exception in testcase [Global Data Web Test] <com.gargoylesoftware.htmlunit.FailingHttpStatusCodeException: 404 Not Found for http://localhost:8180/yanel/yanel/user-mgmt/list-users.html>com.gargoylesoftware.htmlunit.FailingHttpStatusCodeException: 404 Not Found for http://localhost:8180/yanel/yanel/user-mgmt/list-users.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.loadResource(Unknown Source)
    [junit] 	at org.wyona.yanel.htmlunit.yanelwebsite.GlobalDataWebTest.loadReservedResource(Unknown Source)
    [junit] 	at org.wyona.yanel.htmlunit.yanelwebsite.GlobalDataWebTest.testUsersPages(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: testAboutPage took 1.578 sec
    [junit] Testcase: testUsersPages took 0.26 sec
    [junit] 	Caused an ERROR
    [junit] 404 Not Found for http://localhost:8180/yanel/yanel/user-mgmt/list-users.html
    [junit] com.gargoylesoftware.htmlunit.FailingHttpStatusCodeException: 404 Not Found for http://localhost:8180/yanel/yanel/user-mgmt/list-users.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.loadResource(Unknown Source)
    [junit] 	at org.wyona.yanel.htmlunit.yanelwebsite.GlobalDataWebTest.loadReservedResource(Unknown Source)
    [junit] 	at org.wyona.yanel.htmlunit.yanelwebsite.GlobalDataWebTest.testUsersPages(Unknown Source)
    [junit] 	at org.wyona.yanel.htmlunit.AbstractHtmlUnitTest.runTest(Unknown Source)
    [junit] 
    [junit] Testcase: testDataRepoSitetreePage took 0.384 sec
    [junit] Testcase: testResourceTypesPages took 0.386 sec
    [junit] Testcase: testHtdocsPages took 0.306 sec
    [junit] Testcase: testNonExistingPage took 0.032 sec
    [junit] Test org.wyona.yanel.htmlunit.yanelwebsite.GlobalDataWebTest FAILED
    [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: 2.793 sec
    [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 2.793 sec
    [junit] 
    [junit] Testcase: testYanelWebsite took 2.092 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: 4.306 sec
    [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 4.306 sec
    [junit] 
    [junit] Testcase: testNutchResource took 3.587 sec
    [junit] Running org.wyona.yanel.impl.resources.WikiResourceWebTest
    [junit] Testsuite: org.wyona.yanel.impl.resources.WikiResourceWebTest
    [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 3.952 sec
    [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 3.952 sec
    [junit] 
    [junit] Testcase: testXMLResource took 3.213 sec
    [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: 3.36 sec
    [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 3.36 sec
    [junit] 
    [junit] Testcase: testXMLResource took 2.959 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.807 sec
    [junit] Tests run: 5, Failures: 0, Errors: 0, Time elapsed: 3.807 sec
    [junit] 
    [junit] Testcase: testSuccessfulPasswordUpdate took 1.995 sec
    [junit] Testcase: testAuthenticationInPasswordUpdate took 0.168 sec
    [junit] Testcase: testNewPasswordValidationInPasswordUpdate took 0.156 sec
    [junit] Testcase: testSuccessfulProfileUpdate took 0.177 sec
    [junit] Testcase: testUnsuccessfulProfileUpdate took 0.156 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: 2.592 sec
    [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 2.592 sec
    [junit] 
    [junit] Testcase: testXHTMLViewOfDirectoryResource took 1.888 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 :182: 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 :223: One or more tests failed.

Total time: 1 minute 59 seconds
Recording test results



More information about the Yanel-commits mailing list