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
Testing hangs at Waiting for Device after interface swap #978
Describe the bug
After changing the interface to use for the device under test, future tests hang at "Waiting for Device", and error is thrown in logs.
To Reproduce
Steps to reproduce the behavior:
Have Testrun running perfectly okay with a given (USB Ethernet) network adapter for the device under test.
With no testing running, unplug the (USB Ethernet) network adapter, and plug in a different/spare one.
Testrun detects that the network adapter configured for the device under test is no longer available and the user is prompted to choose another network adapter.
Choose the new network adapter as the connection for the device under test.
Attempt to run a test.
Observe error as in above screenshot and testing hang at "Waiting for Device".
Expected behavior
Error should not be thrown, and testing should work as expected.
Workaround
Stop, restart and reconfigure Testrun to use the new network adapter.
Environment (please provide the following information about your setup):
Can you verify the device was properly configured after it is connected? It maybe detected by the system but not configured properly for Testrun's usage.
Can you verify the device was properly configured after it is connected? It maybe detected by the system but not configured properly for Testrun's usage.
I can confirm the 'new' interface was configured in the Settings panel prior to running the test above.
Out of interest I just tried to replicate without configuring the 'new' interface in Settings. Testrun rightly won't allow you to start a test in this case.
This video shows the issue, swapping from an interface ending :40 to an interface ending :8f. You'll see the exception thrown at 03:02 in the video.
92696025-4842-4bee-b865-411986e239b2.1.mp4
As an aside, the appearance of the dialogue at 00:37 is strange, as those adapters were already configured as you can see at that point in the video, potentially rendering the dialogue a bit unnecessary?
My question regarding configuration was about the OS level. While I did see you looking at a portion of the configuration in the OS, it was not the full configuration, i.e. dhcp options, etc. Could you do two things to confirm this issue with an adapter switch vs the adapter configuration itself?
Verify both interfaces are configured in an identical manner
Connect the errant interface before starting testrun and use it without switching.
If the issue persists without switching we know it is not the switching mechanism but the interface configuration and/or the adapter itself.
Both items shown in the video below, which is essentially the vice versa of the video above (swapping from the interface ending :8f to the interface ending :40).
cd102aa4-4359-4f3e-8766-1434e7b4a0f3.1.mp4
P.S. On a completely separate note you'll see in the above video (00:44 - 01:57) the browser caching issue explained in #986.
Activity
jhughesoti commentedon Nov 20, 2024
Can you verify the device was properly configured after it is connected? It maybe detected by the system but not configured properly for Testrun's usage.
duncangreene commentedon Nov 21, 2024
I can confirm the 'new' interface was configured in the Settings panel prior to running the test above.
Out of interest I just tried to replicate without configuring the 'new' interface in Settings. Testrun rightly won't allow you to start a test in this case.
duncangreene commentedon Nov 21, 2024
This video shows the issue, swapping from an interface ending :40 to an interface ending :8f. You'll see the exception thrown at 03:02 in the video.
92696025-4842-4bee-b865-411986e239b2.1.mp4
As an aside, the appearance of the dialogue at 00:37 is strange, as those adapters were already configured as you can see at that point in the video, potentially rendering the dialogue a bit unnecessary?
jhughesoti commentedon Nov 21, 2024
My question regarding configuration was about the OS level. While I did see you looking at a portion of the configuration in the OS, it was not the full configuration, i.e. dhcp options, etc. Could you do two things to confirm this issue with an adapter switch vs the adapter configuration itself?
If the issue persists without switching we know it is not the switching mechanism but the interface configuration and/or the adapter itself.
duncangreene commentedon Nov 21, 2024
Both items shown in the video below, which is essentially the vice versa of the video above (swapping from the interface ending :8f to the interface ending :40).
cd102aa4-4359-4f3e-8766-1434e7b4a0f3.1.mp4
P.S. On a completely separate note you'll see in the above video (00:44 - 01:57) the browser caching issue explained in #986.
KrystsinaT commentedon Dec 5, 2024
@jboddey The issue was tested in scope of ticket 380232279. Fixed.