<div dir="ltr"><div class="gmail_quote"><div dir="ltr">On Tue, Apr 10, 2018 at 5:21 PM Shani Leviim &lt;<a href="mailto:sleviim@redhat.com">sleviim@redhat.com</a>&gt; wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div class="gmail_default" style="font-family:tahoma,sans-serif;font-size:small">Hi,<br><br></div><div class="gmail_default" style="font-family:tahoma,sans-serif;font-size:small">Yes, I did clean the root directory but it didn&#39;t solve the issue.<br></div><div class="gmail_default" style="font-family:tahoma,sans-serif;font-size:small">I&#39;m currently running the tests on fedora27, using python version 2.1.14.<br><br></div><div class="gmail_default" style="font-family:tahoma,sans-serif;font-size:small">Thanks to Dan&#39;s help, it seems that we found the root cause:<br></div><div class="gmail_default" style="font-family:tahoma,sans-serif;font-size:small"><br>I had 2 pickle files under /var/cache/vdsm/schema: vdsm-api.pickle and vdsm-events.pickle.<br></div><div class="gmail_default" style="font-family:tahoma,sans-serif;font-size:small">Removing them and re-running the tests using make check was successfully completed.<br></div></div></blockquote><div><br></div><div>How did you have cached schema under /var/run? This directory is owned by root.</div><div>Are you running the tests as root?</div><div><br></div><div>This sounds like a bug in the code using the pickled schema. The pickled should not</div><div>be used if the timestamp of the pickle do not match the timestamp of the source.</div><div><br></div><div>Also in make check, we should not use host schema cache, but local schema cache</div><div>generated by running &quot;make&quot;.</div><div><br></div><div>Nir</div></div></div>