Bug #8935
closed
Bridge hangs during cancelling job decisions
Added by Evgeny Novikov over 6 years ago.
Updated over 6 years ago.
Description
Most likely some recent changes cause this very unpleasant bug. We need to fix it ASAP.
Files
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.
- 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.
- 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.
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.
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.
- Status changed from Open to Closed
Also available in: Atom
PDF