<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Aug 24, 2017 at 4:59 PM, Yedidyah Bar David <span dir="ltr">&lt;<a href="mailto:didi@redhat.com" target="_blank">didi@redhat.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Hi all,<br>
<br>
A jenkins job that ran as a check-patch for ovirt-system-tests failed<br>
[1] for me due to what seems to me like unrelated reason.<br>
<br>
It seems to have failed in [2]. This code does various actions with vm<br>
snapshots. At some point it failed with &#39;status: 404&#39; [3].<br>
httpd&#39;s log also shows 404 [4] in the end, after a long list of<br>
successful actions with snapshots.<br></blockquote><div><br></div><div>The 404&#39;s look to me as the initial step - on health check, or before the engine is up, etc., as later the engine seems fine.</div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
engine.log [5] shows no relevant error AFAIU.<br></blockquote><div><br></div><div>2017-08-24 12:48:22,359Z WARN  [org.ovirt.engine.core.bll.GetVmConfigurationBySnapshotQuery] (default task-8) [ce23a02a-dccd-4f8d-bdf8-54063a4c39d2] Snapshot &#39;143017b0-36ef-4f4a-8112-abfe1dc6cccd&#39; does not exist</div><div>2017-08-24 12:48:22,360Z ERROR [org.ovirt.engine.api.restapi.resource.AbstractBackendResource] (default task-8) [] Operation Failed: Entity not found: null </div><div><br></div><div><br></div><div>And indeed in Lago I&#39;m seeing:</div><div><div>2017-08-24 12:48:22,362::testlib.py::assert_equals_within::224::ovirtlago.testlib::ERROR::    * Unhandled exception in &lt;function &lt;lambda&gt; at 0x3254f50&gt;</div><div>Traceback (most recent call last):</div><div>  File &quot;/usr/lib/python2.7/site-packages/ovirtlago/testlib.py&quot;, line 217, in assert_equals_within</div><div>    res = func()</div><div>  File &quot;/home/jenkins/workspace/ovirt-system-tests_master_check-patch-el7-x86_64/ovirt-system-tests/image-ng-suite-4.1/test-scenarios/004_basic_sanity.py&quot;, line 143, in &lt;lambda&gt;</div><div>    (len(api.vms.get(VM0_NAME).snapshots.list()) == 2) and</div><div>  File &quot;/usr/lib/python2.7/site-packages/ovirtsdk/infrastructure/brokers.py&quot;, line 34602, in list</div><div>    headers={&quot;All-Content&quot;:all_content}</div><div>  File &quot;/usr/lib/python2.7/site-packages/ovirtsdk/infrastructure/proxy.py&quot;, line 46, in get</div><div>    return self.request(method=&#39;GET&#39;, url=url, headers=headers, cls=cls)</div><div>  File &quot;/usr/lib/python2.7/site-packages/ovirtsdk/infrastructure/proxy.py&quot;, line 122, in request</div><div>    persistent_auth=self.__persistent_auth</div><div>  File &quot;/usr/lib/python2.7/site-packages/ovirtsdk/infrastructure/connectionspool.py&quot;, line 79, in do_request</div><div>    persistent_auth)</div><div>  File &quot;/usr/lib/python2.7/site-packages/ovirtsdk/infrastructure/connectionspool.py&quot;, line 162, in __do_request</div><div>    raise errors.RequestError(response_code, response_reason, response_body)</div><div>RequestError: </div><div>status: 404</div><div>reason: Not Found</div><div>detail: Entity not found: null</div></div><div><br></div><div><br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<br>
Is this reasonable? Expected?<br>
<br>
Not sure where the bug is, if at all.<br>
<br>
Best,<br>
<br>
[1] <a href="http://jenkins.ovirt.org/job/ovirt-system-tests_master_check-patch-el7-x86_64/1484/" rel="noreferrer" target="_blank">http://jenkins.ovirt.org/job/<wbr>ovirt-system-tests_master_<wbr>check-patch-el7-x86_64/1484/</a><br>
[2] <a href="https://gerrit.ovirt.org/gitweb?p=ovirt-system-tests.git;a=blob;f=image-ng-suite-4.1/test-scenarios/004_basic_sanity.py;h=6b7bbf5c0efae532ab2e68a9c5810580a69e3018;hb=HEAD#l143" rel="noreferrer" target="_blank">https://gerrit.ovirt.org/<wbr>gitweb?p=ovirt-system-tests.<wbr>git;a=blob;f=image-ng-suite-4.<wbr>1/test-scenarios/004_basic_<wbr>sanity.py;h=<wbr>6b7bbf5c0efae532ab2e68a9c58105<wbr>80a69e3018;hb=HEAD#l143</a><br>
[3] <a href="http://jenkins.ovirt.org/job/ovirt-system-tests_master_check-patch-el7-x86_64/1484/artifact/exported-artifacts/mock_logs/mocker-epel-7-x86_64.el7.check-patch.sh/check-patch.sh.log" rel="noreferrer" target="_blank">http://jenkins.ovirt.org/job/<wbr>ovirt-system-tests_master_<wbr>check-patch-el7-x86_64/1484/<wbr>artifact/exported-artifacts/<wbr>mock_logs/mocker-epel-7-x86_<wbr>64.el7.check-patch.sh/check-<wbr>patch.sh.log</a><br>
[4] <a href="http://jenkins.ovirt.org/job/ovirt-system-tests_master_check-patch-el7-x86_64/1484/artifact/exported-artifacts/image-ng-suite-4.1__logs/test_logs/image-ng-suite-4.1/post-004_basic_sanity.py/lago-image-ng-suite-4-1-engine/_var_log/httpd/ssl_access_log/*view*/" rel="noreferrer" target="_blank">http://jenkins.ovirt.org/job/<wbr>ovirt-system-tests_master_<wbr>check-patch-el7-x86_64/1484/<wbr>artifact/exported-artifacts/<wbr>image-ng-suite-4.1__logs/test_<wbr>logs/image-ng-suite-4.1/post-<wbr>004_basic_sanity.py/lago-<wbr>image-ng-suite-4-1-engine/_<wbr>var_log/httpd/ssl_access_log/*<wbr>view*/</a><br>
[5] <a href="http://jenkins.ovirt.org/job/ovirt-system-tests_master_check-patch-el7-x86_64/1484/artifact/exported-artifacts/image-ng-suite-4.1__logs/test_logs/image-ng-suite-4.1/post-004_basic_sanity.py/lago-image-ng-suite-4-1-engine/_var_log/ovirt-engine/engine.log/*view*/" rel="noreferrer" target="_blank">http://jenkins.ovirt.org/job/<wbr>ovirt-system-tests_master_<wbr>check-patch-el7-x86_64/1484/<wbr>artifact/exported-artifacts/<wbr>image-ng-suite-4.1__logs/test_<wbr>logs/image-ng-suite-4.1/post-<wbr>004_basic_sanity.py/lago-<wbr>image-ng-suite-4-1-engine/_<wbr>var_log/ovirt-engine/engine.<wbr>log/*view*/</a><br>
<span class="gmail-HOEnZb"><font color="#888888">--<br>
Didi<br>
______________________________<wbr>_________________<br>
Devel mailing list<br>
<a href="mailto:Devel@ovirt.org">Devel@ovirt.org</a><br>
<a href="http://lists.ovirt.org/mailman/listinfo/devel" rel="noreferrer" target="_blank">http://lists.ovirt.org/<wbr>mailman/listinfo/devel</a><br>
</font></span></blockquote></div><br></div></div>