c.s.h.p.g.t.GerritProjectListUpdater#tryLoadProjectList: Not connected to Gerrit, waiting for 64 secon d(s)

18 views
Skip to first unread message

mj1414...@gmail.com

unread,
Jan 22, 2021, 8:14:31 AM1/22/21
to Jenkins Users
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

mj1414...@gmail.com

unread,
Jan 25, 2021, 7:32:48 AM1/25/21
to Jenkins Users
Update:
Two things happened over the weekend:
- Our Gerrit HW got updated
- I just updated the used JDK from  JDK 8 (jdk8u265-b01) to JDK11 (jdk-11.0.9.1+1)

It started up much, much faster. In the logs I (just) found:
"Not connected to Gerrit, waiting for X second(s)", with X=1,2,4

  • Pure luck ?
  • Gerrit update during the weekend helping (a lot) ?
  • JDK update helping ?
Reply all
Reply to author
Forward
0 new messages