Re: [Jenkins] http port clashes
Hi, On Fri, Oct 24, 2014 at 12:41 PM, Carsten Ziegeler cziege...@apache.org wrote: ...from time to time some of our integration tests fail because the port to be used is already in use. And this although we're using the build helper plugin to allocate a port As the build helper doesn't use the port, as you say it's possible that parallel builds will get the same port number, leading to a collision. Maybe https://wiki.jenkins-ci.org/display/JENKINS/Port+Allocator+Plugin would help? I've never used it but if Jenkins is aware of which ports are allocated that should help. -Bertrand
Re: [Jenkins] http port clashes
Am 24.10.14 um 14:56 schrieb Bertrand Delacretaz: Hi, On Fri, Oct 24, 2014 at 12:41 PM, Carsten Ziegeler cziege...@apache.org wrote: ...from time to time some of our integration tests fail because the port to be used is already in use. And this although we're using the build helper plugin to allocate a port As the build helper doesn't use the port, as you say it's possible that parallel builds will get the same port number, leading to a collision. Maybe https://wiki.jenkins-ci.org/display/JENKINS/Port+Allocator+Plugin would help? I've never used it but if Jenkins is aware of which ports are allocated that should help. Hmm, yeah that could help - maybe with some maven magic to check whether this env variable is set Carsten -- Carsten Ziegeler Adobe Research Switzerland cziege...@apache.org
Re: [Jenkins] http port clashes
Am 24.10.14 um 15:27 schrieb Carsten Ziegeler: Am 24.10.14 um 14:56 schrieb Bertrand Delacretaz: Hi, On Fri, Oct 24, 2014 at 12:41 PM, Carsten Ziegeler cziege...@apache.org wrote: ...from time to time some of our integration tests fail because the port to be used is already in use. And this although we're using the build helper plugin to allocate a port As the build helper doesn't use the port, as you say it's possible that parallel builds will get the same port number, leading to a collision. Maybe https://wiki.jenkins-ci.org/display/JENKINS/Port+Allocator+Plugin would help? I've never used it but if Jenkins is aware of which ports are allocated that should help. Hmm, yeah that could help - maybe with some maven magic to check whether this env variable is set I'm now trying to use different port ranges for different jdks, let's see if that helps. Carsten -- Carsten Ziegeler Adobe Research Switzerland cziege...@apache.org