Merge lp:~thomir-deactivatedaccount/core-result-checker/trunk-detect-adt-status-and-republish-maybe into lp:core-result-checker
Proposed by
Thomi Richards
Status: | Merged |
---|---|
Approved by: | Thomi Richards |
Approved revision: | 12 |
Merged at revision: | 12 |
Proposed branch: | lp:~thomir-deactivatedaccount/core-result-checker/trunk-detect-adt-status-and-republish-maybe |
Merge into: | lp:core-result-checker |
Diff against target: |
95 lines (+49/-3) 1 file modified
core_result_checker/__init__.py (+49/-3) |
To merge this branch: | bzr merge lp:~thomir-deactivatedaccount/core-result-checker/trunk-detect-adt-status-and-republish-maybe |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Francis Ginther | Needs Information | ||
Celso Providelo (community) | Approve | ||
Review via email: mp+255316@code.launchpad.net |
Commit message
Requeue tests if infrastructure failed.
Description of the change
Re-queue test payloads into core.tess.v1 if the adt exit_code indicates an infrastructure error.
To post a comment you must log in.
This looks wrong to me:
56 + q = self.connection .SimpleQueue( {}".format( constants. API_VERSION)
57 + "core.tests.
58 + )
Shouldn't the core.tests queue match the version that the previously ran this payload? Using the core-result- checker' s API_VERSION would cause us to send messages to the wrong queue should the core-image-tester's API_VERSION get out of sync.
Do we actually need to have the name of the core-image-tester queue added to the payload so that the core-result-checker knows where to resend it?