dev@glassfish.java.net

Re: hudson port conflicts

From: Justin Lee <justin.d.lee_at_oracle.com>
Date: Fri, 11 Jun 2010 19:48:12 -0400

I'm also seeing a lot of failures that look like this:

startDomainUnix:
      [echo] Starting DAS, ENABLE_REPLICATION=${ENABLE_REPLICATION}
      [exec] Waiting for the server to start ..................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................
      [exec] Command start-domain failed.
      [exec] Error starting domain: domain1. It didn't start in 600 seconds

BUILD FAILED
<http://hudson.sfbay.sun.com/job/webtier-dev-tests-v3-source/ws/appserv-tests/devtests/web/build.xml>:67: The following error occurred while executing this line:
<http://hudson.sfbay.sun.com/job/webtier-dev-tests-v3-source/ws/appserv-tests/devtests/web/jspCachingInstanceLevel/build.xml>:116: The following error occurred while executing this line:
<http://hudson.sfbay.sun.com/job/webtier-dev-tests-v3-source/ws/appserv-tests/config/run.xml>:32: The following error occurred while executing this line:
<http://hudson.sfbay.sun.com/job/webtier-dev-tests-v3-source/ws/appserv-tests/config/run.xml>:39: exec returned: 1



On 6/11/10 7:05 PM, Jane Young wrote:
> A bug in Hudson?
> File the bug here: http://issues.hudson-ci.org/secure/Dashboard.jspa
>
> Justin Lee wrote:
>> We have those jobs configured to do that already, actually, which is
>> why the port conflicts are so surprising.
>>
>> On 6/11/10 6:49 PM, Jane Young wrote:
>>> Justin,
>>>
>>> You can configure Hudson job to allocate port number for a
>>> specified variable or reserve the port number while it is running so
>>> it will block other builds when port is in-use. This will help
>>> resolve port conflicts test failures.
>>>
>>> Please take a look at the "Build Environment" section of the job
>>> configuration. There is a checkbox: "Assign unique TCP ports to
>>> avoid collisions".
>>>
>>> HTH,
>>> Jane
>>>
>>>
>>> Justin Lee wrote:
>>>> I've seen a lot of test failures on hudson lately because of ports
>>>> being in use by other processes. Is anyone else seeing those
>>>> failures? Are the zombie processes we need to clean out? I see
>>>> this especially on gerald and pigalle on the latest
>>>> Grizzly_Integration and webtier-dev-tests-v3-source jobs.
>>>
>>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: dev-unsubscribe_at_glassfish.dev.java.net
>> For additional commands, e-mail: dev-help_at_glassfish.dev.java.net
>>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: dev-help_at_glassfish.dev.java.net
>