-
Notifications
You must be signed in to change notification settings - Fork 33
Open
Description
I'm encountering with some of my devices (EasyIO), for the multi subnet tests, the successful DHCP requests sometimes comes within a second after the DHCP lease expired (note the final ip notification in logs below. Thus it fails and stops other DHCP tests.
Seems to be the device tries to renew the existing lease before requesting a new IP as there are several DHCP requests and DHCP NAK's in the packet capture.
test_ipaddr.pcap.tar.gz
I'm not sure if the device should fail, or the if the test should allow a minuscule time period after expiration for a device to obtain a new lease after expiration in these tests? @pisuke @frgitdaq ?
2020-10-22 21:31:29,355 INFO Setting DHCP timeout at 2020-10-22 21:33:29.355170
2020-10-22 21:31:29,356 INFO Testing dhcp range: {'start': '172.16.0.1', 'end': '172.31.255.254', 'prefix_length': 12}
2020-10-22 21:33:28,767 INFO ip notification 172.20.74.137
2020-10-22 21:33:30,774 INFO Setting DHCP timeout at 2020-10-22 21:35:30.774162
2020-10-22 21:33:30,776 INFO Testing dhcp range: {'start': '10.0.0.1', 'end': '10.255.255.254', 'prefix_length': 8}
2020-10-22 21:35:30,999 ERROR DHCP times out after 120s lease time
2020-10-22 21:35:31,001 INFO Running analyze results
2020-10-22 21:35:31,001 INFO Setting DHCP timeout at 2020-10-22 21:37:31.001899
2020-10-22 21:35:31,853 INFO ip notification 10.148.46.87
2020-10-22 21:35:34,196 INFO Module finalizing
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels