move docker stuff to thread with waiting and retry
AbandonedPublic

Authored by lbrabec on Nov 1 2016, 11:53 AM.

Details

Summary

Changes introduced in D1002 are not working properly in real environment.
This diff moves the related docker stuff to thread, where several retries
take place before raising.

Test Plan

py.test

Diff Detail

Repository
rTRGR taskotron-trigger
Branch
fix/thread (branched from develop)
Lint
Lint OK
Unit
Unit Tests OK
Build Status
Buildable 900
Build 900: arc lint + arc unit
lbrabec retitled this revision from to move docker stuff to thread with waiting and retry.Nov 1 2016, 11:53 AM
lbrabec updated this object.
lbrabec edited the test plan for this revision. (Show Details)
lbrabec added reviewers: jskladan, tflink, kparal.

Note that this is a work-around for https://fedorahosted.org/koji/ticket/331 (probably), which blocks us from testing the docker images.

jskladan accepted this revision.Nov 1 2016, 12:57 PM
This revision is now accepted and ready to land.Nov 1 2016, 12:57 PM
tflink added a comment.Nov 1 2016, 3:48 PM

I don't see anything that worries me - has it been tested with real-time fedmsgs?

jobtriggers/koji_build_msg.py
79

I'd prefer to see this configurable

Please note that T776 seems it should be resolved in a few days, which should also fix the docker issues. So I'd rather wait with this, maybe it will not be needed at all.

jobtriggers/koji_build_msg.py
44

This is missing an explanation why.

mkrizek added a subscriber: mkrizek.Feb 8 2017, 9:49 AM

This is probably not needed anymore and can be closed since the koji fix has been deployed.

kparal requested changes to this revision.Mar 13 2017, 3:54 PM

Koji has been fixed, so I assume this is no longer needed. @lbrabec, can you abandon this? Thanks.

This revision now requires changes to proceed.Mar 13 2017, 3:54 PM
lbrabec abandoned this revision.Mar 14 2017, 11:21 AM