Hey Ralf, Ralf Joachim schrieb: > Hi Lukas, Hi Werner, > > after some testing I found the reason of the build problem. It seams > that JAR's of Castor 1.3 are broken in global maven repository.
you're right, the repo links return a HTTP 404. I think this is a known issue, that Maven saves data without checking the HTTP response code and uses it for the build. The Codehaus repo for example contains the proper jars. It seems to me, as if the dev.java.net repo is ranked before the Codehaus repo. Build also fails for me when deleting my local repo and downloading the corrupted libs. Ralf, many thanks for adding the include method to my test cases! Werner, can I ask you to trigger a full build on Bamboo? Thx! Lukas > If I use > local copies of cor, xml and xml-schema JAR's build runs successful. I > also added a comment about this at > http://jira.codehaus.org/browse/CASTOR-2762 > > In addition this also means that I don't see any failing tests of CPACTF > module during maven build. In addition I also verified that all cpa > tests work against derby, mysql and postgresql out of eclipse. Apart of > test2763 not been excluded for other engines there had been no failure. > Therefore I think we can ignore the failures of last bamboo build. > > Regards > Ralf > > Ralf Joachim schrieb: >> Lukas, >> >> you are right that I committed commit sets 8283, 8284, 8285 and 8289 >> with changes to CPA module after this full rebuild. But this does not >> mean that I have not executed test. Before each of this commits I have >> executed old cpa test suite against mysql and new test suite against >> derby, mysql and postgresql within eclipse. Having said that I executed >> these tests once again without failures some minutes ago. >> >> In addition I don't have an idea how my changes to CPA module could >> break build of XML module. If jdo-extension-it would have been broken I >> would agree that my commits could have caused the problem. But according >> to previous mails from Werner and you build seams to work at your side >> which means to me that my commits could not have caused the build >> problem. For the failing cpactf tests on bamboo there may be a chance >> that they are related to my commits but at the moment we do not have a >> chance to verify this as full rebuild fails for me at XML module. >> >> Regards >> Ralf >> >> Lukas Lang schrieb: >> >>> Ralf, >>> >>> there were several commits on JDO internals from you after 20th of July. >>> In my opinion, committing patches without being able to run a successful >>> build is indeed not a good idea, even if Ahmad did run all tests (old >>> and new cpactf) successfully. >>> >>> If my patch turns out to break the code base, I will go ahead and revert >>> it on monday. >>> >>> Lukas >>> >>> Ralf Joachim schrieb: >>> >>> >>>> Hi Lukas, >>>> >>>> the mayor problem for me is that we can not build and therefore not >>>> verfiy if your patch realy breaks anything. If build error can not be >>>> resolved until Monday evening or your patch realy causes problems after >>>> we are able to verify I would ask you to revert the patch. >>>> >>>> With regard to the build problem I would ask you to: >>>> - make a copy of your repository to be able to restore it in case you >>>> get the same failures >>>> - delete everything in your original repository so maven need sto >>>> download everything >>>> - do a mvn clean followed mvn install and see if you also get failures >>>> - if failed restore your repository from copy >>>> >>>> In the meantime I have tested with maven 2.0.9 and 2.1.0 both under Java >>>> 1.5.0_18. Both produce the same failure under Ubuntu Linux 904. But >>>> there is also a bug report about similar problems under Windows and Java >>>> 1.6 at: >>>> >>>> http://jira.codehaus.org/browse/CASTOR-2762 >>>> >>>> After checking my repository I found that a full build with mvn clean >>>> and mvn install had worked for me on 20. July 2009. As there are no >>>> relevant changes in Castor since that time this can only be related to >>>> changes in dependecies or broken jars in one of the repositories. A >>>> potential candidate for this is castor-maven-plugin as Werner has >>>> published a new version of this plugin which is now used and therefore >>>> is a significant since my last successful build. >>>> >>>> Regards >>>> Ralf >>>> >>>> >>>> Lukas Lang schrieb: >>>> >>>> >>>>> Hello, >>>>> >>>>> not a very pleasant situation. I can offer the following options: >>>>> >>>>> - reverting my last patch (concerning the version feature). >>>>> - setting up my system with same SW and versions like yours. >>>>> >>>>> Both options somehow would delay my work on JPA compliance. >>>>> >>>>> Lukas >>>>> >>>>> >>>>> Ralf Joachim schrieb: >>>>> >>>>> >>>>> >>>>>> Hi Lukas, >>>>>> >>>>>> I would have done so already if this would be an option. Problem is that >>>>>> I can not do a full rebuild until Werner has resolved the maven build >>>>>> error. But such a full rebuild would be required after check out your >>>>>> changes to mapping.xsd. >>>>>> >>>>>> This means we are all blocked by this build error with a potentially >>>>>> broken SVN head. >>>>>> >>>>>> Regards >>>>>> Ralf >>>>>> >>>>>> >>>>>> Lukas Lang schrieb: >>>>>> >>>>>> >>>>>> >>>>>>> Hey Ralf, >>>>>>> >>>>>>> I can not reproduce the build failure. I usually run all tests (+ old >>>>>>> cpactf tests) on both Java 1.5 and Java 1.6, which I also did before >>>>>>> that commit. >>>>>>> >>>>>>> If you have a look at the build log, there are failing tests not related >>>>>>> directly to the new version feature: >>>>>>> >>>>>>> java.lang.NoClassDefFoundError: org/castor/jdo/conf/Jndi >>>>>>> java.lang.NoClassDefFoundError: org/castor/cache/simple/Unlimited >>>>>>> >>>>>>> Somehow this looks like some old jars were loaded or even missing... >>>>>>> >>>>>>> Can I ask you to check out tunk and run the build manually on your >>>>>>> system? >>>>>>> >>>>>>> Werner, can you please again trigger Bamboo build? >>>>>>> >>>>>>> Thanks, >>>>>>> Lukas >>>>>>> >>>>>>> Ralf Joachim schrieb: >>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>>>> Lukas, >>>>>>>> >>>>>>>> your patch seam to break 16 tests of our test suite. Could you please >>>>>>>> try to resolve this. >>>>>>>> >>>>>>>> Regards >>>>>>>> Ralf >>>>>>>> >>>>>>>> >>>>>>>> Codehaus Bamboo schrieb: >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>>> CASTOR-JDK5CPACTF-92 >>>>>>>>> <http://bamboo.ci.codehaus.org/browse/CASTOR-JDK5CPACTF-92/> failed. >>>>>>>>> Code has been updated by lukaslang >>>>>>>>> <http://bamboo.ci.codehaus.org/browse/user/lukaslang>. >>>>>>>>> *16/341* tests failed. >>>>>>>>> >>>>>>>>> >>>>>>>>> Code Changes >>>>>>>>> <http://bamboo.ci.codehaus.org/browse/CASTOR-JDK5CPACTF-92/commit> >>>>>>>>> See full change details >>>>>>>>> <http://bamboo.ci.codehaus.org/browse/CASTOR-JDK5CPACTF-92/commit> >>>>>>>>> >>>>>>>>> lukaslang <http://bamboo.ci.codehaus.org/browse/user/lukaslang> >>>>>>>>> Added support for long and java.lang.Long version fields. Resolves >>>>>>>>> CASTOR-2763 >>>>>>>>> <http://jira.codehaus.org/browse/CASTOR-2763?page=com.atlassian.jira.plugin.ext.bamboo%3Abamboo-build-results-tabpanel>. >>>>>>>>> (8294) >>>>>>>>> >>>>>>>>> >>>>>>>>> Tests >>>>>>>>> <http://bamboo.ci.codehaus.org/browse/CASTOR-JDK5CPACTF-92/test> >>>>>>>>> See >>>>>>>>> full test details >>>>>>>>> <http://bamboo.ci.codehaus.org/browse/CASTOR-JDK5CPACTF-92/test> >>>>>>>>> >>>>>>>>> Failed Tests (16) >>>>>>>>> Test1002 >>>>>>>>> <http://bamboo.ci.codehaus.org/browse/CASTOR-JDK5CPACTF-92/test/org.castor.cpa.test.test1002.Test1002> >>>>>>>>> : Load >>>>>>>>> <http://bamboo.ci.codehaus.org/browse/CASTOR-JDK5CPACTF-92/test/org.castor.cpa.test.test1002.Test1002:testLoad> >>>>>>>>> (New) >>>>>>>>> Test1158 >>>>>>>>> <http://bamboo.ci.codehaus.org/browse/CASTOR-JDK5CPACTF-92/test/org.castor.cpa.test.test1158.Test1158> >>>>>>>>> : Load >>>>>>>>> <http://bamboo.ci.codehaus.org/browse/CASTOR-JDK5CPACTF-92/test/org.castor.cpa.test.test1158.Test1158:testLoad> >>>>>>>>> (New) >>>>>>>>> Test1158 >>>>>>>>> <http://bamboo.ci.codehaus.org/browse/CASTOR-JDK5CPACTF-92/test/org.castor.cpa.test.test1158.Test1158> >>>>>>>>> : Save >>>>>>>>> <http://bamboo.ci.codehaus.org/browse/CASTOR-JDK5CPACTF-92/test/org.castor.cpa.test.test1158.Test1158:testSave> >>>>>>>>> (New) >>>>>>>>> VersionTest >>>>>>>>> <http://bamboo.ci.codehaus.org/browse/CASTOR-JDK5CPACTF-92/test/org.castor.cpa.test.test2763.VersionTest> >>>>>>>>> : Create >>>>>>>>> <http://bamboo.ci.codehaus.org/browse/CASTOR-JDK5CPACTF-92/test/org.castor.cpa.test.test2763.VersionTest:testCreate> >>>>>>>>> (New) >>>>>>>>> VersionTest >>>>>>>>> <http://bamboo.ci.codehaus.org/browse/CASTOR-JDK5CPACTF-92/test/org.castor.cpa.test.test2763.VersionTest> >>>>>>>>> : Detachment and update >>>>>>>>> <http://bamboo.ci.codehaus.org/browse/CASTOR-JDK5CPACTF-92/test/org.castor.cpa.test.test2763.VersionTest:testDetachmentAndUpdate> >>>>>>>>> (New) >>>>>>>>> VersionTest >>>>>>>>> <http://bamboo.ci.codehaus.org/browse/CASTOR-JDK5CPACTF-92/test/org.castor.cpa.test.test2763.VersionTest> >>>>>>>>> : Dirty check >>>>>>>>> <http://bamboo.ci.codehaus.org/browse/CASTOR-JDK5CPACTF-92/test/org.castor.cpa.test.test2763.VersionTest:testDirtyCheck> >>>>>>>>> (New) >>>>>>>>> TestPersistent >>>>>>>>> <http://bamboo.ci.codehaus.org/browse/CASTOR-JDK5CPACTF-92/test/org.castor.cpa.test.test18.TestPersistent> >>>>>>>>> : Run >>>>>>>>> <http://bamboo.ci.codehaus.org/browse/CASTOR-JDK5CPACTF-92/test/org.castor.cpa.test.test18.TestPersistent:testRun> >>>>>>>>> (New) >>>>>>>>> Test954 >>>>>>>>> <http://bamboo.ci.codehaus.org/browse/CASTOR-JDK5CPACTF-92/test/org.castor.cpa.test.test954.Test954> >>>>>>>>> : Prepare statement >>>>>>>>> <http://bamboo.ci.codehaus.org/browse/CASTOR-JDK5CPACTF-92/test/org.castor.cpa.test.test954.Test954:testPrepareStatement> >>>>>>>>> (New) >>>>>>>>> Test954 >>>>>>>>> <http://bamboo.ci.codehaus.org/browse/CASTOR-JDK5CPACTF-92/test/org.castor.cpa.test.test954.Test954> >>>>>>>>> : To string >>>>>>>>> <http://bamboo.ci.codehaus.org/browse/CASTOR-JDK5CPACTF-92/test/org.castor.cpa.test.test954.Test954:testToString> >>>>>>>>> (New) >>>>>>>>> TestTypeLOB >>>>>>>>> <http://bamboo.ci.codehaus.org/browse/CASTOR-JDK5CPACTF-92/test/org.castor.cpa.test.test11.TestTypeLOB> >>>>>>>>> : Type l o b >>>>>>>>> <http://bamboo.ci.codehaus.org/browse/CASTOR-JDK5CPACTF-92/test/org.castor.cpa.test.test11.TestTypeLOB:testTypeLOB> >>>>>>>>> (New) >>>>>>>>> TestManyToManyKeyGen >>>>>>>>> <http://bamboo.ci.codehaus.org/browse/CASTOR-JDK5CPACTF-92/test/org.castor.cpa.test.test74.TestManyToManyKeyGen> >>>>>>>>> : Manyto many key gen >>>>>>>>> <http://bamboo.ci.codehaus.org/browse/CASTOR-JDK5CPACTF-92/test/org.castor.cpa.test.test74.TestManyToManyKeyGen:testManytoManyKeyGen> >>>>>>>>> (New) >>>>>>>>> TestOQLCountFunction >>>>>>>>> <http://bamboo.ci.codehaus.org/browse/CASTOR-JDK5CPACTF-92/test/org.castor.cpa.test.test30.TestOQLCountFunction> >>>>>>>>> : Select count extends1 >>>>>>>>> <http://bamboo.ci.codehaus.org/browse/CASTOR-JDK5CPACTF-92/test/org.castor.cpa.test.test30.TestOQLCountFunction:testSelectCountExtends1> >>>>>>>>> (New) >>>>>>>>> TestOQLCountFunction >>>>>>>>> <http://bamboo.ci.codehaus.org/browse/CASTOR-JDK5CPACTF-92/test/org.castor.cpa.test.test30.TestOQLCountFunction> >>>>>>>>> : Select count extends2 >>>>>>>>> <http://bamboo.ci.codehaus.org/browse/CASTOR-JDK5CPACTF-92/test/org.castor.cpa.test.test30.TestOQLCountFunction:testSelectCountExtends2> >>>>>>>>> (New) >>>>>>>>> TestOQLCountFunction >>>>>>>>> <http://bamboo.ci.codehaus.org/browse/CASTOR-JDK5CPACTF-92/test/org.castor.cpa.test.test30.TestOQLCountFunction> >>>>>>>>> : Select count extends3 >>>>>>>>> <http://bamboo.ci.codehaus.org/browse/CASTOR-JDK5CPACTF-92/test/org.castor.cpa.test.test30.TestOQLCountFunction:testSelectCountExtends3> >>>>>>>>> (New) >>>>>>>>> TestManyToMany >>>>>>>>> <http://bamboo.ci.codehaus.org/browse/CASTOR-JDK5CPACTF-92/test/org.castor.cpa.test.test73.TestManyToMany> >>>>>>>>> : Many to many >>>>>>>>> <http://bamboo.ci.codehaus.org/browse/CASTOR-JDK5CPACTF-92/test/org.castor.cpa.test.test73.TestManyToMany:testManyToMany> >>>>>>>>> (New) >>>>>>>>> TestPersistenceWithExtends >>>>>>>>> <http://bamboo.ci.codehaus.org/browse/CASTOR-JDK5CPACTF-92/test/org.castor.cpa.test.test31.TestPersistenceWithExtends> >>>>>>>>> : test >>>>>>>>> <http://bamboo.ci.codehaus.org/browse/CASTOR-JDK5CPACTF-92/test/org.castor.cpa.test.test31.TestPersistenceWithExtends:test> >>>>>>>>> (New) >>>>>>>>> >>>>>>>>> >>>>>>>>> JIRA Issues >>>>>>>>> <http://bamboo.ci.codehaus.org/browse/CASTOR-JDK5CPACTF-92/issues> >>>>>>>>> See full issue details >>>>>>>>> <http://bamboo.ci.codehaus.org/browse/CASTOR-JDK5CPACTF-92/issues> >>>>>>>>> more >>>>>>>>> >>>>>>>>> CASTOR-2763 >>>>>>>>> <http://jira.codehaus.org/browse/CASTOR-2763?page=com.atlassian.jira.plugin.ext.bamboo%3Abamboo-build-results-tabpanel> >>>>>>>>> (Related) >>>>>>>>> Create version support for field type long >>>>>>>>> >>>>>>>>> >>>>>>>>> Error Summary >>>>>>>>> <http://bamboo.ci.codehaus.org/browse/CASTOR-JDK5CPACTF-92/log> >>>>>>>>> See >>>>>>>>> full build log >>>>>>>>> <http://bamboo.ci.codehaus.org/browse/CASTOR-JDK5CPACTF-92/log> >>>>>>>>> >>>>>>>>> [INFO] >>>>>>>>> ------------------------------------------------------------------------ >>>>>>>>> [ERROR] BUILD FAILURE >>>>>>>>> [INFO] >>>>>>>>> ------------------------------------------------------------------------ >>>>>>>>> [INFO] There are test failures. >>>>>>>>> >>>>>>>>> Please refer to >>>>>>>>> /opt/j2ee/domains/ci.codehaus.org/bamboo/webapps/atlassian-bamboo/data/atlassian-bamboo-2.1.4/xml-data/build-dir/CASTOR-JDK5CPACTF/target/surefire-reports >>>>>>>>> for the individual test results. >>>>>>>>> [INFO] >>>>>>>>> ------------------------------------------------------------------------ >>>>>>>>> [INFO] For more information, run Maven with the -e switch >>>>>>>>> >>>>>>>>> >>>>>>>>> Email generated by Atlassian Bamboo <http://bamboo.ci.codehaus.org> - >>>>>>>>> if you wish to stop receiving these emails edit your user profile >>>>>>>>> <http://bamboo.ci.codehaus.org/profile/userNotifications.action> or >>>>>>>>> notify your administrator >>>>>>>>> <http://bamboo.ci.codehaus.org/viewAdministrators.action> >>>>>>>>> Want this information in your IDE? >>>>>>>>> <http://www.atlassian.com/software/ideconnector/> >>>>>>>>> >>>>>>>>> >>>>>>>>> Actions >>>>>>>>> >>>>>>>>> View Online >>>>>>>>> <http://bamboo.ci.codehaus.org/browse/CASTOR-JDK5CPACTF-92/> >>>>>>>>> Add Comments >>>>>>>>> <http://bamboo.ci.codehaus.org/browse/CASTOR-JDK5CPACTF-92/comment> >>>>>>>>> View Artifacts >>>>>>>>> <http://bamboo.ci.codehaus.org/browse/CASTOR-JDK5CPACTF-92/artifact> >>>>>>>>> Download Logs >>>>>>>>> <http://bamboo.ci.codehaus.org/download/CASTOR-JDK5CPACTF/build_logs/CASTOR-JDK5CPACTF-92.log> >>>>>>>>> >>>>>>>>> Link to JIRA issue >>>>>>>>> <http://bamboo.ci.codehaus.org/build/addJiraIssue%21default.action?buildKey=CASTOR-JDK5CPACTF&buildNumber=92> >>>>>>>>> >>>>>>>>> >>>>>>>>> >>>>>>>>> >>>>>>>>> >>>>>>>>> >>>>>>>> -- >>>>>>>> >>>>>>>> Syscon Ingenieurbüro für Meß- und Datentechnik GmbH >>>>>>>> Ralf Joachim >>>>>>>> Raiffeisenstraße 11 >>>>>>>> 72127 Kusterdingen >>>>>>>> Germany >>>>>>>> >>>>>>>> Tel. +49 7071 3690 52 >>>>>>>> Mobil: +49 173 9630135 >>>>>>>> Fax +49 7071 3690 98 >>>>>>>> >>>>>>>> Internet: www.syscon.eu >>>>>>>> E-Mail: ralf.joac...@syscon.eu >>>>>>>> >>>>>>>> Sitz der Gesellschaft: D-72127 Kusterdingen >>>>>>>> Registereintrag: Amtsgericht Stuttgart, HRB 382295 >>>>>>>> Geschäftsleitung: Jens Joachim, Ralf Joachim >>>>>>>> >>>>>>>> --------------------------------------------------------------------- >>>>>>>> To >>>>>>>> unsubscribe from this list, please visit: >>>>>>>> http://xircles.codehaus.org/manage_email >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>> --------------------------------------------------------------------- >>>>>>> To unsubscribe from this list, please visit: >>>>>>> >>>>>>> http://xircles.codehaus.org/manage_email >>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>> --------------------------------------------------------------------- >>>>> To unsubscribe from this list, please visit: >>>>> >>>>> http://xircles.codehaus.org/manage_email >>>>> >>>>> >>>>> >>> --------------------------------------------------------------------- >>> To unsubscribe from this list, please visit: >>> >>> http://xircles.codehaus.org/manage_email >>> --------------------------------------------------------------------- To unsubscribe from this list, please visit: http://xircles.codehaus.org/manage_email