The problem after a second review of the logs is pretty clear. You have two
instances of OFBiz running and conflicting on ports. Either the first build
did not terminate while the second starts or shutdown is not occurring
cleanly. In other words, if you start ./gradlew "ofbiz load-data" &&
./gradlew "ofbiz load-data" then it would work correctly because the first
scripts terminates with exit code 0 before the second one begins.

Most likely a buildbot script issue.

On Sat, Mar 18, 2017 at 4:24 PM, Taher Alkhateeb <slidingfilame...@gmail.com
> wrote:

> Ctrl-C does not kill gradle and gradle does not need time to release
> resources
>
> On Mar 18, 2017 4:21 PM, "Jacques Le Roux" <jacques.le.r...@les7arts.com>
> wrote:
>
>> Thanks James,
>>
>> Yes indeed, it takes a bit for Gradle, and especially its wrapper, to
>> disconnect resources. I noticed that too on Windows, thought it was
>> specific to Windows .
>>
>> This could be the reason, though we don't use the wrapper in Buildbot. We
>> could try to add a small pause (say 30 seconds) before launching a build.
>> Because we (especially me) sometimes launch Buildbot builds in burst when
>> backporting.
>>
>> But it also happens for isolated build so I fear it's not enough
>>
>> Jacques
>>
>>
>> Le 18/03/2017 à 13:41, james yong a écrit :
>>
>>> I got this issue too when I pressed CTL-C to exit OFBiz and then ran
>>> "./gradew ofbiz" immediately.
>>>
>>>
>>> Jacques Le Roux wrote
>>>
>>>> Mmm, this is pretty bad
>>>>
>>>> https://ci.apache.org/builders/ofbiz-trunk-framework/builds/
>>>> 44/steps/shell_1/logs/stdio
>>>>
>>>> Building 84% > :ofbiz --load-dataSet OFBIZ_HOME to -
>>>>> /home/buildslave32/slave32/ofbiz-trunk-framework/build
>>>>> org.apache.ofbiz.base.start.StartupException: Couldn't create server
>>>>>
>>>> socket(/127.0.0.1:10523) (Address already in use (Bind failed)) at
>>>> org.apache.ofbiz.base.start.AdminServer.
>>>> <init>
>>>> (AdminServer.java:56) Something is
>>>> wrong with Buildbot. I already asked infra about several instances
>>>> running
>>>> at the same time, I don't know much yet... Jacques
>>>>
>>>>
>>>> Le 18/03/2017 à 10:26,
>>>> buildbot@
>>>>   a écrit :
>>>>
>>>>> The Buildbot has detected a build exception on builder
>>>>> ofbiz-trunk-framework while building . Full details are available at:
>>>>>       https://ci.apache.org/builders/ofbiz-trunk-framework/builds/44
>>>>>
>>>>> Buildbot URL: https://ci.apache.org/
>>>>>
>>>>> Buildslave for this Build: silvanus_ubuntu
>>>>>
>>>>> Build Reason: The AnyBranchScheduler scheduler named
>>>>> 'on-ofbiz-framework-commit' triggered this build
>>>>> Build Source Stamp: [branch ofbiz/ofbiz-framework/trunk] 1787535
>>>>> Blamelist: jleroux
>>>>>
>>>>> BUILD FAILED: exception shell_1 upload_1
>>>>>
>>>>> Sincerely,
>>>>>    -The Buildbot
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>
>>>
>>>
>>> --
>>> View this message in context: http://ofbiz.135035.n4.nabble.
>>> com/buildbot-exception-in-on-ofbiz-trunk-framework-tp4703602
>>> p4703620.html
>>> Sent from the OFBiz - Dev mailing list archive at Nabble.com.
>>>
>>>
>>

Reply via email to