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

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

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