Re: Memory issues with Jenkins

2019-08-05 Thread Sverre Moe
Have not yet resolved the issue. Not found a solution, nor what the cause actually is. lørdag 3. august 2019 13.04.10 UTC+2 skrev guerkan demirci følgende: > > Hi Sverre Moe, > > could you resolve the issue? > I have the same problem with Jenkins. > > Best > > > Am Montag, 29. Juli 2019 11:30:58

Azure windows slave keeps disconnecting

2019-08-05 Thread Shubham Bansal
I have a Linux Azure machine as master and it connects to the windows slave machine using the option "Launch Agent by connecting it to master" This connects the agent fine but gets disconnected after some time (around 20-30 minutes). I tried running the agent as windows service but the service

Windows slaves continually losing connection

2019-08-05 Thread Daniel Becroft
Hi, Jenkins 2.179 Windows Server 2008 R2 controller, Windows 2016 agent I think I've raised this issue before, but I don't believe I got it resolved (and I can't locate the original post). We've got a long running job (approx 18hours), and every second day, almost without fail, the jeniins ag

CICD for IOS build

2019-08-05 Thread DE
Hi Experts, I am new to IOS build , and could you please help me with your suggestions here We are planning to implement a CICD for IOS build, which is doing by TFS now. Our plan is to use Jenkins as CI tool and would need more information from you how we can procced with jenkins. 1) What wil

Jenkins agent keeps disconnecting on windows slave

2019-08-05 Thread Shubham Bansal
I have a Jenkins master on Azure linux machine and have an Azure Windows VM as a slave. The slave connects using the option ""Launch agent by connecting it to the master". When the launch command is run on the Windows machine, the agent does connect but it disconnects after some time (around 20

Re: Windows 7 Agents (slaves) via SSH

2019-08-05 Thread Shubham Bansal
I launch my Windows agent on Azure using install agent as windows service and running that. But the service keeps restarting very frequently causing the build to break when it is triggered at this time. Can you help me? On Wednesday, 31 July 2019 04:07:11 UTC+5:30, Mark Waite wrote: > > > > On T

Re: Azure windows slave keeps disconnecting

2019-08-05 Thread Mark Waite
Connecting the agent to the master *is* a robust way to connect. Many users around the world use that method to connect agents to masters, including Windows masters, Linux masters, and other platforms. If the agent is being disconnected after some time, there may be something on the agent compute

Re: Azure windows slave keeps disconnecting

2019-08-05 Thread Shubham Bansal
https://pastebin.com/ib0PK5af Can you tell me more from these logs of the slave windows machine? On Monday, 5 August 2019 17:42:23 UTC+5:30, Mark Waite wrote: > > Connecting the agent to the master *is* a robust way to connect. Many > users around the world use that method to connect agents to

Re: Azure windows slave keeps disconnecting

2019-08-05 Thread Mark Waite
When the master log says: 1. Aug 05, 2019 8:54:51 AM hudson.remoting.jnlp.Main$CuiListener error 2. SEVERE: The server rejected the connection: None of the protocols were accepted 3. java.lang.Exception: The server rejected the connection: None of the protocols were accepted 4.

Re: Azure windows slave keeps disconnecting

2019-08-05 Thread Shubham Bansal
The protocol is chosen as "Inbound TCP Agent Protocol/4 (TLS encryption)" with fixed port "5378". What can possibly be an issue here? And you have mentioned that something is changing the configuration, is there a way to figure that out what is the cause? On Monday, 5 August 2019 18:17:05 UTC+5

Re: Windows 7 Agents (slaves) via SSH

2019-08-05 Thread Steve K
I suggest that you start a new thread. The issue you are facing is different than the topic of this thread. Thanks. On Monday, August 5, 2019 at 7:46:22 AM UTC-4, Shubham Bansal wrote: > > I launch my Windows agent on Azure using install agent as windows service > and running that. But the serv

Re: Azure windows slave keeps disconnecting

2019-08-05 Thread Shubham Bansal
https://pastebin.com/yzL2vE9g On Monday, 5 August 2019 18:17:05 UTC+5:30, Mark Waite wrote: > > When the master log says: > > >1. Aug 05, 2019 8:54:51 AM hudson.remoting.jnlp.Main$CuiListener error >2. SEVERE: The server rejected the connection: None of the protocols >were accepted >

Re: Azure windows slave keeps disconnecting

2019-08-05 Thread Mark Waite
On Mon, Aug 5, 2019 at 6:54 AM Shubham Bansal wrote: > The protocol is chosen as "Inbound TCP Agent Protocol/4 (TLS encryption)" > with fixed port "5378". > That's a reasonable configuration. That is listed as an unassigned port in at least one of the ports databases

Re: Azure windows slave keeps disconnecting

2019-08-05 Thread Shubham Bansal
https://pastebin.com/yzL2vE9g Did you see these logs? On Monday, 5 August 2019 21:01:46 UTC+5:30, Mark Waite wrote: > > > > On Mon, Aug 5, 2019 at 6:54 AM Shubham Bansal > wrote: > >> The protocol is chosen as "Inbound TCP Agent Protocol/4 (TLS >> encryption)" with fixed port "5378". >> > > T

Re: Azure windows slave keeps disconnecting

2019-08-05 Thread Mark Waite
On Mon, Aug 5, 2019 at 9:33 AM Shubham Bansal wrote: > > https://pastebin.com/yzL2vE9g > Did you see these logs? > > Yes. Did you see my quote from those logs in my reply 5 August 2019 18:17:05 UTC+5:30? I don't have anything else to offer. There are thousands of installations successfully runn

Re: Jenkins Pipeline Maven Plugin - Always skipping downstream job

2019-08-05 Thread Cyrille Le Clerc
You're welcome -- 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://g

Re: Windows slaves continually losing connection

2019-08-05 Thread Ivan Fernandez Calvo
Hi, You updated to the latest weekly Jenkins version, Did you updated the jar agent too? if you installed the agent service on your agents a long time ago probably it does not update the jar file on the agent so you are running an old version of the remoting jar file, this file changed with ev

Re: Memory issues with Jenkins

2019-08-05 Thread Ivan Fernandez Calvo
if it is the same instance with the agent disconnection errors, your problem is the NFS performance, it blocks tons of threads in IO operations that make agents cannot disconnect or connects blocking thousands of threads, the Jenkins instance works until is collapsed by the number of threads bl

Can I update GIT_PREVIOUS_SUCCESSFUL_COMMIT/GIT_SUCCESSFUL_COMMIT?

2019-08-05 Thread Pitargue, Marciano
I have an Jenkins project implementation where I have a git repo which holds the Jenkinsfile that I want to run for my scripted pipeline job which checks out another git repo to build. This build repo is not mentioned on the Jenkins job page. All is well, except in the repo where I build, I bu

Jenkins Update Problems

2019-08-05 Thread Terry Shields
Our Jenkins server uses Active Directory for login management and the Security Realm in Jenkins is set to: Unix user/group database. We are currently running release 2.138.4 in Jenkins and everything works great. If I update to any release above 2.138.4 all logins to Jenkins using a user in AD

Gerrit review and gerrit webhooks

2019-08-05 Thread amit r
Hi All, i'm not sure who to send this so trying here to get some answer for my use case.. i'm trying to use the plugin gerrit-code-review-plugin in my project using multi branch pipeline. installed all the pre plugins in order to use it but as mentioned in the wiki page: https://wiki.jenk

Re: Memory issues with Jenkins

2019-08-05 Thread 'guerkan demirci' via Jenkins Users
We don't have NFS for JENKINS_HOME. Master and all clients are using local file system. Anyway, I can see the stack count going extremely high before going into OutOfMemory and then disconnecting all agents. But we do have a network cifs folder where all agents are reading and writing to lot's

Re: Memory issues with Jenkins

2019-08-05 Thread Ivan Fernandez Calvo
Hi, Severe has another email thread open, I think it is the same Jenkins instance https://groups.google.com/d/msgid/jenkinsci-users/cc2d0bdb-b15f-4bec-a0a3-0562ea8c7df7%40googlegroups.com?utm_medium=email&utm_source=footer. I dunno what happens on your instance but probably it isn’t better that

Re: Windows slaves continually losing connection

2019-08-05 Thread Daniel Becroft
Thanks Ivan. I checked the .exe version, and it was already the latest. The slave.jar wasn't being updated though, so I've enabled automatic updates on that, and upgraded everything to the latest weekly (2.187). I'll keep an eye on it, and hopefully that's solved the problem. --- Daniel Becroft