Lines Matching +full:rev +full:- +full:parse
1 #!/usr/bin/python -u
4 # Use of this source code is governed by a BSD-style license that can be
25 # Existing parse behavior is kept completely intact. If the site parser is not
39 from autotest_lib.tko import parse
58 _CACHE_DIR = 'tmp/symbol-cache'
116 """Returns a tuple of (board, rev, version) parsed from the job name.
118 Handles job names of the form "<board-rev>-<version>...",
119 "<board-rev>-<rev>-<version>...", and
120 "<board-rev>-<rev>-<version_0>_to_<version>..."
126 A tuple of (board, rev, version) parsed from the job name.
128 version = job_name.rsplit('-', 3)[1].split('_')[-1]
129 arch, board, rev = job_name.split('-', 3)[:3]
130 return '-'.join([arch, board]), rev, version
134 """Process status.log or status and return a test-name: reason dict."""
151 # Assemble multi-line reasons into a single reason.
155 # Skip non-lines, empty lines, and successful tests.
159 # Update last_test name, so we know which reason to append multi-line
169 parse.main()
172 results_dir = sys.argv[-1]
217 # Parse failure reason for this test.
227 result_log.splitlines()[-1 * _STATUS_LOG_LIMIT:]).strip()
236 short_log = utils.system_output('tail -n %d %s' % (