Project

General

Profile

Actions

Bug #9067

closed

Klever fails with corrupted

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

Status:
Closed
Priority:
Immediate
Category:
Results processing
Target version:
Start date:
07/05/2018
Due date:
% Done:

0%

Estimated time:
Detected in build:
svn
Platform:
Published in build:

Description

An inner component fails while processing witnesses and nevertheless Klever prepares an unsafe report. As there are no witnesses then it fails with 'corrupted' and stops the launch completely.

[Reporter] Raise exception:
Traceback (most recent call last):
File "/home/debian/klever-inst/klever/core/core/components.py", line 428, in run
self.main()
File "/home/debian/klever-inst/klever/core/core/components.py", line 332, in callbacks_caller
ret = attr(*args, **kwargs)
File "/home/debian/klever-inst/klever/core/core/core.py", line 304, in send_reports
self.session.upload_report(report_file, report_file_archives)
File "/home/debian/klever-inst/klever/core/core/session.py", line 149, in upload_report
self.__upload_archive('reports/upload/', {'report': report}, archives)
File "/home/debian/klever-inst/klever/core/core/session.py", line 187, in __upload_archive
for archive in archives], stream=True)
File "/home/debian/klever-inst/klever/core/core/session.py", line 93, in __request
'Got error "{0}" when send "{1}" request to "{2}"'.format(self.error, method, url))
core.session.BridgeError: Got error "There are no error traces in report" when send "POST" request to "http://localhost:8998/reports/upload/"
Traceback (most recent call last):
File "/home/debian/klever-inst/klever/core/core/core.py", line 91, in main
'coverage_finished': multiprocessing.Manager().dict()
File "/home/debian/klever-inst/klever/core/core/job.py", line 110, in start_jobs
core.components.launch_workers(core_obj.logger, [job], subcomponents + [core_obj.uploading_reports_process])
File "/home/debian/klever-inst/klever/core/core/components.py", line 199, in launch_workers
check_components(logger, monitoring_list)
File "/home/debian/klever-inst/klever/core/core/components.py", line 304, in check_components
mc.join()
File "/home/debian/klever-inst/klever/core/core/components.py", line 332, in callbacks_caller
ret = attr(*args, **kwargs)
File "/home/debian/klever-inst/klever/core/core/components.py", line 546, in join
raise ComponentError('Component "{0}" failed'.format(self.name))
core.components.ComponentError: Component "Reporter" failed


Related issues 1 (0 open1 closed)

Related to Klever - Feature #8705: Change the way of reporting unsafe reportsClosedEvgeny Novikov02/06/2018

Actions
Actions #1

Updated by Evgeny Novikov almost 6 years ago

  • Category set to Results processing
  • Assignee set to Evgeny Novikov
  • Priority changed from Normal to Immediate

This is a crucial regression of Klever 1.0 introduced when implementing #8705 but was not detected during stabilization. So, the bug fix will go into branch v1.0-stable in addition to master.

Actions #2

Updated by Evgeny Novikov almost 6 years ago

  • Related to Feature #8705: Change the way of reporting unsafe reports added
Actions #3

Updated by Evgeny Novikov almost 6 years ago

  • Status changed from New to Resolved
  • Target version set to 1.1

I trivially fixed the issue in branch fix-9067. Wait for testing results.

Actions #4

Updated by Evgeny Novikov almost 6 years ago

  • Status changed from Resolved to Closed

Tests passed. Moreover, Pavel reported that a job that has status Corrupted before now finishes well. I merged the branch to master in c116c448 and backported the bug fix to branch v1.0-stable.

Actions

Also available in: Atom PDF