Quantcast

[JIRA] (JENKINS-14570) Warnings plugin tries to load wrong compiler-warnings.xml file

classic Classic list List threaded Threaded
6 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

[JIRA] (JENKINS-14570) Warnings plugin tries to load wrong compiler-warnings.xml file

JIRA noreply@jenkins-ci.org
Issue Type: Bug Bug
Assignee: Ulli Hafner
Attachments: Dashboard.png, hudson.plugins.warnings.WarningsPublisher.xml, ScreenshotC++.png
Components: warnings
Created: 25/Jul/12 3:26 PM
Description:

The plugin stopped loading source codes properly. I see the files in the builds/<date-time>/workspace-files folder, but some of them 0 bytes long. But the interesting thing is, that an exception is raised whenever i try to click on any warning in the list, saying for example:

WARNING: Failed to load D:\Jenkins\jobs\<myjobname>\builds\2012-07-24_02-49-57\compiler-7-warnings.xml
java.io.FileNotFoundException: D:\Jenkins\jobs\<myjobname>\builds\2012-07-24_02-49-57\compiler-7-warnings.xml (The system cannot find the file specified)

Of course there is no "compiler-7-warnings.xml" file in that folder only "compiler-warnings.xml", "compiler-1-warnings.xml" and "compiler-2-warnings.xml". And this happens for every builds in jobs in my system since one or two weeks. Before today (before I updated to 4.13) at least the listing of the warnings worked, I could see how many warnings the plugin found, and i could switched between folders, files, detailed, etc. Only the source display was broken. From today the build page and the dashboard applet displays the number of warnings, but when I clicked on the link, the list of warnings is empty (attached screenshot)

There is another bug, I don't know whether they are related:

I sarted with one customized C++ parser, I did not like the default MSBuild parser, i wanted to exclude the link warnings, etc, and the plugin listed the warnings just fine. Then I added two more custom parsers, one for C# and another one for DoxyGen (please see the attached WarningsPublisher.xml file) and things started to be strange...

On the build report pages it shows that there are zero warnings for C# and Doxygen, though i can see in the log, that there are. The configuration of the parsers with the regular expression should be ok, at least according to the the test on the configuration page. Then if you see Dashoboard.png, the first job of C# and Doxgen table has the same number of warnings that the fist one of C++ table has, and if you click on the numbers of any table, you always find yourself in the C++ warnings page.

Also it is strange that there are always as many fixed warnings as new ones. And the Compiler warnings trend graph shows only the number of this one job instead of a real total.

Project: Jenkins
Priority: Major Major
Reporter: Viktor Bekesi
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

[JIRA] (JENKINS-14570) Warnings plugin tries to load wrong compiler-warnings.xml file

JIRA noreply@jenkins-ci.org
torbent commented on Bug JENKINS-14570

That's a lot like JENKINS-14773 ...

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

[JIRA] (JENKINS-14570) Warnings plugin tries to load wrong compiler-warnings.xml file

JIRA noreply@jenkins-ci.org
In reply to this post by JIRA noreply@jenkins-ci.org

Some days (weeks) later it seems that the bigest part of the problems sorted out. The compiler-<X>-warnings.xml files misuse could have been because I renamed the custom parsers earlier, but since I switched to the stock MSBuild and Doxygen parsers provided by the plugin, this seems to be OK now, the source file lister works again.

So the only problem remains, that the Summary tables in the dashboard view lists and links the wrong parser. Like most of the numbers in the Doxygen table are similar to the ones in MSBuild table, and also when I click on them (in the Doxygen table) a get to the MSBuild warnings page.

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

[JIRA] (JENKINS-14570) Warnings plugin tries to load wrong compiler-warnings.xml file

JIRA noreply@jenkins-ci.org
In reply to this post by JIRA noreply@jenkins-ci.org
 
Viktor Bekesi edited a comment on Bug JENKINS-14570

Some days (weeks) later it seems that the biggest part of the problems sorted out. The compiler-<X>-warnings.xml files misuse could have been because I renamed the custom parsers earlier, but since I switched to the stock MSBuild and Doxygen parsers provided by the plugin, this seems to be OK now, the source file lister works again.

So the only problem remains, that the Summary tables in the dashboard view lists and links the wrong parser. Like most of the numbers in the Doxygen table are similar to the ones in MSBuild table, and also when I click on them (in the Doxygen table) a get to the MSBuild warnings page.

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

[JIRA] (JENKINS-14570) Warnings plugin tries to load wrong compiler-warnings.xml file

JIRA noreply@jenkins-ci.org
In reply to this post by JIRA noreply@jenkins-ci.org
 
Viktor Bekesi edited a comment on Bug JENKINS-14570

Some days (weeks) later it seems that the biggest part of the problems sorted out. The compiler-<X>-warnings.xml files misuse could have been because I renamed the custom parsers earlier, but since I switched to the stock MSBuild and Doxygen parsers provided by the plugin, this seems to be OK now, the source file lister works again, FileNotFoundExceptions are disappeared also from the log.

So the only problem remains, that the Summary tables in the dashboard view lists and links the wrong parser. Like most of the numbers in the Doxygen table are similar to the ones in MSBuild table, and also when I click on them (in the Doxygen table) a get to the MSBuild warnings page.

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

[JIRA] (JENKINS-14570) Warnings plugin tries to load wrong compiler-warnings.xml file

JIRA noreply@jenkins-ci.org
In reply to this post by JIRA noreply@jenkins-ci.org
 
Viktor Bekesi edited a comment on Bug JENKINS-14570

Some days (weeks) later it seems that the biggest part of the problems sorted out. The compiler-<X>-warnings.xml files misuse could have been because I renamed the custom parsers earlier, but since I switched to the stock MSBuild and Doxygen parsers provided by the plugin, this seems to be OK now, the source file lister works again, also FileNotFoundExceptions disappeared from the log.

So the only problem remains, that the Summary tables in the dashboard view lists and links the wrong parser. Like most of the numbers in the Doxygen table are similar to the ones in MSBuild table, and also when I click on them (in the Doxygen table) a get to the MSBuild warnings page.

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira
Loading...