Project

Profile

Help

Task #6537

Write a guide for debugging tasks

Added by daviddavis 6 months ago. Updated 6 months ago.

Status:
NEW
Priority:
Normal
Assignee:
-
Category:
-
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 6 months ago

  • Tags Documentation added

#2 Updated by fao89 6 months ago

  • Tracker changed from Issue to Task
  • % Done set to 0

#3 Updated by dalley 6 months ago

Please register to edit this issue

Also available in: Atom PDF