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