question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

test_worker_heartbeat_after_cancel hangs on MacOS 3.7/3.8

See original GitHub issue

With the latest CI improvements, I receive failures which look like this. I assume this is a GH actions script this is pointing to but I have no idea what this particular error is about.

@crusaderky have you encountered anything like this in your tests?

https://github.com/fjetter/distributed/runs/3064775791?check_suite_focus=true

/Users/runner/work/_temp/eec694e8-9cbc-41e2-9505-f187841b5aa3.sh: line 9:  6519 Abort trap: 6           pytest distributed -m "not avoid_ci" --runslow --junitxml reports/pytest.xml -o junit_suite_name=$TEST_ID
distributed/tests/test_scheduler.py::test_worker_heartbeat_after_cancel 
Error: Process completed with exit code 134.

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:9 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
crusaderkycommented, Jul 14, 2021

That’s pytest-timeout that just sent SIGABRT. I was hoping it would kill off the individual test on MacOS like it does on Linux. Clearly it’s not like that. I will revert to timeout_method = thread for MacOS.

0reactions
fjettercommented, Jul 15, 2021

I couldn’t reproduce the hanging test locally. However, what’s interesting, is that I could see a lot of “loop unresponsive” messages when running the test under a lot of load. Still, idk why it hung. The new test logic is less prone to instabilities

Read more comments on GitHub >

github_iconTop Results From Across the Web

If an error occurred while updating or installing macOS
The message might say that an error occurred while downloading, preparing, or installing, or that the installer is damaged or could not be ......
Read more >
Mac won't update to macOS Monterey? Try this - MacPaw
Popular fixes when macOS Monterey won't install or freezes during installation. Follow these tips when you see your Monterey update stuck.
Read more >
What to do if your Ventura update is stuck - Macworld
Here's what to do if your Mac appears to freeze while you are downloading or installing macOS Ventura or if you get an...
Read more >
How to Unfreeze a Mac and What to Do if it Keeps Freezing
A frozen Mac can be a real nuisance, stopping you from getting anything done. Here, we look at how to unfreeze your Mac....
Read more >
How to Fix Frozen Mac - Setapp
Force quit a frozen or unresponsive app. Apps crashing are some of the most common reasons behind a Mac freezing. Try to determine...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found