On 12/20/2015 08:30 PM, Emmanuel Lécharny wrote:
> I'm looking at
> https://builds.apache.org/view/A-D/view/Directory/job/dir-apacheds-docker-installers/lastBuild/console,
> and the error is not obvious. Typically, the build is a success :
> 
> ...
> 
> [INFO] 
> ------------------------------------------------------------------------
> [INFO] BUILD SUCCESS
> [INFO] 
> ------------------------------------------------------------------------
> [INFO] Total time: 02:33 min
> [INFO] Finished at: 2015-12-16T02:55:21+00:00
> [INFO] Final Memory: 153M/485M
> [INFO] 
> ------------------------------------------------------------------------
> [dir-apacheds-docker-installers] $ /bin/bash /tmp/hudson5347829253313480382.sh
> 
> ...
> 
> + service apacheds-2.0.0-M21-SNAPSHOT-default start
> Starting ApacheDS - default...
> + wait_for_apacheds
> + timeout 15 sh -c 'while ! nc -z localhost 10389; do sleep 1; done'
> Build step 'Execute shell' marked build as failure
> Archiving artifacts
> Sending e-mails to: [email protected]
> Finished: FAILURE
> 
> May be the 15s time out is not enough ?

I tested this on my machine, here the tests work fine, ApacheDS startup
takes approx 10 seconds. I increased the timeout to 30s.



Reply via email to