Merge lp:~vila/uci-engine/more-unique into lp:uci-engine
Status: | Merged |
---|---|
Approved by: | Vincent Ladeuil |
Approved revision: | 866 |
Merged at revision: | 874 |
Proposed branch: | lp:~vila/uci-engine/more-unique |
Merge into: | lp:uci-engine |
Diff against target: |
94 lines (+9/-9) 7 files modified
britney_proxy/britney/process_requests.py (+1/-1) image-builder/imagebuilder/cloud_image.py (+1/-1) lander/lander/tests/test_service_wrapper.py (+3/-3) lander/lander/workflow.py (+1/-1) test_runner/bin/check_worker.py (+1/-1) test_runner/run-integration.py (+1/-1) tests/test_ppacreator.py (+1/-1) |
To merge this branch: | bzr merge lp:~vila/uci-engine/more-unique |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Joe Talbott (community) | Approve | ||
Celso Providelo (community) | Approve | ||
PS Jenkins bot (community) | continuous-integration | Approve | |
Review via email: mp+240173@code.launchpad.net |
Commit message
Switch to uuid4 since uuid1 have been seen colliding in real deployments
Description of the change
uuid1() returned 1c8fb398-
./ci-airline-
./ci-airline-
Unlucky ? Can happen only once in a lifetime ?
No.
I've got plenty of occurrences (76) that happened while swift was acting (not sure it's *required* to reproduce though).
Can someone more db/south knowledgeable than me make a followup MP for:
=== modified file 'ticket_
--- ticket_
+++ ticket_
@@ -10,7 +10,7 @@
"Fill 'uuid' on existing tickets."
import uuid
for ticket in orm['ticket.
- ticket.uuid = str(uuid.uuid1())
+ ticket.uuid = str(uuid.uuid4())
def backwards(self, orm):
We haven't (yet) used several instances for that code so we're safe for all existing tickets I think.
PASSED: Continuous integration, rev:864 s-jenkins. ubuntu- ci:8080/ job/uci- engine- ci/1651/
http://
Executed test runs:
Click here to trigger a rebuild: s-jenkins. ubuntu- ci:8080/ job/uci- engine- ci/1651/ rebuild
http://