[Yanel-development] Re: [CC] [yanel-java5] yanel-java5 Build
Failed
Michael Wechner
michael.wechner at wyona.com
Mon Dec 18 17:21:11 CET 2006
Josias Thöny wrote:
>On Sun, 2006-12-17 at 00:42 +0100, Michael Wechner wrote:
>
>
>>Hi
>>
>>Has anyone an idea why the CruiseControl Java 5 fails and the Java 1.4
>>is fine?
>>
>>
>
>I changed something in the NutchResource (r20962) and now the test
>doesn't fail anymore.
>Not sure why it was working with java 1.4 though.
>
>
thanks very much
Michi
>josias
>
>
>
>>Cheers
>>
>>Michi
>>
>>cruisecontrol at wyona.com wrote:
>>
>>
>>
>>>BUILD FAILED
>>>Ant Error Message:
>>>/home/wyona/cruisecontrol-bin-2.4.1-public/projects/yanel-java5/trunk/src/build/build.xml:817:
>>>The following error occurred while executing this line:
>>>/home/wyona/cruisecontrol-bin-2.4.1-public/projects/yanel-java5/trunk/src/test/build.xml:127:
>>>The following error occurred while executing this line:
>>>/home/wyona/cruisecontrol-bin-2.4.1-public/projects/yanel-java5/trunk/src/test/build.xml:168:
>>>One or more tests failed.
>>>Date of build: 12/17/2006 00:12:11
>>>Time to build: 1 minute 8 seconds
>>>Last changed: 12/17/2006 00:09:46
>>>Last log entry: governance added
>>>
>>> Errors/Warnings: (162)
>>>
>>>Test org.wyona.yanel.impl.resources.NutchResourceWebTest FAILED
>>>
>>>Unix ...
>>>Shutdown Tomcat (/home/wyona/cruisecontrol-bin-2.4.1-public/projects/yanel-java5/apache-tomcat-5.5.20/bin/shutdown.sh) ...
>>>Cleaning Yanel
>>>Check if proxy has been set ...
>>>Building with Apache Ant version 1.6.5 compiled on June 2 2005 and Java version 1.5
>>>Check if proxy has been set ...
>>>Building with Apache Ant version 1.6.5 compiled on June 2 2005 and Java version 1.5
>>>Check if proxy has been set ...
>>>Building with Apache Ant version 1.6.5 compiled on June 2 2005 and Java version 1.5
>>>Init ...
>>>Clean Tomcat cluster node 1:
>>>Deploying Yanel
>>>Check if proxy has been set ...
>>>Building with Apache Ant version 1.6.5 compiled on June 2 2005 and Java version 1.5
>>>Note: Some input files use unchecked or unsafe operations.
>>>Note: Recompile with -Xlint:unchecked for details.
>>>Note: /home/wyona/cruisecontrol-bin-2.4.1-public/projects/yanel-java5/trunk/src/impl/java/org/wyona/yanel/impl/ResourceDefaultImpl.java uses or overrides a deprecated API.
>>>Note: Recompile with -Xlint:deprecation for details.
>>>Check if proxy has been set ...
>>>Building with Apache Ant version 1.6.5 compiled on June 2 2005 and Java version 1.5
>>>Check if proxy has been set ...
>>>Building with Apache Ant version 1.6.5 compiled on June 2 2005 and Java version 1.5
>>>Init ...
>>>There were no dependencies specified
>>>Initialize build
>>>Resource Home Directory: /home/wyona/cruisecontrol-bin-2.4.1-public/projects/yanel-java5/trunk/src/resources/file
>>>There were no dependencies specified
>>>Initialize build
>>>Resource Home Directory: /home/wyona/cruisecontrol-bin-2.4.1-public/projects/yanel-java5/trunk/src/resources/directory
>>>Note: /home/wyona/cruisecontrol-bin-2.4.1-public/projects/yanel-java5/trunk/src/resources/directory/src/java/org/wyona/yanel/impl/resources/DirectoryResource.java uses or overrides a deprecated API.
>>>Note: Recompile with -Xlint:deprecation for details.
>>>There were no dependencies specified
>>>Initialize build
>>>Resource Home Directory: /home/wyona/cruisecontrol-bin-2.4.1-public/projects/yanel-java5/trunk/src/resources/tape
>>>There were no dependencies specified
>>>Initialize build
>>>Resource Home Directory: /home/wyona/cruisecontrol-bin-2.4.1-public/projects/yanel-java5/trunk/src/resources/odt
>>>There were no dependencies specified
>>>Initialize build
>>>Resource Home Directory: /home/wyona/cruisecontrol-bin-2.4.1-public/projects/yanel-java5/trunk/src/resources/xml
>>>There were no dependencies specified
>>>Initialize build
>>>Resource Home Directory: /home/wyona/cruisecontrol-bin-2.4.1-public/projects/yanel-java5/trunk/src/realms/welcome-admin/yanel/resources/show-realms
>>>Note: /home/wyona/cruisecontrol-bin-2.4.1-public/projects/yanel-java5/trunk/src/realms/welcome-admin/yanel/resources/show-realms/src/java/org/wyona/yanel/impl/resources/ShowRealms.java uses or overrides a deprecated API.
>>>Note: Recompile with -Xlint:deprecation for details.
>>>There were no dependencies specified
>>>Initialize build
>>>Resource Home Directory: /home/wyona/cruisecontrol-bin-2.4.1-public/projects/yanel-java5/trunk/src/resources/invoice
>>>Initialize build
>>>Resource Home Directory: /home/wyona/cruisecontrol-bin-2.4.1-public/projects/yanel-java5/trunk/src/contributions/resources/atom
>>>Note: /home/wyona/cruisecontrol-bin-2.4.1-public/projects/yanel-java5/trunk/src/contributions/resources/atom/src/java/org/wyona/yanel/impl/resources/AtomFeedResource.java uses or overrides a deprecated API.
>>>Note: Recompile with -Xlint:deprecation for details.
>>>Note: /home/wyona/cruisecontrol-bin-2.4.1-public/projects/yanel-java5/trunk/src/contributions/resources/atom/src/java/org/wyona/yanel/impl/resources/AtomFeedResource.java uses unchecked or unsafe operations.
>>>Note: Recompile with -Xlint:unchecked for details.
>>>Initialize build
>>>Resource Home Directory: /home/wyona/cruisecontrol-bin-2.4.1-public/projects/yanel-java5/trunk/src/contributions/resources/atom-entry
>>>Initialize build
>>>Resource Home Directory: /home/wyona/cruisecontrol-bin-2.4.1-public/projects/yanel-java5/trunk/src/contributions/resources/contact-form
>>>Initialize build
>>>Resource Home Directory: /home/wyona/cruisecontrol-bin-2.4.1-public/projects/yanel-java5/trunk/src/contributions/resources/wiki
>>>Note: /home/wyona/cruisecontrol-bin-2.4.1-public/projects/yanel-java5/trunk/src/contributions/resources/wiki/src/java/org/wyona/yanel/impl/resources/WikiResource.java uses unchecked or unsafe operations.
>>>Note: Recompile with -Xlint:unchecked for details.
>>>There were no dependencies specified
>>>Initialize build
>>>Resource Home Directory: /home/wyona/cruisecontrol-bin-2.4.1-public/projects/yanel-java5/trunk/src/contributions/resources/zip
>>>There were no dependencies specified
>>>Initialize build
>>>Resource Home Directory: /home/wyona/cruisecontrol-bin-2.4.1-public/projects/yanel-java5/trunk/src/resources/websearch
>>>Initialize build
>>>Resource Home Directory: /home/wyona/cruisecontrol-bin-2.4.1-public/projects/yanel-java5/trunk/src/contributions/resources/nutch
>>>Note: /home/wyona/cruisecontrol-bin-2.4.1-public/projects/yanel-java5/trunk/src/contributions/resources/nutch/src/java/org/wyona/yanel/impl/resources/NutchResource.java uses or overrides a deprecated API.
>>>Note: Recompile with -Xlint:deprecation for details.
>>>Note: /home/wyona/cruisecontrol-bin-2.4.1-public/projects/yanel-java5/trunk/src/contributions/resources/nutch/src/java/org/wyona/yanel/impl/resources/NutchResource.java uses unchecked or unsafe operations.
>>>Note: Recompile with -Xlint:unchecked for details.
>>>There were no dependencies specified
>>>Initialize build
>>>Resource Home Directory: /home/wyona/cruisecontrol-bin-2.4.1-public/projects/yanel-java5/trunk/src/contributions/resources/davcollection
>>>Note: /home/wyona/cruisecontrol-bin-2.4.1-public/projects/yanel-java5/trunk/src/contributions/resources/davcollection/src/java/org/wyona/yanel/impl/resources/DavCollection.java uses or overrides a deprecated API.
>>>Note: Recompile with -Xlint:deprecation for details.
>>>Note: Some input files use or override a deprecated API.
>>>Note: Recompile with -Xlint:deprecation for details.
>>>Note: Some input files use or override a deprecated API.
>>>Note: Recompile with -Xlint:deprecation for details.
>>>Check if proxy has been set ...
>>>Building with Apache Ant version 1.6.5 compiled on June 2 2005 and Java version 1.5
>>>Check if proxy has been set ...
>>>Building with Apache Ant version 1.6.5 compiled on June 2 2005 and Java version 1.5
>>>Check if proxy has been set ...
>>>Building with Apache Ant version 1.6.5 compiled on June 2 2005 and Java version 1.5
>>>Init ...
>>>Check if proxy has been set ...
>>>Building with Apache Ant version 1.6.5 compiled on June 2 2005 and Java version 1.5
>>>/home/wyona/cruisecontrol-bin-2.4.1-public/projects/yanel-java5/trunk/src/core/java/org/wyona/yanel/core/map/Map.java:66: warning - @return tag has no arguments.
>>>Init ...
>>>There were no dependencies specified
>>>Initialize build
>>>Resource Home Directory: /home/wyona/cruisecontrol-bin-2.4.1-public/projects/yanel-java5/trunk/src/resources/file
>>>There were no dependencies specified
>>>Initialize build
>>>Resource Home Directory: /home/wyona/cruisecontrol-bin-2.4.1-public/projects/yanel-java5/trunk/src/resources/directory
>>>There were no dependencies specified
>>>Initialize build
>>>Resource Home Directory: /home/wyona/cruisecontrol-bin-2.4.1-public/projects/yanel-java5/trunk/src/resources/tape
>>>There were no dependencies specified
>>>Initialize build
>>>Resource Home Directory: /home/wyona/cruisecontrol-bin-2.4.1-public/projects/yanel-java5/trunk/src/resources/odt
>>>There were no dependencies specified
>>>Initialize build
>>>Resource Home Directory: /home/wyona/cruisecontrol-bin-2.4.1-public/projects/yanel-java5/trunk/src/resources/xml
>>>There were no dependencies specified
>>>Initialize build
>>>Resource Home Directory: /home/wyona/cruisecontrol-bin-2.4.1-public/projects/yanel-java5/trunk/src/realms/welcome-admin/yanel/resources/show-realms
>>>There were no dependencies specified
>>>Initialize build
>>>Resource Home Directory: /home/wyona/cruisecontrol-bin-2.4.1-public/projects/yanel-java5/trunk/src/resources/invoice
>>>Initialize build
>>>Resource Home Directory: /home/wyona/cruisecontrol-bin-2.4.1-public/projects/yanel-java5/trunk/src/contributions/resources/atom
>>>Initialize build
>>>Resource Home Directory: /home/wyona/cruisecontrol-bin-2.4.1-public/projects/yanel-java5/trunk/src/contributions/resources/atom-entry
>>>Initialize build
>>>Resource Home Directory: /home/wyona/cruisecontrol-bin-2.4.1-public/projects/yanel-java5/trunk/src/contributions/resources/contact-form
>>>Initialize build
>>>Resource Home Directory: /home/wyona/cruisecontrol-bin-2.4.1-public/projects/yanel-java5/trunk/src/contributions/resources/wiki
>>>There were no dependencies specified
>>>Initialize build
>>>Resource Home Directory: /home/wyona/cruisecontrol-bin-2.4.1-public/projects/yanel-java5/trunk/src/contributions/resources/zip
>>>There were no dependencies specified
>>>Initialize build
>>>Resource Home Directory: /home/wyona/cruisecontrol-bin-2.4.1-public/projects/yanel-java5/trunk/src/resources/websearch
>>>Initialize build
>>>Resource Home Directory: /home/wyona/cruisecontrol-bin-2.4.1-public/projects/yanel-java5/trunk/src/contributions/resources/nutch
>>>Copy plugins: /home/wyona/cruisecontrol-bin-2.4.1-public/projects/yanel-java5/trunk/build/webapps/ROOT/WEB-INF/classes
>>>There were no dependencies specified
>>>Initialize build
>>>Resource Home Directory: /home/wyona/cruisecontrol-bin-2.4.1-public/projects/yanel-java5/trunk/src/contributions/resources/davcollection
>>>Copy webapp (/home/wyona/cruisecontrol-bin-2.4.1-public/projects/yanel-java5/apache-tomcat-5.5.20/webapps):
>>>*****************************************************************
>>>*
>>>* You have successfully built Yanel 0.0.1-dev (Revision 17165)
>>>*
>>>*
>>>* Start using Yanel by typing
>>>*
>>>* Tomcat: ./yanel.sh start
>>>*
>>>* and browse to
>>>*
>>>* http://127.0.0.1:8080/ROOT/
>>>*
>>>*
>>>* Thanks for using Yanel
>>>*
>>>*****************************************************************
>>>Starting Tomcat (/home/wyona/cruisecontrol-bin-2.4.1-public/projects/yanel-java5/apache-tomcat-5.5.20/bin/startup.sh) ...
>>>Note: /home/wyona/cruisecontrol-bin-2.4.1-public/projects/yanel-java5/trunk/src/test/junit/org/wyona/yanel/impl/map/MapImplTest.java uses or overrides a deprecated API.
>>>Note: Recompile with -Xlint:deprecation for details.
>>>Delete old Test-Results
>>>Running the tests at 2006-12-17-00-13-09
>>>NOTE: Running the tests might take a while. Thanks for your patience ...
>>>Running the junit tests
>>>Running the htmlunit tests
>>>
>>>
>>>
>>> Javadoc Errors/Warnings: (1)
>>>
>>>/home/wyona/cruisecontrol-bin-2.4.1-public/projects/yanel-java5/trunk/src/core/java/org/wyona/yanel/core/map/Map.java:66: warning - @return tag has no arguments.
>>>
>>>
>>>
>>> Unit Tests: (8)
>>>error testCrawlDirectoryExists
>>>org.wyona.yanel.impl.resources.NutchResourceTest
>>>failure testNutchLocalExists
>>>org.wyona.yanel.impl.resources.NutchResourceTest
>>>failure testNutchResource
>>>org.wyona.yanel.impl.resources.NutchResourceWebTest
>>>
>>>
>>> Unit Test Error Details: (3)
>>>Test: testCrawlDirectoryExists
>>>Class: org.wyona.yanel.impl.resources.NutchResourceTest
>>>
>>>
>>>java.lang.RuntimeException: java.io.FileNotFoundException:
>>>/home/wyona/cruisecontrol-bin-2.4.1-public/projects/yanel-java5/trunk/src/contributions/resources/nutch/conf/nutch-local.xml
>>>(No such file or directory)
>>>
>>> at
>>>org.apache.hadoop.conf.Configuration.loadResource(Configuration.java:472)
>>>
>>>
>>> at
>>>org.apache.hadoop.conf.Configuration.loadResources(Configuration.java:399)
>>>
>>>
>>> at
>>>org.apache.hadoop.conf.Configuration.getProps(Configuration.java:383)
>>>
>>> at org.apache.hadoop.conf.Configuration.get(Configuration.java:142)
>>>
>>> at
>>>org.wyona.yanel.impl.resources.NutchResourceTest.testCrawlDirectoryExists(Unknown
>>>Source)
>>>
>>> at org.wyona.yanel.junit.AbstractYanelTest.runTest(Unknown Source)
>>>Caused by: java.io.FileNotFoundException:
>>>/home/wyona/cruisecontrol-bin-2.4.1-public/projects/yanel-java5/trunk/src/contributions/resources/nutch/conf/nutch-local.xml
>>>(No such file or directory)
>>>
>>> at java.io.FileInputStream.open(Native Method)
>>>
>>> at java.io.FileInputStream.<init>(FileInputStream.java:106)
>>>
>>> at java.io.FileInputStream.<init>(FileInputStream.java:66)
>>>
>>> at
>>>sun.net.www.protocol.file.FileURLConnection.connect(FileURLConnection.java:70)
>>>
>>>
>>> at
>>>sun.net.www.protocol.file.FileURLConnection.getInputStream(FileURLConnection.java:161)
>>>
>>>
>>> at org.apache.xerces.impl.XMLEntityManager.setupCurrentEntity(Unknown
>>>Source)
>>>
>>> at
>>>org.apache.xerces.impl.XMLVersionDetector.determineDocVersion(Unknown
>>>Source)
>>>
>>> at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
>>>
>>> at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
>>>
>>> at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
>>>
>>> at org.apache.xerces.parsers.DOMParser.parse(Unknown Source)
>>>
>>> at org.apache.xerces.jaxp.DocumentBuilderImpl.parse(Unknown Source)
>>>
>>> at javax.xml.parsers.DocumentBuilder.parse(DocumentBuilder.java:146)
>>>
>>> at
>>>org.apache.hadoop.conf.Configuration.loadResource(Configuration.java:414)
>>>
>>>
>>> ... 20 more
>>>
>>>Test: testNutchLocalExists
>>>Class: org.wyona.yanel.impl.resources.NutchResourceTest
>>>
>>>
>>>junit.framework.AssertionFailedError: the nutch-local dir exists:
>>>
>>> at
>>>org.wyona.yanel.impl.resources.NutchResourceTest.testNutchLocalExists(Unknown
>>>Source)
>>>
>>> at org.wyona.yanel.junit.AbstractYanelTest.runTest(Unknown Source)
>>>
>>>Test: testNutchResource
>>>Class: org.wyona.yanel.impl.resources.NutchResourceWebTest
>>>
>>>
>>>junit.framework.AssertionFailedError: Response should be an HTML page
>>>
>>> at org.wyona.yanel.htmlunit.AbstractHtmlUnitTest.handlePage(Unknown
>>>Source)
>>>
>>> at org.wyona.yanel.htmlunit.AbstractHtmlUnitTest.loadHtmlPage(Unknown
>>>Source)
>>>
>>> at
>>>org.wyona.yanel.impl.resources.NutchResourceWebTest.testNutchResource(Unknown
>>>Source)
>>>
>>> at org.wyona.yanel.htmlunit.AbstractHtmlUnitTest.runTest(Unknown Source)
>>>
>>> Modifications since last successful build: (71)
>>>
>>> Deployments by this build: (20)
>>>Building jar:
>>>/home/wyona/cruisecontrol-bin-2.4.1-public/projects/yanel-java5/trunk/build/lib/yanel-core-0.0.1-dev-r17165.jar
>>>
>>>Building jar:
>>>/home/wyona/cruisecontrol-bin-2.4.1-public/projects/yanel-java5/trunk/build/lib/yanel-impl-0.0.1-dev-r17165.jar
>>>
>>>Building jar:
>>>/home/wyona/cruisecontrol-bin-2.4.1-public/projects/yanel-java5/trunk/src/resources/file/build/lib/yanel-resource-file-0.0.1-dev-rXXX.jar
>>>
>>>Building jar:
>>>/home/wyona/cruisecontrol-bin-2.4.1-public/projects/yanel-java5/trunk/src/resources/directory/build/lib/yanel-resource-directory-0.0.1-dev-rXXX.jar
>>>
>>>Building jar:
>>>/home/wyona/cruisecontrol-bin-2.4.1-public/projects/yanel-java5/trunk/src/resources/tape/build/lib/yanel-resource-tape-0.0.1-dev-rXXX.jar
>>>
>>>Building jar:
>>>/home/wyona/cruisecontrol-bin-2.4.1-public/projects/yanel-java5/trunk/src/resources/odt/build/lib/yanel-resource-odt-0.0.1-dev-rXXX.jar
>>>
>>>Building jar:
>>>/home/wyona/cruisecontrol-bin-2.4.1-public/projects/yanel-java5/trunk/src/resources/xml/build/lib/yanel-resource-xml-0.0.1-dev-rXXX.jar
>>>
>>>Building jar:
>>>/home/wyona/cruisecontrol-bin-2.4.1-public/projects/yanel-java5/trunk/src/realms/welcome-admin/yanel/resources/show-realms/build/lib/yanel-resource-show-realms-0.0.1-dev-rXXX.jar
>>>
>>>Building jar:
>>>/home/wyona/cruisecontrol-bin-2.4.1-public/projects/yanel-java5/trunk/src/resources/invoice/build/lib/yanel-resource-invoice-0.0.1-dev-rXXX.jar
>>>
>>>Building jar:
>>>/home/wyona/cruisecontrol-bin-2.4.1-public/projects/yanel-java5/trunk/src/contributions/resources/atom/build/lib/yanel-resource-atom-0.0.1-dev-rXXX.jar
>>>
>>>Building jar:
>>>/home/wyona/cruisecontrol-bin-2.4.1-public/projects/yanel-java5/trunk/src/contributions/resources/atom-entry/build/lib/yanel-resource-atom-entry-0.0.1-dev-rXXX.jar
>>>
>>>Building jar:
>>>/home/wyona/cruisecontrol-bin-2.4.1-public/projects/yanel-java5/trunk/src/contributions/resources/contact-form/build/lib/yanel-resource-contact-form-0.0.1-dev-rXXX.jar
>>>
>>>Building jar:
>>>/home/wyona/cruisecontrol-bin-2.4.1-public/projects/yanel-java5/trunk/src/contributions/resources/wiki/build/lib/yanel-resource-wiki-0.0.1-dev-rXXX.jar
>>>
>>>Building jar:
>>>/home/wyona/cruisecontrol-bin-2.4.1-public/projects/yanel-java5/trunk/src/contributions/resources/zip/build/lib/yanel-resource-zip-0.0.1-dev-rXXX.jar
>>>
>>>Building jar:
>>>/home/wyona/cruisecontrol-bin-2.4.1-public/projects/yanel-java5/trunk/src/resources/websearch/build/lib/yanel-resource-websearch-0.0.1-dev-rXXX.jar
>>>
>>>Building jar:
>>>/home/wyona/cruisecontrol-bin-2.4.1-public/projects/yanel-java5/trunk/src/contributions/resources/nutch/build/lib/yanel-resource-nutch-0.0.1-dev-rXXX.jar
>>>
>>>Building jar:
>>>/home/wyona/cruisecontrol-bin-2.4.1-public/projects/yanel-java5/trunk/src/contributions/resources/davcollection/build/lib/yanel-resource-webdavcollection-0.0.1-dev-rXXX.jar
>>>
>>>Building jar:
>>>/home/wyona/cruisecontrol-bin-2.4.1-public/projects/yanel-java5/trunk/build/lib/yanel-cmdl-0.0.1-dev-r17165.jar
>>>
>>>Building jar:
>>>/home/wyona/cruisecontrol-bin-2.4.1-public/projects/yanel-java5/trunk/build/lib/yanel-webapp-0.0.1-dev-r17165.jar
>>>
>>>Building jar:
>>>/home/wyona/cruisecontrol-bin-2.4.1-public/projects/yanel-java5/trunk/build/webapps/ROOT.war
>>>
>>>
>>>------------------------------------------------------------------------
>>>
>>>_______________________________________________
>>>Cruisecontrol mailing list
>>>Cruisecontrol at wyona.com
>>>http://wyona.com/cgi-bin/mailman/listinfo/cruisecontrol
>>>
>>>
>>>
>>>
>>
>>
>
>
>_______________________________________________
>Yanel-development mailing list
>Yanel-development at wyona.com
>http://wyona.com/cgi-bin/mailman/listinfo/yanel-development
>
>
>
--
Michael Wechner
Wyona - Open Source Content Management - Apache Lenya
http://www.wyona.com http://lenya.apache.org
michael.wechner at wyona.com michi at apache.org
+41 44 272 91 61
More information about the Yanel-development
mailing list