[VTS10R4]VtsHalWifiSupplicantV1_2Host

问题描述

VtsHalWifiSupplicantV1_2Host
VtsHalWifiSupplicantV1_2Host#SupplicantStaIfaceHidlTest.StartDppEnrolleeInitiator(default,default,default,default,default)_64bit
VtsHalWifiSupplicantV1_2Host#SupplicantStaIfaceHidlTest.StartDppConfiguratorInitiator(default,default,default,default,default)_64bit
VtsHalWifiSupplicantV1_2Host#SupplicantStaNetworkHidlTest.SetGetGroupMgmtCipher(default,default,default,default,default)_64bit
VtsHalWifiSupplicantV1_2Host#SupplicantStaNetworkHidlTest.EnableSuiteBEapOpenSslCiphers(default,default,default)_64bit
Fail:
hardware/interfaces/wifi/supplicant/1.2/vts/functional/supplicant_sta_iface_hidl_test.cpp:407
Expected equality of these values:
  std::cv_status::no_timeout
    Which is: 4-byte object <00-00 00-00>
  wait(SupplicantStaIfaceHidlTest::DppCallbackType::EVENT_FAILURE)
    Which is: 4-byte object <01-00 00-00>

hardware/interfaces/wifi/supplicant/1.0/vts/functional/supplicant_hidl_test_utils.cpp:64
Value of: configureChipToSupportIfaceType( wifi_chip, ::android::hardware::wifi::V1_0::IfaceType::STA, &mode_id)
  Actual: false
Expected: true
hardware/interfaces/wifi/supplicant/1.0/vts/functional/supplicant_hidl_test_utils.cpp:211
Value of: (SupplicantStatusCode::SUCCESS == status.code) || (SupplicantStatusCode::FAILURE_IFACE_EXISTS == status.code)
  Actual: false
Expected: true
hardware/interfaces/wifi/supplicant/1.0/vts/functional/supplicant_hidl_test_utils.cpp:227
Value of: (SupplicantStatusCode::SUCCESS == status.code) || (SupplicantStatusCode::FAILURE_IFACE_EXISTS == status.code)
  Actual: false
Expected: true
hardware/interfaces/wifi/supplicant/1.2/vts/functional/supplicant_sta_network_hidl_test.cpp:42
Expected: (sta_network_.get()) != (nullptr), actual: NULL vs (nullptr)
hardware/interfaces/wifi/supplicant/1.2/vts/functional/supplicant_sta_iface_hidl_test.cpp:351
Expected equality of these values:
  std::cv_status::no_timeout
    Which is: 4-byte object <00-00 00-00>
  wait(SupplicantStaIfaceHidlTest::DppCallbackType::EVENT_FAILURE)
    Which is: 4-byte object <01-00 00-00>

解决方案

遇到这个模块fail的解决方法如下:
关掉Wi-Fi framework
在Settings > Network & Internet > 關掉Wi-Fi UI外, 還需要在Location > Wi-Fi and Bluetooth scanning > Wi-Fi scanning關掉, 這兩個關了Wi-Fi才會全關.
因為VTS測試時會自行launch/kill wpa_supplicant, 若您打開Wi-Fi framework會有概率打中Wi-Fi framework recover abnormal的情況(wpa_supplicant deathrecipient)
故此關閉Wi-Fi framework才是正確的做法

微信扫码打赏

作者: RESSRC

个人资源站

发表评论

电子邮件地址不会被公开。 必填项已用*标注

此站点使用Akismet来减少垃圾评论。了解我们如何处理您的评论数据