e70648162260bfd46a56fd1a1d1d7f86ec01e600 |
|
03-Feb-2017 |
Luigi Semenzato <semenzato@chromium.org> |
TKO parser: improve some error messages in debug log These changes try to make it clearer that the errors aren't critical to the execution of the test, and also slightly reduce the spew to improve log readability. BUG=chromium:659741 TEST=none Change-Id: I1a2332becb6d6d1fbd5f23f39dbbc502a631d37c Reviewed-on: https://chromium-review.googlesource.com/437707 Commit-Ready: Luigi Semenzato <semenzato@chromium.org> Tested-by: Luigi Semenzato <semenzato@chromium.org> Reviewed-by: Prathmesh Prabhu <pprabhu@chromium.org> Reviewed-by: Ilja H. Friedel <ihf@chromium.org>
/external/autotest/tko/status_lib.py
|
51ee7c723f847758bf4499429dffb1e8a6b36b9c |
|
24-Nov-2008 |
mbligh <mbligh@592f7852-d20e-0410-864c-8624ca9c26a4> |
Adding test and fix for garbage in log lines bug. Signed-off-by: Cary Hull <chull@google.com> git-svn-id: http://test.kernel.org/svn/autotest/trunk@2497 592f7852-d20e-0410-864c-8624ca9c26a4
/external/autotest/tko/status_lib.py
|
1b3b376d94edee8f235f8669a047dc00751bf97a |
|
25-Sep-2008 |
mbligh <mbligh@592f7852-d20e-0410-864c-8624ca9c26a4> |
Rename client/common_lib/logging.py to client/common_lib/log.py in order to be able to use the standard python logging module Python has a standard module used to perform logging operations (http://docs.python.org/lib/module-logging.html) that could be used inside autotest, however we have a common_lib module named logging as well, that makes difficult to import the python logging module in all other parts of autotest (including tests). So this patch basically renames logging to log and fixes all references to it. All the files touched were pylinted and basic sanity testing was made (running autotest with different control files). About the risks, in my opinion it's worth the effort, since we gain the ability to use a powerful logging library, that would help us to implement a better logging system inside all autotest modules. Risk: Medium/High - Even though care was taken to ensure all references to logging were changed, it touches a fair bit of the code and something might have passed unaudited. Visibility: Low - Should be invisible for all users, and developers must just remember that now logging is called log. Signed-off-by: Lucas Meneghel Rodrigues <lucasmr@br.ibm.com> git-svn-id: http://test.kernel.org/svn/autotest/trunk@2193 592f7852-d20e-0410-864c-8624ca9c26a4
/external/autotest/tko/status_lib.py
|
ba1fa66c641651bcf0d058e9f5af2819c2d2690a |
|
11-Jul-2008 |
jadmanski <jadmanski@592f7852-d20e-0410-864c-8624ca9c26a4> |
Change the way we handle "JOB" logs in the parser. Currently, we generate multiple JOB entries if you run multiple client jobs, and we handle their status the same way we handle the status of nested groups in a test - that is, if a job runs any tests that fail we mark the jobs as failed. This makes two changes: 1. it tags jobs with a number, the same way we tag boots, so that multiple jobs will produce multiple result entries instead of duplicate entries 2. it disables tagging of jobs with statuses like WARN and FAIL that generally apply to tests but not the job as a whole, so that a job only shows up as "bad" if it was actually aborted Risk: Medium Visbility: This significantly changes the way "JOB" results will show up in the TKO result view. Signed-off-by: John Admanski <jadmanski@google.com> git-svn-id: http://test.kernel.org/svn/autotest/trunk@1820 592f7852-d20e-0410-864c-8624ca9c26a4
/external/autotest/tko/status_lib.py
|
0afbb6369aa5aa9a75ea67dd9e95ec4b21c0c181 |
|
06-Jun-2008 |
jadmanski <jadmanski@592f7852-d20e-0410-864c-8624ca9c26a4> |
Convert all python code to use four-space indents instead of eight-space tabs. Signed-off-by: John Admanski <jadmanski@google.com> git-svn-id: http://test.kernel.org/svn/autotest/trunk@1658 592f7852-d20e-0410-864c-8624ca9c26a4
/external/autotest/tko/status_lib.py
|
6e8bf75b13c28c5424fb447ceb4d8749c7a13251 |
|
14-May-2008 |
jadmanski <jadmanski@592f7852-d20e-0410-864c-8624ca9c26a4> |
Add the version 1 of the TKO parser, modify server_job to use this version, and modify parse.py to look up the status version number in order to instantiate the correct parser version. Basically, it's an implementation of the parser that follows the spec as outlined in http://test.kernel.org/autotest/DraftParserSpecification. I did that by implementing the "version 1" parser, as opposed to the existing "version 0" parser, and it also adds some code to autotest itself to log the fact that the status logs being written out follow the "version 1" specification, so that when re-parsing existing results older logs will still be parsed using the old (rather ad-hoc and difficult to follow) algorithm. The implementation is fairly similar to the existing version 0 implementation; it still uses all the same files for gathering results, but there are the core changes: - instead of grabbing kernel information from build.log, it gets embedded into the status logs associated with reboots - if a group is lacking a proper "END" section it implicitly assumes it was somehow aborted - reboots are wrapped in a group - a "JOB" result is logged even if nothing bad happens (rather than only logging it when something bad happens) - you can have arbitrarily large amounts of group nesting Signed-off-by: John Admanski <jadmanski@google.com> git-svn-id: http://test.kernel.org/svn/autotest/trunk@1511 592f7852-d20e-0410-864c-8624ca9c26a4
/external/autotest/tko/status_lib.py
|
302482ea9ed9407ce1ac736ac9adcac814ad5a7d |
|
01-May-2008 |
mbligh <mbligh@592f7852-d20e-0410-864c-8624ca9c26a4> |
Add a new status field called TEST_NA (in addition to PASS and FAIL). From: Travis Miller git-svn-id: http://test.kernel.org/svn/autotest/trunk@1476 592f7852-d20e-0410-864c-8624ca9c26a4
/external/autotest/tko/status_lib.py
|
2895ce5646e363187205a4e6dae37d603ca44382 |
|
17-Apr-2008 |
mbligh <mbligh@592f7852-d20e-0410-864c-8624ca9c26a4> |
Add more missing files from previous commits. Did I mention I hate svn? Signed-off-by: Martin J. Bligh <mbligh@google.com> git-svn-id: http://test.kernel.org/svn/autotest/trunk@1451 592f7852-d20e-0410-864c-8624ca9c26a4
/external/autotest/tko/status_lib.py
|