Project

General

Profile

Bug #8935

Bridge hangs during cancelling job decisions

Added by Evgeny Novikov 9 months ago. Updated 9 months ago.

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

100%

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

Description

Most likely some recent changes cause this very unpleasant bug. We need to fix it ASAP.

info.log.gz (23.6 KB) info.log.gz Evgeny Novikov, 06/08/2018 04:52 PM

History

#1 Updated by Evgeny Novikov 9 months ago

I attached a log file from Bridge that printed more information during a "hang up". BTW, I noticed that it also can't execute a request for updating progress when it hangs. So, it looks like Bridge does not handle any request coming first after broken canceling job decision. Also, it seems that there should be some decided tasks in addition to a decided job for hanging Bridge.

#2 Updated by Vladimir Gratinskiy 9 months ago

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

Evgeny Novikov wrote:

I attached a log file from Bridge that printed more information during a "hang up". BTW, I noticed that it also can't execute a request for updating progress when it hangs. So, it looks like Bridge does not handle any request coming first after broken canceling job decision. Also, it seems that there should be some decided tasks in addition to a decided job for hanging Bridge.

The problem was fixed in "new-report-data". Please check if everything works now and then I'll remove detail logging.

#3 Updated by Evgeny Novikov 9 months ago

  • Status changed from Feedback to Open

I see this exception preventing from doing anything:

[08.Jun.2018 15:23:07] 'ExecLocker' object has no attribute '_ExecLocker__save_exec_time'
Traceback (most recent call last):
  File "/usr/local/lib/python3.5/dist-packages/django/core/handlers/base.py", line 126, in _get_response
    response = wrapped_callback(request, *callback_args, **callback_kwargs)
  File "/var/www/klever-bridge/tools/profiling.py", line 180, in wait
    locker.lock()
  File "/var/www/klever-bridge/tools/profiling.py", line 91, in lock
    self.__save_exec_time()
AttributeError: 'ExecLocker' object has no attribute '_ExecLocker__save_exec_time'

Besides, there is some conflicts with master. Please, merge master to this branch.

#4 Updated by Vladimir Gratinskiy 9 months ago

Evgeny Novikov wrote:

I see this exception preventing from doing anything:
[...]

I guess it's a merge problem.

Besides, there is some conflicts with master. Please, merge master to this branch.

Merged.

#5 Updated by Evgeny Novikov 9 months ago

We don't see hang ups anymore. You can suppress logging somehow. If you find it useful for future debugging, please, keep this logging, but make it optional.

#6 Updated by Evgeny Novikov 9 months ago

  • Status changed from Open to Closed

In master since 8f5fe486.

Also available in: Atom PDF