-
Bug
-
Resolution: Cannot Reproduce
-
Minor
-
None
-
Jenkins 2.214
Warnings-NG 7.3
Java 1.8.0_222
We are using Warnings-NG to collect warnings for cppcheck, clang and msbuild.
Sometimes there are new warnings reported for a build, but when trying to check them using the warnings detail view, the warnings are simply not loading.
This has occured with both MacOS and Windows and Firefox, Chrome or Safari.
However it did not occur at the same time, so we encountered situations where the warnings would not load using Safari on MacOS but did load with Firefox on Windows.
Sometimes a restart of jenkins helped, sometimes it didn't. In general the problem just dissapeared after some while, it happens very unregularly.
I read that this warnings-details view is loaded using ajax, so i checked the browser developer console for messages, but i could not find anything that seemed to be related to the problem.
Are there some other ways of identifying or debugging the problem when it occurs? If so, i am happy to collect more information on the problem!
- is duplicated by
-
JENKINS-64208 Uncaught Syntax Error in data-tables-api loadTableData
-
- Resolved
-
So i further investigated this issue and tracked down the failing request.
When i am looking at the issues of a particular build (so e.g. the msbuild warnings), there is a table with DOM-id "issues".
The page then makes a request to
<jenkins-url>/$stapler/bound/<random-string>/getTableModel.
It seems like while this works most of the time, sometimes the request runs into a timeout and the connection is ended with a 500 internal server error.
I've seen in the github codebase that the there is a corresponding method in the IssuesDetail.java class, however i do not understand the code enough to point to any place the error could lay.
I attached a small log captured via firefox of an instance where the issues were not loading. Looking at the network timing it seems like the connection just ran into a timeout.