Skip to content

--dist=worksteal + high core counts leads to hangs #884

Closed
@alex

Description

@alex

I'm able to consistently reproduce with https://github.com/pyca/cryptography on an M1 MBP, which has 10 cores (8 performance, 2 efficiency).

Specifically py.test -n 10 --dist worksteal --last-failed tests/x509/ consistently hangs.

It consistently works if I remove the --dist worksteal flag. Using lower core counts (e.g. -n 8) makes the hangs more intermittent, but the hangs still occur.

The hangs happen at the end of the test suite -- I believe after all the tests have run.

If there's any additional information I can provide, pleaese let me know.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions