[JIRA] [warnings-plugin] (JENKINS-28416) TI Parser does not match multiline Warnings

1 view
Skip to first unread message

florian.reinhard@googlemail.com (JIRA)

unread,
May 15, 2015, 3:40:01 AM5/15/15
to jenkinsc...@googlegroups.com
Florian Reinhard created an issue
 
Jenkins / Bug JENKINS-28416
TI Parser does not match multiline Warnings
Issue Type: Bug Bug
Assignee: Ulli Hafner
Attachments: TI_parser_multiline_warning.txt
Components: warnings-plugin
Created: 15/May/15 7:39 AM
Priority: Major Major
Reporter: Florian Reinhard

Consider this compiler output

"D:\jenkins\workspace\path\To\some\SourdceFile.cpp", line 163: warning #548-D: transfer of control bypasses initialization of:
variable "someVariableName" (declared at line 191)

The resulting warning in jenkins will be "transfer of control bypasses initialization of:" but it should be "transfer of control bypasses initialization of: variable "someVariableName" (declared at line 191)"

Since i didn't get the issue tracker to display the text unformatted, i attached the raw compiler output as text file.

Add Comment Add Comment
 
This message was sent by Atlassian JIRA (v6.4.2#64017-sha1:e244265)
Atlassian logo

ullrich.hafner@gmail.com (JIRA)

unread,
May 15, 2015, 9:03:01 AM5/15/15
to jenkinsc...@googlegroups.com
Ulli Hafner commented on Bug JENKINS-28416
 
Re: TI Parser does not match multiline Warnings

Yes, this parser uses the LineParser as base class (see TiCcsParser.java). So it is not possible to look into multiple lines.

ullrich.hafner@gmail.com (JIRA)

unread,
May 15, 2015, 2:29:01 PM5/15/15
to jenkinsc...@googlegroups.com
Ulli Hafner updated an issue
 
Change By: Ulli Hafner
Priority: Major Minor

florian.reinhard@googlemail.com (JIRA)

unread,
May 19, 2015, 4:38:01 AM5/19/15
to jenkinsc...@googlegroups.com
Florian Reinhard commented on Bug JENKINS-28416
 
Re: TI Parser does not match multiline Warnings

I just had a look at the Doxygen Parser which does parsing of multiline messages. Is there a reason why the RegexpDocumentParser cannot be used for the TiCcsParser?

ullrich.hafner@gmail.com (JIRA)

unread,
May 19, 2015, 5:44:03 AM5/19/15
to jenkinsc...@googlegroups.com

The RegexpDocumentParser is discouraged since the performance is horrible. However, it is possible to use it in your use case, it just might be slow for large documents.

ullrich.hafner@gmail.com (JIRA)

unread,
Jun 1, 2016, 5:38:02 PM6/1/16
to jenkinsc...@googlegroups.com
Ulli Hafner updated an issue
Change By: Ulli Hafner
Labels: PR-is-appreciated.

ullrich.hafner@gmail.com (JIRA)

unread,
Jun 1, 2016, 5:39:01 PM6/1/16
to jenkinsc...@googlegroups.com

ullrich.hafner@gmail.com (JIRA)

unread,
Jun 1, 2016, 6:10:05 PM6/1/16
to jenkinsc...@googlegroups.com
Ulli Hafner assigned an issue to Unassigned
Change By: Ulli Hafner
Assignee: Ulli Hafner

ullrich.hafner@gmail.com (JIRA)

unread,
Nov 7, 2018, 8:57:05 AM11/7/18
to jenkinsc...@googlegroups.com
Ulli Hafner updated an issue
Change By: Ulli Hafner
Component/s: analysis-model
Component/s: warnings-plugin
Labels: PR help - appreciated wanted newbie-friendly
This message was sent by Atlassian Jira (v7.11.2#711002-sha1:fdc329d)

ullrich.hafner@gmail.com (JIRA)

unread,
Mar 18, 2019, 8:16:02 AM3/18/19
to jenkinsc...@googlegroups.com
 
Re: TI Parser does not match multiline Warnings

I added a new base class for all parsers that provides support for looking at the following lines. Do you have a larger log that contains some more examples? I.e. consists every warning of two lines? Or more lines? How do we detect this situation?

ullrich.hafner@gmail.com (JIRA)

unread,
Mar 28, 2019, 5:23:02 AM3/28/19
to jenkinsc...@googlegroups.com
Ulli Hafner updated an issue
Change By: Ulli Hafner
Consider this compiler output
{
quote noformat }
"D:\jenkins\workspace\path\To\some\SourdceFile.cpp", line 163: warning #548-D: transfer of control bypasses initialization of:
            variable "someVariableName" (declared at line 191)

{ quote noformat }


The resulting warning in jenkins will be "transfer of control bypasses initialization of:" but it should be "transfer of control bypasses initialization of: variable "someVariableName" (declared at line 191)"

Since i didn't get the issue tracker to display the text unformatted, i attached the raw compiler output as text file.

ullrich.hafner@gmail.com (JIRA)

unread,
Sep 20, 2019, 5:03:02 PM9/20/19
to jenkinsc...@googlegroups.com
Ulli Hafner resolved as Incomplete
 

Without a log file I can't help here.

Change By: Ulli Hafner
Status: Open Resolved
Resolution: Incomplete
This message was sent by Atlassian Jira (v7.13.6#713006-sha1:cc4451f)
Atlassian logo
Reply all
Reply to author
Forward
0 new messages