<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Sep 22, 2016 at 9:58 AM, Dan Kenigsberg <span dir="ltr">&lt;<a target="_blank" href="mailto:danken@redhat.com">danken@redhat.com</a>&gt;</span> wrote:<br><blockquote style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex" class="gmail_quote">On Wed, Sep 21, 2016 at 12:18:37AM +0300, Nir Soffer wrote:<br>
&gt; On Tue, Sep 20, 2016 at 8:18 PM, Nir Soffer &lt;<a href="mailto:nsoffer@redhat.com">nsoffer@redhat.com</a>&gt; wrote:<br>
&gt; &gt; Failed only one patch when building 4, so this looks like<br>
&gt; &gt; a random failure, but the error is disturbing.<br>
<br>
Petr, could you look into it? Could it be that libnl3 changed their API?<br>
Or that a slave is pulling an ancient lib? Or broken kernel? Nothing<br>
makes sense.<br>
<br>
&gt; &gt;<br>
&gt; &gt; See <a target="_blank" rel="noreferrer" href="http://jenkins.ovirt.org/job/vdsm_master_check-patch-fc24-x86_64/2255/console">http://jenkins.ovirt.org/job/<wbr>vdsm_master_check-patch-fc24-<wbr>x86_64/2255/console</a><br>
&gt; &gt;<br>
&gt; &gt; 17:00:31 ==============================<wbr>==============================<wbr>==========<br>
&gt; &gt; 17:00:31 ERROR: test_bond_create_failure_on_<wbr>slave_add<br>
&gt; &gt; (network.link_bond_test.<wbr>LinkBondTests)<br>
&gt; &gt; 17:00:31 ------------------------------<wbr>------------------------------<wbr>----------<br>
&gt; &gt; 17:00:31 Traceback (most recent call last):<br>
&gt; &gt; 17:00:31   File<br>
&gt; &gt; &quot;/home/jenkins/workspace/vdsm_<wbr>master_check-patch-fc24-x86_<wbr>64/vdsm/tests/network/link_<wbr>bond_test.py&quot;,<br>
&gt; &gt; line 83, in test_bond_create_failure_on_<wbr>slave_add<br>
&gt; &gt; 17:00:31     base_bond.add_slaves((nic1, nic2))<br>
&gt; &gt; 17:00:31   File<br>
&gt; &gt; &quot;/home/jenkins/workspace/vdsm_<wbr>master_check-patch-fc24-x86_<wbr>64/vdsm/lib/vdsm/network/link/<wbr>bond.py&quot;,<br>
&gt; &gt; line 153, in add_slaves<br>
&gt; &gt; 17:00:31     with _preserve_iface_state(slave):<br>
&gt; &gt; 17:00:31   File &quot;/usr/lib64/python3.5/<wbr>contextlib.py&quot;, line 59, in __enter__<br>
&gt; &gt; 17:00:31     return next(self.gen)<br>
&gt; &gt; 17:00:31   File<br>
&gt; &gt; &quot;/home/jenkins/workspace/vdsm_<wbr>master_check-patch-fc24-x86_<wbr>64/vdsm/lib/vdsm/network/link/<wbr>bond.py&quot;,<br>
&gt; &gt; line 214, in _preserve_iface_state<br>
&gt; &gt; 17:00:31     dev_was_up = iface.is_up(dev)<br>
&gt; &gt; 17:00:31   File<br>
&gt; &gt; &quot;/home/jenkins/workspace/vdsm_<wbr>master_check-patch-fc24-x86_<wbr>64/vdsm/lib/vdsm/network/link/<wbr>iface.py&quot;,<br>
&gt; &gt; line 54, in is_up<br>
&gt; &gt; 17:00:31     return is_admin_up(dev)<br>
&gt; &gt; 17:00:31   File<br>
&gt; &gt; &quot;/home/jenkins/workspace/vdsm_<wbr>master_check-patch-fc24-x86_<wbr>64/vdsm/lib/vdsm/network/link/<wbr>iface.py&quot;,<br>
&gt; &gt; line 58, in is_admin_up<br>
&gt; &gt; 17:00:31     return is_link_up(get_link(dev)[&#39;<wbr>flags&#39;], check_oper_status=False)<br>
&gt; &gt; 17:00:31   File<br>
&gt; &gt; &quot;/home/jenkins/workspace/vdsm_<wbr>master_check-patch-fc24-x86_<wbr>64/vdsm/lib/vdsm/network/<wbr>netlink/link.py&quot;,<br>
&gt; &gt; line 56, in get_link<br>
&gt; &gt; 17:00:31     with _get_link(name=name, sock=sock) as link:<br>
&gt; &gt; 17:00:31   File &quot;/usr/lib64/python3.5/<wbr>contextlib.py&quot;, line 59, in __enter__<br>
&gt; &gt; 17:00:31     return next(self.gen)<br>
&gt; &gt; 17:00:31   File<br>
&gt; &gt; &quot;/home/jenkins/workspace/vdsm_<wbr>master_check-patch-fc24-x86_<wbr>64/vdsm/lib/vdsm/network/<wbr>netlink/link.py&quot;,<br>
&gt; &gt; line 199, in _get_link<br>
&gt; &gt; 17:00:31     err = _rtnl_link_get_kernel(sock, index, name, byref(link))<br>
&gt; &gt; 17:00:31 ctypes.ArgumentError: argument 3: &lt;class &#39;TypeError&#39;&gt;: wrong type<br>
&gt; &gt; 17:00:31 -------------------- &gt;&gt; begin captured logging &lt;&lt; --------------------<br>
&gt; &gt; 17:00:31 2016-09-20 17:00:12,586 WARNING [py.warnings] (MainThread)<br>
&gt; &gt; /usr/lib/python3.5/site-<wbr>packages/nose/util.py:453: DeprecationWarning:<br>
&gt; &gt; inspect.getargspec() is deprecated, use inspect.signature() instead<br>
&gt; &gt; 17:00:31   inspect.getargspec(func)<br>
&gt; &gt; 17:00:31  (inspect:1041)<br>
<br>
Piotr, the DeprecationWarning is unrelated to our code but we are using<br>
this API, too.<br>
<br></blockquote><div><br></div><div>Please take a look at <a href="https://gerrit.ovirt.org/64313">https://gerrit.ovirt.org/64313</a><br></div><div> </div><blockquote style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex" class="gmail_quote">
&gt; &gt; 17:00:31 2016-09-20 17:00:12,587 INFO  [root] (MainThread) Bond<br>
&gt; &gt; check_7lzvb has been created. (bond:142)<br>
&gt; &gt; 17:00:31 2016-09-20 17:00:12,598 INFO  [root] (MainThread) Bond<br>
&gt; &gt; check_7lzvb has been destroyed. (bond:149)<br>
&gt; &gt; 17:00:31 2016-09-20 17:00:12,598 DEBUG [root] (MainThread)<br>
&gt; &gt; /usr/bin/taskset --cpu-list 0-15 /sbin/ip link add name dummy_Dmwc5<br>
&gt; &gt; type dummy (cwd None) (commands:69)<br>
&gt; &gt; 17:00:31 2016-09-20 17:00:12,607 DEBUG [root] (MainThread) SUCCESS:<br>
&gt; &gt; &lt;err&gt; = b&#39;&#39;; &lt;rc&gt; = 0 (commands:93)<br>
&gt; &gt; 17:00:31 2016-09-20 17:00:12,608 DEBUG [root] (MainThread)<br>
&gt; &gt; /usr/bin/taskset --cpu-list 0-15 /sbin/ip link add name dummy_xIK5C<br>
&gt; &gt; type dummy (cwd None) (commands:69)<br>
&gt; &gt; 17:00:31 2016-09-20 17:00:12,615 DEBUG [root] (MainThread) SUCCESS:<br>
&gt; &gt; &lt;err&gt; = b&#39;&#39;; &lt;rc&gt; = 0 (commands:93)<br>
&gt; &gt; 17:00:31 2016-09-20 17:00:12,617 INFO  [root] (MainThread) Bond<br>
&gt; &gt; bond_rwTTFu has been created. (bond:142)<br>
&gt; &gt; 17:00:31 2016-09-20 17:00:12,634 INFO  [root] (MainThread) Bond<br>
&gt; &gt; bond_rwTTFu has been destroyed. (bond:149)<br>
&gt; &gt; 17:00:31 2016-09-20 17:00:12,634 DEBUG [root] (MainThread)<br>
&gt; &gt; /usr/bin/taskset --cpu-list 0-15 /sbin/ip link del dev dummy_Dmwc5<br>
&gt; &gt; (cwd None) (commands:69)<br>
&gt; &gt; 17:00:31 2016-09-20 17:00:12,658 DEBUG [root] (MainThread) SUCCESS:<br>
&gt; &gt; &lt;err&gt; = b&#39;&#39;; &lt;rc&gt; = 0 (commands:93)<br>
&gt; &gt; 17:00:31 2016-09-20 17:00:12,659 DEBUG [root] (MainThread)<br>
&gt; &gt; /usr/bin/taskset --cpu-list 0-15 /sbin/ip link del dev dummy_xIK5C<br>
&gt; &gt; (cwd None) (commands:69)<br>
&gt; &gt; 17:00:31 2016-09-20 17:00:12,676 DEBUG [root] (MainThread) SUCCESS:<br>
&gt; &gt; &lt;err&gt; = b&#39;&#39;; &lt;rc&gt; = 0 (commands:93)<br>
&gt; &gt; 17:00:31 --------------------- &gt;&gt; end captured logging &lt;&lt; ---------------------<br>
&gt;<br>
&gt; Another instance, again only one patch failed when building 5 patches series.<br>
&gt;<br>
&gt; This time with new log format for the tests.<br>
&gt;<br>
&gt; 18:56:15 ==============================<wbr>==============================<wbr>==========<br>
&gt; 18:56:15 ERROR: test_bond_create_failure_on_<wbr>slave_add<br>
&gt; (network.link_bond_test.<wbr>LinkBondTests)<br>
&gt; 18:56:15 ------------------------------<wbr>------------------------------<wbr>----------<br>
&gt; 18:56:15 Traceback (most recent call last):<br>
&gt; 18:56:15   File<br>
&gt; &quot;/home/jenkins/workspace/vdsm_<wbr>master_check-patch-fc24-x86_<wbr>64/vdsm/tests/network/link_<wbr>bond_test.py&quot;,<br>
&gt; line 83, in test_bond_create_failure_on_<wbr>slave_add<br>
&gt; 18:56:15     base_bond.add_slaves((nic1, nic2))<br>
&gt; 18:56:15   File<br>
&gt; &quot;/home/jenkins/workspace/vdsm_<wbr>master_check-patch-fc24-x86_<wbr>64/vdsm/lib/vdsm/network/link/<wbr>bond.py&quot;,<br>
&gt; line 153, in add_slaves<br>
&gt; 18:56:15     with _preserve_iface_state(slave):<br>
&gt; 18:56:15   File &quot;/usr/lib64/python3.5/<wbr>contextlib.py&quot;, line 59, in __enter__<br>
&gt; 18:56:15     return next(self.gen)<br>
&gt; 18:56:15   File<br>
&gt; &quot;/home/jenkins/workspace/vdsm_<wbr>master_check-patch-fc24-x86_<wbr>64/vdsm/lib/vdsm/network/link/<wbr>bond.py&quot;,<br>
&gt; line 214, in _preserve_iface_state<br>
&gt; 18:56:15     dev_was_up = iface.is_up(dev)<br>
&gt; 18:56:15   File<br>
&gt; &quot;/home/jenkins/workspace/vdsm_<wbr>master_check-patch-fc24-x86_<wbr>64/vdsm/lib/vdsm/network/link/<wbr>iface.py&quot;,<br>
&gt; line 54, in is_up<br>
&gt; 18:56:15     return is_admin_up(dev)<br>
&gt; 18:56:15   File<br>
&gt; &quot;/home/jenkins/workspace/vdsm_<wbr>master_check-patch-fc24-x86_<wbr>64/vdsm/lib/vdsm/network/link/<wbr>iface.py&quot;,<br>
&gt; line 58, in is_admin_up<br>
&gt; 18:56:15     return is_link_up(get_link(dev)[&#39;<wbr>flags&#39;], check_oper_status=False)<br>
&gt; 18:56:15   File<br>
&gt; &quot;/home/jenkins/workspace/vdsm_<wbr>master_check-patch-fc24-x86_<wbr>64/vdsm/lib/vdsm/network/<wbr>netlink/link.py&quot;,<br>
&gt; line 56, in get_link<br>
&gt; 18:56:15     with _get_link(name=name, sock=sock) as link:<br>
&gt; 18:56:15   File &quot;/usr/lib64/python3.5/<wbr>contextlib.py&quot;, line 59, in __enter__<br>
&gt; 18:56:15     return next(self.gen)<br>
&gt; 18:56:15   File<br>
&gt; &quot;/home/jenkins/workspace/vdsm_<wbr>master_check-patch-fc24-x86_<wbr>64/vdsm/lib/vdsm/network/<wbr>netlink/link.py&quot;,<br>
&gt; line 199, in _get_link<br>
&gt; 18:56:15     err = _rtnl_link_get_kernel(sock, index, name, byref(link))<br>
&gt; 18:56:15 ctypes.ArgumentError: argument 3: &lt;class &#39;TypeError&#39;&gt;: wrong type<br>
&gt; 18:56:15 -------------------- &gt;&gt; begin captured logging &lt;&lt; --------------------<br>
&gt; 18:56:15 2016-09-20 18:55:55,220 WARNING [py.warnings] (MainThread)<br>
&gt; /usr/lib/python3.5/site-<wbr>packages/nose/util.py:453: DeprecationWarning:<br>
&gt; inspect.getargspec() is deprecated, use inspect.signature() instead<br>
&gt; 18:56:15   inspect.getargspec(func)<br>
&gt; 18:56:15  (inspect:1041)<br>
&gt; 18:56:15 2016-09-20 18:55:55,222 INFO  [root] (MainThread) Bond<br>
&gt; check_pkopm has been created. (bond:142)<br>
&gt; 18:56:15 2016-09-20 18:55:55,233 INFO  [root] (MainThread) Bond<br>
&gt; check_pkopm has been destroyed. (bond:149)<br>
&gt; 18:56:15 2016-09-20 18:55:55,234 DEBUG [root] (MainThread)<br>
&gt; /usr/bin/taskset --cpu-list 0-3 /sbin/ip link add name dummy_gmayN<br>
&gt; type dummy (cwd None) (commands:69)<br>
&gt; 18:56:15 2016-09-20 18:55:55,242 DEBUG [root] (MainThread) SUCCESS:<br>
&gt; &lt;err&gt; = b&#39;&#39;; &lt;rc&gt; = 0 (commands:93)<br>
&gt; 18:56:15 2016-09-20 18:55:55,242 DEBUG [root] (MainThread)<br>
&gt; /usr/bin/taskset --cpu-list 0-3 /sbin/ip link add name dummy_p3yZR<br>
&gt; type dummy (cwd None) (commands:69)<br>
&gt; 18:56:15 2016-09-20 18:55:55,250 DEBUG [root] (MainThread) SUCCESS:<br>
&gt; &lt;err&gt; = b&#39;&#39;; &lt;rc&gt; = 0 (commands:93)<br>
&gt; 18:56:15 2016-09-20 18:55:55,258 INFO  [root] (MainThread) Bond<br>
&gt; bond_Siiakr has been created. (bond:142)<br>
&gt; 18:56:15 2016-09-20 18:55:55,265 INFO  [root] (MainThread) Bond<br>
&gt; bond_Siiakr has been destroyed. (bond:149)<br>
&gt; 18:56:15 2016-09-20 18:55:55,265 DEBUG [root] (MainThread)<br>
&gt; /usr/bin/taskset --cpu-list 0-3 /sbin/ip link del dev dummy_gmayN (cwd<br>
&gt; None) (commands:69)<br>
&gt; 18:56:15 2016-09-20 18:55:55,277 DEBUG [root] (MainThread) SUCCESS:<br>
&gt; &lt;err&gt; = b&#39;&#39;; &lt;rc&gt; = 0 (commands:93)<br>
&gt; 18:56:15 2016-09-20 18:55:55,278 DEBUG [root] (MainThread)<br>
&gt; /usr/bin/taskset --cpu-list 0-3 /sbin/ip link del dev dummy_p3yZR (cwd<br>
&gt; None) (commands:69)<br>
&gt; 18:56:15 2016-09-20 18:55:55,289 DEBUG [root] (MainThread) SUCCESS:<br>
&gt; &lt;err&gt; = b&#39;&#39;; &lt;rc&gt; = 0 (commands:93)<br>
&gt; 18:56:15 --------------------- &gt;&gt; end captured logging &lt;&lt; ---------------------<br>
</blockquote></div><br></div></div>