Actions
Bug #8349
closedCannot calculate directory size sometimes
Status:
Rejected
Priority:
Urgent
Assignee:
-
Category:
Scheduling
Target version:
-
Start date:
08/14/2017
Due date:
% Done:
0%
Estimated time:
Detected in build:
svn
Platform:
Published in build:
Description
This results in probably bad consequences:
Process Process-1: Traceback (most recent call last): File "/home/novikov/work/klever/scheduler/utils/__init__.py", line 226, in dir_size res = int(output) ValueError: invalid literal for int() with base 10: "du: cannot access './klever-core-work-dir/tests/linux/kernel/locking/rwlock/49f1439/linux-kernel-locking-rwlock/lkbce/include/linux/preempt.h.lock': No such file or directory\n147676706" During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/novikov/.pyenv/versions/3.6.1/lib/python3.6/multiprocessing/process.py", line 249, in _bootstrap self.run() File "/home/novikov/.pyenv/versions/3.6.1/lib/python3.6/multiprocessing/process.py", line 93, in run self._target(*self._args, **self._kwargs) File "/home/novikov/work/klever/scheduler/utils/__init__.py", line 299, in disk_controller size = dir_size("./") File "/home/novikov/work/klever/scheduler/utils/__init__.py", line 230, in dir_size if len(splts < 2): TypeError: '<' not supported between instances of 'list' and 'int'
Updated by Evgeny Novikov over 6 years ago
- Status changed from New to Rejected
- Assignee deleted (
Ilja Zakharov)
Reject this issue as it duplicates #8264.
Actions