Hi all,
This started a few days ago [1] and randomly happens since then:
E DEBUG: Configuration:
E DEBUG: command: collect
E DEBUG: Traceback (most recent call last):
E DEBUG: File
"/usr/lib/python3.6/site-packages/ovirt_log_collector/__main__.py",
line 2067, in <module>
E DEBUG: '%s directory is not empty.' %
(conf["local_tmp_dir"])
E DEBUG: Exception: /dev/shm/log directory is not
empty.ERROR: /dev/shm/log directory is not empty.non-zero return code
Michal tried to fix this by using a random directory but it still fails [2]:
DEBUG: command: collect
DEBUG: Traceback (most recent call last):
DEBUG: File
"/usr/lib/python3.6/site-packages/ovirt_log_collector/__main__.py",
line 2067, in <module>
DEBUG: '%s directory is not empty.' % (conf["local_tmp_dir"])
DEBUG: Exception: /dev/shm/kaN7uY directory is not empty.ERROR:
/dev/shm/kaN7uY directory is not empty.non-zero return code
Since I suppose that the randomness of mktemp is good enough, it must
be something else. Also, the last successful run before [1] used the
same OST git commit (same code), so I do not think it's something in
OST's code.
Any idea?
I think I'll push a patch to create and use the directory right before
calling ovirt-log-collector, which is probably better in other ways.
Best regards,
[1]
https://jenkins.ovirt.org/job/ovirt-system-tests_basic-suite-master_night...
[2]
https://jenkins.ovirt.org/job/ovirt-system-tests_basic-suite-master_night...
--
Didi