Project

General

Profile

Actions

Bug #8935

closed

Bridge hangs during cancelling job decisions

Added by Evgeny Novikov almost 6 years ago. Updated almost 6 years 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.


Files

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

Updated by Evgeny Novikov almost 6 years 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.

Actions #2

Updated by Vladimir Gratinskiy almost 6 years ago

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

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.

Actions #3

Updated by Evgeny Novikov almost 6 years 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.

Actions #4

Updated by Vladimir Gratinskiy almost 6 years 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.

Actions #5

Updated by Evgeny Novikov almost 6 years 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.

Actions #6

Updated by Evgeny Novikov almost 6 years ago

  • Status changed from Open to Closed

In master since 8f5fe486.

Actions

Also available in: Atom PDF