Re: Weirdness in jenkins build (tests not isolated as expected)

2018-06-04 Thread Sijie Guo
Gotcha! - Sijie On Mon, Jun 4, 2018 at 11:50 AM, Ivan Kelly wrote: > >> Two concurrent builds on the same machine will have different > >> workspaces (@2 or @3 will be appended to $WORKSPACE). > > > > I am not sure about that. If taking a look at the jenkins job output, the > > workspace is " >

Re: Weirdness in jenkins build (tests not isolated as expected)

2018-06-04 Thread Ivan Kelly
>> Two concurrent builds on the same machine will have different >> workspaces (@2 or @3 will be appended to $WORKSPACE). > > I am not sure about that. If taking a look at the jenkins job output, the > workspace is " > /home/jenkins/jenkins-slave/workspace/pulsar_precommit_integrationtests" It onl

Re: Weirdness in jenkins build (tests not isolated as expected)

2018-06-04 Thread Sijie Guo
On Mon, Jun 4, 2018 at 4:42 AM, Ivan Kelly wrote: > > 1) the job is using `$WORKSPACE/.repository` as the maven local repo. > > 2) concurrent build is enabled > > 3) it is a freestyle build, including two maven runs. > > Two concurrent builds on the same machine will have different > workspaces (

Re: Weirdness in jenkins build (tests not isolated as expected)

2018-06-04 Thread Ivan Kelly
> 1) the job is using `$WORKSPACE/.repository` as the maven local repo. > 2) concurrent build is enabled > 3) it is a freestyle build, including two maven runs. Two concurrent builds on the same machine will have different workspaces (@2 or @3 will be appended to $WORKSPACE). We should disable con

Re: Weirdness in jenkins build (tests not isolated as expected)

2018-06-04 Thread Sijie Guo
Not fully sure, but I guess the problem comes from concurrent build and two maven runs in integration tests. https://github.com/apache/incubator-pulsar/blob/master/.test-infra/jenkins/job_pulsar_precommit_integrationtests.groovy#L29 https://github.com/apache/incubator-pulsar/blob/master/.test-infr

Weirdness in jenkins build (tests not isolated as expected)

2018-06-04 Thread Ivan Kelly
Hi folks, I've just come across something very strange in a jenkins build that others should be aware of in case they hit across the same thing. https://builds.apache.org/job/pulsar_precommit_integrationtests/1782/ This build is a bulld of the branch 69b5976d8b40789f7f139185ffc1e5cc0bbe4f4b http