Merge lp:~vila/uci-engine/delete-containers into lp:uci-engine
Status: | Superseded |
---|---|
Proposed branch: | lp:~vila/uci-engine/delete-containers |
Merge into: | lp:uci-engine |
Diff against target: |
442 lines (+165/-97) 6 files modified
britney_proxy/britney/process_results.py (+1/-5) ci-utils/ci_utils/data_store.py (+78/-49) ci-utils/ci_utils/testing/fixtures.py (+6/-1) ci-utils/ci_utils/tests/test_data_store.py (+66/-20) ci-utils/ci_utils/tests/test_fixtures.py (+4/-4) tests/test_data_store.py (+10/-18) |
To merge this branch: | bzr merge lp:~vila/uci-engine/delete-containers |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Evan (community) | Needs Fixing | ||
Review via email: mp+242315@code.launchpad.net |
Commit message
Safely delete swift containers
Description of the change
This builds on top of https:/
This allows us to reliably delete swift containers whne they become useless (in-production tests, uci-britney, test themselves, etc).
I've tuned the overall timeout to ~5 minutes based on previous experimentations which showed real life inconsistency windows going up to 2 minutes.
Unmerged revisions
- 912. By Vincent Ladeuil
-
Fix pep8 issue.
- 911. By Vincent Ladeuil
-
Fix pyflakes issue.
- 910. By Vincent Ladeuil
-
One more test for the retries=0 case to address review comment.
- 909. By Vincent Ladeuil
-
One more test to ensure we fail after all retries (with a test reproducing the bug).
Tested with: ./run-tests ^tests.test_style ^tests.
test_data_ store ^ci-utils. *test_fixtures ^ci-utils. *test_data_ store - 908. By Vincent Ladeuil
-
Extend swiftclient retry policy to container deletion with tests.
- 907. By Vincent Ladeuil
-
Meh, we want to test the real data store with a fake swift client, not the fake data store ;)
- 906. By Vincent Ladeuil
-
One less FIXME and a test plan.
- 905. By Vincent Ladeuil
-
Tested with ./run-tests ^tests.test_style ^tests.
test_data_ store befor submission. (and some cosmetic changes)
- 904. By Vincent Ladeuil
-
This test pollutes the run output.
- 903. By Vincent Ladeuil
-
Log auth info (except for the password).
Rewrite exception in list_files.