[JIRA] (JENKINS-60708) Only one cause is shown in list view

11 views
Skip to first unread message

florian.butter@gmail.com (JIRA)

unread,
Jan 9, 2020, 3:46:03 AM1/9/20
to jenkinsc...@googlegroups.com
Florian Butter created an issue
 
Jenkins / Bug JENKINS-60708
Only one cause is shown in list view
Issue Type: Bug Bug
Assignee: Tomas Westling
Components: build-failure-analyzer-plugin
Created: 2020-01-09 08:45
Priority: Minor Minor
Reporter: Florian Butter

Expected behavior:

the plugin detects two failure causes. Both failure causes are displayed in the list view.

Actual behavior:

the plugin detects two failure causes. Only the first failure cause is displayed in the list view.

Add Comment Add Comment
 
This message was sent by Atlassian Jira (v7.13.6#713006-sha1:cc4451f)
Atlassian logo

ian.williams1@telus.com (JIRA)

unread,
Jan 9, 2020, 4:46:03 AM1/9/20
to jenkinsc...@googlegroups.com
Ian Williams commented on Bug JENKINS-60708
 
Re: Only one cause is shown in list view

Not an expert, just a user of the plugin, but my expectation is once you fail, you fail.; you can't fail again. Most jobs stop/exit upon first failure. Perhaps what you are seeking to do is distinguish between failure that reports a failure (eg: java.io.IOException) and different subsequent causes. In that case, you probably want multiline regex that match the different contexts. That was our scenario. Or just match the specific second failure/cause(s).

florian.butter@gmail.com (JIRA)

unread,
Jan 9, 2020, 5:27:02 AM1/9/20
to jenkinsc...@googlegroups.com

Hi Ian Williams, thank you for your participation.

After a build fails, the plugin uses the configured set of regular expressions to scan the log for failure causes. Multiple causes are possible. All failure causes are detected as expected, but not displayed in the list view. The build monitor, for example, displays two failure causes, the list view just one.

florian.butter@gmail.com (JIRA)

unread,
Jan 9, 2020, 5:31:02 AM1/9/20
to jenkinsc...@googlegroups.com
Florian Butter updated an issue
 
Change By: Florian Butter
Environment: Jenkins 2.204.1, build-failure-analyzer-plugin 1.24.2
h3. Expected behavior:

the plugin detects two failure causes. Both failure causes are displayed in the list view.
h3. Actual behavior:

the plugin detects two failure causes. Only the first failure cause is displayed in the list view.


 

pekka.makiasiala@gmail.com (JIRA)

unread,
Feb 13, 2020, 2:21:02 AM2/13/20
to jenkinsc...@googlegroups.com
Pekka Mäki-Asiala commented on Bug JENKINS-60708
 
Re: Only one cause is shown in list view

In case "someone" is using plugin with jenkins jobs executing automated tests to gather statistics on test failure causes it would be extremely beneficial to be able to list all failure causes (defined in the Failure Cause Management section).

Reply all
Reply to author
Forward
0 new messages