Re: Git Polling fails

2016-09-16 Thread Mark Waite
Since that message comes from the server side, I think you may need to talk
with the people providing your git server.

You might create a job or two which retain their full history and only
perform polling and cloning with no build step.

Another step might be to create a separate script running outside Jenkins
which frequently polls and alerts you to any messages.  That would provide
more evidence the problem is on the server

Mark Waite

On Fri, Sep 16, 2016, 6:32 AM ok999  wrote:

> Yes, i am sure that i used the same command for duplicating. I can see the
>> commit just fine via: *git show #{SHA}*
>>
> Moreover, the job executes successfully when started manually. And it
> involves cloning the repo.
>
> On Tuesday, September 13, 2016 at 1:20:12 PM UTC-5, Mark Waite wrote:
>
>> Are you sure that you executed the same commands when trying to duplicate
>> the problem?  The message seems to be from your server and seems to say
>> that a specific sha1 cannot be found in the remote repository.
>>
>> Is there any server maintenance on your TFS server at the time you see
>> the issue?
>>
>> Mark Waite
>>
>> Mark Waite
>>
>> On Tue, Sep 13, 2016 at 10:39 AM ok999  wrote:
>>
> I have a very simple job that polls the Git SCM, and if any changes if
>>> kicks of a downstream job. For the last 1 week, the Git polling fails with
>>> the below error.
>>>
>>> *Git Polling Log*
>>> *Started on Sep 12, 2016 9:44:04 AM*
>>> *Polling SCM changes on Agent1*
>>> *Using strategy: Default*
>>> *[poll] Last Built Revision: Revision b95fc53f42ff764c390e22d1dfcc132f20
>>> (refs/remotes/my_repo/develop)*
>>> *> git rev-parse --is-inside-work-tree # timeout=10*
>>> *Fetching changes from the remote Git repositories*
>>> *> git config remote.my_repo.url
>>> https://tfs.org.com/tfs/DefaultCollection/Some-Org/_git/my_repo
>>>  #
>>> timeout=10*
>>> *Cleaning workspace*
>>> *> git rev-parse --verify HEAD # timeout=10*
>>> *Resetting working tree*
>>> *> git reset --hard # timeout=10*
>>> *> git clean -fdx # timeout=10*
>>> *Fetching upstream changes from
>>> https://tfs.org.com/tfs/DefaultCollection/Some-Org/_git/my_repo
>>> *
>>> *> git --version # timeout=10*
>>> *using .gitcredentials to set credentials*
>>> *> git config --local credential.username JenkinsUser # timeout=10*
>>> *> git config --local credential.helper store
>>> --file=\"C:\Users\JenkinsUser~1\AppData\Local\Temp\git4353270016803178193.credentials\"
>>> # timeout=10*
>>> *> git -c core.askpass=true fetch --no-tags --progress
>>> https://tfs.org.com/tfs/DefaultCollection/Some-Org/_git/my_repo
>>> 
>>> +refs/heads/*:refs/remotes/my_repo/**
>>> *> git config --local --remove-section credential # timeout=10*
>>> *FATAL: hudson.plugins.git.GitException: Failed to fetch from
>>> https://tfs.org.com/tfs/DefaultCollection/Some-Org/_git/my_repo
>>> *
>>> *hudson.util.IOException2: hudson.plugins.git.GitException: Failed to
>>> fetch from https://tfs.org.com/tfs/DefaultCollection/Some-Org/_git/my_repo
>>> *
>>> *at
>>> hudson.plugins.git.GitSCM.compareRemoteRevisionWith(GitSCM.java:529)*
>>> *at hudson.scm.SCM.compareRemoteRevisionWith(SCM.java:381)*
>>> *at hudson.scm.SCM.poll(SCM.java:398)*
>>> *at
>>> hudson.model.AbstractProject.pollWithWorkspace(AbstractProject.java:1475)*
>>> *at
>>> hudson.model.AbstractProject._poll(AbstractProject.java:1445)*
>>> *at hudson.model.AbstractProject.poll(AbstractProject.java:1356)*
>>> *at
>>> hudson.triggers.SCMTrigger$Runner.runPolling(SCMTrigger.java:526)*
>>> *at hudson.triggers.SCMTrigger$Runner.run(SCMTrigger.java:555)*
>>> *at
>>> hudson.util.SequentialExecutionQueue$QueueEntry.run(SequentialExecutionQueue.java:119)*
>>> *at
>>> java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)*
>>> *at java.util.concurrent.FutureTask.run(FutureTask.java:266)*
>>> *at
>>> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)*
>>> *at
>>> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)*
>>> *at java.lang.Thread.run(Thread.java:745)*
>>> *Caused by: hudson.plugins.git.GitException: Failed to fetch from
>>> https://tfs.org.com/tfs/DefaultCollection/Some-Org/_git/my_repo
>>> *
>>> *at hudson.plugins.git.GitSCM.fetchFrom(GitSCM.java:766)*
>>> *at
>>> hudson.plugins.git.GitSCM.compareRemoteRevisionWithImpl(GitSCM.java:657)*
>>> *at
>>> hudson.plugins.git.GitSCM.compareRemoteRevisionWith(GitSCM.java:527)*
>>> *  

Re: Git Polling fails

2016-09-16 Thread ok999
TESTING if my post is reaching the group or not. 

#Keep getting a msg saying messages have been deleted




On Tuesday, September 13, 2016 at 1:20:12 PM UTC-5, Mark Waite wrote:
>
> Are you sure that you executed the same commands when trying to duplicate 
> the problem?  The message seems to be from your server and seems to say 
> that a specific sha1 cannot be found in the remote repository.
>
> Is there any server maintenance on your TFS server at the time you see the 
> issue?
>
> Mark Waite
>
> Mark Waite
>
> On Tue, Sep 13, 2016 at 10:39 AM ok999  
> wrote:
>
>> I have a very simple job that polls the Git SCM, and if any changes if 
>> kicks of a downstream job. For the last 1 week, the Git polling fails with 
>> the below error. 
>>
>> *Git Polling Log*
>> *Started on Sep 12, 2016 9:44:04 AM*
>> *Polling SCM changes on Agent1*
>> *Using strategy: Default*
>> *[poll] Last Built Revision: Revision b95fc53f42ff764c390e22d1dfcc132f20 
>> (refs/remotes/my_repo/develop)*
>> *> git rev-parse --is-inside-work-tree # timeout=10*
>> *Fetching changes from the remote Git repositories*
>> *> git config remote.my_repo.url 
>> https://tfs.org.com/tfs/DefaultCollection/Some-Org/_git/my_repo 
>>  # 
>> timeout=10*
>> *Cleaning workspace*
>> *> git rev-parse --verify HEAD # timeout=10*
>> *Resetting working tree*
>> *> git reset --hard # timeout=10*
>> *> git clean -fdx # timeout=10*
>> *Fetching upstream changes from 
>> https://tfs.org.com/tfs/DefaultCollection/Some-Org/_git/my_repo 
>> *
>> *> git --version # timeout=10*
>> *using .gitcredentials to set credentials*
>> *> git config --local credential.username JenkinsUser # timeout=10*
>> *> git config --local credential.helper store 
>> --file=\"C:\Users\JenkinsUser~1\AppData\Local\Temp\git4353270016803178193.credentials\"
>>  
>> # timeout=10*
>> *> git -c core.askpass=true fetch --no-tags --progress 
>> https://tfs.org.com/tfs/DefaultCollection/Some-Org/_git/my_repo 
>>  
>> +refs/heads/*:refs/remotes/my_repo/**
>> *> git config --local --remove-section credential # timeout=10*
>> *FATAL: hudson.plugins.git.GitException: Failed to fetch from 
>> https://tfs.org.com/tfs/DefaultCollection/Some-Org/_git/my_repo 
>> *
>> *hudson.util.IOException2: hudson.plugins.git.GitException: Failed to 
>> fetch from https://tfs.org.com/tfs/DefaultCollection/Some-Org/_git/my_repo 
>> *
>> *at 
>> hudson.plugins.git.GitSCM.compareRemoteRevisionWith(GitSCM.java:529)*
>> *at hudson.scm.SCM.compareRemoteRevisionWith(SCM.java:381)*
>> *at hudson.scm.SCM.poll(SCM.java:398)*
>> *at 
>> hudson.model.AbstractProject.pollWithWorkspace(AbstractProject.java:1475)*
>> *at hudson.model.AbstractProject._poll(AbstractProject.java:1445)*
>> *at hudson.model.AbstractProject.poll(AbstractProject.java:1356)*
>> *at 
>> hudson.triggers.SCMTrigger$Runner.runPolling(SCMTrigger.java:526)*
>> *at hudson.triggers.SCMTrigger$Runner.run(SCMTrigger.java:555)*
>> *at 
>> hudson.util.SequentialExecutionQueue$QueueEntry.run(SequentialExecutionQueue.java:119)*
>> *at 
>> java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)*
>> *at java.util.concurrent.FutureTask.run(FutureTask.java:266)*
>> *at 
>> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)*
>> *at 
>> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)*
>> *at java.lang.Thread.run(Thread.java:745)*
>> *Caused by: hudson.plugins.git.GitException: Failed to fetch from 
>> https://tfs.org.com/tfs/DefaultCollection/Some-Org/_git/my_repo 
>> *
>> *at hudson.plugins.git.GitSCM.fetchFrom(GitSCM.java:766)*
>> *at 
>> hudson.plugins.git.GitSCM.compareRemoteRevisionWithImpl(GitSCM.java:657)*
>> *at 
>> hudson.plugins.git.GitSCM.compareRemoteRevisionWith(GitSCM.java:527)*
>> *... 13 more*
>> *Caused by: hudson.plugins.git.GitException: Command "git -c 
>> core.askpass=true fetch --no-tags --progress 
>> https://tfs.org.com/tfs/DefaultCollection/Some-Org/_git/my_repo 
>>  
>> +refs/heads/*:refs/remotes/my_repo/*" returned status code 1:*
>> *stdout: *
>> *stderr: remote: Microsoft (R) Visual Studio (R) Team Foundation Server[K*
>> *remote: *
>> *remote: Found 49 objects to send. (36 ms)[K*
>> *error: Could not read 6f4eb3c55fd98c719baf898a9352a1100fa32765*
>> *fatal: revision walk setup failed*
>> *error: https://tfs.org.com/tfs/DefaultCollection/Some-Org/_git/my_repo 
>> 

Re: Git Polling fails

2016-09-16 Thread ok999
Yes, i am sure i ran the same command. I can also find the commit SHA 
using: *git show 6f4eb3c55fd98c719baf898a9352a1100fa32765*
What confusing is, when the git polling fails, i can manually kick start 
the job successfully. The job includes cloning the repo. 




On Tuesday, September 13, 2016 at 1:20:12 PM UTC-5, Mark Waite wrote:
>
> Are you sure that you executed the same commands when trying to duplicate 
> the problem?  The message seems to be from your server and seems to say 
> that a specific sha1 cannot be found in the remote repository.
>
> Is there any server maintenance on your TFS server at the time you see the 
> issue?
>
> Mark Waite
>
> Mark Waite
>
> On Tue, Sep 13, 2016 at 10:39 AM ok999  
> wrote:
>
>> I have a very simple job that polls the Git SCM, and if any changes if 
>> kicks of a downstream job. For the last 1 week, the Git polling fails with 
>> the below error. 
>>
>> *Git Polling Log*
>> *Started on Sep 12, 2016 9:44:04 AM*
>> *Polling SCM changes on Agent1*
>> *Using strategy: Default*
>> *[poll] Last Built Revision: Revision b95fc53f42ff764c390e22d1dfcc132f20 
>> (refs/remotes/my_repo/develop)*
>> *> git rev-parse --is-inside-work-tree # timeout=10*
>> *Fetching changes from the remote Git repositories*
>> *> git config remote.my_repo.url 
>> https://tfs.org.com/tfs/DefaultCollection/Some-Org/_git/my_repo 
>>  # 
>> timeout=10*
>> *Cleaning workspace*
>> *> git rev-parse --verify HEAD # timeout=10*
>> *Resetting working tree*
>> *> git reset --hard # timeout=10*
>> *> git clean -fdx # timeout=10*
>> *Fetching upstream changes from 
>> https://tfs.org.com/tfs/DefaultCollection/Some-Org/_git/my_repo 
>> *
>> *> git --version # timeout=10*
>> *using .gitcredentials to set credentials*
>> *> git config --local credential.username JenkinsUser # timeout=10*
>> *> git config --local credential.helper store 
>> --file=\"C:\Users\JenkinsUser~1\AppData\Local\Temp\git4353270016803178193.credentials\"
>>  
>> # timeout=10*
>> *> git -c core.askpass=true fetch --no-tags --progress 
>> https://tfs.org.com/tfs/DefaultCollection/Some-Org/_git/my_repo 
>>  
>> +refs/heads/*:refs/remotes/my_repo/**
>> *> git config --local --remove-section credential # timeout=10*
>> *FATAL: hudson.plugins.git.GitException: Failed to fetch from 
>> https://tfs.org.com/tfs/DefaultCollection/Some-Org/_git/my_repo 
>> *
>> *hudson.util.IOException2: hudson.plugins.git.GitException: Failed to 
>> fetch from https://tfs.org.com/tfs/DefaultCollection/Some-Org/_git/my_repo 
>> *
>> *at 
>> hudson.plugins.git.GitSCM.compareRemoteRevisionWith(GitSCM.java:529)*
>> *at hudson.scm.SCM.compareRemoteRevisionWith(SCM.java:381)*
>> *at hudson.scm.SCM.poll(SCM.java:398)*
>> *at 
>> hudson.model.AbstractProject.pollWithWorkspace(AbstractProject.java:1475)*
>> *at hudson.model.AbstractProject._poll(AbstractProject.java:1445)*
>> *at hudson.model.AbstractProject.poll(AbstractProject.java:1356)*
>> *at 
>> hudson.triggers.SCMTrigger$Runner.runPolling(SCMTrigger.java:526)*
>> *at hudson.triggers.SCMTrigger$Runner.run(SCMTrigger.java:555)*
>> *at 
>> hudson.util.SequentialExecutionQueue$QueueEntry.run(SequentialExecutionQueue.java:119)*
>> *at 
>> java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)*
>> *at java.util.concurrent.FutureTask.run(FutureTask.java:266)*
>> *at 
>> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)*
>> *at 
>> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)*
>> *at java.lang.Thread.run(Thread.java:745)*
>> *Caused by: hudson.plugins.git.GitException: Failed to fetch from 
>> https://tfs.org.com/tfs/DefaultCollection/Some-Org/_git/my_repo 
>> *
>> *at hudson.plugins.git.GitSCM.fetchFrom(GitSCM.java:766)*
>> *at 
>> hudson.plugins.git.GitSCM.compareRemoteRevisionWithImpl(GitSCM.java:657)*
>> *at 
>> hudson.plugins.git.GitSCM.compareRemoteRevisionWith(GitSCM.java:527)*
>> *... 13 more*
>> *Caused by: hudson.plugins.git.GitException: Command "git -c 
>> core.askpass=true fetch --no-tags --progress 
>> https://tfs.org.com/tfs/DefaultCollection/Some-Org/_git/my_repo 
>>  
>> +refs/heads/*:refs/remotes/my_repo/*" returned status code 1:*
>> *stdout: *
>> *stderr: remote: Microsoft (R) Visual Studio (R) Team Foundation Server[K*
>> *remote: *
>> *remote: Found 49 objects to send. (36 ms)[K*
>> *error: Could not read 

Re: Git Polling fails

2016-09-16 Thread ok999

>
> Yes, i am sure that i used the same command for duplicating. I can see the 
> commit just fine via: *git show #{SHA}*
>
Moreover, the job executes successfully when started manually. And it 
involves cloning the repo.  

On Tuesday, September 13, 2016 at 1:20:12 PM UTC-5, Mark Waite wrote:
>
> Are you sure that you executed the same commands when trying to duplicate 
> the problem?  The message seems to be from your server and seems to say 
> that a specific sha1 cannot be found in the remote repository.
>
> Is there any server maintenance on your TFS server at the time you see the 
> issue?
>
> Mark Waite
>
> Mark Waite
>
> On Tue, Sep 13, 2016 at 10:39 AM ok999  
> wrote:
>
>> I have a very simple job that polls the Git SCM, and if any changes if 
>> kicks of a downstream job. For the last 1 week, the Git polling fails with 
>> the below error. 
>>
>> *Git Polling Log*
>> *Started on Sep 12, 2016 9:44:04 AM*
>> *Polling SCM changes on Agent1*
>> *Using strategy: Default*
>> *[poll] Last Built Revision: Revision b95fc53f42ff764c390e22d1dfcc132f20 
>> (refs/remotes/my_repo/develop)*
>> *> git rev-parse --is-inside-work-tree # timeout=10*
>> *Fetching changes from the remote Git repositories*
>> *> git config remote.my_repo.url 
>> https://tfs.org.com/tfs/DefaultCollection/Some-Org/_git/my_repo 
>>  # 
>> timeout=10*
>> *Cleaning workspace*
>> *> git rev-parse --verify HEAD # timeout=10*
>> *Resetting working tree*
>> *> git reset --hard # timeout=10*
>> *> git clean -fdx # timeout=10*
>> *Fetching upstream changes from 
>> https://tfs.org.com/tfs/DefaultCollection/Some-Org/_git/my_repo 
>> *
>> *> git --version # timeout=10*
>> *using .gitcredentials to set credentials*
>> *> git config --local credential.username JenkinsUser # timeout=10*
>> *> git config --local credential.helper store 
>> --file=\"C:\Users\JenkinsUser~1\AppData\Local\Temp\git4353270016803178193.credentials\"
>>  
>> # timeout=10*
>> *> git -c core.askpass=true fetch --no-tags --progress 
>> https://tfs.org.com/tfs/DefaultCollection/Some-Org/_git/my_repo 
>>  
>> +refs/heads/*:refs/remotes/my_repo/**
>> *> git config --local --remove-section credential # timeout=10*
>> *FATAL: hudson.plugins.git.GitException: Failed to fetch from 
>> https://tfs.org.com/tfs/DefaultCollection/Some-Org/_git/my_repo 
>> *
>> *hudson.util.IOException2: hudson.plugins.git.GitException: Failed to 
>> fetch from https://tfs.org.com/tfs/DefaultCollection/Some-Org/_git/my_repo 
>> *
>> *at 
>> hudson.plugins.git.GitSCM.compareRemoteRevisionWith(GitSCM.java:529)*
>> *at hudson.scm.SCM.compareRemoteRevisionWith(SCM.java:381)*
>> *at hudson.scm.SCM.poll(SCM.java:398)*
>> *at 
>> hudson.model.AbstractProject.pollWithWorkspace(AbstractProject.java:1475)*
>> *at hudson.model.AbstractProject._poll(AbstractProject.java:1445)*
>> *at hudson.model.AbstractProject.poll(AbstractProject.java:1356)*
>> *at 
>> hudson.triggers.SCMTrigger$Runner.runPolling(SCMTrigger.java:526)*
>> *at hudson.triggers.SCMTrigger$Runner.run(SCMTrigger.java:555)*
>> *at 
>> hudson.util.SequentialExecutionQueue$QueueEntry.run(SequentialExecutionQueue.java:119)*
>> *at 
>> java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)*
>> *at java.util.concurrent.FutureTask.run(FutureTask.java:266)*
>> *at 
>> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)*
>> *at 
>> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)*
>> *at java.lang.Thread.run(Thread.java:745)*
>> *Caused by: hudson.plugins.git.GitException: Failed to fetch from 
>> https://tfs.org.com/tfs/DefaultCollection/Some-Org/_git/my_repo 
>> *
>> *at hudson.plugins.git.GitSCM.fetchFrom(GitSCM.java:766)*
>> *at 
>> hudson.plugins.git.GitSCM.compareRemoteRevisionWithImpl(GitSCM.java:657)*
>> *at 
>> hudson.plugins.git.GitSCM.compareRemoteRevisionWith(GitSCM.java:527)*
>> *... 13 more*
>> *Caused by: hudson.plugins.git.GitException: Command "git -c 
>> core.askpass=true fetch --no-tags --progress 
>> https://tfs.org.com/tfs/DefaultCollection/Some-Org/_git/my_repo 
>>  
>> +refs/heads/*:refs/remotes/my_repo/*" returned status code 1:*
>> *stdout: *
>> *stderr: remote: Microsoft (R) Visual Studio (R) Team Foundation Server[K*
>> *remote: *
>> *remote: Found 49 objects to send. (36 ms)[K*
>> *error: Could not read 6f4eb3c55fd98c719baf898a9352a1100fa32765*
>> 

Re: Git Polling fails

2016-09-16 Thread ok999
Yes, i am sure. And to add to this, 1/ this issue is intermittent. 2/ IF 
the git polling fails, i executed the build using "build now" and the code 
checks out fine from the SCM. 






On Tuesday, September 13, 2016 at 1:20:12 PM UTC-5, Mark Waite wrote:
>
> Are you sure that you executed the same commands when trying to duplicate 
> the problem?  The message seems to be from your server and seems to say 
> that a specific sha1 cannot be found in the remote repository.
>
> Is there any server maintenance on your TFS server at the time you see the 
> issue?
>
> Mark Waite
>
> Mark Waite
>
> On Tue, Sep 13, 2016 at 10:39 AM ok999  
> wrote:
>
>> I have a very simple job that polls the Git SCM, and if any changes if 
>> kicks of a downstream job. For the last 1 week, the Git polling fails with 
>> the below error. 
>>
>> *Git Polling Log*
>> *Started on Sep 12, 2016 9:44:04 AM*
>> *Polling SCM changes on Agent1*
>> *Using strategy: Default*
>> *[poll] Last Built Revision: Revision b95fc53f42ff764c390e22d1dfcc132f20 
>> (refs/remotes/my_repo/develop)*
>> *> git rev-parse --is-inside-work-tree # timeout=10*
>> *Fetching changes from the remote Git repositories*
>> *> git config remote.my_repo.url 
>> https://tfs.org.com/tfs/DefaultCollection/Some-Org/_git/my_repo 
>>  # 
>> timeout=10*
>> *Cleaning workspace*
>> *> git rev-parse --verify HEAD # timeout=10*
>> *Resetting working tree*
>> *> git reset --hard # timeout=10*
>> *> git clean -fdx # timeout=10*
>> *Fetching upstream changes from 
>> https://tfs.org.com/tfs/DefaultCollection/Some-Org/_git/my_repo 
>> *
>> *> git --version # timeout=10*
>> *using .gitcredentials to set credentials*
>> *> git config --local credential.username JenkinsUser # timeout=10*
>> *> git config --local credential.helper store 
>> --file=\"C:\Users\JenkinsUser~1\AppData\Local\Temp\git4353270016803178193.credentials\"
>>  
>> # timeout=10*
>> *> git -c core.askpass=true fetch --no-tags --progress 
>> https://tfs.org.com/tfs/DefaultCollection/Some-Org/_git/my_repo 
>>  
>> +refs/heads/*:refs/remotes/my_repo/**
>> *> git config --local --remove-section credential # timeout=10*
>> *FATAL: hudson.plugins.git.GitException: Failed to fetch from 
>> https://tfs.org.com/tfs/DefaultCollection/Some-Org/_git/my_repo 
>> *
>> *hudson.util.IOException2: hudson.plugins.git.GitException: Failed to 
>> fetch from https://tfs.org.com/tfs/DefaultCollection/Some-Org/_git/my_repo 
>> *
>> *at 
>> hudson.plugins.git.GitSCM.compareRemoteRevisionWith(GitSCM.java:529)*
>> *at hudson.scm.SCM.compareRemoteRevisionWith(SCM.java:381)*
>> *at hudson.scm.SCM.poll(SCM.java:398)*
>> *at 
>> hudson.model.AbstractProject.pollWithWorkspace(AbstractProject.java:1475)*
>> *at hudson.model.AbstractProject._poll(AbstractProject.java:1445)*
>> *at hudson.model.AbstractProject.poll(AbstractProject.java:1356)*
>> *at 
>> hudson.triggers.SCMTrigger$Runner.runPolling(SCMTrigger.java:526)*
>> *at hudson.triggers.SCMTrigger$Runner.run(SCMTrigger.java:555)*
>> *at 
>> hudson.util.SequentialExecutionQueue$QueueEntry.run(SequentialExecutionQueue.java:119)*
>> *at 
>> java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)*
>> *at java.util.concurrent.FutureTask.run(FutureTask.java:266)*
>> *at 
>> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)*
>> *at 
>> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)*
>> *at java.lang.Thread.run(Thread.java:745)*
>> *Caused by: hudson.plugins.git.GitException: Failed to fetch from 
>> https://tfs.org.com/tfs/DefaultCollection/Some-Org/_git/my_repo 
>> *
>> *at hudson.plugins.git.GitSCM.fetchFrom(GitSCM.java:766)*
>> *at 
>> hudson.plugins.git.GitSCM.compareRemoteRevisionWithImpl(GitSCM.java:657)*
>> *at 
>> hudson.plugins.git.GitSCM.compareRemoteRevisionWith(GitSCM.java:527)*
>> *... 13 more*
>> *Caused by: hudson.plugins.git.GitException: Command "git -c 
>> core.askpass=true fetch --no-tags --progress 
>> https://tfs.org.com/tfs/DefaultCollection/Some-Org/_git/my_repo 
>>  
>> +refs/heads/*:refs/remotes/my_repo/*" returned status code 1:*
>> *stdout: *
>> *stderr: remote: Microsoft (R) Visual Studio (R) Team Foundation Server[K*
>> *remote: *
>> *remote: Found 49 objects to send. (36 ms)[K*
>> *error: Could not read 6f4eb3c55fd98c719baf898a9352a1100fa32765*
>> *fatal: revision walk setup failed*
>> 

Re: Git Polling fails

2016-09-13 Thread Mark Waite
Are you sure that you executed the same commands when trying to duplicate
the problem?  The message seems to be from your server and seems to say
that a specific sha1 cannot be found in the remote repository.

Is there any server maintenance on your TFS server at the time you see the
issue?

Mark Waite

Mark Waite

On Tue, Sep 13, 2016 at 10:39 AM ok999  wrote:

> I have a very simple job that polls the Git SCM, and if any changes if
> kicks of a downstream job. For the last 1 week, the Git polling fails with
> the below error.
>
> *Git Polling Log*
> *Started on Sep 12, 2016 9:44:04 AM*
> *Polling SCM changes on Agent1*
> *Using strategy: Default*
> *[poll] Last Built Revision: Revision b95fc53f42ff764c390e22d1dfcc132f20
> (refs/remotes/my_repo/develop)*
> *> git rev-parse --is-inside-work-tree # timeout=10*
> *Fetching changes from the remote Git repositories*
> *> git config remote.my_repo.url
> https://tfs.org.com/tfs/DefaultCollection/Some-Org/_git/my_repo
>  #
> timeout=10*
> *Cleaning workspace*
> *> git rev-parse --verify HEAD # timeout=10*
> *Resetting working tree*
> *> git reset --hard # timeout=10*
> *> git clean -fdx # timeout=10*
> *Fetching upstream changes from
> https://tfs.org.com/tfs/DefaultCollection/Some-Org/_git/my_repo
> *
> *> git --version # timeout=10*
> *using .gitcredentials to set credentials*
> *> git config --local credential.username JenkinsUser # timeout=10*
> *> git config --local credential.helper store
> --file=\"C:\Users\JenkinsUser~1\AppData\Local\Temp\git4353270016803178193.credentials\"
> # timeout=10*
> *> git -c core.askpass=true fetch --no-tags --progress
> https://tfs.org.com/tfs/DefaultCollection/Some-Org/_git/my_repo
> 
> +refs/heads/*:refs/remotes/my_repo/**
> *> git config --local --remove-section credential # timeout=10*
> *FATAL: hudson.plugins.git.GitException: Failed to fetch from
> https://tfs.org.com/tfs/DefaultCollection/Some-Org/_git/my_repo
> *
> *hudson.util.IOException2: hudson.plugins.git.GitException: Failed to
> fetch from https://tfs.org.com/tfs/DefaultCollection/Some-Org/_git/my_repo
> *
> *at
> hudson.plugins.git.GitSCM.compareRemoteRevisionWith(GitSCM.java:529)*
> *at hudson.scm.SCM.compareRemoteRevisionWith(SCM.java:381)*
> *at hudson.scm.SCM.poll(SCM.java:398)*
> *at
> hudson.model.AbstractProject.pollWithWorkspace(AbstractProject.java:1475)*
> *at hudson.model.AbstractProject._poll(AbstractProject.java:1445)*
> *at hudson.model.AbstractProject.poll(AbstractProject.java:1356)*
> *at
> hudson.triggers.SCMTrigger$Runner.runPolling(SCMTrigger.java:526)*
> *at hudson.triggers.SCMTrigger$Runner.run(SCMTrigger.java:555)*
> *at
> hudson.util.SequentialExecutionQueue$QueueEntry.run(SequentialExecutionQueue.java:119)*
> *at
> java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)*
> *at java.util.concurrent.FutureTask.run(FutureTask.java:266)*
> *at
> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)*
> *at
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)*
> *at java.lang.Thread.run(Thread.java:745)*
> *Caused by: hudson.plugins.git.GitException: Failed to fetch from
> https://tfs.org.com/tfs/DefaultCollection/Some-Org/_git/my_repo
> *
> *at hudson.plugins.git.GitSCM.fetchFrom(GitSCM.java:766)*
> *at
> hudson.plugins.git.GitSCM.compareRemoteRevisionWithImpl(GitSCM.java:657)*
> *at
> hudson.plugins.git.GitSCM.compareRemoteRevisionWith(GitSCM.java:527)*
> *... 13 more*
> *Caused by: hudson.plugins.git.GitException: Command "git -c
> core.askpass=true fetch --no-tags --progress
> https://tfs.org.com/tfs/DefaultCollection/Some-Org/_git/my_repo
> 
> +refs/heads/*:refs/remotes/my_repo/*" returned status code 1:*
> *stdout: *
> *stderr: remote: Microsoft (R) Visual Studio (R) Team Foundation Server[K*
> *remote: *
> *remote: Found 49 objects to send. (36 ms)[K*
> *error: Could not read 6f4eb3c55fd98c719baf898a9352a1100fa32765*
> *fatal: revision walk setup failed*
> *error: https://tfs.org.com/tfs/DefaultCollection/Some-Org/_git/my_repo
>  did not
> send all necessary objects*
>
>
> *at
> org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommandIn(CliGitAPIImpl.java:1710)*
> *at
> org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommandWithCredentials(CliGitAPIImpl.java:1454)*
> * 

Re: Git Polling fails after upgrade

2016-08-11 Thread Mark Waite
The previous plugin version is usually stored in the plugins directory as
plugins/*.bak.  If you copy the plugins/*.[hj]pi file to a safe location,
you can then copy the .bak file over the existing hpi or jpi file.  The
next time jenkins starts, it will unpack that file and use it as the plugin.

Mark Waite

On Wed, Aug 10, 2016 at 5:34 PM Tecno Brain 
wrote:

> It also seems related to this
>  https://issues.jenkins-ci.org/browse/JENKINS-36249
> But without the UI, how do I change the plugin being used?
>
>
>
> On Wednesday, August 10, 2016 at 4:15:00 PM UTC-7, Tecno Brain wrote:
>
>> I am getting a similar problem:
>>
>> I get this error:
>> SEVERE: found cycle in plugin dependencies: (root=Plugin:git,
>> deactivating all involved) Plugin:git -> Plugin:workflow-scm-step ->
>> Plugin:git
>>
>> Followed by several exceptions.
>> How do I revert to the previous versions or upgrade to the right
>> plugin ?
>>
>> INFO: Injecting JRuby into XStream
>>
>> Trying to load models from
>> /var/lib/jenkins/plugins/rvm/WEB-INF/classes/models
>>
>> Loading /var/lib/jenkins/plugins/rvm/WEB-INF/classes/models/rvm_wrapper.rb
>>
>> Aug 10, 2016 10:40:26 PM jenkins.InitReactorRunner$1 onTaskFailed
>>
>> SEVERE: Failed Loading plugin managed-scripts
>>
>> java.io.IOException: Dependency config-file-provider (2.0) doesn't exist
>>
>> at hudson.PluginWrapper.resolvePluginDependencies(PluginWrapper.java:523)
>>
>> at hudson.PluginManager$2$1$1.run(PluginManager.java:409)
>>
>> at
>> org.jvnet.hudson.reactor.TaskGraphBuilder$TaskImpl.run(TaskGraphBuilder.java:169)
>>
>> at org.jvnet.hudson.reactor.Reactor.runTask(Reactor.java:282)
>>
>> at jenkins.model.Jenkins$8.runTask(Jenkins.java:1009)
>>
>> at org.jvnet.hudson.reactor.Reactor$2.run(Reactor.java:210)
>>
>> at org.jvnet.hudson.reactor.Reactor$Node.run(Reactor.java:117)
>>
>> at
>> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
>>
>> at
>> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
>>
>> at java.lang.Thread.run(Thread.java:745)
>>
>>
>> Aug 10, 2016 10:40:26 PM hudson.plugins.virtualbox.VirtualBoxPlugin start
>>
>> INFO: Starting VirtualBoxPlugin
>>
>> Aug 10, 2016 10:40:26 PM
>> jenkins.bouncycastle.api.SecurityProviderInitializer addSecurityProvider
>>
>> INFO: Initializing Bouncy Castle security provider.
>>
>> Aug 10, 2016 10:40:26 PM
>> jenkins.bouncycastle.api.SecurityProviderInitializer addSecurityProvider
>>
>> INFO: Bouncy Castle security provider initialized.
>>
>> Aug 10, 2016 10:40:26 PM
>> org.jvnet.hudson.plugins.m2release.M2ReleaseBuildWrapper$DescriptorImpl
>> 
>>
>> INFO: Using new style Permission with PermissionScope
>>
>> Trying to load models from
>> /var/lib/jenkins/plugins/chef/WEB-INF/classes/models
>>
>> Loading
>> /var/lib/jenkins/plugins/chef/WEB-INF/classes/models/chef-builder.rb
>>
>> Aug 10, 2016 10:40:33 PM hudson.ExtensionFinder$GuiceFinder$SezpozModule
>> configure
>>
>> WARNING: Failed to load
>> net.uaznia.lukanus.hudson.plugins.gitparameter.GitParameterDefinition$DescriptorImpl
>>
>> java.lang.NoClassDefFoundError: hudson/plugins/git/GitSCM
>>
>> at java.lang.Class.getDeclaredMethods0(Native Method)
>>
>> at java.lang.Class.privateGetDeclaredMethods(Class.java:2701)
>>
>> at java.lang.Class.privateGetPublicMethods(Class.java:2902)
>>
>> at java.lang.Class.getMethods(Class.java:1615)
>>
>> at
>> hudson.ExtensionFinder$GuiceFinder$SezpozModule.resolve(ExtensionFinder.java:480)
>>
>> at
>> hudson.ExtensionFinder$GuiceFinder$SezpozModule.configure(ExtensionFinder.java:509)
>>
>> at com.google.inject.AbstractModule.configure(AbstractModule.java:62)
>>
>> at
>> com.google.inject.spi.Elements$RecordingBinder.install(Elements.java:230)
>>
>> at com.google.inject.spi.Elements.getElements(Elements.java:103)
>>
>> at
>> com.google.inject.internal.InjectorShell$Builder.build(InjectorShell.java:136)
>>
>> at
>> com.google.inject.internal.InternalInjectorCreator.build(InternalInjectorCreator.java:104)
>>
>> at com.google.inject.Guice.createInjector(Guice.java:96)
>>
>> at com.google.inject.Guice.createInjector(Guice.java:73)
>>
>> at hudson.ExtensionFinder$GuiceFinder.(ExtensionFinder.java:280)
>>
>> at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
>>
>> at
>> sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
>>
>> at
>> sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
>>
>> at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
>>
>> at java.lang.Class.newInstance(Class.java:442)
>>
>> at net.java.sezpoz.IndexItem.instance(IndexItem.java:181)
>>
>> at hudson.ExtensionFinder$Sezpoz._find(ExtensionFinder.java:637)
>>
>> at hudson.ExtensionFinder$Sezpoz.find(ExtensionFinder.java:612)
>>
>> at
>> hudson.ClassicPluginStrategy.findComponents(ClassicPluginStrategy.java:482)
>>
>> at 

Re: Git Polling fails after upgrade

2016-08-10 Thread Tecno Brain
I am getting a similar problem:

I get this error:
SEVERE: found cycle in plugin dependencies: (root=Plugin:git, 
deactivating all involved) Plugin:git -> Plugin:workflow-scm-step -> 
Plugin:git

Followed by several exceptions.
How do I revert to the previous versions or upgrade to the right plugin 
?

INFO: Injecting JRuby into XStream

Trying to load models from 
/var/lib/jenkins/plugins/rvm/WEB-INF/classes/models

Loading /var/lib/jenkins/plugins/rvm/WEB-INF/classes/models/rvm_wrapper.rb

Aug 10, 2016 10:40:26 PM jenkins.InitReactorRunner$1 onTaskFailed

SEVERE: Failed Loading plugin managed-scripts

java.io.IOException: Dependency config-file-provider (2.0) doesn't exist

at hudson.PluginWrapper.resolvePluginDependencies(PluginWrapper.java:523)

at hudson.PluginManager$2$1$1.run(PluginManager.java:409)

at 
org.jvnet.hudson.reactor.TaskGraphBuilder$TaskImpl.run(TaskGraphBuilder.java:169)

at org.jvnet.hudson.reactor.Reactor.runTask(Reactor.java:282)

at jenkins.model.Jenkins$8.runTask(Jenkins.java:1009)

at org.jvnet.hudson.reactor.Reactor$2.run(Reactor.java:210)

at org.jvnet.hudson.reactor.Reactor$Node.run(Reactor.java:117)

at 
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)

at 
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)

at java.lang.Thread.run(Thread.java:745)


Aug 10, 2016 10:40:26 PM hudson.plugins.virtualbox.VirtualBoxPlugin start

INFO: Starting VirtualBoxPlugin

Aug 10, 2016 10:40:26 PM 
jenkins.bouncycastle.api.SecurityProviderInitializer addSecurityProvider

INFO: Initializing Bouncy Castle security provider.

Aug 10, 2016 10:40:26 PM 
jenkins.bouncycastle.api.SecurityProviderInitializer addSecurityProvider

INFO: Bouncy Castle security provider initialized.

Aug 10, 2016 10:40:26 PM 
org.jvnet.hudson.plugins.m2release.M2ReleaseBuildWrapper$DescriptorImpl 


INFO: Using new style Permission with PermissionScope

Trying to load models from 
/var/lib/jenkins/plugins/chef/WEB-INF/classes/models

Loading /var/lib/jenkins/plugins/chef/WEB-INF/classes/models/chef-builder.rb

Aug 10, 2016 10:40:33 PM hudson.ExtensionFinder$GuiceFinder$SezpozModule 
configure

WARNING: Failed to load 
net.uaznia.lukanus.hudson.plugins.gitparameter.GitParameterDefinition$DescriptorImpl

java.lang.NoClassDefFoundError: hudson/plugins/git/GitSCM

at java.lang.Class.getDeclaredMethods0(Native Method)

at java.lang.Class.privateGetDeclaredMethods(Class.java:2701)

at java.lang.Class.privateGetPublicMethods(Class.java:2902)

at java.lang.Class.getMethods(Class.java:1615)

at 
hudson.ExtensionFinder$GuiceFinder$SezpozModule.resolve(ExtensionFinder.java:480)

at 
hudson.ExtensionFinder$GuiceFinder$SezpozModule.configure(ExtensionFinder.java:509)

at com.google.inject.AbstractModule.configure(AbstractModule.java:62)

at com.google.inject.spi.Elements$RecordingBinder.install(Elements.java:230)

at com.google.inject.spi.Elements.getElements(Elements.java:103)

at 
com.google.inject.internal.InjectorShell$Builder.build(InjectorShell.java:136)

at 
com.google.inject.internal.InternalInjectorCreator.build(InternalInjectorCreator.java:104)

at com.google.inject.Guice.createInjector(Guice.java:96)

at com.google.inject.Guice.createInjector(Guice.java:73)

at hudson.ExtensionFinder$GuiceFinder.(ExtensionFinder.java:280)

at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)

at 
sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)

at 
sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)

at java.lang.reflect.Constructor.newInstance(Constructor.java:423)

at java.lang.Class.newInstance(Class.java:442)

at net.java.sezpoz.IndexItem.instance(IndexItem.java:181)

at hudson.ExtensionFinder$Sezpoz._find(ExtensionFinder.java:637)

at hudson.ExtensionFinder$Sezpoz.find(ExtensionFinder.java:612)

at 
hudson.ClassicPluginStrategy.findComponents(ClassicPluginStrategy.java:482)

at hudson.ExtensionList.load(ExtensionList.java:349)

at hudson.ExtensionList.ensureLoaded(ExtensionList.java:287)

at hudson.ExtensionList.getComponents(ExtensionList.java:167)

at jenkins.model.Jenkins$9.onInitMilestoneAttained(Jenkins.java:1027)

at jenkins.InitReactorRunner$1.onAttained(InitReactorRunner.java:79)

at 
org.jvnet.hudson.reactor.ReactorListener$Aggregator.onAttained(ReactorListener.java:104)

at org.jvnet.hudson.reactor.Reactor$1.run(Reactor.java:176)

at org.jvnet.hudson.reactor.Reactor$Node.run(Reactor.java:117)

at 
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)

at 
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)

at java.lang.Thread.run(Thread.java:745)

Caused by: java.lang.ClassNotFoundException: hudson.plugins.git.GitSCM

at 
jenkins.util.AntClassLoader.findClassInComponents(AntClassLoader.java:1376)

at jenkins.util.AntClassLoader.findClass(AntClassLoader.java:1326)

at 

Re: Git Polling fails after upgrade

2016-07-01 Thread Lionel Orellana
That worked. Thanks. 

On Friday, 1 July 2016 14:56:54 UTC+10, Mark Waite wrote:
>
> You need to upgrade the workflow pipeline components in addition to the 
> git plugin.  The git workflow SCM step really belongs inside the git 
> plugin, so we moved it there as part of git plugin 2.5.0.
>
> On Thu, Jun 30, 2016 at 10:55 PM Lionel Orellana  > wrote:
>
>> Not related to my original problem which was fixed with one of the latest 
>> builds, there is an issue with the Git plugin. 
>>
>> I get the errors I mentioned before when upgrading to 2.5.0 even with 
>> jenkins core 2.12-SNAPSHOT. Manually reverting back to Git plugin 2.4.4 
>> works.
>>
>>
>> On Friday, 1 July 2016 13:37:03 UTC+10, Lionel Orellana wrote:
>>>
>>> If I upgrade the Git plugin to 2.5.0 from 2.4.4  I get 
>>>
>>> SEVERE: found cycle in plugin dependencies: (root=Plugin:git, 
>>> deactivating all involved) Plugin:git -> Plugin:workflow-scm-step -> 
>>> Plugin:git
>>>
>>> and all hell breaks loose. 
>>>
>>> WARNING: Failed to load 
>>> net.uaznia.lukanus.hudson.plugins.gitparameter.GitParameterDefinition$DescriptorImpl
>>> java.lang.NoClassDefFoundError: hudson/plugins/git/GitSCM
>>>
>>> Jul 01, 2016 1:23:44 PM 
>>> hudson.ExtensionFinder$GuiceFinder$FaultTolerantScope$1 error
>>> WARNING: Failed to instantiate 
>>> Key[type=org.jenkinsci.plugins.workflow.cps.CpsScmFlowDefinition$DescriptorImpl,
>>>  
>>> annotation=[none]]; skipping this component
>>> com.google.inject.ProvisionException: Guice provision errors:
>>>
>>> 1) Error injecting constructor, java.lang.NoClassDefFoundError: 
>>> org/jenkinsci/plugins/workflow/steps/scm/SCMStep
>>>   at 
>>> org.jenkinsci.plugins.workflow.cps.CpsScmFlowDefinition$DescriptorImpl.(CpsScmFlowDefinition.java:134)
>>> Caused by: java.lang.ClassNotFoundException: 
>>> org.jenkinsci.plugins.workflow.steps.scm.SCMStep
>>> at 
>>> jenkins.util.AntClassLoader.findClassInComponents(AntClassLoader.java:1376)
>>> at 
>>> jenkins.util.AntClassLoader.findClass(AntClassLoader.java:1326)
>>> at 
>>> jenkins.util.AntClassLoader.loadClass(AntClassLoader.java:1079)
>>>
>>> and a few more similar errors. 
>>>
>>>
>>>
>>>
>>> On Friday, 1 July 2016 13:20:12 UTC+10, Lionel Orellana wrote:

 Hi, 

 I just upgraded from 2.10 to 2.11 not expecting much to change but I'm 
 getting this error now in my git projects.

 ERROR: Failed to record SCM polling for 
 hudson.maven.MavenModuleSet@5830700a[] 

 java.lang.NullPointerException 
 

  at 
 jenkins.triggers.SCMTriggerItem$SCMTriggerItems$Bridge.poll(SCMTriggerItem.java:124)
 at 
 hudson.triggers.SCMTrigger$Runner.runPolling(SCMTrigger.java:528)
 at hudson.triggers.SCMTrigger$Runner.run(SCMTrigger.java:574)
 at 
 hudson.util.SequentialExecutionQueue$QueueEntry.run(SequentialExecutionQueue.java:119)
 at 
 java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
 at java.util.concurrent.FutureTask.run(FutureTask.java:262)
 at 
 java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
 at 
 java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
 at java.lang.Thread.run(Thread.java:745)




 I tried upgrading the Git Plugin and the GitHub Branch Source plugin 
 but that only made it worse and Jenkins wouldn't start so I had to revert 
 that.

 Anyone had this problem before?

 Thanks

 Lionel.

>>> -- 
>> You received this message because you are subscribed to the Google Groups 
>> "Jenkins Users" group.
>> To unsubscribe from this group and stop receiving emails from it, send an 
>> email to jenkinsci-use...@googlegroups.com .
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/jenkinsci-users/83ce4ae0-b61e-46d2-9746-53e1a86f2e2d%40googlegroups.com
>>  
>> 
>> .
>> For more options, visit https://groups.google.com/d/optout.
>>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jenkinsci-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/b66a541e-8b17-4a8e-b1cc-691761262d0b%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Git Polling fails after upgrade

2016-06-30 Thread Mark Waite
You need to upgrade the workflow pipeline components in addition to the git
plugin.  The git workflow SCM step really belongs inside the git plugin, so
we moved it there as part of git plugin 2.5.0.

On Thu, Jun 30, 2016 at 10:55 PM Lionel Orellana  wrote:

> Not related to my original problem which was fixed with one of the latest
> builds, there is an issue with the Git plugin.
>
> I get the errors I mentioned before when upgrading to 2.5.0 even with
> jenkins core 2.12-SNAPSHOT. Manually reverting back to Git plugin 2.4.4
> works.
>
>
> On Friday, 1 July 2016 13:37:03 UTC+10, Lionel Orellana wrote:
>>
>> If I upgrade the Git plugin to 2.5.0 from 2.4.4  I get
>>
>> SEVERE: found cycle in plugin dependencies: (root=Plugin:git,
>> deactivating all involved) Plugin:git -> Plugin:workflow-scm-step ->
>> Plugin:git
>>
>> and all hell breaks loose.
>>
>> WARNING: Failed to load
>> net.uaznia.lukanus.hudson.plugins.gitparameter.GitParameterDefinition$DescriptorImpl
>> java.lang.NoClassDefFoundError: hudson/plugins/git/GitSCM
>>
>> Jul 01, 2016 1:23:44 PM
>> hudson.ExtensionFinder$GuiceFinder$FaultTolerantScope$1 error
>> WARNING: Failed to instantiate
>> Key[type=org.jenkinsci.plugins.workflow.cps.CpsScmFlowDefinition$DescriptorImpl,
>> annotation=[none]]; skipping this component
>> com.google.inject.ProvisionException: Guice provision errors:
>>
>> 1) Error injecting constructor, java.lang.NoClassDefFoundError:
>> org/jenkinsci/plugins/workflow/steps/scm/SCMStep
>>   at
>> org.jenkinsci.plugins.workflow.cps.CpsScmFlowDefinition$DescriptorImpl.(CpsScmFlowDefinition.java:134)
>> Caused by: java.lang.ClassNotFoundException:
>> org.jenkinsci.plugins.workflow.steps.scm.SCMStep
>> at
>> jenkins.util.AntClassLoader.findClassInComponents(AntClassLoader.java:1376)
>> at jenkins.util.AntClassLoader.findClass(AntClassLoader.java:1326)
>> at jenkins.util.AntClassLoader.loadClass(AntClassLoader.java:1079)
>>
>> and a few more similar errors.
>>
>>
>>
>>
>> On Friday, 1 July 2016 13:20:12 UTC+10, Lionel Orellana wrote:
>>>
>>> Hi,
>>>
>>> I just upgraded from 2.10 to 2.11 not expecting much to change but I'm
>>> getting this error now in my git projects.
>>>
>>> ERROR: Failed to record SCM polling for 
>>> hudson.maven.MavenModuleSet@5830700a[]
>>>
>>> java.lang.NullPointerException 
>>> 
>>>
>>>  at 
>>> jenkins.triggers.SCMTriggerItem$SCMTriggerItems$Bridge.poll(SCMTriggerItem.java:124)
>>> at hudson.triggers.SCMTrigger$Runner.runPolling(SCMTrigger.java:528)
>>> at hudson.triggers.SCMTrigger$Runner.run(SCMTrigger.java:574)
>>> at 
>>> hudson.util.SequentialExecutionQueue$QueueEntry.run(SequentialExecutionQueue.java:119)
>>> at 
>>> java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
>>> at java.util.concurrent.FutureTask.run(FutureTask.java:262)
>>> at 
>>> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
>>> at 
>>> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
>>> at java.lang.Thread.run(Thread.java:745)
>>>
>>>
>>>
>>>
>>> I tried upgrading the Git Plugin and the GitHub Branch Source plugin but
>>> that only made it worse and Jenkins wouldn't start so I had to revert that.
>>>
>>> Anyone had this problem before?
>>>
>>> Thanks
>>>
>>> Lionel.
>>>
>> --
> You received this message because you are subscribed to the Google Groups
> "Jenkins Users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to jenkinsci-users+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/jenkinsci-users/83ce4ae0-b61e-46d2-9746-53e1a86f2e2d%40googlegroups.com
> 
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jenkinsci-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/CAO49JtEOG5hNTMVJNtHcSjzDoxN_pTZCAJJqYwHJD7VzPDBx4g%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: Git Polling fails after upgrade

2016-06-30 Thread Lionel Orellana
Not related to my original problem which was fixed with one of the latest 
builds, there is an issue with the Git plugin. 

I get the errors I mentioned before when upgrading to 2.5.0 even with 
jenkins core 2.12-SNAPSHOT. Manually reverting back to Git plugin 2.4.4 
works.

On Friday, 1 July 2016 13:37:03 UTC+10, Lionel Orellana wrote:
>
> If I upgrade the Git plugin to 2.5.0 from 2.4.4  I get 
>
> SEVERE: found cycle in plugin dependencies: (root=Plugin:git, deactivating 
> all involved) Plugin:git -> Plugin:workflow-scm-step -> Plugin:git
>
> and all hell breaks loose. 
>
> WARNING: Failed to load 
> net.uaznia.lukanus.hudson.plugins.gitparameter.GitParameterDefinition$DescriptorImpl
> java.lang.NoClassDefFoundError: hudson/plugins/git/GitSCM
>
> Jul 01, 2016 1:23:44 PM 
> hudson.ExtensionFinder$GuiceFinder$FaultTolerantScope$1 error
> WARNING: Failed to instantiate 
> Key[type=org.jenkinsci.plugins.workflow.cps.CpsScmFlowDefinition$DescriptorImpl,
>  
> annotation=[none]]; skipping this component
> com.google.inject.ProvisionException: Guice provision errors:
>
> 1) Error injecting constructor, java.lang.NoClassDefFoundError: 
> org/jenkinsci/plugins/workflow/steps/scm/SCMStep
>   at 
> org.jenkinsci.plugins.workflow.cps.CpsScmFlowDefinition$DescriptorImpl.(CpsScmFlowDefinition.java:134)
> Caused by: java.lang.ClassNotFoundException: 
> org.jenkinsci.plugins.workflow.steps.scm.SCMStep
> at 
> jenkins.util.AntClassLoader.findClassInComponents(AntClassLoader.java:1376)
> at jenkins.util.AntClassLoader.findClass(AntClassLoader.java:1326)
> at jenkins.util.AntClassLoader.loadClass(AntClassLoader.java:1079)
>
> and a few more similar errors. 
>
>
>
>
> On Friday, 1 July 2016 13:20:12 UTC+10, Lionel Orellana wrote:
>>
>> Hi, 
>>
>> I just upgraded from 2.10 to 2.11 not expecting much to change but I'm 
>> getting this error now in my git projects.
>>
>> ERROR: Failed to record SCM polling for 
>> hudson.maven.MavenModuleSet@5830700a[] 
>>
>> java.lang.NullPointerException 
>> 
>>
>>  at 
>> jenkins.triggers.SCMTriggerItem$SCMTriggerItems$Bridge.poll(SCMTriggerItem.java:124)
>> at hudson.triggers.SCMTrigger$Runner.runPolling(SCMTrigger.java:528)
>> at hudson.triggers.SCMTrigger$Runner.run(SCMTrigger.java:574)
>> at 
>> hudson.util.SequentialExecutionQueue$QueueEntry.run(SequentialExecutionQueue.java:119)
>> at 
>> java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
>> at java.util.concurrent.FutureTask.run(FutureTask.java:262)
>> at 
>> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
>> at 
>> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
>> at java.lang.Thread.run(Thread.java:745)
>>
>>
>>
>>
>> I tried upgrading the Git Plugin and the GitHub Branch Source plugin but 
>> that only made it worse and Jenkins wouldn't start so I had to revert that.
>>
>> Anyone had this problem before?
>>
>> Thanks
>>
>> Lionel.
>>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jenkinsci-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/83ce4ae0-b61e-46d2-9746-53e1a86f2e2d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Git Polling fails after upgrade

2016-06-30 Thread Mark Waite
You need to upgrade the workflow pipeline components in addition to the git
plugin.  The git workflow SCM step really belongs inside the git plugin, so
we moved it there as part of git plugin 2.5.0.

Mark Waite

On Thu, Jun 30, 2016 at 9:40 PM Lionel Orellana  wrote:

> Thanks Mark.
>
>
> On Friday, 1 July 2016 13:28:40 UTC+10, Mark Waite wrote:
>
>> Looks like that might be fixed in the latest source code.  Refer to
>> https://github.com/jenkinsci/jenkins/commit/6d29dd4554345aed2905e8ab32da678e301736a7#diff-b2027094e76e9b99db901e8cd779e580
>>  .
>>
>> Seems to be documented as a bug in Jenkins 2.11,
>> https://issues.jenkins-ci.org/browse/JENKINS-36232 .  Your could roll
>> back to Jenkins 2.10, or build from the latest source code.
>>
>> Mark Waite
>>
>> On Thu, Jun 30, 2016 at 9:20 PM Lionel Orellana 
>> wrote:
>>
> Hi,
>>>
>>> I just upgraded from 2.10 to 2.11 not expecting much to change but I'm
>>> getting this error now in my git projects.
>>>
>>> ERROR: Failed to record SCM polling for 
>>> hudson.maven.MavenModuleSet@5830700a[]
>>>
>>> java.lang.NullPointerException 
>>> 
>>>
>>>  at 
>>> jenkins.triggers.SCMTriggerItem$SCMTriggerItems$Bridge.poll(SCMTriggerItem.java:124)
>>> at hudson.triggers.SCMTrigger$Runner.runPolling(SCMTrigger.java:528)
>>> at hudson.triggers.SCMTrigger$Runner.run(SCMTrigger.java:574)
>>> at 
>>> hudson.util.SequentialExecutionQueue$QueueEntry.run(SequentialExecutionQueue.java:119)
>>> at 
>>> java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
>>> at java.util.concurrent.FutureTask.run(FutureTask.java:262)
>>> at 
>>> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
>>> at 
>>> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
>>> at java.lang.Thread.run(Thread.java:745)
>>>
>>>
>>>
>>>
>>> I tried upgrading the Git Plugin and the GitHub Branch Source plugin but
>>> that only made it worse and Jenkins wouldn't start so I had to revert that.
>>>
>>> Anyone had this problem before?
>>>
>>> Thanks
>>>
>>> Lionel.
>>>
>>> --
>>> You received this message because you are subscribed to the Google
>>> Groups "Jenkins Users" group.
>>>
>> To unsubscribe from this group and stop receiving emails from it, send an
>>> email to jenkinsci-use...@googlegroups.com.
>>
>>
>>> To view this discussion on the web visit
>>> https://groups.google.com/d/msgid/jenkinsci-users/b91cdfba-237d-409b-b3b9-80a8fdbd92db%40googlegroups.com
>>> 
>>> .
>>> For more options, visit https://groups.google.com/d/optout.
>>>
>> --
> You received this message because you are subscribed to the Google Groups
> "Jenkins Users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to jenkinsci-users+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/jenkinsci-users/1e4ee4c2-b836-4789-8748-fac44e3dcf99%40googlegroups.com
> 
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jenkinsci-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/CAO49JtHmXLVHvDhs66_MEgW%3DrNOE_kwq456JRqkzDNaci3zNqg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: Git Polling fails after upgrade

2016-06-30 Thread Lionel Orellana
Thanks Mark.

On Friday, 1 July 2016 13:28:40 UTC+10, Mark Waite wrote:
>
> Looks like that might be fixed in the latest source code.  Refer to 
> https://github.com/jenkinsci/jenkins/commit/6d29dd4554345aed2905e8ab32da678e301736a7#diff-b2027094e76e9b99db901e8cd779e580
>  .
>
> Seems to be documented as a bug in Jenkins 2.11, 
> https://issues.jenkins-ci.org/browse/JENKINS-36232 .  Your could roll 
> back to Jenkins 2.10, or build from the latest source code.
>
> Mark Waite
>
> On Thu, Jun 30, 2016 at 9:20 PM Lionel Orellana  > wrote:
>
>> Hi, 
>>
>> I just upgraded from 2.10 to 2.11 not expecting much to change but I'm 
>> getting this error now in my git projects.
>>
>> ERROR: Failed to record SCM polling for 
>> hudson.maven.MavenModuleSet@5830700a[] 
>>
>> java.lang.NullPointerException 
>> 
>>
>>  at 
>> jenkins.triggers.SCMTriggerItem$SCMTriggerItems$Bridge.poll(SCMTriggerItem.java:124)
>> at hudson.triggers.SCMTrigger$Runner.runPolling(SCMTrigger.java:528)
>> at hudson.triggers.SCMTrigger$Runner.run(SCMTrigger.java:574)
>> at 
>> hudson.util.SequentialExecutionQueue$QueueEntry.run(SequentialExecutionQueue.java:119)
>> at 
>> java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
>> at java.util.concurrent.FutureTask.run(FutureTask.java:262)
>> at 
>> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
>> at 
>> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
>> at java.lang.Thread.run(Thread.java:745)
>>
>>
>>
>>
>> I tried upgrading the Git Plugin and the GitHub Branch Source plugin but 
>> that only made it worse and Jenkins wouldn't start so I had to revert that.
>>
>> Anyone had this problem before?
>>
>> Thanks
>>
>> Lionel.
>>
>> -- 
>> You received this message because you are subscribed to the Google Groups 
>> "Jenkins Users" group.
>> To unsubscribe from this group and stop receiving emails from it, send an 
>> email to jenkinsci-use...@googlegroups.com .
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/jenkinsci-users/b91cdfba-237d-409b-b3b9-80a8fdbd92db%40googlegroups.com
>>  
>> 
>> .
>> For more options, visit https://groups.google.com/d/optout.
>>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jenkinsci-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/1e4ee4c2-b836-4789-8748-fac44e3dcf99%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Git Polling fails after upgrade

2016-06-30 Thread Lionel Orellana
If I upgrade the Git plugin to 2.5.0 from 2.4.4  I get 

SEVERE: found cycle in plugin dependencies: (root=Plugin:git, deactivating 
all involved) Plugin:git -> Plugin:workflow-scm-step -> Plugin:git

and all hell breaks loose. 

WARNING: Failed to load 
net.uaznia.lukanus.hudson.plugins.gitparameter.GitParameterDefinition$DescriptorImpl
java.lang.NoClassDefFoundError: hudson/plugins/git/GitSCM

Jul 01, 2016 1:23:44 PM 
hudson.ExtensionFinder$GuiceFinder$FaultTolerantScope$1 error
WARNING: Failed to instantiate 
Key[type=org.jenkinsci.plugins.workflow.cps.CpsScmFlowDefinition$DescriptorImpl,
 
annotation=[none]]; skipping this component
com.google.inject.ProvisionException: Guice provision errors:

1) Error injecting constructor, java.lang.NoClassDefFoundError: 
org/jenkinsci/plugins/workflow/steps/scm/SCMStep
  at 
org.jenkinsci.plugins.workflow.cps.CpsScmFlowDefinition$DescriptorImpl.(CpsScmFlowDefinition.java:134)
Caused by: java.lang.ClassNotFoundException: 
org.jenkinsci.plugins.workflow.steps.scm.SCMStep
at 
jenkins.util.AntClassLoader.findClassInComponents(AntClassLoader.java:1376)
at jenkins.util.AntClassLoader.findClass(AntClassLoader.java:1326)
at jenkins.util.AntClassLoader.loadClass(AntClassLoader.java:1079)

and a few more similar errors. 




On Friday, 1 July 2016 13:20:12 UTC+10, Lionel Orellana wrote:
>
> Hi, 
>
> I just upgraded from 2.10 to 2.11 not expecting much to change but I'm 
> getting this error now in my git projects.
>
> ERROR: Failed to record SCM polling for 
> hudson.maven.MavenModuleSet@5830700a[] 
>
> java.lang.NullPointerException 
> 
>
>  at 
> jenkins.triggers.SCMTriggerItem$SCMTriggerItems$Bridge.poll(SCMTriggerItem.java:124)
> at hudson.triggers.SCMTrigger$Runner.runPolling(SCMTrigger.java:528)
> at hudson.triggers.SCMTrigger$Runner.run(SCMTrigger.java:574)
> at 
> hudson.util.SequentialExecutionQueue$QueueEntry.run(SequentialExecutionQueue.java:119)
> at 
> java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
> at java.util.concurrent.FutureTask.run(FutureTask.java:262)
> at 
> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
> at 
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
> at java.lang.Thread.run(Thread.java:745)
>
>
>
>
> I tried upgrading the Git Plugin and the GitHub Branch Source plugin but 
> that only made it worse and Jenkins wouldn't start so I had to revert that.
>
> Anyone had this problem before?
>
> Thanks
>
> Lionel.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jenkinsci-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/ca0b3529-bade-4958-8ad2-3c4ef3bb2cee%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Git Polling fails after upgrade

2016-06-30 Thread Mark Waite
Looks like that might be fixed in the latest source code.  Refer to
https://github.com/jenkinsci/jenkins/commit/6d29dd4554345aed2905e8ab32da678e301736a7#diff-b2027094e76e9b99db901e8cd779e580
 .

Seems to be documented as a bug in Jenkins 2.11,
https://issues.jenkins-ci.org/browse/JENKINS-36232 .  Your could roll back
to Jenkins 2.10, or build from the latest source code.

Mark Waite

On Thu, Jun 30, 2016 at 9:20 PM Lionel Orellana  wrote:

> Hi,
>
> I just upgraded from 2.10 to 2.11 not expecting much to change but I'm
> getting this error now in my git projects.
>
> ERROR: Failed to record SCM polling for 
> hudson.maven.MavenModuleSet@5830700a[]
>
> java.lang.NullPointerException 
> 
>
>  at 
> jenkins.triggers.SCMTriggerItem$SCMTriggerItems$Bridge.poll(SCMTriggerItem.java:124)
> at hudson.triggers.SCMTrigger$Runner.runPolling(SCMTrigger.java:528)
> at hudson.triggers.SCMTrigger$Runner.run(SCMTrigger.java:574)
> at 
> hudson.util.SequentialExecutionQueue$QueueEntry.run(SequentialExecutionQueue.java:119)
> at 
> java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
> at java.util.concurrent.FutureTask.run(FutureTask.java:262)
> at 
> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
> at 
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
> at java.lang.Thread.run(Thread.java:745)
>
>
>
>
> I tried upgrading the Git Plugin and the GitHub Branch Source plugin but
> that only made it worse and Jenkins wouldn't start so I had to revert that.
>
> Anyone had this problem before?
>
> Thanks
>
> Lionel.
>
> --
> You received this message because you are subscribed to the Google Groups
> "Jenkins Users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to jenkinsci-users+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/jenkinsci-users/b91cdfba-237d-409b-b3b9-80a8fdbd92db%40googlegroups.com
> 
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jenkinsci-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/CAO49JtFvxLrg_3x2TXjkYT_y%3D2s685LNRDp8QVfAdb8-dcWs7w%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: Git polling fails with authentication errors sometimes

2015-02-13 Thread Dave
I forgot that this job tries to check all branches as well and I wonder if 
that is more of the cause. The credentials are stored within the local 
repository so multiple Git repos probably wouldn't cause conflicts. 
However, if a single repo checks out multiple branches, it of course does a 
git checkout so the same .git folder is used. I'm created some test jobs, 
one with multiple SCMs and one with a single SCM, both configured to check 
all branches. So far I've not seen these same issues. I still need to make 
sure the same version of Git is being used between the test jobs and the 
problem job.

I would also add that although it is intermittent, once it gets in this 
weird state it stays there until we manually run the job.

-- 
You received this message because you are subscribed to the Google Groups 
Jenkins Users group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jenkinsci-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/3b3bf0e4-d684-405e-bbd4-4a6a5b13746e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Git polling fails with authentication errors sometimes

2015-02-13 Thread Dave
I'm able to reproduce the error with my test job if I have it restricted to 
the same slave that the problem job is using. It happens with the single 
SCM job that has multiple branches, but I haven't been able to reproduce 
with just a single branch configurations, so I'm thinking it has to do with 
a particular version of Git and the multiple branch issue (or single 
branches always run on master so I don't see it). The slave in question is 
running 1.7.9.5 which meets the requirement, but not the recommended 
version of 1.8.

I don't feel like upgrading that slave right now, but I can at least limit 
the job to other slaves to see if that works around the problem.

-- 
You received this message because you are subscribed to the Google Groups 
Jenkins Users group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jenkinsci-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/20db5c14-70c1-4c27-b0b2-200c274b291d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Git polling fails with authentication errors sometimes

2015-02-13 Thread Mark Waite
I haven't done the detailed review of the git capabilities, but I thought
that credentials support only first arrived in git 1.7.9 (or possibly
1.7.10).  Your 1.7.9 machine may have a git version which is too old for
that use model.

Does the 1.7.9 based machine checkout successfully from a single SCM job?

Mark Waite

On Fri, Feb 13, 2015 at 9:52 AM, Dave dhumen...@gmail.com wrote:

 I'm able to reproduce the error with my test job if I have it restricted
 to the same slave that the problem job is using. It happens with the single
 SCM job that has multiple branches, but I haven't been able to reproduce
 with just a single branch configurations, so I'm thinking it has to do with
 a particular version of Git and the multiple branch issue (or single
 branches always run on master so I don't see it). The slave in question is
 running 1.7.9.5 which meets the requirement, but not the recommended
 version of 1.8.

 I don't feel like upgrading that slave right now, but I can at least limit
 the job to other slaves to see if that works around the problem.

  --
 You received this message because you are subscribed to the Google Groups
 Jenkins Users group.
 To unsubscribe from this group and stop receiving emails from it, send an
 email to jenkinsci-users+unsubscr...@googlegroups.com.
 To view this discussion on the web visit
 https://groups.google.com/d/msgid/jenkinsci-users/20db5c14-70c1-4c27-b0b2-200c274b291d%40googlegroups.com
 https://groups.google.com/d/msgid/jenkinsci-users/20db5c14-70c1-4c27-b0b2-200c274b291d%40googlegroups.com?utm_medium=emailutm_source=footer
 .

 For more options, visit https://groups.google.com/d/optout.




-- 
Thanks!
Mark Waite

-- 
You received this message because you are subscribed to the Google Groups 
Jenkins Users group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jenkinsci-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/CAO49JtE83S-jpU%2Bn%2BbKQxpJ9uk6%2BNLnZ17a7AzSptDwQFk386A%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: Git polling fails with authentication errors sometimes

2015-02-13 Thread Dave
If I run manually, the slave with 1.7.9.5 is able to fetch the changes. 
Only the polling is an issue. With the problem job switched to running on a 
different slave with 1.8+, I am not currently seeing the issue.

On Friday, February 13, 2015 at 12:00:10 PM UTC-5, Mark Waite wrote:

 I haven't done the detailed review of the git capabilities, but I thought 
 that credentials support only first arrived in git 1.7.9 (or possibly 
 1.7.10).  Your 1.7.9 machine may have a git version which is too old for 
 that use model.

 Does the 1.7.9 based machine checkout successfully from a single SCM job?

 Mark Waite


-- 
You received this message because you are subscribed to the Google Groups 
Jenkins Users group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jenkinsci-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/eb4b4b70-b9f6-4028-8c7f-13cef277587a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Git polling fails with authentication errors sometimes

2015-02-12 Thread Dave
I was kinda thinking that, any suggestions on how I could debug this? Or 
does someone know where the numbered credential file is named? If it is 
based on a timestamp and the SCM plug-in checks both repos with the same 
credential file, I could see how that could be a problem if one deletes it 
and the other tries to use it.

On Thursday, February 12, 2015 at 9:58:17 AM UTC-5, Mark Waite wrote:

 The message indicates that a file which the plugin expects to be on the 
 file system is not there.   That stack trace might hint that there is a 
 race condition in the multiple SCM plugin / git plugin interaction.   

 I don't know if the file is missing because the git plugin performed some 
 cleanup, or because the multiple SCMs plugin did some cleanup, or because 
 something outside performed cleanup.

 Thanks,
 Mark Waite

 On Thu, Feb 12, 2015 at 7:39 AM, Dave dhum...@gmail.com javascript: 
 wrote:

 I should add I'm using Jenkins 1.554.2, Git client plug-in 1.16.1 and Git 
 plug-in 2.2.12. It seems like this used to work, but I'm not sure what 
 version of each plug-in I had.

 -- 
 You received this message because you are subscribed to the Google Groups 
 Jenkins Users group.
 To unsubscribe from this group and stop receiving emails from it, send an 
 email to jenkinsci-use...@googlegroups.com javascript:.
 To view this discussion on the web visit 
 https://groups.google.com/d/msgid/jenkinsci-users/0ea3197f-4b6b-480d-bd56-344bd3cd4caa%40googlegroups.com
  
 https://groups.google.com/d/msgid/jenkinsci-users/0ea3197f-4b6b-480d-bd56-344bd3cd4caa%40googlegroups.com?utm_medium=emailutm_source=footer
 .

 For more options, visit https://groups.google.com/d/optout.




 -- 
 Thanks!
 Mark Waite
  

-- 
You received this message because you are subscribed to the Google Groups 
Jenkins Users group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jenkinsci-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/0b2668f7-945e-49ad-adb9-d7894beb9c95%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Git polling fails with authentication errors sometimes

2015-02-12 Thread Mark Waite
You might be able to test the theory by creating a multi-scm job which uses
10 or 20 authenticated git repositories, then run that job multiple times.
If it fails, then it is probably the file delete condition we're theorizing
might be there.

If it does not fail, then it is likely something else.  If it does not
fail, then you might try adding multiple repos of other types (Subversion,
Mercurial, etc.).

Mark Waite

On Thu, Feb 12, 2015 at 3:06 PM, Dave dhumen...@gmail.com wrote:

 I was kinda thinking that, any suggestions on how I could debug this? Or
 does someone know where the numbered credential file is named? If it is
 based on a timestamp and the SCM plug-in checks both repos with the same
 credential file, I could see how that could be a problem if one deletes it
 and the other tries to use it.

 On Thursday, February 12, 2015 at 9:58:17 AM UTC-5, Mark Waite wrote:

 The message indicates that a file which the plugin expects to be on the
 file system is not there.   That stack trace might hint that there is a
 race condition in the multiple SCM plugin / git plugin interaction.

 I don't know if the file is missing because the git plugin performed some
 cleanup, or because the multiple SCMs plugin did some cleanup, or because
 something outside performed cleanup.

 Thanks,
 Mark Waite

 On Thu, Feb 12, 2015 at 7:39 AM, Dave dhum...@gmail.com wrote:

 I should add I'm using Jenkins 1.554.2, Git client plug-in 1.16.1 and
 Git plug-in 2.2.12. It seems like this used to work, but I'm not sure what
 version of each plug-in I had.

 --
 You received this message because you are subscribed to the Google
 Groups Jenkins Users group.
 To unsubscribe from this group and stop receiving emails from it, send
 an email to jenkinsci-use...@googlegroups.com.
 To view this discussion on the web visit https://groups.google.com/d/
 msgid/jenkinsci-users/0ea3197f-4b6b-480d-bd56-
 344bd3cd4caa%40googlegroups.com
 https://groups.google.com/d/msgid/jenkinsci-users/0ea3197f-4b6b-480d-bd56-344bd3cd4caa%40googlegroups.com?utm_medium=emailutm_source=footer
 .

 For more options, visit https://groups.google.com/d/optout.




 --
 Thanks!
 Mark Waite

  --
 You received this message because you are subscribed to the Google Groups
 Jenkins Users group.
 To unsubscribe from this group and stop receiving emails from it, send an
 email to jenkinsci-users+unsubscr...@googlegroups.com.
 To view this discussion on the web visit
 https://groups.google.com/d/msgid/jenkinsci-users/0b2668f7-945e-49ad-adb9-d7894beb9c95%40googlegroups.com
 https://groups.google.com/d/msgid/jenkinsci-users/0b2668f7-945e-49ad-adb9-d7894beb9c95%40googlegroups.com?utm_medium=emailutm_source=footer
 .
 For more options, visit https://groups.google.com/d/optout.




-- 
Thanks!
Mark Waite

-- 
You received this message because you are subscribed to the Google Groups 
Jenkins Users group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jenkinsci-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/CAO49JtHrQ21hhSzpBUEhYeZPDC6QDn5irvZCUYyw2nk89YUuKA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: Git polling fails with authentication errors sometimes

2015-02-12 Thread Dave
I should add I'm using Jenkins 1.554.2, Git client plug-in 1.16.1 and Git 
plug-in 2.2.12. It seems like this used to work, but I'm not sure what 
version of each plug-in I had.

-- 
You received this message because you are subscribed to the Google Groups 
Jenkins Users group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jenkinsci-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/0ea3197f-4b6b-480d-bd56-344bd3cd4caa%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Git polling fails with authentication errors sometimes

2015-02-12 Thread Mark Waite
The message indicates that a file which the plugin expects to be on the
file system is not there.   That stack trace might hint that there is a
race condition in the multiple SCM plugin / git plugin interaction.

I don't know if the file is missing because the git plugin performed some
cleanup, or because the multiple SCMs plugin did some cleanup, or because
something outside performed cleanup.

Thanks,
Mark Waite

On Thu, Feb 12, 2015 at 7:39 AM, Dave dhumen...@gmail.com wrote:

 I should add I'm using Jenkins 1.554.2, Git client plug-in 1.16.1 and Git
 plug-in 2.2.12. It seems like this used to work, but I'm not sure what
 version of each plug-in I had.

 --
 You received this message because you are subscribed to the Google Groups
 Jenkins Users group.
 To unsubscribe from this group and stop receiving emails from it, send an
 email to jenkinsci-users+unsubscr...@googlegroups.com.
 To view this discussion on the web visit
 https://groups.google.com/d/msgid/jenkinsci-users/0ea3197f-4b6b-480d-bd56-344bd3cd4caa%40googlegroups.com
 https://groups.google.com/d/msgid/jenkinsci-users/0ea3197f-4b6b-480d-bd56-344bd3cd4caa%40googlegroups.com?utm_medium=emailutm_source=footer
 .

 For more options, visit https://groups.google.com/d/optout.




-- 
Thanks!
Mark Waite

-- 
You received this message because you are subscribed to the Google Groups 
Jenkins Users group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jenkinsci-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/CAO49JtGxk1tKf_Ch-APVo2%2BJyoueghQ8W_q6y0a%3D0_5LZusS4Q%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.