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

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

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

mj1414...@gmail.com
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 [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/1353c656-e142-4da7-8c7a-82cfe6a11128n%40googlegroups.com.
Reply | Threaded
Open this post in threaded view
|

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

mj1414...@gmail.com
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 ?
[hidden email] schrieb am Freitag, 22. Januar 2021 um 14:14:31 UTC+1:
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 [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/c1c7da50-0474-4e3d-a63b-f6b9c8298c16n%40googlegroups.com.