Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bug: wifi-apmanager-linux-test-unit periodically hangs #161

Open
abeltrano opened this issue Feb 22, 2024 · 0 comments
Open

Bug: wifi-apmanager-linux-test-unit periodically hangs #161

abeltrano opened this issue Feb 22, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@abeltrano
Copy link
Contributor

Describe the bug
The wifi-apmanager-linux-test-unit test can sometimes hang while waiting for the netlink message processing thread to exist.

Steps To Reproduce
Run the wifi-apmanager-linux-test-unit repeatedly. The bug occurs ~1 in 30 runs or so.

Expected behavior
The test completes and succeeds.

Actual behavior
The test periodically hangs and must be canceled with Ctrl+C.

Screenshots
The following is the output from a run when a hang was observed:

shadowfax@mrstux:~/src/microsoft/netremote-cmake/build/dev-linux/tests/unit$ ./linux/wifi/apmanager/Debug/wifi-apmanager-linux-test-unit
Randomness seeded to: 3189465780
Stopping netlink message processing thread
Netlink message processing thread has been requested to stop
Netlink message processing thread has exited
Netlink message processing thread is already running
Stopping netlink message processing thread
Netlink message processing thread has been requested to stop
Netlink message processing thread has exited
Stopping netlink message processing thread
Netlink message processing thread has been requested to stop
Netlink message processing thread has exited
Stopping netlink message processing thread
^C
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
wifi-apmanager-linux-test-unit is a Catch2 v3.4.0 host application.
Run with -? for options

-------------------------------------------------------------------------------
AccessPointDiscoveryAgentOperationsNetlink::Start
  Start doesn't cause a crash when called with a null callback
-------------------------------------------------------------------------------
/home/shadowfax/src/microsoft/netremote/tests/unit/linux/wifi/apmanager/TestAccessPointDiscoveryAgentOperationsNetlink.cxx:51
...............................................................................

/home/shadowfax/src/microsoft/netremote/tests/unit/linux/wifi/apmanager/TestAccessPointDiscoveryAgentOperationsNetlink.cxx:54: FAILED:
  {Unknown expression after the reported line}
due to a fatal error condition:
  SIGINT - Terminal interrupt signal

===============================================================================
test cases: 3 | 2 passed | 1 failed
assertions: 6 | 5 passed | 1 failed
image

Version Information

@abeltrano abeltrano added the bug Something isn't working label Feb 22, 2024
@abeltrano abeltrano changed the title Bug: Bug: wifi-apmanager-linux-test-unit periodically hangs Feb 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant