Use uuid1 to replace uuid4 01/37901/1
authorxudan <xudan16@huawei.com>
Fri, 21 Jul 2017 06:44:58 +0000 (02:44 -0400)
committerxudan <xudan16@huawei.com>
Fri, 21 Jul 2017 06:44:58 +0000 (02:44 -0400)
JIRA: DOVETAIL-469

uuid1 is more unique than uuid4

Change-Id: Ic29ec7586ba518e67cb1750df1001cd390fcf313
Signed-off-by: xudan <xudan16@huawei.com>
dovetail/run.py

index 5c0b2dd..f89671f 100755 (executable)
@@ -220,7 +220,7 @@ def env_init(logger):
 
 def main(*args, **kwargs):
     """Dovetail compliance test entry!"""
-    build_tag = "daily-master-%s" % str(uuid.uuid4())
+    build_tag = "daily-master-%s" % str(uuid.uuid1())
     dt_cfg.dovetail_config['build_tag'] = build_tag
     if not get_result_path():
         return