-
Bug
-
Resolution: Unresolved
-
Critical
-
Operating System :
LSB Version: :base-4.0-amd64:base-4.0-noarch:core-4.0-amd64:core-4.0-noarch:graphics-4.0-amd64:graphics-4.0-noarch:printing-4.0-amd64:printing-4.0-noarch
Distributor ID: RedHatEnterpriseServer
Description: Red Hat Enterprise Linux Server release 6.8 (Santiago)
Release: 6.8
Codename: Santiago
JRE/JDK vendors and versions : 1.8.0_45
Jenkins versions : 2.46.2
Gerrit grigger plugin versions : 2.27.5
pipeline plugin version : 2.5
script-security plugin version : 1.44
running Jenkins directly or in a container : Jenkins is running on a Virtual machine on tomcat.
How you installed Jenkins : jenkins.war file to install Jenkins.
how you're launching any involved slave nodes : yes, we have slaves using ssh.
Your web browser : Crome Version 67.0.3396.99 (Official Build) (64-bit)Operating System : LSB Version: :base-4.0-amd64:base-4.0-noarch:core-4.0-amd64:core-4.0-noarch:graphics-4.0-amd64:graphics-4.0-noarch:printing-4.0-amd64:printing-4.0-noarch Distributor ID: RedHatEnterpriseServer Description: Red Hat Enterprise Linux Server release 6.8 (Santiago) Release: 6.8 Codename: Santiago JRE/JDK vendors and versions : 1.8.0_45 Jenkins versions : 2.46.2 Gerrit grigger plugin versions : 2.27.5 pipeline plugin version : 2.5 script-security plugin version : 1.44 running Jenkins directly or in a container : Jenkins is running on a Virtual machine on tomcat. How you installed Jenkins : jenkins.war file to install Jenkins. how you're launching any involved slave nodes : yes, we have slaves using ssh. Your web browser : Crome Version 67.0.3396.99 (Official Build) (64-bit)
We are experiencing a delay in Gerrit triggered Jobs in our Jenkins Jobs.
attached is the stack trace of the blocking threads.
Jul 18, 2018 5:07:57 PM com.sonymobile.tools.gerrit.gerritevents.GerritHandler checkQueueSize
WARNING: The Gerrit incoming events queue contains 28095 items! Something might be stuck, or your system can't process the commands fast enough. Try to increase the number of receiving worker threads. Current thread-pool size: 30
Jul 18, 2018 6:54:37 PM com.sonymobile.tools.gerrit.gerritevents.GerritJsonEventFactory getEvent
FINE: Constructor with JSONObject as parameter missing, trying default constructor.
java.lang.NoSuchMethodException: com.sonymobile.tools.gerrit.gerritevents.dto.events.RefUpdated.<init>(net.sf.json.JSONObject)
at java.lang.Class.getConstructor0(Class.java:3082)
at java.lang.Class.getConstructor(Class.java:1825)
at com.sonymobile.tools.gerrit.gerritevents.GerritJsonEventFactory.getEvent(GerritJsonEventFactory.java:69)
at com.sonymobile.tools.gerrit.gerritevents.workers.AbstractJsonObjectWork.perform(AbstractJsonObjectWork.java:69)
at com.sonymobile.tools.gerrit.gerritevents.workers.StreamEventsStringWork.perform(StreamEventsStringWork.java:67)
at com.sonymobile.tools.gerrit.gerritevents.workers.EventThread.run(EventThread.java:66)
at com.sonyericsson.hudson.plugins.gerrit.trigger.SystemEventThread.run(SystemEventThread.java:66)
We're having the same issue. Running on a machine with 32 cores we have a ton of events queued up and the trigger is barely able to keep up with them. Sometimes Jenkins appears to be dropping builds because of this and some of the requests are not honored.
Our updated thread pool size doesn't appear to be taking effect (although that should be put in a different issues).