Lines Matching +full:rev +full:- +full:parse
1 #!/usr/bin/python3 -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
43 from autotest_lib.tko import parse
63 _CACHE_DIR = 'tmp/symbol-cache'
121 """Returns a tuple of (board, rev, version) parsed from the job name.
123 Handles job names of the form "<board-rev>-<version>...",
124 "<board-rev>-<rev>-<version>...", and
125 "<board-rev>-<rev>-<version_0>_to_<version>..."
131 A tuple of (board, rev, version) parsed from the job name.
133 version = job_name.rsplit('-', 3)[1].split('_')[-1]
134 arch, board, rev = job_name.split('-', 3)[:3]
135 return '-'.join([arch, board]), rev, version
139 """Process status.log or status and return a test-name: reason dict."""
156 # Assemble multi-line reasons into a single reason.
160 # Skip non-lines, empty lines, and successful tests.
164 # Update last_test name, so we know which reason to append multi-line
174 parse.main()
177 results_dir = sys.argv[-1]
222 # Parse failure reason for this test.
232 result_log.splitlines()[-1 * _STATUS_LOG_LIMIT:]).strip()
241 short_log = utils.system_output('tail -n %d %s' % (