Merge lp:~vila/uci-engine/stores-put-dir into lp:uci-engine
Status: | Superseded |
---|---|
Proposed branch: | lp:~vila/uci-engine/stores-put-dir |
Merge into: | lp:uci-engine |
Diff against target: |
267 lines (+122/-30) 6 files modified
britney_proxy/britney/process_results.py (+1/-5) ci-utils/ci_utils/data_store.py (+30/-5) ci-utils/ci_utils/testing/fixtures.py (+18/-2) ci-utils/ci_utils/tests/test_data_store.py (+0/-18) ci-utils/ci_utils/tests/test_fixtures.py (+32/-0) tests/test_data_store.py (+41/-0) |
To merge this branch: | bzr merge lp:~vila/uci-engine/stores-put-dir |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
PS Jenkins bot (community) | continuous-integration | Approve | |
Canonical CI Engineering | Pending | ||
Review via email: mp+242176@code.launchpad.net |
This proposal has been superseded by a proposal from 2014-11-19.
Commit message
Upload a local directory into a swift container
Description of the change
/!\ Not ready for landing.
This implements DataStore.put_dir() in terms of DataStore.
upload the content of a local hierarchy in a swift container (uci-britney
requirement).
I ran into swift eventually consistent model here and addressed the
container deletion issues in ad-hoc way that requires a separate MP.
I'll update *this* MP once the above issue is addressed.
Unmerged revisions
- 912. By Vincent Ladeuil
-
Clarify why ci_utils.
tests.test_ fixtures. TestFakeDataSto rePutDir resemble tests.test_ data_store. TestDataStorePu tDir and where they differ. - 911. By Vincent Ladeuil
-
Refactor ci_utils.
test_fixtures. TestPutDir based on tests.test_ data_store. TestPutdir to the differences are easier to spot. - 910. By Vincent Ladeuil
-
Merge pre-requisite again
- 909. By Vincent Ladeuil
-
Merge pre-requisite again
- 908. By Vincent Ladeuil
-
Merge reliable container deletion fix
- 907. By Vincent Ladeuil
-
Meh, lexicographical order please.
- 906. By Vincent Ladeuil
-
Raise the overall timeout for swift container deletion as 2mins was almost reached already.
$ ./run-tests tests.test_
data_store. TestPutDir ^ci-utils. *test_fixtures test_style is the proper way to test here, failures in
https://code.launchpad .net/~vila/ uci-engine/ stores- put-dir/ +merge/ 242176 were caused by using ^ci_utils. *test_fixtures instead of ^ci-utils. *test_fixtures. Ran 53 tests in 30.065s
OK - 905. By Vincent Ladeuil
-
Fix pep8/pyflakes issues.
- 904. By Vincent Ladeuil
-
Quick and dirty handling of container deletion: retry/sleep on 409, accept 404 when swift finally deleted the container while we were sleeping.
- 903. By Vincent Ladeuil
-
Make the tests pass by returning which files where sent to swift.
FAILED: Continuous integration, rev:904 s-jenkins. ubuntu- ci:8080/ job/uci- engine- ci/1724/
http://
Executed test runs:
Click here to trigger a rebuild: s-jenkins. ubuntu- ci:8080/ job/uci- engine- ci/1724/ rebuild
http://