You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Don't automatically cancel test if device interface is disconnected during test #1132
This is an expected behavior (#376) developed to guarantee network and device stability during testing. The cancellation of the test only happens during the monitor period where the device is expected to be in a stable state from a networking perspective.
If the device set their port up and down multiple times during its boot but never attained an IP address, it would not progress to the monitor state and would stay in the startup state. Once a device receives an IP address, Testrun will move to monitor state where this will be detected.
It may be worth investigating why this specific device is becoming stable enough to receive a new DHCP address but still restarting its network services.
We have now witnessed this behaviour on a DUT from a completely separate manufacturer.
It may be worth investigating why this specific device is becoming stable enough to receive a new DHCP address but still restarting its network services.
I'm not sure we'll get an expedient answer on this one due to the size of the manufacturer. I'm also not sure necessarily that it's such a bad thing if the port cycles up/down/up during boot/post an initial DHCP DORA. Port up/down behaviours aren't atypical. The STP listening/learning emulation process explained in #933 is sort of an example of this.
Maybe 'port consistently up from start' should be a test in it's own right under the connection module if it's of interest? I'm not sure that it should 'break' the functionality of Testrun as it does currently on these particular devices?
Activity
jhughesoti commentedon Feb 18, 2025
This is an expected behavior (#376) developed to guarantee network and device stability during testing. The cancellation of the test only happens during the monitor period where the device is expected to be in a stable state from a networking perspective.
If the device set their port up and down multiple times during its boot but never attained an IP address, it would not progress to the monitor state and would stay in the startup state. Once a device receives an IP address, Testrun will move to monitor state where this will be detected.
It may be worth investigating why this specific device is becoming stable enough to receive a new DHCP address but still restarting its network services.
duncangreene commentedon Mar 11, 2025
We have now witnessed this behaviour on a DUT from a completely separate manufacturer.
I'm not sure we'll get an expedient answer on this one due to the size of the manufacturer. I'm also not sure necessarily that it's such a bad thing if the port cycles up/down/up during boot/post an initial DHCP DORA. Port up/down behaviours aren't atypical. The STP listening/learning emulation process explained in #933 is sort of an example of this.
Maybe 'port consistently up from start' should be a test in it's own right under the connection module if it's of interest? I'm not sure that it should 'break' the functionality of Testrun as it does currently on these particular devices?
jboddey commentedon Apr 14, 2025
Perhaps we want to make this behavior to toggle from system.json?
jboddey commentedon Apr 22, 2025
A new property has been added to system.json and will be released in v2.2.