Bug 144045 - Test Log Viewer: when there's no verdict in the log, overall verdict shouldn't say "inconclusive"
Summary: Test Log Viewer: when there's no verdict in the log, overall verdict shouldn'...
Status: CLOSED FIXED
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: TPTP (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows XP
: P1 critical (vote)
Target Milestone: ---   Edit
Assignee: Bianca Jiang CLA
QA Contact:
URL:
Whiteboard:
Keywords: PII
Depends on:
Blocks: 155093 155107
  Show dependency tree
 
Reported: 2006-05-26 17:16 EDT by Bianca Jiang CLA
Modified: 2016-05-05 10:33 EDT (History)
3 users (show)

See Also:


Attachments
Patch file (2.27 KB, patch)
2006-07-31 13:53 EDT, Bianca Jiang CLA
no flags Details | Diff
BIRT Test Pass report on test log with no verdicts (75.02 KB, image/jpeg)
2006-08-25 10:26 EDT, Joe Toomey CLA
no flags Details
BIRT Tabular report on test log with no verdicts (56.04 KB, image/jpeg)
2006-08-25 10:29 EDT, Joe Toomey CLA
no flags Details
Old Test Pass report on test log with no verdicts (101.00 KB, image/jpeg)
2006-08-25 10:29 EDT, Joe Toomey CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Bianca Jiang CLA 2006-05-26 17:16:47 EDT
When a test log has no verdicts in it, the overall verdict on Overview page shows "inconclusive" which is confusing with the real "inconclusive" verdict. It can say "none" or just no value.

Mark, please assign this one to me.  Thx, -Bianca.
Comment 1 Mark D Dunn CLA 2006-05-26 17:18:11 EDT
Reassign to Bianca.
Comment 2 Bianca Jiang CLA 2006-06-05 18:17:47 EDT
Show "no verdict" on Overview page when no verdict event in log.
Comment 3 Bianca Jiang CLA 2006-06-06 18:18:58 EDT
Rolled back the change to the default verdict in TPFExecutionResultImpl. Making the default value null causes NPE in other places. See bug 145631.

Too late for 4.2, deferring to 4.3 when all references to the default verdict can be updated.
Comment 4 Harm Sluiman CLA 2006-07-17 12:10:42 EDT
This amounts to an addition to the api if the content of the model is changing.

If we are adding a "no verdict" to the model, and change default behaviour, we also need a no verdict event.
Comment 5 Bianca Jiang CLA 2006-07-31 03:59:39 EDT
As discussed on Test Project meeting 07/24/2006, only UI change will be made for this defect. The model change will be tracked under a new enhancement request to be opened.

The PII string for "no verdict" was added in a late 4.2 iteration. Needs to make sure if the PII change was actually included in translation before making this change...
Comment 6 Bianca Jiang CLA 2006-07-31 13:53:45 EDT
Created attachment 47081 [details]
Patch file

The PII change for this was translated and available in TPTP 4.2 NL packs. So OK to deliver the change.

Attaching patch file with the fix.
Comment 7 Bianca Jiang CLA 2006-08-07 10:13:52 EDT
This is causing problems for consuming products in major release depending on 4.2.1, raising to major.
Comment 8 Harm Sluiman CLA 2006-08-08 08:38:27 EDT
(In reply to comment #5)
> As discussed on Test Project meeting 07/24/2006, only UI change will be made
> for this defect. The model change will be tracked under a new enhancement
> request to be opened.
So do I understand then tha tin the 4.2.1 fix the model content will remain exactly as before with no changes to loaders etc., and that the UI will determine that it wants to show no verdict or inconclusive but not refelct that persistantly in the model?

Comment 9 Bianca Jiang CLA 2006-08-08 10:56:05 EDT
(In reply to comment #8)
> (In reply to comment #5)
> > As discussed on Test Project meeting 07/24/2006, only UI change will be made
> > for this defect. The model change will be tracked under a new enhancement
> > request to be opened.
> So do I understand then tha tin the 4.2.1 fix the model content will remain
> exactly as before with no changes to loaders etc., and that the UI will
> determine that it wants to show no verdict or inconclusive but not refelct that
> persistantly in the model?
> 

That is correct.  The fix as in the attached Patch file only contains change in the UI class.
Comment 10 Bianca Jiang CLA 2006-08-09 10:43:55 EDT
Enhancement request 153304 was submitted to track the needed model update.
Comment 11 Bianca Jiang CLA 2006-08-14 14:31:35 EDT
Fix checked in 4.3.
Comment 12 Paul Slauenwhite CLA 2006-08-16 00:12:35 EDT
This defect does not appear to be critical ("Prevents function from being used, no work around" - http://www.eclipse.org/tptp/home/documents/process/development/bugzilla.html).  According to the severity definitions, it should be marked normal.  Please adjust.
Comment 13 Paul Slauenwhite CLA 2006-08-16 11:32:47 EDT
Since the Test Log viewer provides a visual viewer for the test execution model, we should not be interpreting the model data differently.  We need the proposed fix but used an empty string instead of 'No Verdicts' string.  Will this satisfy the requirement of the consuming product?  

Please include one or more test cases (e.g. test execution with no verdicts) for this fix.
Comment 14 Bianca Jiang CLA 2006-08-16 14:11:02 EDT
(In reply to comment #13)
> Since the Test Log viewer provides a visual viewer for the test execution
> model, we should not be interpreting the model data differently.  We need the
> proposed fix but used an empty string instead of 'No Verdicts' string.  Will
> this satisfy the requirement of the consuming product?  
> 
> Please include one or more test cases (e.g. test execution with no verdicts)
> for this fix.
> 

The model data of the test log contains no verdict in this case. *Inconclusive* is one of the valid verdicts thus it is wrong to assign to the result in the first place. Foundamentally the model should be corrected to contain the right value. But before that's corrected by bug 153304, the least can be done is to correct the UI to show the right thing.

This bug is about correct this piece of wrong information rather than a better way interpreting the model.

Comment 15 Bianca Jiang CLA 2006-08-16 14:26:49 EDT
(In reply to comment #12)
> This defect does not appear to be critical ("Prevents function from being used,
> no work around" -
> http://www.eclipse.org/tptp/home/documents/process/development/bugzilla.html). 
> According to the severity definitions, it should be marked normal.  Please
> adjust.
> 

The test log is the only way TPTP uses to record test execution results. It is definitely not part of the functionality to record the wrong result. Also currently there is no way to change or correct the test log after it's generated. User will be stuck with the incorrect test log and lose the basic point of test logging.

This problem started with the creation of the execution data model. It should have been corrected in releases earlier and shouldn't be left the wrong way for any more releases to come.

Without correcting the model, it was agreed in 4.2 that the UI should be corrected at least to lower the risk. The model fix should happen in 4.3 with 153304.

Comment 16 Bianca Jiang CLA 2006-08-16 16:33:44 EDT
It is consistant from multiple consuming products that the incorrect *inconclusive* need to be fixed earlier rather than let it slip for more releases.  

"no verdict" is more informational and accurate than empty string. The risk of correcting this only at the UI level is very low.

Paul, is there any senario that "no verdict" is not appropriate for this case? If you need backup reasoning for this fix to pmc, please let me know.  Thanks.
Comment 17 Joe Toomey CLA 2006-08-25 09:11:12 EDT
1) Explain why you believe this is a stop-ship defect.  How does the defect
manifest itself, and how will users of TPTP / consuming products be affected if
the defect is not fixed?

This is a critical defect because several consuming products have reported severe usability issues, and in some cases within those consuming products, the existing implementation reports incorrect/imprecise data about the status of a test log.

2) Is there a workaround?  If so, why do you believe the workaround is
insufficient?

There is no workaround.

3) Is this a regression or API breakage?  Explain.

This is not a regression, however the defect was highlighted as severe by the consuming products several months ago.  A prior solution was implemented, but was deemed improper and was rolled back, thus the need for the greater scrutiny this new solution received before finally garnering agreement.

4) Does this require new API?

No

5) Who performed the code review?

Joe Toomey, Paul Slauenwhite, others

6) Is there a test case attached to the bugzilla record?

There will be.  (Bianca, please add a test to cover the proper display of this information in the viewer -- ping me if you have questions about this.)

7) What is the risk associated with this fix?

Low risk.  Small size of code change and the code has been well tested and has been reviewed and re-reviewed by several committers.

8) Is this fix related to any standards that TPTP adheres to?  If so, who has
validated that the fix continues to adhere to the standard?

The fix is a UI change only, and does not have a relationship to the U2TP.
Comment 18 Joe Toomey CLA 2006-08-25 10:25:49 EDT
Adding screenshots of how the existing TPTP reports display test logs with no verdicts.  We reviewed these offline to determine if this fix introduced inconsistencies in our presentation of the data, and concluded that it did not.
Comment 19 Joe Toomey CLA 2006-08-25 10:26:47 EDT
Created attachment 48720 [details]
BIRT Test Pass report on test log with no verdicts
Comment 20 Joe Toomey CLA 2006-08-25 10:29:26 EDT
Created attachment 48721 [details]
BIRT Tabular report on test log with no verdicts
Comment 21 Joe Toomey CLA 2006-08-25 10:29:44 EDT
Created attachment 48722 [details]
Old Test Pass report on test log with no verdicts
Comment 22 Bianca Jiang CLA 2006-08-25 11:15:13 EDT
Added new test case for both windows and linux in CVS HEAD. Will deliver the
same to 4.2.1 with the fix.
Comment 23 Bianca Jiang CLA 2006-08-28 10:11:47 EDT
As approved for 4.2.1 by PMC on 8/25/06 and checked in the fix as well as new test case for it on the same day.
Comment 24 Bianca Jiang CLA 2006-08-28 10:12:26 EDT
As approved for 4.2.1 by PMC on 8/25/06, the fix was checked in as well as new test case on the same day.
Comment 25 Paul Slauenwhite CLA 2006-11-16 09:00:36 EST
ACTION: Please verify/close this defect.
Comment 26 Paul Slauenwhite CLA 2007-06-02 14:50:28 EDT
Reporter: Please verify and close in preparation for shutting down the TPTP 4.4 release.  Thanks.
Comment 27 Paul Slauenwhite CLA 2007-06-27 13:17:02 EDT
Closing by default since not verified/closed by the originator in the 6+ months since being resolved.  

Please reopen if the issue is still present in the latest TPTP release or the
resolution is not correct.
Comment 28 Paul Slauenwhite CLA 2009-11-23 10:24:13 EST
Correcting component.