Project

General

Profile

Bug #8275

Updated by Evgeny Novikov over 7 years ago

Creation mark for trace http://ldvstore:8998/reports/unsafe/1072782/ shows change list with several unchanged verdicts (on screen-shot). 

 Filter shows that mark exist and has 0 similarity, whereas log shows problem with comparison 
 http://ldvstore:8998/reports/unsafe/1248789/?view={%22columns%22%3A[%22verdict%22%2C%22similarity%22%2C%22status%22%2C%22source%22%2C%22tags%22%2C%22ass_type%22%2C%22ass_author%22%2C%22description%22]%2C%22similarity%22%3A[%220%22%2C%2250%22%2C%22100%22]}&view_type=10 

 The corresponding error: 
 <pre> 
 [05.Jul.2017 10:15:14] Global initialization edge can't contain enter 
 Traceback (most recent call last): 
   File "/var/www/bridge-new/reports/views.py", line 409, in report_unsafe 
     etv = GetETV(ArchiveFileContent(report, report.error_trace).content.decode('utf8'), request.user) 
   File "/var/www/bridge-new/reports/etv.py", line 474, in __init__ 
     self.html_trace, self.assumes = self.__html_trace() 
   File "/var/www/bridge-new/reports/etv.py", line 487, in __html_trace 
     return self.__add_thread_lines(0, 0)[0:2] 
   File "/var/www/bridge-new/reports/etv.py", line 505, in __add_thread_lines 
     parsed_trace.add_line(edge_data) 
   File "/var/www/bridge-new/reports/etv.py", line 208, in add_line 
     raise ValueError("Global initialization edge can't contain enter") 
 ValueError: Global initialization edge can't contain enter 
 Stack (most recent call last): 
   File "/usr/local/bin/gunicorn", line 11, in <module> 
     sys.exit(run()) 
   File "/usr/local/lib/python3.4/dist-packages/gunicorn/app/wsgiapp.py", line 74, in run 
     WSGIApplication("%(prog)s [OPTIONS] [APP_MODULE]").run() 
   File "/usr/local/lib/python3.4/dist-packages/gunicorn/app/base.py", line 192, in run 
     super(Application, self).run() 
   File "/usr/local/lib/python3.4/dist-packages/gunicorn/app/base.py", line 72, in run 
     Arbiter(self).run() 
   File "/usr/local/lib/python3.4/dist-packages/gunicorn/arbiter.py", line 189, in run 
     self.manage_workers() 
   File "/usr/local/lib/python3.4/dist-packages/gunicorn/arbiter.py", line 524, in manage_workers 
     self.spawn_workers() 
   File "/usr/local/lib/python3.4/dist-packages/gunicorn/arbiter.py", line 590, in spawn_workers 
     self.spawn_worker() 
   File "/usr/local/lib/python3.4/dist-packages/gunicorn/arbiter.py", line 557, in spawn_worker 
     worker.init_process() 
   File "/usr/local/lib/python3.4/dist-packages/gunicorn/workers/base.py", line 132, in init_process 
     self.run() 
   File "/usr/local/lib/python3.4/dist-packages/gunicorn/workers/sync.py", line 124, in run 
     self.run_for_one(timeout) 
   File "/usr/local/lib/python3.4/dist-packages/gunicorn/workers/sync.py", line 68, in run_for_one 
     self.accept(listener) 
   File "/usr/local/lib/python3.4/dist-packages/gunicorn/workers/sync.py", line 30, in accept 
     self.handle(listener, client, addr) 
   File "/usr/local/lib/python3.4/dist-packages/gunicorn/workers/sync.py", line 135, in handle 
     self.handle_request(listener, req, client, addr) 
   File "/usr/local/lib/python3.4/dist-packages/gunicorn/workers/sync.py", line 176, in handle_request 
     respiter = self.wsgi(environ, resp.start_response) 
   File "/usr/local/lib/python3.4/dist-packages/django/core/handlers/wsgi.py", line 177, in __call__ 
     response = self.get_response(request) 
   File "/usr/local/lib/python3.4/dist-packages/django/core/handlers/base.py", line 147, in get_response 
     response = wrapped_callback(request, *callback_args, **callback_kwargs) 
   File "/usr/local/lib/python3.4/dist-packages/django/contrib/auth/decorators.py", line 23, in _wrapped_view 
     return view_func(request, *args, **kwargs) 
   File "/var/www/bridge-new/tools/profiling.py", line 133, in wait 
     res = f(*args, **kwargs) 
   File "/var/www/bridge-new/reports/views.py", line 411, in report_unsafe 
     logger.exception(e, stack_info=True) 
 </pre>

Back