3
0
mirror of https://git.kernel.org/pub/scm/network/wireless/iwd.git synced 2024-11-22 14:49:24 +01:00
iwd/autotests
James Prestwood 3a9c401f63 auto-t: fix blacklist test timing issues
This test fails randomly, and it appears to be due to excessive
scanning. Historically most autotests start a dbus scan right
away. The problem is that most likely a periodic scan is already
ongoing, meaning the dbus scan gets queued. If a Connect() call
comes in (which it always does), the dbus scan gets delayed and will
trigger once connected, at a time the test is not expecting. This
can cause problems with any assumed timing as well as offchannel
frames.

This patch removes the explicit DBus scanning and instead uses
scan_if_needed with get_ordered_networks. The 'all_blacklisted_test'
was also modified to wait for scanning to complete after failing
to connect to all BSS's. This lets all the networks fully come
up (after being blocked by hwsim) and appear in scan results.
2021-02-11 20:32:26 -06:00
..
misc autotests: Test loading binary key formats in testEAP-TLS 2021-01-25 14:01:58 -06:00
shell auto-t: add shell test 2019-08-07 16:37:51 -05:00
testAddressRandomization auto-t: remove stale hw.conf options 2021-01-27 13:42:58 -06:00
testAdHoc auto-t: remove stale hw.conf options 2021-01-27 13:42:58 -06:00
testAgent auto-t: remove stale hw.conf options 2021-01-27 13:42:58 -06:00
testAP auto-t: add namespaces to testAP 2020-11-18 11:01:11 -06:00
testAP-no-support auto-t: prepare autotests for test-runner re-write 2020-09-10 17:59:49 -05:00
testAPRoam auto-t: remove stale hw.conf options 2021-01-27 13:42:58 -06:00
testBSSBlacklist auto-t: fix blacklist test timing issues 2021-02-11 20:32:26 -06:00
testClientNonInteractive auto-t: remove stale hw.conf options 2021-01-27 13:42:58 -06:00
testConnectAutoconnect auto-t: remove stale hw.conf options 2021-01-27 13:42:58 -06:00
testDisconnectByAP auto-t: prepare autotests for test-runner re-write 2020-09-10 17:59:49 -05:00
testDisconnectOnConnect auto-t: remove stale hw.conf options 2021-01-27 13:42:58 -06:00
testEAD auto-t: remove requirement for /var/lib/{ead,iwd} 2020-10-14 13:03:17 -05:00
testEAP-AKA-ofono auto-t: remove stale hw.conf options 2021-01-27 13:42:58 -06:00
testEAP-AKA-prime-ofono auto-t: remove stale hw.conf options 2021-01-27 13:42:58 -06:00
testEAP-MSCHAPV2 auto-t: remove stale hw.conf options 2021-01-27 13:42:58 -06:00
testEAP-PEAP auto-t: remove stale hw.conf options 2021-01-27 13:42:58 -06:00
testEAP-PEAP-GTC auto-t: remove stale hw.conf options 2021-01-27 13:42:58 -06:00
testEAP-PEAP-MSCHAPv2 auto-t: remove stale hw.conf options 2021-01-27 13:42:58 -06:00
testEAP-PEAP-SIM auto-t: update EAP-PEAP-SIM test to use ofono 2020-09-16 14:31:43 -05:00
testEAP-PEAPv0-CryptoBinding auto-t: remove stale hw.conf options 2021-01-27 13:42:58 -06:00
testEAP-PWD auto-t: remove stale hw.conf options 2021-01-27 13:42:58 -06:00
testEAP-SIM-ofono auto-t: remove stale hw.conf options 2021-01-27 13:42:58 -06:00
testEAP-TLS auto-t: remove stale hw.conf options 2021-01-27 13:42:58 -06:00
testEAP-TLS-embedded-pems auto-t: remove stale hw.conf options 2021-01-27 13:42:58 -06:00
testEAP-TLS-Frag auto-t: remove stale hw.conf options 2021-01-27 13:42:58 -06:00
testEAP-TLSwithMFPC auto-t: remove stale hw.conf options 2021-01-27 13:42:58 -06:00
testEAP-TLSwithMFPR auto-t: remove stale hw.conf options 2021-01-27 13:42:58 -06:00
testEAP-TTLS auto-t: remove stale hw.conf options 2021-01-27 13:42:58 -06:00
testEAP-TTLS-CHAP auto-t: remove stale hw.conf options 2021-01-27 13:42:58 -06:00
testEAP-TTLS-EAP-MSCHAPV2 auto-t: remove stale hw.conf options 2021-01-27 13:42:58 -06:00
testEAP-TTLS-Frag auto-t: remove stale hw.conf options 2021-01-27 13:42:58 -06:00
testEAP-TTLS-MSCHAP auto-t: remove stale hw.conf options 2021-01-27 13:42:58 -06:00
testEAP-TTLS-MSCHAPv2 auto-t: remove stale hw.conf options 2021-01-27 13:42:58 -06:00
testEAP-TTLS-PAP auto-t: remove stale hw.conf options 2021-01-27 13:42:58 -06:00
testEAP-WPS auto-t: remove stale hw.conf options 2021-01-27 13:42:58 -06:00
testEAP-WPS-Frag auto-t: remove stale hw.conf options 2021-01-27 13:42:58 -06:00
testFILS auto-t: remove stale hw.conf options 2021-01-27 13:42:58 -06:00
testFT-8021x-roam auto-t: update roaming tests with wait_for_object_change 2021-02-05 14:44:00 -06:00
testFT-FILS-SHA256 auto-t: update roaming tests with wait_for_object_change 2021-02-05 14:44:00 -06:00
testFT-FILS-SHA384 auto-t: update roaming tests with wait_for_object_change 2021-02-05 14:44:00 -06:00
testFT-PSK-over-DS auto-t: update roaming tests with wait_for_object_change 2021-02-05 14:44:00 -06:00
testFT-PSK-roam auto-t: update roaming tests with wait_for_object_change 2021-02-05 14:44:00 -06:00
testFT-SAE-roam auto-t: update roaming tests with wait_for_object_change 2021-02-05 14:44:00 -06:00
testHiddenNetworks auto-t: use hwsim_medium=no (testSAE/HiddenNetworks) 2020-11-17 13:30:29 -06:00
testHotspot auto-t: remove stale hw.conf options 2021-01-27 13:42:58 -06:00
testHT-VHT auto-t: remove stale hw.conf options 2021-01-27 13:42:58 -06:00
testKnownNetworks auto-t: remove stale hw.conf options 2021-01-27 13:42:58 -06:00
testMFP-Options auto-t: remove stale hw.conf options 2021-01-27 13:42:58 -06:00
testNetconfig auto-t: remove stale hw.conf options 2021-01-27 13:42:58 -06:00
testOpen auto-t: replace waiting for network with device 2020-09-14 16:03:04 -05:00
testOWE auto-t: replace waiting for network with device 2020-09-14 16:03:04 -05:00
testP2P autotests: Add testP2P 2020-10-19 17:20:21 -05:00
testPreauth-roam auto-t: update roaming tests with wait_for_object_change 2021-02-05 14:44:00 -06:00
testRoamRetry auto-t: update roaming tests with wait_for_object_change 2021-02-05 14:44:00 -06:00
testRRM auto-t: replace waiting for network with device 2020-09-14 16:03:04 -05:00
testRSSIAgent auto-t: remove stale hw.conf options 2021-01-27 13:42:58 -06:00
testSAE auto-t: use hwsim_medium=no (testSAE/HiddenNetworks) 2020-11-17 13:30:29 -06:00
testSAQuery auto-t: replace waiting for network with device 2020-09-14 16:03:04 -05:00
testSAQuery-spoofing auto-t: fix SAQuery-spoofing test 2021-02-05 14:43:17 -06:00
testScan auto-t: remove stale hw.conf options 2021-01-27 13:42:58 -06:00
testScanKnownFreqs auto-t: remove stale hw.conf options 2021-01-27 13:42:58 -06:00
testWPA auto-t: remove stale hw.conf options 2021-01-27 13:42:58 -06:00
testWPA2 auto-t: fix testWPA2 to wait for device object 2020-09-10 17:59:49 -05:00
testWPA2-no-CCMP auto-t: add test for CCMP with no support 2019-05-13 16:38:23 -05:00
testWPA2-SHA256 auto-t: replace waiting for network with device 2020-09-14 16:03:04 -05:00
testWPA2withMFP auto-t: replace waiting for network with device 2020-09-14 16:03:04 -05:00
util auto-t: add API wait_for_object_change 2021-02-05 14:44:00 -06:00