<div dir="ltr">It was a timeout issue in wpaspy:<br><br>    def request(self, cmd):<br>           self.s.send(cmd)<br>           [r, w, e] = select.select([self.s], [], [], 20)<br>           if r:<br><br><div class="gmail_extra">
I just increased the timeout and everything went fine. Don&#39;t know why do I need now to do such change, in order to get my tests running ok. A change in hwsim? I was using latest wireless-testing head for my tests.<br>
<br>Jouni, it is ok if I send you a patch with this incremented value (from 10 to 20)? I&#39;ve tested with 15 and it failed also.<br> <br></div><div class="gmail_extra"></div><div class="gmail_extra">Cheers.<br><br><br></div>
<div class="gmail_extra"><div class="gmail_quote">On Tue, Mar 11, 2014 at 3:53 PM, Eduardo Abinader <span dir="ltr">&lt;<a href="mailto:eduardo.abinader@openbossa.org" target="_blank">eduardo.abinader@openbossa.org</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div>I&#39;ve run tests on kvm with v3.14-rc4 and on non-virtual machines. The behavior I reported, termination earlier, was due to a crash in my kvm. It occurs that this test is freezing my real machine, event if it is run separetely (run-tests.py -f ap_vlan). <br>


<br>I suspect of configure filter function in hwsim that is causing such issue, as can be seen in the message logs below:<br><br></div>===&gt; From VM logs:<br><div>[ 1610.660319] kobject: &#39;brport&#39; (ffff880078d35558): kobject_uevent_env<br>


[ 1610.660341] kobject: &#39;brport&#39; (ffff880078d35558): kobject_uevent_env: filter function caused the event to drop!<br>[ 1610.663776] kobject: &#39;rx-0&#39; (ffff88007afc3b20): kobject_release, parent ffff88007afc1750 (delayed 100)<br>


[ 1610.667599] kobject: &#39;tx-3&#39; (ffff880078df4bf8): kobject_release, parent ffff88007afc1750 (delayed 300)<br>[ 1610.671548] kobject: &#39;tx-2&#39; (ffff880078df49b8): kobject_release, parent ffff88007afc1750 (delayed 100)<br>


[ 1610.674346] kobject: &#39;tx-1&#39; (ffff880078df4778): kobject_release, parent ffff88007afc1750 (delayed 400)<br>[ 1610.675251] kobject: &#39;tx-0&#39; (ffff880078df4538): kobject_release, parent ffff88007afc1750 (delayed 300)<br>


<br></div><div>===&gt; From real machine logs:<br>kernel: [  298.329711] ieee80211 phy2: mac80211_hwsim_config (freq=2412(2412 - 0)/noht idle=0 ps=0 smps=static)<br>kernel: [  298.329728] ieee80211 phy2: mac80211_hwsim_configure_filter<br>

kernel: [  298.329744] IPv6: ADDRCONF(NETDEV_UP): wlan2: link is not ready<br>kernel: [  298.329747] ieee80211 phy2: mac80211_hwsim_configure_filter<br>kernel: imklog 5.8.11, log source = /proc/kmsg started.<br><br></div>

<div><br></div><div>The kvm logs are available at <a href="https://www.dropbox.com/s/miuo7z2rscj2rwg/kvm_logs.tgz" target="_blank">https://www.dropbox.com/s/miuo7z2rscj2rwg/kvm_logs.tgz</a><br><br><br></div><div>Thanks.<br>
</div><div><div class="h5"><div><br>
<div class="gmail_extra"><div class="gmail_quote">On Tue, Mar 11, 2014 at 9:54 AM, Jouni Malinen <span dir="ltr">&lt;<a href="mailto:j@w1.fi" target="_blank">j@w1.fi</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"><div>On Tue, Mar 11, 2014 at 09:13:57AM -0400, Eduardo Abinader wrote:<br>
&gt; With current master branch (390b92913a9a1b3a6aaf70e8b5971a7b7c76cabc), in<br>
&gt; every environment I<br>
&gt; test, hwsim test is exiting just after ap_vlan_open with the message:<br>
&gt; &#39;Terminating early due to device reset failure&#39;, although I have noticed<br>
&gt; success in buildbot.<br>
<br>
</div>I don&#39;t see that in any of my test setups. Could you please check the<br>
end of each ap_vlan_open log file to see if they show any signs of a<br>
process getting stuck or terminating? If no, please check all log files<br>
in the same directory that are newer than ap_vlan_open* logs.<br>
<span><font color="#888888"><br>
--<br>
Jouni Malinen                                            PGP id EFC895FA<br>
_______________________________________________<br>
HostAP mailing list<br>
<a href="mailto:HostAP@lists.shmoo.com" target="_blank">HostAP@lists.shmoo.com</a><br>
<a href="http://lists.shmoo.com/mailman/listinfo/hostap" target="_blank">http://lists.shmoo.com/mailman/listinfo/hostap</a><br>
</font></span></blockquote></div><br></div></div></div></div></div>
</blockquote></div><br></div></div>