Project

General

Profile

Actions

Feature #8704

closed

Support processing of multiple error traces per one unsafe report

Added by Pavel Andrianov about 6 years ago. Updated almost 6 years ago.

Status:
Closed
Priority:
Urgent
Category:
Bridge
Target version:
Start date:
02/06/2018
Due date:
% Done:

100%

Estimated time:
Published in build:

Description

To reduce amount of uploaded sources and the total number of reports it is needed to process multiple error traces per one unsafe report (the corresponding format described in the specification). The key feature: not to save total amount of sources for every error trace in report, but to save all related sources for all error traces of a given unsafe report once.


Related issues 3 (0 open3 closed)

Related to Klever - Feature #8570: Introduce data attributesClosedVladimir Gratinskiy11/13/2017

Actions
Related to Klever - Feature #9414: Reuse archive with source files between different error traces on report uploadingClosedEvgeny Novikov01/25/201907/02/2019

Actions
Blocked by Klever - Feature #8705: Change the way of reporting unsafe reportsClosedEvgeny Novikov02/06/2018

Actions
Actions #1

Updated by Evgeny Novikov about 6 years ago

  • Subject changed from Implement new report format to Support processing of multiple error traces per one unsafe report
  • Description updated (diff)
  • Assignee set to Vladimir Gratinskiy
  • Priority changed from Normal to Urgent
  • Target version set to 2.0
Actions #2

Updated by Evgeny Novikov about 6 years ago

  • Blocked by Feature #8705: Change the way of reporting unsafe reports added
Actions #3

Updated by Evgeny Novikov about 6 years ago

  • Target version changed from 2.0 to 1.0

Let's hurry up this issue, since it is very high demanded, so, waiting for Klever 2.0 isn't good.

Actions #4

Updated by Evgeny Novikov about 6 years ago

Actions #5

Updated by Vladimir Gratinskiy almost 6 years ago

  • Status changed from New to Feedback
  • % Done changed from 0 to 100

Implemented in "new-report-data".

Actions #6

Updated by Evgeny Novikov almost 6 years ago

  • Status changed from Feedback to Open

When I try to upload an unsafe report with multiple error traces where each error trace includes:

    "attrs": [
        {
            "associate": true,
            "compare": true,
            "name": "Error trace identifier",
            "value": "$UNIQUE_VALUE" 
        }
    ]

I gets the following error from Bridge:
Uploading report failed: attributes were redefined
Traceback (most recent call last):
  File "/home/novikov/work/klever/bridge/reports/UploadReport.py", line 72, in __init__
    self.__upload()
  File "/home/novikov/work/klever/bridge/reports/UploadReport.py", line 326, in __upload
    raise ValueError("attributes were redefined")
ValueError: attributes were redefined

Actions #7

Updated by Evgeny Novikov almost 6 years ago

Moreover, I suggest to specify in errors what particular attribute values were redefined.

Actions #8

Updated by Evgeny Novikov almost 6 years ago

Now Bridge does not fail, but it still does not properly handle error trace attributes, namely, it neither shows them nor use them for verification results comparison and error trace patterns matching although I set corresponding parameters within these attributes.

Actions #9

Updated by Evgeny Novikov almost 6 years ago

  • Status changed from Open to Resolved

Seems to be resolved some time ago in branch new-report-data.

Actions #10

Updated by Evgeny Novikov almost 6 years ago

  • Status changed from Resolved to Closed

I merged the branch to master in 4339da97 as a part of branch core-new-formats.

Actions #11

Updated by Vitaly Mordan over 5 years ago

  • Related to Feature #9414: Reuse archive with source files between different error traces on report uploading added
Actions

Also available in: Atom PDF