Hello,

our Jenkins "all of a sudden" takes nearly 3 minutes to start. (Ok, I 
guess, some of you are now laughing)

I never stopped the time exactely in the past, but it had been 
significantly less. (I would guess something like 1 minute)

Looking at the log, I see:

2021-01-21 17:13:18.985+0000 [id=193] SEVERE 
hudson.slaves.CommandLauncher#launch: Unable to launch the agent for ...

java.io.EOFException: unexpected stream termination

at hudson.remoting.ChannelBuilder.negotiate(ChannelBuilder.java:415)

...

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

*2021-01-21 17:13:20*.907+0000 [id=113] INFO 
c.s.h.p.g.t.GerritProjectListUpdater#tryLoadProjectList: *Not connected to 
Gerrit, waiting for 16 second(s)*
2021-01-21 17:13:20.908+0000 [id=114] INFO 
c.s.h.p.g.t.GerritProjectListUpdater#tryLoadProjectList: Not connected to 
GerritQA, waiting for 16 second(s)
2021-01-21 17:13:36.910+0000 [id=113] INFO 
c.s.h.p.g.t.GerritProjectListUpdater#tryLoadProjectList: Not connected to 
Gerrit, waiting for 32 second(s)
2021-01-21 17:13:36.911+0000 [id=114] INFO 
c.s.h.p.g.t.GerritProjectListUpdater#tryLoadProjectList: Not connected to 
GerritQA, waiting for 32 second(s)
2021-01-21 17:13:44.321+0000 [id=89] WARNING 
j.a.s.AdvancedQueueSorterQueueListener#onEnterBuildable: onEnterBuilding() 
called without prior call to onEnterWaiting() for '....'
2021-01-21 17:14:08.914+0000 [id=113] INFO 
c.s.h.p.g.t.GerritProjectListUpdater#tryLoadProjectList: Not connected to 
Gerrit, waiting for 64 second(s)

2021-01-21 17:14:08.915+0000 [id=114] INFO 
c.s.h.p.g.t.GerritProjectListUpdater#tryLoadProjectList: Not connected to 
GerritQA, waiting for 64 second(s)

2021-01-21 17:15:12.923+0000 [id=113] INFO 
c.s.h.p.g.t.GerritProjectListUpdater#tryLoadProjectList: Not connected to 
Gerrit, waiting for 64 second(s)

*2021-01-21 17:15:12*.924+0000 [id=114] INFO 
c.s.h.p.g.t.GerritProjectListUpdater#tryLoadProjectList: Not connected to 
GerritQA, waiting for 64 second(s)

2021-01-21 17:15:47.420+0000 [id=89] WARNING 
j.a.s.AdvancedQueueSorterQueueListener#onEnterBuildable: onEnterBuilding() 
called without prior call to onEnterWaiting() for '...'

So it seems, it needs two minutes (out of three !) to connect to Gerrit.
(Which would explain the difference I see)
I didn't see Gerrit problems in operation.

How can I get more details to debug the reason ?
Any ideas to improve this ?
Regards

Martin

-- 
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/1353c656-e142-4da7-8c7a-82cfe6a11128n%40googlegroups.com.

Reply via email to