autotest: add year in localtime |
|
Issue description
When looking at status file, the localtime field is missing the year.
It prevents the storage qual data extraction script to work properly is the qual happens over Janurary 1st.
locatime is populated in base_job.py in status_log_entry():
self.fields[self.LOCALTIME_FIELD] = time.strftime(
'%b %d %H:%M:%S', time.localtime(timestamp))
Add the year may break regexes. I spotted _FAIL_STATUS_RE in autotest.py, there might be more.
|
|
►
Sign in to add a comment |
|
Comment 1 by mar...@chromium.org
, Jan 26 2018