Le 18/03/2017 à 17:07, Taher Alkhateeb a écrit :
I think we discussed this in the past, but I will ask again for clarity ...
what does gradle have to do with port blocking?
For now I have no clear evidences. Only that before the Gradle move we had not the ports issues (locally and on Buildbot) I describe in this Jira. We need to dig deeper in this and localise the commit which introduced this error.
In the meantime better not committing in parallel in the trunk and R16 if we 
want to avoid the ports conflicts on Buildbot
How can gradle or any build tool be responsible for blocking ports that are
not related to the build system but rather used from OFBiz directly?
It could be code changes while refactoring, still a supposition. You spoke 
about Config.java, at 1st glance I saw nothing there.

Jacques

On Mar 18, 2017 7:00 PM, "Jacques Le Roux" <jacques.le.r...@les7arts.com>
wrote:

It's clearly related with OFBIZ-9196 "Regression: the testIntegration
Gradle taks shoud not use/block the ports"

The build in trunk and R16 overlap in time:

https://ci.apache.org/builders/ofbiz-trunk-framework/builds/44/
Start    Sat Mar 18 09:25:12 2017
End    Sat Mar 18 09:26:56 2017

https://ci.apache.org/builders/ofbiz-branch16/builds/17
Start    Sat Mar 18 09:25:30 2017
End    Sat Mar 18 09:30:44 2017

Jacques


Le 18/03/2017 à 15:01, Taher Alkhateeb a écrit :

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