koji, bodhi logging: add regular printouts for long-running tasks
ClosedPublic

Authored by kparal on Apr 20 2015, 4:16 PM.

Details

Summary

Especially Bodhi is very slow and tasks sometimes get killed due to a
timeout. Prints progress reports regularly when dealing with a batch of
Koji/Bodhi requests.

Don't query Bodhi twice inside bodhi comment directive.

And clean up logging, change low-level details to DEBUG priority, and
introduce some nice and clean looking ones as INFO.

Test Plan

test suite works, and I tested locally with depcheck

Diff Detail

Repository
rLTRN libtaskotron
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.
kparal retitled this revision from to koji, bodhi loggins: add regular printouts for long-running tasks.Apr 20 2015, 4:16 PM
kparal updated this object.
kparal edited the test plan for this revision. (Show Details)
kparal added reviewers: tflink, mkrizek, jskladan.
kparal retitled this revision from koji, bodhi loggins: add regular printouts for long-running tasks to koji, bodhi logging: add regular printouts for long-running tasks.Apr 20 2015, 4:24 PM
tflink accepted this revision.Apr 20 2015, 4:25 PM
This revision is now accepted and ready to land.Apr 20 2015, 4:25 PM
This revision was automatically updated to reflect the committed changes.