Re: GIT stopped working after upgrading the plugin to version 1.3.0

2013-03-21 Thread Aldo Brucale
So also the LTS version of Jenkins pulls the latest version of the plugins. 
I thought it was safe to keep them updated...


On Thursday, 21 March 2013 17:03:29 UTC+1, Nicolas De loof wrote:
>
> There is a bunch of them in bugtracker.
>
> I've just released git-client 1.0.5, that will use git-cli by default.
> will still maintain a JGit implementation, and try to get unit test to 
> reproduce those various issues, but probably will have to wait for next 
> major JGit version - JGit for sample don't support symlinks, cause they 
> only require java 6 :'(
>
> 2013/3/21 Aldo Brucale >
>
>> Thank you, I've added -Dorg.jenkinsci.plugins.gitclient.Git.useCLI=true 
>> for all the slaves end now everything works fine. Is the issue with the git 
>> Client Plugin already on the bugtracker?
>>
>>
>> On Thursday, 21 March 2013 16:06:50 UTC+1, Peter Miklosko wrote:
>>
>>> Not issue of Git Plugin but git Client Plugin. This been upgraded to 
>>> 1.0.4 and is messing up as I discovered few days ago http://goo.gl/QKP0H
>>>
>>> Peter
>>>
>>> On 21 March 2013 14:54, Aldo Brucale  wrote:
>>>
>>>>  Hi,
>>>>
>>>> I'm running Jenkins LTS (1.480.3) and after upgrading the plugins today 
>>>> Jenkins has stopped downloading the changes from my git server. It seems 
>>>> that jenkins is not accepting the self-signed certificate from the server 
>>>> any more. 
>>>> Any ideas on how to resolve this? I've tried to downgrade the plugin 
>>>> back to version 1.2.0 but nothing has changed. Maybe some dependency has 
>>>> been updated and downgrading the plugin is not sufficient to revert to the 
>>>> previous situation?
>>>>
>>>> Thank you in advance,
>>>> Aldo
>>>>
>>>> here is the stacktrace:
>>>>
>>>> Building remotely on Montavista in workspace /mnt/montavista/hudson/**
>>>> workspace/Megapixel_04.07.00
>>>> Checkout:Megapixel_04.07.00 / 
>>>> /mnt/montavista/hudson/**workspace/Megapixel_04.07.00 
>>>> - hudson.remoting.Channel@**61df092e:Montavista
>>>> Using strategy: Default
>>>> Last Built Revision: Revision bd975b4d348b588ce3862f91dcd37e**109193e799 
>>>> (origin/04.07.00)
>>>> Cloning the remote Git repository
>>>> Cloning repository https://git.example.com/**
>>>> megapixel/my_build_tools.git<https://git.example.com/megapixel/my_build_tools.git>
>>>> git --version
>>>> git version 1.7.2.3
>>>> ERROR: Problem fetching from origin / origin - could be unavailable. 
>>>> Continuing anyway.
>>>> hudson.plugins.git.**GitException: 
>>>> org.eclipse.jgit.api.errors.**TransportException: 
>>>> https://git.example.com/**megapixel/my_build_tools.git<https://git.example.com/megapixel/my_build_tools.git>:
>>>>  
>>>> cannot open git-upload-pack
>>>>  at org.jenkinsci.plugins.**gitclient.JGitAPIImpl.fetch(**
>>>> JGitAPIImpl.java:212)
>>>> at hudson.plugins.git.GitAPI.**fetch(GitAPI.java:230)
>>>>  at hudson.plugins.git.GitSCM$2.**invoke(GitSCM.java:1023)
>>>> at hudson.plugins.git.GitSCM$2.**invoke(GitSCM.java:941)
>>>>  at hudson.FilePath$**FileCallableWrapper.call(**FilePath.java:2246)
>>>> at hudson.remoting.UserRequest.**perform(UserRequest.java:118)
>>>>  at hudson.remoting.UserRequest.**perform(UserRequest.java:48)
>>>> at hudson.remoting.Request$2.run(**Request.java:326)
>>>>  at hudson.remoting.**InterceptingExecutorService$1.**call(**
>>>> InterceptingExecutorService.**java:72)
>>>> at java.util.concurrent.**FutureTask$Sync.innerRun(**
>>>> FutureTask.java:303)
>>>>  at java.util.concurrent.**FutureTask.run(FutureTask.**java:138)
>>>> at java.util.concurrent.**ThreadPoolExecutor$Worker.**
>>>> runTask(ThreadPoolExecutor.**java:886)
>>>>  at java.util.concurrent.**ThreadPoolExecutor$Worker.run(**
>>>> ThreadPoolExecutor.java:908)
>>>> at java.lang.Thread.run(Thread.**java:619)
>>>> Caused by: org.eclipse.jgit.api.errors.**TransportException: 
>>>> https://git.example.com/**megapixel/my_build_tools.git<https://git.example.com/megapixel/my_build_tools.git>:
>>>>  
>>>> cannot open git-upload-pack
>>>>  at org.eclipse.jgit.api.**FetchCommand.call(**FetchCommand.java:137)
>>>> at org.jenkinsci.plugins.**gitclient.JGitAPIImpl.fe

Re: GIT stopped working after upgrading the plugin to version 1.3.0

2013-03-21 Thread Aldo Brucale
Thank you, I've added -Dorg.jenkinsci.plugins.gitclient.Git.useCLI=true for 
all the slaves end now everything works fine. Is the issue with the git 
Client Plugin already on the bugtracker?

On Thursday, 21 March 2013 16:06:50 UTC+1, Peter Miklosko wrote:
>
> Not issue of Git Plugin but git Client Plugin. This been upgraded to 1.0.4 
> and is messing up as I discovered few days ago http://goo.gl/QKP0H
>
> Peter
>
> On 21 March 2013 14:54, Aldo Brucale >wrote:
>
>> Hi,
>>
>> I'm running Jenkins LTS (1.480.3) and after upgrading the plugins today 
>> Jenkins has stopped downloading the changes from my git server. It seems 
>> that jenkins is not accepting the self-signed certificate from the server 
>> any more. 
>> Any ideas on how to resolve this? I've tried to downgrade the plugin back 
>> to version 1.2.0 but nothing has changed. Maybe some dependency has been 
>> updated and downgrading the plugin is not sufficient to revert to the 
>> previous situation?
>>
>> Thank you in advance,
>> Aldo
>>
>> here is the stacktrace:
>>
>> Building remotely on Montavista in workspace 
>> /mnt/montavista/hudson/workspace/Megapixel_04.07.00
>> Checkout:Megapixel_04.07.00 / 
>> /mnt/montavista/hudson/workspace/Megapixel_04.07.00 - 
>> hudson.remoting.Channel@61df092e:Montavista
>> Using strategy: Default
>> Last Built Revision: Revision bd975b4d348b588ce3862f91dcd37e109193e799 
>> (origin/04.07.00)
>> Cloning the remote Git repository
>> Cloning repository https://git.example.com/megapixel/my_build_tools.git
>> git --version
>> git version 1.7.2.3
>> ERROR: Problem fetching from origin / origin - could be unavailable. 
>> Continuing anyway.
>> hudson.plugins.git.GitException: 
>> org.eclipse.jgit.api.errors.TransportException: 
>> https://git.example.com/megapixel/my_build_tools.git: cannot open 
>> git-upload-pack
>>  at 
>> org.jenkinsci.plugins.gitclient.JGitAPIImpl.fetch(JGitAPIImpl.java:212)
>> at hudson.plugins.git.GitAPI.fetch(GitAPI.java:230)
>>  at hudson.plugins.git.GitSCM$2.invoke(GitSCM.java:1023)
>> at hudson.plugins.git.GitSCM$2.invoke(GitSCM.java:941)
>>  at hudson.FilePath$FileCallableWrapper.call(FilePath.java:2246)
>> at hudson.remoting.UserRequest.perform(UserRequest.java:118)
>>  at hudson.remoting.UserRequest.perform(UserRequest.java:48)
>> at hudson.remoting.Request$2.run(Request.java:326)
>>  at 
>> hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecutorService.java:72)
>> at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
>>  at java.util.concurrent.FutureTask.run(FutureTask.java:138)
>> at 
>> java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
>>  at 
>> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
>> at java.lang.Thread.run(Thread.java:619)
>> Caused by: org.eclipse.jgit.api.errors.TransportException: 
>> https://git.example.com/megapixel/my_build_tools.git: cannot open 
>> git-upload-pack
>>  at org.eclipse.jgit.api.FetchCommand.call(FetchCommand.java:137)
>> at org.jenkinsci.plugins.gitclient.JGitAPIImpl.fetch(JGitAPIImpl.java:208)
>>  ... 13 more
>> Caused by: org.eclipse.jgit.errors.TransportException: 
>> https://git.example.com/megapixel/my_build_tools.git: cannot open 
>> git-upload-pack
>>  at 
>> org.eclipse.jgit.transport.TransportHttp.connect(TransportHttp.java:496)
>> at 
>> org.eclipse.jgit.transport.TransportHttp.openFetch(TransportHttp.java:305)
>>  at 
>> org.eclipse.jgit.transport.FetchProcess.executeImp(FetchProcess.java:136)
>> at org.eclipse.jgit.transport.FetchProcess.execute(FetchProcess.java:122)
>>  at org.eclipse.jgit.transport.Transport.fetch(Transport.java:1104)
>> at org.eclipse.jgit.api.FetchCommand.call(FetchCommand.java:128)
>>  ... 14 more
>> Caused by: javax.net.ssl.SSLHandshakeException: 
>> sun.security.validator.ValidatorException: PKIX path building failed: 
>> sun.security.provider.certpath.SunCertPathBuilderException: unable to find 
>> valid certification path to requested target
>>  at com.sun.net.ssl.internal.ssl.Alerts.getSSLException(Alerts.java:174)
>> at 
>> com.sun.net.ssl.internal.ssl.SSLSocketImpl.fatal(SSLSocketImpl.java:1611)
>>  at com.sun.net.ssl.internal.ssl.Handshaker.fatalSE(Handshaker.java:187)
>> at com.sun.net.ssl.internal.ssl.Handshaker.fatalSE(Handshaker.java:181)
>>  at 
>> com.sun.net.ssl.internal.ssl.ClientHandshaker.serverCertificate(ClientHandshaker.java:1035)
>> at 
>> co

GIT stopped working after upgrading the plugin to version 1.3.0

2013-03-21 Thread Aldo Brucale
Hi,

I'm running Jenkins LTS (1.480.3) and after upgrading the plugins today 
Jenkins has stopped downloading the changes from my git server. It seems 
that jenkins is not accepting the self-signed certificate from the server 
any more. 
Any ideas on how to resolve this? I've tried to downgrade the plugin back 
to version 1.2.0 but nothing has changed. Maybe some dependency has been 
updated and downgrading the plugin is not sufficient to revert to the 
previous situation?

Thank you in advance,
Aldo

here is the stacktrace:

Building remotely on Montavista in workspace 
/mnt/montavista/hudson/workspace/Megapixel_04.07.00
Checkout:Megapixel_04.07.00 / 
/mnt/montavista/hudson/workspace/Megapixel_04.07.00 - 
hudson.remoting.Channel@61df092e:Montavista
Using strategy: Default
Last Built Revision: Revision bd975b4d348b588ce3862f91dcd37e109193e799 
(origin/04.07.00)
Cloning the remote Git repository
Cloning repository https://git.example.com/megapixel/my_build_tools.git
git --version
git version 1.7.2.3
ERROR: Problem fetching from origin / origin - could be unavailable. 
Continuing anyway.
hudson.plugins.git.GitException: 
org.eclipse.jgit.api.errors.TransportException: 
https://git.example.com/megapixel/my_build_tools.git: cannot open 
git-upload-pack
at org.jenkinsci.plugins.gitclient.JGitAPIImpl.fetch(JGitAPIImpl.java:212)
at hudson.plugins.git.GitAPI.fetch(GitAPI.java:230)
at hudson.plugins.git.GitSCM$2.invoke(GitSCM.java:1023)
at hudson.plugins.git.GitSCM$2.invoke(GitSCM.java:941)
at hudson.FilePath$FileCallableWrapper.call(FilePath.java:2246)
at hudson.remoting.UserRequest.perform(UserRequest.java:118)
at hudson.remoting.UserRequest.perform(UserRequest.java:48)
at hudson.remoting.Request$2.run(Request.java:326)
at 
hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecutorService.java:72)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
at java.util.concurrent.FutureTask.run(FutureTask.java:138)
at 
java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
at 
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
at java.lang.Thread.run(Thread.java:619)
Caused by: org.eclipse.jgit.api.errors.TransportException: 
https://git.example.com/megapixel/my_build_tools.git: cannot open 
git-upload-pack
at org.eclipse.jgit.api.FetchCommand.call(FetchCommand.java:137)
at org.jenkinsci.plugins.gitclient.JGitAPIImpl.fetch(JGitAPIImpl.java:208)
... 13 more
Caused by: org.eclipse.jgit.errors.TransportException: 
https://git.example.com/megapixel/my_build_tools.git: cannot open 
git-upload-pack
at org.eclipse.jgit.transport.TransportHttp.connect(TransportHttp.java:496)
at 
org.eclipse.jgit.transport.TransportHttp.openFetch(TransportHttp.java:305)
at org.eclipse.jgit.transport.FetchProcess.executeImp(FetchProcess.java:136)
at org.eclipse.jgit.transport.FetchProcess.execute(FetchProcess.java:122)
at org.eclipse.jgit.transport.Transport.fetch(Transport.java:1104)
at org.eclipse.jgit.api.FetchCommand.call(FetchCommand.java:128)
... 14 more
Caused by: javax.net.ssl.SSLHandshakeException: 
sun.security.validator.ValidatorException: PKIX path building failed: 
sun.security.provider.certpath.SunCertPathBuilderException: unable to find 
valid certification path to requested target
at com.sun.net.ssl.internal.ssl.Alerts.getSSLException(Alerts.java:174)
at com.sun.net.ssl.internal.ssl.SSLSocketImpl.fatal(SSLSocketImpl.java:1611)
at com.sun.net.ssl.internal.ssl.Handshaker.fatalSE(Handshaker.java:187)
at com.sun.net.ssl.internal.ssl.Handshaker.fatalSE(Handshaker.java:181)
at 
com.sun.net.ssl.internal.ssl.ClientHandshaker.serverCertificate(ClientHandshaker.java:1035)
at 
com.sun.net.ssl.internal.ssl.ClientHandshaker.processMessage(ClientHandshaker.java:124)
at com.sun.net.ssl.internal.ssl.Handshaker.processLoop(Handshaker.java:516)
at 
com.sun.net.ssl.internal.ssl.Handshaker.process_record(Handshaker.java:454)
at 
com.sun.net.ssl.internal.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:884)
at 
com.sun.net.ssl.internal.ssl.SSLSocketImpl.performInitialHandshake(SSLSocketImpl.java:1112)
at 
com.sun.net.ssl.internal.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1139)
at 
com.sun.net.ssl.internal.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1123)
at sun.net.www.protocol.https.HttpsClient.afterConnect(HttpsClient.java:418)
at 
sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect(AbstractDelegateHttpsURLConnection.java:166)
at 
sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1026)
at java.net.HttpURLConnection.getResponseCode(HttpURLConnection.java:373)
at 
sun.net.www.protocol.https.HttpsURLConnectionImpl.getResponseCode(HttpsURLConnectionImpl.java:318)
at org.eclipse.jgit.util.HttpSupport.response(HttpSupport.java:167)
at org.eclipse.jgit.transport.TransportHttp.connect(TransportHttp.java:459)
... 19 more
Caused by: sun.security.validator.ValidatorException: PKIX path building 
failed: sun.