Re: How to fix Jenkins git workspace issues

2016-05-19 Thread Will Stevens
Thanks guys. I think this will make a big difference. 👍 *Will STEVENS* Lead Developer *CloudOps* *| *Cloud Solutions Experts 420 rue Guy *|* Montreal *|* Quebec *|* H3J 1S6 w cloudops.com *|* tw @CloudOps_ On Thu, May 19, 2016 at 5:01 AM, Daan Hoogland wrote: > On Thu, May 19, 2016 at 7:22 A

Re: How to fix Jenkins git workspace issues

2016-05-19 Thread Daan Hoogland
On Thu, May 19, 2016 at 7:22 AM, Rajani Karuturi wrote: > untracked ​good call Rajani, it was only doing an ordinary clean in the rat check step.​ -- Daan

Re: How to fix Jenkins git workspace issues

2016-05-18 Thread Rajani Karuturi
Can we add git clean -fdx before the the checkout? That would clean all the untracked files from the git workspace. On Wed, May 18, 2016 at 10:32 PM Will Stevens wrote: > I have seen quite a few situations where tests are failing and they are > referencing files that are not even included in th

Re: How to fix Jenkins git workspace issues

2016-05-18 Thread Rafael Weingärtner
Do you have the plugin [1] installed on Jenkins? I could not find any entry in your XML relate to any configuration that would clean up the workspace folder. [1] https://wiki.jenkins-ci.org/display/JENKINS/Workspace+Cleanup+Plugin On Wed, May 18, 2016 at 4:02 PM, Daan Hoogland wrote: > Here it

Re: How to fix Jenkins git workspace issues

2016-05-18 Thread Daan Hoogland
Here it is I haven't checked it yet

cloudstack Build

  • Checks out Pull requests to Apache CloudStack from github
  • Does a license check against it
  • Builds the target branch with Maven and runs unit tests
  • runs analysis tools on the co

Re: How to fix Jenkins git workspace issues

2016-05-18 Thread Rafael Weingärtner
If the files that are causing some problems are out of the “workspace” folder, then it makes sense; otherwise it does not. I am a little out of the loop lately (sorry for that), what files are causing the trouble? On Wed, May 18, 2016 at 3:56 PM, Daan Hoogland wrote: > Rafael, I think I can acc

Re: How to fix Jenkins git workspace issues

2016-05-18 Thread Daan Hoogland
Rafael, I think I can access jenkins and download the config. Will, files not included in a PR sticking around "kinda" makes sense as these will not be cleaned by mvn clean on another job On Wed, May 18, 2016 at 8:02 PM, Rafael Weingärtner < rafaelweingart...@gmail.com> wrote: > Do any of the

Re: How to fix Jenkins git workspace issues

2016-05-18 Thread Rafael Weingärtner
Do any of the PMCs have access to those VMs? Or at least admin access to Jenkins; with admin access we could check the Jenkins Jobs build configs. On Wed, May 18, 2016 at 2:02 PM, Will Stevens wrote: > I have seen quite a few situations where tests are failing and they are > referencing files th

Re: How to fix Jenkins git workspace issues

2016-05-18 Thread Will Stevens
I have seen quite a few situations where tests are failing and they are referencing files that are not even included in that PR. I have also seen situations like this, so the git workspace (index) has fragments of previous CI runs and is no longer in a mergeable state. > git checkout -b master or

Re: How to fix Jenkins git workspace issues

2016-05-18 Thread Rafael Weingärtner
Me neither. Do we need to open a ticket to infra to check that? Or do we have someone among the PMCs that have access to those VMs? On Wed, May 18, 2016 at 12:51 PM, Daan Hoogland wrote: > I hav no access to the nodes so I wouldn't know about that. > > On Wed, May 18, 2016 at 5:36 PM, Rafael Wei

Re: How to fix Jenkins git workspace issues

2016-05-18 Thread Daan Hoogland
I hav no access to the nodes so I wouldn't know about that. On Wed, May 18, 2016 at 5:36 PM, Rafael Weingärtner < rafaelweingart...@gmail.com> wrote: > Parallel builds will use different workspace, so that should not be a > problem. > > Maybe the “@” symbol it uses to differentiate the workspace

Re: How to fix Jenkins git workspace issues

2016-05-18 Thread Daan Hoogland
It also does a mvn clean so that should not be an issue. I am thinking more along the line of parallel builds on the same node. On Wed, May 18, 2016 at 5:04 PM, Rafael Weingärtner < rafaelweingart...@gmail.com> wrote: > Is Jenkins configure to clean the workspace before it starts a new build? > >

Re: How to fix Jenkins git workspace issues

2016-05-18 Thread Rafael Weingärtner
Parallel builds will use different workspace, so that should not be a problem. Maybe the “@” symbol it uses to differentiate the workspace folders? I mean, when it runs parallel builds, it will use a “@” and then it will append a number to identify the builds. For instance, if we have workspace c

Re: How to fix Jenkins git workspace issues

2016-05-18 Thread Rafael Weingärtner
Is Jenkins configure to clean the workspace before it starts a new build? It should have an option such as "Delete workspace before build starts". On Wed, May 18, 2016 at 12:00 PM, Will Stevens wrote: > If Jenkins has problems with fragments being left over in it's workspace > which is causing

How to fix Jenkins git workspace issues

2016-05-18 Thread Will Stevens
If Jenkins has problems with fragments being left over in it's workspace which is causing following runs against other PRs to fail, how do we fix that? Thanks...