Actions
Task #6537
closedWrite a guide for debugging tasks
Status:
CLOSED - DUPLICATE
Priority:
Normal
Assignee:
-
Category:
-
Sprint/Milestone:
-
Start date:
Due date:
% Done:
0%
Estimated time:
Platform Release:
Groomed:
No
Sprint Candidate:
No
Tags:
Documentation
Sprint:
Quarter:
Description
Ticket moved to GitHub: "pulp/pulpcore/1884":https://github.com/pulp/pulpcore/issues/1884
We've seen a few issues recently (eg [0]) about tasks getting stuck, etc. It would help to have a guide for developers and plugin writers on how to debug tasks.
A few topics:
- Using py-spy[1] to debug tasks
- Running asyncio in debug mode [2]
- Looking at coredumps of Pulp tasks
[0] https://pulp.plan.io/issues/6533 [1] https://github.com/benfred/py-spy [2] https://docs.python.org/3/library/asyncio-dev.html#debug-mode
Actions