Task #6537
Write a guide for debugging tasks
Status:
NEW
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
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
History
#1
Updated by daviddavis 9 months ago
- Tags Documentation added
#3
Updated by dalley 9 months ago
We can copy some material from here: https://docs.pulpproject.org/en/2.21/dev-guide/debugging.html
Please register to edit this issue