Project

General

Profile

Actions

Feature #8661

closed

Do not consider bad zip archives as errors

Added by Evgeny Novikov over 6 years ago. Updated over 6 years ago.

Status:
Closed
Priority:
Urgent
Category:
Bridge
Target version:
Start date:
01/14/2018
Due date:
01/19/2018
% Done:

100%

Estimated time:
Published in build:

Description

At the moment Bridge outputs to an error log error messages like:

[12.Jan.2018 15:43:11] The archive "117125-7my1w__e.zip" of report "/-/VTG/drivers/memstick/host/rtsx_usb_ms.ko/linux:drivers:clk1/VTGW/Weaver" is not a ZIP file
Traceback (most recent call last):
  File "/var/www/klever-bridge/reports/UploadReport.py", line 66, in __init__
    self.__check_archives(self.data['id'])
  File "/var/www/klever-bridge/reports/UploadReport.py", line 727, in __check_archives
    raise CheckArchiveError('The archive "%s" of report "%s" is not a ZIP file' % (arch.name, report_id))
reports.UploadReport.CheckArchiveError: The archive "117125-7my1w__e.zip" of report "/-/VTG/drivers/memstick/host/rtsx_usb_ms.ko/linux:drivers:clk1/VTGW/Weaver" is not a ZIP file

These messages confuses users since they expect that something is so wrong that following operations could be unreliable. Indeed we workarounded the issue by infinitely sending corresponding reports until they will be accepted.

That's why I suppose do not consider bad zip archives as errors and to print information about them to the information log.


Related issues 1 (0 open1 closed)

Related to Klever - Bug #8679: Do not consider missed task as an errorClosedVladimir Gratinskiy01/19/201801/19/2018

Actions
Actions

Also available in: Atom PDF