Project

General

Profile

Actions

Bug #8264

closed

Native scheduler doesn't handle 'du' command failure

Added by Alexey Polushkin almost 7 years ago. Updated over 6 years ago.

Status:
Closed
Priority:
Immediate
Category:
Scheduling
Target version:
-
Start date:
06/30/2017
Due date:
% Done:

0%

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

Description

Sometimes Native scheduler writes to console

Process Process-1:
Traceback (most recent call last):
File "/usr/lib64/python3.4/multiprocessing/process.py", line 254, in _bootstrap
self.run()
File "/usr/lib64/python3.4/multiprocessing/process.py", line 93, in run
self._target(*self._args, **self._kwargs)
File "/home/alexey/klever/klever/scheduler/utils/__init__.py", line 288, in disk_controller
size = dir_size("./")
File "/home/alexey/klever/klever/scheduler/utils/__init__.py", line 224, in dir_size
return int(get_output('du -bs {} | cut -f1'.format(dir)))
ValueError: invalid literal for int() with base 10: "du: невозможно получить доступ к './klever-core-work-dir/lkbce/arch/x86/include/asm/linkage.h.lock': Нет такого файла или каталога\n4503272098"


Related issues 1 (0 open1 closed)

Has duplicate Klever - Bug #8349: Cannot calculate directory size sometimesRejected08/14/2017

Actions
Actions

Also available in: Atom PDF