iwd/autotests
Andrew Zaborowski 187706c348 autotests: DHCPv4 renewal/resend test in testNetconfig
Test that the DHCPv4 lease got renewed after the T1 timer runs out.
Then also simulate the DHCPREQUEST during renew being lost and
retransmitted and the lease eventually getting renewed T1 + 60s later.

The main downside is that this test will inevitably take a while if
running in Qemu without the time travel ability.

Update the test and some utility code to run hostapd in an isolated net
namespace for connection_test.py.  We now need a second hostapd
instance though because in static_test.py we test ACD and we need to
produce an IP conflict.  Moving the hostapd instance unexpectedly fixes
dhcpd's internal mechanism to avoid IP conflicts and it would no longer
assign 192.168.1.10 to the second client, it'd notice that address was
already in use and assign the next free address, or fail if there was
none.  So add a second hostapd instance that runs in the main namespace
together with the statically-configured client, it turns out the test
relies on the kernel being unable to deliver IP traffic to interfaces on
the same system.
2022-07-12 12:47:09 -05:00
..
misc auto-t: allow wildcard phase1 for EAP tests 2022-06-01 11:02:01 -05:00
shell auto-t: add shell test 2019-08-07 16:37:51 -05:00
testAP auto-t: add client test to testAP 2022-06-30 13:38:02 -05:00
testAP-no-support auto-t: prepare autotests for test-runner re-write 2020-09-10 17:59:49 -05:00
testAPRoam auto-t: test-wide replacement of assertTrue(list_sta()) 2022-03-30 15:26:44 -05:00
testAdHoc auto-t: add client test to testAdHoc 2022-06-30 13:38:02 -05:00
testAddressRandomization auto-t: use copy_to_storage in address randomization test 2022-05-25 15:00:06 -05:00
testAgent auto-t: fix unpredictability/pointless test from testAgent 2022-06-29 13:18:29 -05:00
testBSSBlacklist auto-t: fix testBSSBlacklist typo 2022-03-31 18:12:49 -05:00
testChannelSwitch auto-t: add missing ocv option and wait to testChannelSwitch 2021-10-19 15:29:26 -05:00
testClientNonInteractive auto-t: remove direct scan() call when possible 2022-03-30 15:25:55 -05:00
testConnectAutoconnect auto-t: fix testConnectAutoconnect 2021-10-20 16:51:58 -05:00
testDPP auto-t: add client test to testDPP 2022-06-30 13:38:02 -05:00
testDisconnectByAP auto-t: remove direct scan() call when possible 2022-03-30 15:25:55 -05:00
testDisconnectOnConnect auto-t: update all tests to remove bad scanning logic 2021-08-12 16:59:03 -05:00
testEAD auto-t: remove duplicate EAP tests 2021-08-17 11:44:36 -05:00
testEAP auto-t: add EAP reauth to testEAP 2022-05-26 11:24:56 -05:00
testEAP-PEAPv0-CryptoBinding auto-t: fix eapol_reauth utility 2022-05-26 11:24:52 -05:00
testEAP-TLS-Frag auto-t: remove duplicate EAP tests 2021-08-17 11:44:36 -05:00
testEAP-TLSwithMFPC auto-t: remove duplicate EAP tests 2021-08-17 11:44:36 -05:00
testEAP-TLSwithMFPR auto-t: remove duplicate EAP tests 2021-08-17 11:44:36 -05:00
testEAP-TTLS-Frag auto-t: remove duplicate EAP tests 2021-08-17 11:44:36 -05:00
testEAP-WPS auto-t: add client test to testEAP-WPS 2022-06-30 13:38:02 -05:00
testEAP-WPS-Frag auto-t: release radio/hostapd instances from cls 2021-02-26 10:08:10 -06:00
testEAPoL-spoofing auto-t: Add EAPoL spoofing test 2022-05-11 17:23:54 -05:00
testEncryptedProfiles auto-t: fix testEncryptedProfiles mtime check 2022-06-24 18:11:15 -05:00
testFILS auto-t: replace ifconfig with ip commands 2021-11-11 14:29:54 -06:00
testFT-8021x-roam auto-t: test-wide replacement of assertTrue(list_sta()) 2022-03-30 15:26:44 -05:00
testFT-FILS auto-t: test-wide replacement of assertTrue(list_sta()) 2022-03-30 15:26:44 -05:00
testHT-VHT auto-t: remove direct scan() call when possible 2022-03-30 15:25:55 -05:00
testHiddenNetworks auto-t: rename testHiddenNetwork's test class 2022-06-22 18:37:15 -05:00
testHotspot auto-t: Drop !used hostapd instances in testHotspot 2021-12-24 14:28:55 -06:00
testKnownNetworks auto-t: add client test to testKnownNetworks 2022-06-30 13:38:02 -05:00
testMFP-Options auto-t: update all tests to remove bad scanning logic 2021-08-12 16:59:03 -05:00
testNetconfig autotests: DHCPv4 renewal/resend test in testNetconfig 2022-07-12 12:47:09 -05:00
testOWE auto-t: test-wide replacement of assertTrue(list_sta()) 2022-03-30 15:26:44 -05:00
testOWE-transition auto-t: remove direct scan() call when possible 2022-03-30 15:25:55 -05:00
testOpen auto-t: update all tests to remove bad scanning logic 2021-08-12 16:59:03 -05:00
testP2P auto-t: Work around wpa_s config issue in testP2P 2022-06-06 10:39:00 -05:00
testPSK-roam auto-t: wait for roam events in proper order 2022-03-31 18:12:53 -05:00
testPreauth-roam auto-t: test-wide replacement of assertTrue(list_sta()) 2022-03-30 15:26:44 -05:00
testRRM auto-t: cleanup testRRM 2022-03-31 18:12:56 -05:00
testRSSIAgent auto-t: fix testRSSIAgent after signal agent changes 2022-05-25 15:00:06 -05:00
testRoamRetry auto-t: fixup testRoamRetry for better timing reliability 2022-03-28 12:38:15 -05:00
testSAE auto-t: do full scan for testSAE 2022-03-28 12:38:15 -05:00
testSAE-AntiClogging auto-t: remove direct scan() call when possible 2022-03-30 15:25:55 -05:00
testSAE-roam auto-t: testSAE-roam: wait for ip link down 2022-03-30 15:26:39 -05:00
testSAQuery auto-t: testSAQuery remove ungraceful restart 2021-08-25 08:51:45 -05:00
testSAQuery-spoofing auto-t: add OCV to testSAQuery-spoofing 2021-10-19 13:28:03 -05:00
testScan auto-t: remove ifconfig call from testScan 2022-06-03 11:59:07 -05:00
testScanKnownFreqs auto-t: set autoconnect=True for tests that need it 2021-08-12 16:59:05 -05:00
testWPA auto-t: update all tests to remove bad scanning logic 2021-08-12 16:59:03 -05:00
testWPA2 auto-t: update all tests to remove bad scanning logic 2021-08-12 16:59:03 -05:00
testWPA2-SHA256 auto-t: update all tests to remove bad scanning logic 2021-08-12 16:59:03 -05:00
testWPA2-ext-key-id auto-t: fix rekey/reauth logic in a few ways 2022-06-24 18:11:33 -05:00
testWPA2-no-CCMP auto-t: update all tests to remove bad scanning logic 2021-08-12 16:59:03 -05:00
testWPA2withMFP auto-t: update all tests to remove bad scanning logic 2021-08-12 16:59:03 -05:00
util autotests: DHCPv4 renewal/resend test in testNetconfig 2022-07-12 12:47:09 -05:00