Project

Profile

Help

Task #6537

closed

Write a guide for debugging tasks

Added by daviddavis almost 4 years ago. Updated about 2 years ago.

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 #1

Updated by daviddavis almost 4 years ago

  • Tags Documentation added
Actions #2

Updated by fao89 almost 4 years ago

  • Tracker changed from Issue to Task
  • % Done set to 0
Actions #3

Updated by dalley almost 4 years ago

Actions #4

Updated by pulpbot about 2 years ago

  • Description updated (diff)
  • Status changed from NEW to CLOSED - DUPLICATE

Also available in: Atom PDF