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_nightly/949/

[2] 
https://jenkins.ovirt.org/job/ovirt-system-tests_basic-suite-master_nightly/959/


-- 
Didi
_______________________________________________
Infra mailing list -- [email protected]
To unsubscribe send an email to [email protected]
Privacy Statement: https://www.ovirt.org/privacy-policy.html
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/[email protected]/message/TVKEQK3IIQUZ4QVFVE2PJA6NAMOFCMJG/

Reply via email to