Skip to content
This repository has been archived by the owner on Jul 25, 2024. It is now read-only.

Prevent chord from printing results to the log #33

Open
chaws opened this issue Nov 26, 2020 · 3 comments
Open

Prevent chord from printing results to the log #33

chaws opened this issue Nov 26, 2020 · 3 comments

Comments

@chaws
Copy link
Collaborator

chaws commented Nov 26, 2020

Celery chords is print out the result of all tasks, and it's clogging out worker logs. Ex:

[WARNING] Task tradefed.update_build_status([0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
...157000 zeros later...
, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], 2840381) consumed 4251MB of memory

Not a high priority though

@mwasilew
Copy link
Contributor

Hmm, this is actually coming from SQUAD
https://github.com/Linaro/squad/blob/master/squad/celery.py#L35
I'm not sure we can disable it just for this task. Maybe this should be debug not warning?

@chaws
Copy link
Collaborator Author

chaws commented Nov 26, 2020

Humm, I think so.

We will have Sentry notifications anyways if a worker has crossed a certain memory limit

IIRC, that was what Antonio wrote when trying to peek which tasks were consuming the most memory

@mwasilew
Copy link
Contributor

Indeed, this is how I remember it.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants