ap_vlan_open exits hwsim tests

Eduardo Abinader eduardo.abinader at openbossa.org
Tue Mar 11 20:43:11 EDT 2014


It was a timeout issue in wpaspy:

    def request(self, cmd):
           self.s.send(cmd)
           [r, w, e] = select.select([self.s], [], [], 20)
           if r:

I just increased the timeout and everything went fine. Don'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.

Jouni, it is ok if I send you a patch with this incremented value (from 10
to 20)? I've tested with 15 and it failed also.

Cheers.


On Tue, Mar 11, 2014 at 3:53 PM, Eduardo Abinader <
eduardo.abinader at openbossa.org> wrote:

> I'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).
>
> I suspect of configure filter function in hwsim that is causing such
> issue, as can be seen in the message logs below:
>
> ===> From VM logs:
> [ 1610.660319] kobject: 'brport' (ffff880078d35558): kobject_uevent_env
> [ 1610.660341] kobject: 'brport' (ffff880078d35558): kobject_uevent_env:
> filter function caused the event to drop!
> [ 1610.663776] kobject: 'rx-0' (ffff88007afc3b20): kobject_release, parent
> ffff88007afc1750 (delayed 100)
> [ 1610.667599] kobject: 'tx-3' (ffff880078df4bf8): kobject_release, parent
> ffff88007afc1750 (delayed 300)
> [ 1610.671548] kobject: 'tx-2' (ffff880078df49b8): kobject_release, parent
> ffff88007afc1750 (delayed 100)
> [ 1610.674346] kobject: 'tx-1' (ffff880078df4778): kobject_release, parent
> ffff88007afc1750 (delayed 400)
> [ 1610.675251] kobject: 'tx-0' (ffff880078df4538): kobject_release, parent
> ffff88007afc1750 (delayed 300)
>
> ===> From real machine logs:
> kernel: [  298.329711] ieee80211 phy2: mac80211_hwsim_config
> (freq=2412(2412 - 0)/noht idle=0 ps=0 smps=static)
> kernel: [  298.329728] ieee80211 phy2: mac80211_hwsim_configure_filter
> kernel: [  298.329744] IPv6: ADDRCONF(NETDEV_UP): wlan2: link is not ready
> kernel: [  298.329747] ieee80211 phy2: mac80211_hwsim_configure_filter
> kernel: imklog 5.8.11, log source = /proc/kmsg started.
>
>
> The kvm logs are available at
> https://www.dropbox.com/s/miuo7z2rscj2rwg/kvm_logs.tgz
>
>
> Thanks.
>
> On Tue, Mar 11, 2014 at 9:54 AM, Jouni Malinen <j at w1.fi> wrote:
>
>> On Tue, Mar 11, 2014 at 09:13:57AM -0400, Eduardo Abinader wrote:
>> > With current master branch (390b92913a9a1b3a6aaf70e8b5971a7b7c76cabc),
>> in
>> > every environment I
>> > test, hwsim test is exiting just after ap_vlan_open with the message:
>> > 'Terminating early due to device reset failure', although I have noticed
>> > success in buildbot.
>>
>> I don't see that in any of my test setups. Could you please check the
>> end of each ap_vlan_open log file to see if they show any signs of a
>> process getting stuck or terminating? If no, please check all log files
>> in the same directory that are newer than ap_vlan_open* logs.
>>
>> --
>> Jouni Malinen                                            PGP id EFC895FA
>> _______________________________________________
>> HostAP mailing list
>> HostAP at lists.shmoo.com
>> http://lists.shmoo.com/mailman/listinfo/hostap
>>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.shmoo.com/pipermail/hostap/attachments/20140311/4debb722/attachment.htm>


More information about the HostAP mailing list