Fixing timezone to UTC
Currently we use UTC in some places and local time in some. Changing everything to UTC to avoid confusion. Change-Id: I19bab4e41870bbb2fcb68f1dc6c6b9069271c9f9
This commit is contained in:
parent
df03cb36a9
commit
4b1565764f
@ -2076,8 +2076,8 @@
|
||||
"30d"
|
||||
]
|
||||
},
|
||||
"timezone": "browser",
|
||||
"timezone": "utc",
|
||||
"title": "Cloud System Performance Comparsion",
|
||||
"version": 7
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -8,7 +8,7 @@
|
||||
"{{dashboard_cloud_name}}"
|
||||
],
|
||||
"style": "dark",
|
||||
"timezone": "browser",
|
||||
"timezone": "utc",
|
||||
"editable": true,
|
||||
"hideControls": false,
|
||||
"sharedCrosshair": false,
|
||||
@ -190,4 +190,4 @@
|
||||
],
|
||||
"overwrite": true
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -8,7 +8,7 @@
|
||||
"{{dashboard_cloud_name}}"
|
||||
],
|
||||
"style": "dark",
|
||||
"timezone": "browser",
|
||||
"timezone": "utc",
|
||||
"editable": true,
|
||||
"hideControls": false,
|
||||
"sharedCrosshair": false,
|
||||
@ -344,4 +344,4 @@
|
||||
],
|
||||
"overwrite": true
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -8,7 +8,7 @@
|
||||
"{{dashboard_cloud_name}}"
|
||||
],
|
||||
"style": "dark",
|
||||
"timezone": "browser",
|
||||
"timezone": "utc",
|
||||
"editable": true,
|
||||
"hideControls": false,
|
||||
"sharedCrosshair": false,
|
||||
|
@ -8,7 +8,7 @@
|
||||
"{{dashboard_cloud_name}}"
|
||||
],
|
||||
"style": "dark",
|
||||
"timezone": "browser",
|
||||
"timezone": "utc",
|
||||
"editable": true,
|
||||
"hideControls": false,
|
||||
"sharedCrosshair": false,
|
||||
|
@ -2716,7 +2716,7 @@
|
||||
"30d"
|
||||
]
|
||||
},
|
||||
"timezone": "browser",
|
||||
"timezone": "utc",
|
||||
"title": "{{item.process_list_name}} General System Performance",
|
||||
"version": 1
|
||||
}
|
||||
|
@ -3139,7 +3139,7 @@
|
||||
"30d"
|
||||
]
|
||||
},
|
||||
"timezone": "browser",
|
||||
"timezone": "utc",
|
||||
"title": "{{item.process_list_name}} General System Performance",
|
||||
"version": 1
|
||||
}
|
||||
|
@ -2269,7 +2269,7 @@
|
||||
"30d"
|
||||
]
|
||||
},
|
||||
"timezone": "browser",
|
||||
"timezone": "utc",
|
||||
"title": "{{item.process_list_name}} General System Performance",
|
||||
"version": 1
|
||||
}
|
||||
|
@ -3991,7 +3991,7 @@
|
||||
"30d"
|
||||
]
|
||||
},
|
||||
"timezone": "browser",
|
||||
"timezone": "utc",
|
||||
"title": "{{item.process_list_name}} General System Performance",
|
||||
"tags": [
|
||||
"OSP"
|
||||
|
@ -114,7 +114,7 @@ def main():
|
||||
_logger.error("If you meant 'all' use: './browbeat.py all' or './browbeat.py'")
|
||||
exit(1)
|
||||
else:
|
||||
time_stamp = datetime.datetime.now().strftime("%Y%m%d-%H%M%S")
|
||||
time_stamp = datetime.datetime.utcnow().strftime("%Y%m%d-%H%M%S")
|
||||
_logger.info("Browbeat test suite kicked off")
|
||||
_logger.info("Browbeat UUID: {}".format(browbeat_uuid))
|
||||
_logger.info("Running workload(s): {}".format(','.join(_cli_args.workloads)))
|
||||
|
@ -155,7 +155,7 @@ class PerfKit(WorkloadBase):
|
||||
|
||||
def start_workloads(self):
|
||||
self.logger.info("Starting PerfKitBenchmarker Workloads.")
|
||||
time_stamp = datetime.datetime.now().strftime("%Y%m%d-%H%M%S")
|
||||
time_stamp = datetime.datetime.utcnow().strftime("%Y%m%d-%H%M%S")
|
||||
self.logger.debug("Time Stamp (Prefix): {}".format(time_stamp))
|
||||
benchmarks = self.config.get('perfkit')['benchmarks']
|
||||
if (benchmarks is not None and len(benchmarks) > 0):
|
||||
|
@ -392,7 +392,7 @@ class Shaker(WorkloadBase):
|
||||
|
||||
def run_shaker(self):
|
||||
self.logger.info("Starting Shaker workloads")
|
||||
time_stamp = datetime.datetime.now().strftime("%Y%m%d-%H%M%S")
|
||||
time_stamp = datetime.datetime.utcnow().strftime("%Y%m%d-%H%M%S")
|
||||
self.logger.debug("Time Stamp (Prefix): {}".format(time_stamp))
|
||||
scenarios = self.config.get('shaker')['scenarios']
|
||||
venv = self.config['shaker']['venv']
|
||||
@ -413,7 +413,7 @@ class Shaker(WorkloadBase):
|
||||
scenario['name'])
|
||||
workload = self.__class__.__name__
|
||||
self.workload_logger(result_dir, workload)
|
||||
time_stamp1 = datetime.datetime.now().strftime(
|
||||
time_stamp1 = datetime.datetime.utcnow().strftime(
|
||||
"%Y%m%d-%H%M%S")
|
||||
test_name = "{}-browbeat-{}-{}".format(
|
||||
time_stamp1, "shaker", scenario['name'])
|
||||
|
Loading…
x
Reference in New Issue
Block a user