Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 474400 - [server] Incidents seem to be "collapsed" to wrong problems
Summary: [server] Incidents seem to be "collapsed" to wrong problems
Status: CLOSED FIXED
Alias: None
Product: EPP
Classification: Technology
Component: Automated Error Reporting Client (AERI) (show other bugs)
Version: unspecified   Edit
Hardware: All All
: P3 normal (vote)
Target Milestone: 4.5.1RC1   Edit
Assignee: EPP Error Reports CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 474514
  Show dependency tree
 
Reported: 2015-08-06 07:15 EDT by Szymon Ptaszkiewicz CLA
Modified: 2015-08-10 05:40 EDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Szymon Ptaszkiewicz CLA 2015-08-06 07:15:46 EDT
I'm not sure if my understanding of incidents and problems is correct but I observed something strange worth reporting to get clarification if that's expected. While reviewing Platform problems it turned out that some incidents seem to be "collapsed" to wrong problems. Example:

The following problem [1] contains a comment from this incident [2] which would mean to me as another incident of the problem tracked in [1]. This would mean that both [1] and [2] contain the same stack trace. But when looking at the stack trace of [2] it looks different than the stack trace in [1] and also the exception thrown is different. Is this expected? What is the meaning of "incident" and "problem" if incident of a problem may have different stack trace than the problem? Thanks a lot for clarification!

[1] https://dev.eclipse.org/recommenders/committers/confess/#/problems/54c4eeb3bee810030da05f1e/details
[2] https://dev.eclipse.org/recommenders/committers/confess/#/incidents/55a014dfe4b0cf2e4bf590de
Comment 1 Marcel Bruch CLA 2015-08-06 07:37:14 EDT
This particular case is a bug. It seems that under some conditions the "is the same exception" check is not executed. Will investigate.
Comment 2 Szymon Ptaszkiewicz CLA 2015-08-06 08:18:44 EDT
(In reply to Marcel Bruch from comment #1)
> This particular case is a bug. It seems that under some conditions the "is
> the same exception" check is not executed. Will investigate.

Thanks! Will it be possible to re-run grouping incidents into correct problems when the bug is fixed? The incident mentioned in comment 0 is bug 427421 which we were never able to reproduce so it would be good to have the right group of users able to reproduce it. I would have never found it if the message from reporter did not appear on the problem page despite the fact it is not the right problem.
Comment 3 Marcel Bruch CLA 2015-08-07 06:47:33 EDT
FYI:

I see why this happens. There are different duplication detection rules that apply: Some say 'no duplicate', and one says 'yes it's a duplicate'. While obviously wrong in this case, the same rule is required for other incidents.

I need to provide some additional logic, which rule can be applied when. This is unfortunately not a trivial fix and needs to be validated against all existing mappings . Please don't expect a fast fix.
Comment 4 Szymon Ptaszkiewicz CLA 2015-08-07 06:55:53 EDT
(In reply to Marcel Bruch from comment #3)
> I need to provide some additional logic, which rule can be applied when.
> This is unfortunately not a trivial fix and needs to be validated against
> all existing mappings . Please don't expect a fast fix.

OK, thanks!
Comment 5 Marcel Bruch CLA 2015-08-09 14:13:26 EDT
I run the duplicate detection on the whole database this weekend. The problem referenced above looks okay now. I'm closing this bug.

In case you experience another other strange grouping, please create a new bug report with the problem and incident URL as you did here. This helps me a lot to create new test cases for yet unexpected data formats.

Tiny fun fact: We got 400K error reports but 220K different stack traces (incl. line numbers). O_o #FunWithDuplicateDetection