action #76792
closed/var/lib/openqa in QA-Power8-5-kvm reports Structure needs cleaning (auto_review:"(?s)Running on QA-Power8-5-kvm.*cannot remove directory for testresults":retry)
100%
Description
Ran into several incomplete jobs in ppc64le, all of them in worker 1 from QA-Power8-5-kvm.
For example:
https://openqa.suse.de/tests/4915970
https://openqa.suse.de/tests/4901191
https://openqa.suse.de/tests/4915970
https://openqa.suse.de/tests/4901090
Cause of the failures seems to be that during job setup, worker encounters an existing testresults directory from a previous job.
Jobs also attempt to do a clean up of the testresults directory, but fail with error:
cannot remove directory for testresults: Directory not empty at /usr/lib/os-autoinst/bmwqemu.pm line 139.
Can't mkdir('testresults'): File exists at /usr/lib/os-autoinst/bmwqemu.pm line 140
A look at the worker itself, reveals several files in /var/lib/openqa/pool/1/testresults with dirty structure:
QA-Power8-5-kvm:/var/lib/openqa/pool/1/testresults # ls -l
ls: cannot access 'check_upgraded_service-230.png': Structure needs cleaning
ls: cannot access 'check_upgraded_service-527.png': Structure needs cleaning
ls: cannot access 'check_upgraded_service-585.png': Structure needs cleaning
ls: cannot access 'check_upgraded_service-612.png': Structure needs cleaning
ls: cannot access 'check_upgraded_service-299.png': Structure needs cleaning
ls: cannot access 'check_upgraded_service-664.png': Structure needs cleaning
ls: cannot access 'check_upgraded_service-212.png': Structure needs cleaning
ls: cannot access 'check_upgraded_service-598.png': Structure needs cleaning
total 36
drwxr-xr-x 2 _openqa-worker nogroup 36864 Oct 29 14:54 .thumbs
-????????? ? ? ? ? ? check_upgraded_service-212.png
-????????? ? ? ? ? ? check_upgraded_service-230.png
-????????? ? ? ? ? ? check_upgraded_service-299.png
-????????? ? ? ? ? ? check_upgraded_service-527.png
-????????? ? ? ? ? ? check_upgraded_service-585.png
-????????? ? ? ? ? ? check_upgraded_service-598.png
-????????? ? ? ? ? ? check_upgraded_service-612.png
-????????? ? ? ? ? ? check_upgraded_service-664.png