CL_STATUS_VIEWER failed to parse time |
||
Issue description
year is out of range
Traceback (most recent call last):
File "/base/alloc/tmpfs/dynamic_runtimes/python27/6baee03590d046f1_unzipped/python27_lib/versions/third_party/webapp2-2.3/webapp2.py", line 1511, in __call__
rv = self.handle_exception(request, response, e)
File "/base/alloc/tmpfs/dynamic_runtimes/python27/6baee03590d046f1_unzipped/python27_lib/versions/third_party/webapp2-2.3/webapp2.py", line 1505, in __call__
rv = self.router.dispatch(request, response)
File "/base/alloc/tmpfs/dynamic_runtimes/python27/6baee03590d046f1_unzipped/python27_lib/versions/third_party/webapp2-2.3/webapp2.py", line 1253, in default_dispatcher
return route.handler_adapter(request, response)
File "/base/alloc/tmpfs/dynamic_runtimes/python27/6baee03590d046f1_unzipped/python27_lib/versions/third_party/webapp2-2.3/webapp2.py", line 1077, in __call__
return handler.dispatch()
File "/base/alloc/tmpfs/dynamic_runtimes/python27/6baee03590d046f1_unzipped/python27_lib/versions/third_party/webapp2-2.3/webapp2.py", line 547, in dispatch
return self.handle_exception(e, self.app.debug)
File "/base/alloc/tmpfs/dynamic_runtimes/python27/6baee03590d046f1_unzipped/python27_lib/versions/third_party/webapp2-2.3/webapp2.py", line 545, in dispatch
return method(*args, **kwargs)
File "/base/data/home/apps/s~google.com:chromeos-cl-viewer-ui/20180117t112612.407006461535143819/main.py", line 174, in get
int(start_time)).strftime(self._DATETIME_FORMAT)
ValueError: year is out of range
Traceback (most recent call last):
File "/base/alloc/tmpfs/dynamic_runtimes/python27/6baee03590d046f1_unzipped/python27_lib/versions/1/google/appengine/runtime/wsgi.py", line 267, in Handle
result = handler(dict(self._environ), self._StartResponse)
File "/base/alloc/tmpfs/dynamic_runtimes/python27/6baee03590d046f1_unzipped/python27_lib/versions/third_party/webapp2-2.3/webapp2.py", line 1519, in __call__
response = self._internal_error(e)
File "/base/alloc/tmpfs/dynamic_runtimes/python27/6baee03590d046f1_unzipped/python27_lib/versions/third_party/webapp2-2.3/webapp2.py", line 1511, in __call__
rv = self.handle_exception(request, response, e)
File "/base/alloc/tmpfs/dynamic_runtimes/python27/6baee03590d046f1_unzipped/python27_lib/versions/third_party/webapp2-2.3/webapp2.py", line 1505, in __call__
rv = self.router.dispatch(request, response)
File "/base/alloc/tmpfs/dynamic_runtimes/python27/6baee03590d046f1_unzipped/python27_lib/versions/third_party/webapp2-2.3/webapp2.py", line 1253, in default_dispatcher
return route.handler_adapter(request, response)
File "/base/alloc/tmpfs/dynamic_runtimes/python27/6baee03590d046f1_unzipped/python27_lib/versions/third_party/webapp2-2.3/webapp2.py", line 1077, in __call__
return handler.dispatch()
File "/base/alloc/tmpfs/dynamic_runtimes/python27/6baee03590d046f1_unzipped/python27_lib/versions/third_party/webapp2-2.3/webapp2.py", line 547, in dispatch
return self.handle_exception(e, self.app.debug)
File "/base/alloc/tmpfs/dynamic_runtimes/python27/6baee03590d046f1_unzipped/python27_lib/versions/third_party/webapp2-2.3/webapp2.py", line 545, in dispatch
return method(*args, **kwargs)
File "/base/data/home/apps/s~google.com:chromeos-cl-viewer-ui/20180117t112612.407006461535143819/main.py", line 174, in get
int(start_time)).strftime(self._DATETIME_FORMAT)
ValueError: year is out of range
,
Mar 14 2018
The following revision refers to this bug: https://chromium.googlesource.com/chromiumos/infra/cl_status_viewer/+/e520a7b39dc68cdd3cb0670e694ba75aa685fc01 commit e520a7b39dc68cdd3cb0670e694ba75aa685fc01 Author: Ningning Xia <nxia@google.com> Date: Wed Mar 14 21:21:51 2018 Format start_timestamp for buildbucket builds. 1) The start_ts of buildbucket build has 16 digits, format it to 10 digits as the start_time timestamp of cidb build. 2) Do not query cidb buildTable when started_builds are empty, otherwise mysql throws a syntax error. BUG= chromium:816973 , chromium:821201 TEST=unit_tests Change-Id: I95343c543d570d8a83f2e1291765fad317418852 Reviewed-on: https://chromium-review.googlesource.com/959608 Commit-Ready: Ningning Xia <nxia@chromium.org> Tested-by: Ningning Xia <nxia@chromium.org> Reviewed-by: Paul Hobbs <phobbs@google.com> [modify] https://crrev.com/e520a7b39dc68cdd3cb0670e694ba75aa685fc01/cl_status_viewer_server/cl_status_server_unittest.py [modify] https://crrev.com/e520a7b39dc68cdd3cb0670e694ba75aa685fc01/cl_status_viewer_server/cl_status_server.py
,
Mar 15 2018
|
||
►
Sign in to add a comment |
||
Comment 1 by ayatane@chromium.org
, Mar 5 2018