-
Bug
-
Resolution: Fixed
-
Major
-
Latest Jenkins, Linux /redacted hostname/ 2.6.18-194.el5 #1 SMP Tue Mar 16 21:52:39 EDT 2010 x86_64 x86_64 x86_64 GNU/Linux, SuSe most probably.
CPPcheck might be taking over 3,823,295ms loading a 500-job project on account of, possibly, one erroneous file. Or something. Long story short, I used the JavaMelody monitoring in Jenkins and saw that cppCheckResult was taking a HELL of a long time with one method call, and other attempts to find other ways to do this or ways around the bug have given, at best, nothing.
Handling GET /job/-------/cppcheckResult/graph : RequestHandlerThread24
/job/-------/cppcheckResult/graph? GET
3 823 295 0 0 com.thoughtworks.xstream.converters.reflection.FieldDictionary.fieldOrNull(FieldDictionary.java:113)
It's a "replicatable" problem on our servers, but since it's internal stuff I can't link you to it.
- is related to
-
JENKINS-19437 Implement load on demand functionality in Cppcheck
-
- Closed
-
-
JENKINS-21921 Lazy loaded report details are never released
-
- Closed
-
-
JENKINS-19437 Implement load on demand functionality in Cppcheck
-
- Closed
-
We experience the same problem; very high loading times.
The last time we worked around the issue by downgrading Jenkins and the CPPCheck plugin.
I updated to Jenkins LTS again, and updated the CPPCheck plugin, and the issue occurs again.
The long loading time occurs when the cppcheckResult/graph is requested as well.
Requesting it directly there is no problem once downloaded; the not modified return HTTP status code works as expected.
Same for the jobs page with the cppcheck result publishing, which contains this image. Once cached when the request does not lead to a retransmission of the image it works fine.
When the image is seemingly generated one CPU core is used for 100 %. Other independant requests seem to be affected as well.
So my guess is that