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

Intermittent Errors in macOS Tests 👀 #1425

Open
4 tasks
roomrys opened this issue Jul 28, 2023 · 0 comments
Open
4 tasks

Intermittent Errors in macOS Tests 👀 #1425

roomrys opened this issue Jul 28, 2023 · 0 comments
Assignees
Labels
bug Something isn't working intermittent

Comments

@roomrys
Copy link
Collaborator

roomrys commented Jul 28, 2023

Bug description

In 1.3.1, we added non-experimental support for macOS and have thus added the macos-latest image in our tests. Occasionally, certain tests for macOS will fail. Rerunning the test leads to a pass, thus indicating an intermittent failure. This issue tracks these intermittent failures.

#1551 (action)

tests/info/test_summary.py .                                             [ 27%]
Error: The operation was canceled.

Note: the operation was not canceled, but timed out after 300+ minutes.

#1456 (action)

FAILED tests/test_message.py::test_send_receive_pair - assert False
==== 1 failed, 590 passed, 11 skipped, 5559 warnings in 2694.51s (0:44:54) =====
Error: Process completed with exit code 1.
=================================== FAILURES ===================================
____________________________ test_send_receive_pair ____________________________

    def test_send_receive_pair():
        # run "sender" in a separate process
        Process(target=run_send).start()
    
        # receive messages in the main process
>       run_receive()

tests/test_message.py:52: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

    def run_receive():
        receiver = PairedReceiver.from_defaults()
        receiver.setup()
    
        success = receiver.receive_handshake()
    
        # Make sure handshake was succesful
>       assert success
E       assert False

tests/test_message.py:29: AssertionError

Expected behaviour

The macOS test does not time-out.

Actual behaviour

The macOS test times out.

Your personal set up

  • OS:
    macOS 12.6.7
  • Version(s):
Environment packages
# paste output of `pip freeze` or `conda list` here
Logs
# paste relevant logs here, if any

Screenshots

How to reproduce

  1. Go to '...'
  2. Click on '....'
  3. Scroll down to '....'
  4. See error
@roomrys roomrys added bug Something isn't working intermittent labels Jul 28, 2023
@roomrys roomrys changed the title Intermittent Error in macOS test_summary Intermittent Errors in macOS Test 👀 Aug 16, 2023
@roomrys roomrys changed the title Intermittent Errors in macOS Test 👀 Intermittent Errors in macOS Tests 👀 Aug 16, 2023
@roomrys roomrys self-assigned this Jan 5, 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 intermittent
Projects
None yet
Development

No branches or pull requests

1 participant