New issue
Advanced search Search tips
Note: Color blocks (like or ) mean that a user may not be available. Tooltip shows the reason.

Issue 805035 link

Starred by 2 users

Issue metadata

Status: Available
Owner: ----
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Chrome
Pri: 2
Type: Bug



Sign in to add a comment

autotest: add year in localtime

Project Member Reported by gwendal@chromium.org, Jan 23 2018

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.
 

Comment 1 by mar...@chromium.org, Jan 26 2018

Status: Available (was: Untriaged)
Removing from triage queue. Can you link to the full source path as I'm unfamiliar with the system.

Sign in to add a comment