Actions
Bug #8602
closedOSError: [Errno 39] Directory not empty
Start date:
11/28/2017
Due date:
% Done:
0%
Estimated time:
Detected in build:
svn
Platform:
Published in build:
Description
New VTG removes plugin working directories when they finish in the production mode, namely, when option "keep intermediate files" is false. This helps to considerably reduce the required disk space, but sometimes fails with errors like:
[AAVTDG0] Raise exception: Traceback (most recent call last): File "/home/debian/klever/core/core/components.py", line 413, in run self.main() File "/home/debian/klever/core/core/vtg/__init__.py", line 525, in __generate_all_abstract_verification_task_descs shutil.rmtree(os.path.join(vobject, rule)) File "/usr/lib/python3.5/shutil.py", line 484, in rmtree onerror(os.rmdir, path, sys.exc_info()) File "/usr/lib/python3.5/shutil.py", line 482, in rmtree os.rmdir(path) OSError: [Errno 39] Directory not empty: 'drivers//char/tpm/tpm_tis_spi.ko/generic:memory' [VTGWL1] Stop since some other component(s) likely failed Raise exception: Traceback (most recent call last): File "/home/debian/klever/core/core/components.py", line 413, in run self.main() File "/home/debian/klever/core/core/components.py", line 320, in callbacks_caller ret = attr(*args, **kwargs) File "/home/debian/klever/core/core/vtg/__init__.py", line 336, in generate_verification_tasks self.launch_subcomponents(False, *subcomponents) File "/home/debian/klever/core/core/components.py", line 320, in callbacks_caller ret = attr(*args, **kwargs) File "/home/debian/klever/core/core/components.py", line 556, in launch_subcomponents launch_workers(self.logger, subcomponent_processes) File "/home/debian/klever/core/core/components.py", line 196, in launch_workers p.join(1.0 / len(workers)) File "/home/debian/klever/core/core/components.py", line 320, in callbacks_caller ret = attr(*args, **kwargs) File "/home/debian/klever/core/core/components.py", line 521, in join raise ComponentError('Component "{0}" failed'.format(self.name)) core.components.ComponentError: Component "AAVTDG0" failed
It seems that all quite large verification jobs suffer from this issue, so it should be fixed ASAP.
Actions