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

Unreliable tests on macOS that sometimes fail unexplicably #122

Open
philippewarren opened this issue May 30, 2023 · 1 comment
Open

Unreliable tests on macOS that sometimes fail unexplicably #122

philippewarren opened this issue May 30, 2023 · 1 comment

Comments

@philippewarren
Copy link
Contributor

Describe the bug
Some of the tests on macOS are flaky (they sometimes work, and they sometimes fail unexplicably).
Frequently caused by sockets (socket.io) connections.
Also sometimes it is because of broken pipes (SIGPIPE).
Also sometimes, tests just fail.
This does not happen in GitHub's CI macOS runners, only on local machines.
There might be two different problems: websockets (socket.io) and datagrams (low-level libwebrtc).
The socket function fails inside of libwebrtc (here).

To Reproduce
Run tests on macOS multiple times.

Expected behavior
The tests always succeed.

Desktop (please complete the following information):

  • OS: macOS
  • Browser: N.A.
  • Version: N.A.

Additional context
This could be caused by a security feature of macOS 13, maybe. This is worth exploring.

@philippewarren
Copy link
Contributor Author

https://github.com/introlab/opentera-webrtc/actions/runs/5122657749/jobs/9212049866

Maybe it happens on CI and not just on macOS 13...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant