Project

General

Profile

Actions

Bug #9067

closed

Klever fails with corrupted

Added by Pavel Andrianov over 6 years ago. Updated over 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

Also available in: Atom PDF