Gavin, OK, I looked at other projects and got the way to go. Now I'm facing another issue:
run-tests is trying to create a ServerSocket and I need access to (at least) ports 1, 2 and 3 Like branch 13 : Exception in thread "main" org.ofbiz.base.start.StartupException: Couldn't create server socket(/127.0.0.1:3) branch 12 : Exception in thread "main" org.ofbiz.base.start.StartupException: Couldn't create server socket(/127.0.0.1:2) Same for branch11 with port 1, but not specifically handled by a StartupException Is that possible? Should I open a Jira? TIA Jacques Jacques Le Roux wrote: > Hi Gavin, > > I'm trying to pass a parameter to the run-tests target, but I get this error: > > Target "run-tests -Dportoffset=1" does not exist in the project "OFBiz Main > Build". > > I use this syntax: > > f_ofb_3.addStep(Compile(command=["ant" , "run-tests -Dportoffset=1"], > haltOnFailure=True, > )) > > <<run-tests -Dportoffset=1>> works locally, what do I miss? > > Jacques > > Jacques Le Roux wrote: >> From: "Gavin McDonald" <[email protected]> >>>> -----Original Message----- >>>> From: Jacques Le Roux [mailto:[email protected]] >>>> Sent: Sunday, 23 September 2012 2:38 AM >>>> To: [email protected]; [email protected] >>>> Cc: [email protected] >>>> Subject: Re: OFBiz releases branches builds (11.04, 11.04, 12.04) don't >>> run >>>> tests >>>> >>>> We got a 1099 port conflict between branches while running tests >>>> (12 was running preventing 11 and 10 I guess) OK >>>> http://ci.apache.org/builders/ofbiz- >>>> branch12/builds/6/steps/compile_1/logs/stdio >>>> ~OK http://ci.apache.org/builders/ofbiz- >>>> branch10/builds/20/steps/compile_1/logs/stdio >>>> ~OK http://ci.apache.org/builders/ofbiz- >>>> branch11/builds/7/steps/compile_1/logs/stdio >>>> >>>> I will try to handle it, not sure how yet... >>> >>> Currently your builds are set to trigger per commit and with a 2 minute >>> delay trigger >>> Between each build. Each build only runs if you have committed to that >>> trunk/branch. >>> With those details in mind, and you still have clashing ports, I would >>> suggest the best >>> Solution would be configurable port numbers so that each test can have >>> -Dport=xxxx >>> Or something like that. >> >> Yes, I thought approximately the same: we have somehow related pending Jiras >> for that >> Note for myself: OFBIZ-4763 & OFBIZ-4794 >> >>>> Being able to run a build w/out having to commit new stuff would help >>>> (demand below) >>> >>> There is an ofbiz-bot on the #ofbiz IRC channel, it's been there since day >>> one. Query >>> The bot for available commands. 'force build Ofbiz-trunk testing ...' is >>> ideal. >> >> Works perfectly (just used buildbot real name ofbiz-trunk ;o) >> 07:52] <ofbiz-bot> build #3441 forced >> [07:52] <ofbiz-bot> I'll give a shout when the build finishes >> >>>> >>>> Also the trunk failed (well false report but anyway) but html logs did not >>>> update So did all others logs, only trunk contains and old occurence >>> (which >>>> succeeded) http://ci.apache.org/projects/ofbiz/logs/ >>> >>> Each build step is configurable, this includes determining whether or not >>> the build step >>> Should run or not depending on the result of the previous step. For HTML >>> logs that you >>> Want to use to aid in finding build failures, it makes sense that if logs >>> have been written >>> Then we should upload them regardless of other step success/failure. >>> >>> Adding 'alwaysRun=True' to the two steps that deal with uploading the html >>> logs then that >>> Should be enough. (See the Cleanup Tmp step for example) >> >> Thanks Gavin, pretty clear >> >> Jacques >> >>>> >>>> Thanks >>>> >>>> Jacques >>>> >>>> Jacques Le Roux wrote: >>>>> Done at r832653 >>>>> >>>>> I tried to Resubmit a Build but got >>>>> <<Authentication Failed >>>>> The username or password you entered were not correct. Please go back >>>>> and try again. >> >>>>> >>>>> Am I authorised to do so using my committer credential? >>> >>> No, it isn't LDAP enabled so don't worry about this method for now, use the >>> IRC Bot. >>> >>> Gav... >>> >>>>> >>>>> Thanks >>>>> >>>>> Jacques >>>>> >>>>> From: "Jacques Le Roux" <[email protected]> >>>>>> From: "Gavin McDonald" <[email protected]> >>>>>>>> -----Original Message----- >>>>>>>> From: Jacques Le Roux [mailto:[email protected]] >>>>>>>> Sent: Thursday, 20 September 2012 10:31 PM >>>>>>>> To: [email protected]; [email protected] >>>>>>>> Cc: [email protected] >>>>>>>> Subject: Re: OFBiz releases branches builds (11.04, 11.04, 12.04) >>>>>>>> don't >>>>>>> run >>>>>>>> tests >>>>>>>> >>>>>>>> At https://svn.apache.org/repos/infra I see only apachecon and >>>>>>>> website, what could I miss? >>>>>>> >>>>>>> The rest of the URL is missing, you can't check out the whole of the >>>>>>> infra tree. But you can check out further down: >>>>>>> >>>>>>> https://svn.apache.org/repos/infra/infrastructure/buildbot/aegis/bui >>>>>>> ldmaster >>>>>>> /master1/projects >>>>>>> >>>>>>> is the full URL you can check out. >>>>>>> >>>>>>> Then edit your ofbiz.conf file from there. >>>>>>> >>>>>>> HTH >>>>>>> >>>>>>> Gav... >>>>>> >>>>>> Ho indeed, sorry, I will take care of it >>>>>> >>>>>> Thanks >>>>>> >>>>>> Jacques >>>>>> >>>>>>>> >>>>>>>> Jacques >>>>>>>> >>>>>>>> From: "Gavin McDonald" <[email protected]> >>>>>>>>>> -----Original Message----- >>>>>>>>>> From: Christian Geisert [mailto:[email protected]] >>>>>>>>>> Sent: Thursday, 20 September 2012 9:25 PM >>>>>>>>>> To: [email protected] >>>>>>>>>> Cc: [email protected] >>>>>>>>>> Subject: Re: OFBiz releases branches builds (11.04, 11.04, 12.04) >>>>>>>>>> don't >>>>>>>>> run >>>>>>>>>> tests >>>>>>>>>> >>>>>>>>>> Seems like I have access, will have a look tonight >>>>>>>>> >>>>>>>>> Every committer does, Jacques couldn't get in before so thought it >>>>>>>>> easier to Just do it. Tell him the url you used and see if he has >>>>>>>>> better luck this time. >>>>>>>>> >>>>>>>>> Gav... >>>>>>>>> >>>>>>>>>> >>>>>>>>>> Christian >>>>>>>>>> >>>>>>>>>> Am 20.09.2012 12:12, schrieb Jacques Le Roux: >>>>>>>>>>> Hi Gavin, >>>>>>>>>>> >>>>>>>>>>> It seems nobody is able to add the f_ofb_?.addStep(... lines >>>>>>>>>>> below in >>>>>>>>>>> https://svn.apache.org/repos/infra/infrastructure/buildbot/aegis >>>>>>>>>>> /bu >>>>>>>>>>> ild >>>>>>>>>>> master/master1/projects/ofbiz.conf >>>>>>>>>>> Could you please do it for us? Or would it be possible to grant >>>>>>>>>>> access to avoid disturbing you later? >>>>>>>>>>> >>>>>>>>>>> Thanks >>>>>>>>>>> >>>>>>>>>>> Jacques >>>>>>>>>>> >>>>>>>>>>> From: "Jacques Le Roux" <[email protected]> >>>>>>>>>>>> Hi, >>>>>>>>>>>> >>>>>>>>>>>> Following https://issues.apache.org/jira/browse/INFRA-4785, and >>>>>>>>>>>> thanks to Gavin, we have now builds for OFBiz releases branches >>>>>>>>>>>> (11.04, 11.04, 12.04). Unfortunaltey they don't run tests. They >>>>>>>>>>>> simply miss the "run-tests" step in >>>>>>>>>>>> https://svn.apache.org/repos/infra/infrastructure/buildbot/aegi >>>>>>>>>>>> s/b uil dmaster/master1/projects/ofbiz.conf >>>>>>>>>>>> >>>>>>>>>>>> I wanted to modify it myself but I have no access there . Could >>>>>>>>>>>> someone with more privileges (ASF members?) do it? Else please >>>>>>>>>>>> Gavin could you do it? >>>>>>>>>>>> >>>>>>>>>>>> It's just about adding >>>>>>>>>>>> f_ofb_?.addStep(Compile(command=["ant" , "run-tests"], >>>>>>>>>>>> haltOnFailure=True,)) >>>>>>>>>>>> for ? in {2,3,4} >>>>>>>>>>>> >>>>>>>>>>>> Gavin has already handled load-demo for both trunk builds (std >>>>>>>>>>>> and >>>>>>>>>>>> ARM) but we should also change it for 12.04 (aka f_ofb_4) >>>>>>>>>>>> >>>>>>>>>>>> Note: Buildbot ASF instance uses JDK 1.7, so following >>>>>>>>>>>> https://issues.apache.org/jira/browse/OFBIZ-4749 at >>>>>>>>>>>> respectively >>>>>>>>>>>> R10.04 r1386469 and R11.04 r1386470, I allowed R10.04 and >>>>>>>>>>>> R11.04 to compiles and run (faster) under JDK 1.7 >>>>>>>>>>>> >>>>>>>>>>>> Thanks >>>>>>>>>>>> >>>>>>>>>>>> Jacques
