History log of /external/autotest/server/cros/chaos_lib/chaos_parser.py
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
1aa436a2c013c4869e1990ac108e4dffc8836e0d 16-Dec-2015 Kris Rambish <krisr@chromium.org> Update parser to work with Android Chaos runs.

The keyval files do not contain Android build and version information.
For now we will ignore them being absent so that the logs can be
processed.

BUG=None
TEST=Manual; ran it

Change-Id: I0f226f41b8b38ea5e88eb745a932c02c70e7efdb
Reviewed-on: https://chromium-review.googlesource.com/318643
Commit-Ready: Kris Rambish <krisr@chromium.org>
Tested-by: Kris Rambish <krisr@chromium.org>
Reviewed-by: Tien Chang <tienchang@chromium.org>
/external/autotest/server/cros/chaos_lib/chaos_parser.py
abbaa5222bd876a48bf8df0c87260e102062f42b 04-Dec-2015 Tien Chang <tienchang@google.com> chaos: Add exception message to chaos_parser.

When test_that results are incomplete, there are no <test>.<AP> directories.
Hence, 'keyval' returns None. Previous error thrown was a TypeError for None.

BUG=None
TEST=Ran chaos_parser on good results and bad results.

Change-Id: I48d2284ab4c18e08ddd6ec01b3f820d01cd96151
Reviewed-on: https://chromium-review.googlesource.com/315878
Commit-Ready: Tien Chang <tienchang@chromium.org>
Tested-by: Tien Chang <tienchang@chromium.org>
Reviewed-by: Aashutosh Kalyankar <aashutoshk@chromium.org>
/external/autotest/server/cros/chaos_lib/chaos_parser.py
fe511bde013212165b0d552bce50b7dddfb5096a 13-Jun-2014 Kris Rambish <krisr@chromium.org> Remove space from csv items.

BUG=None
TEST=Witnessed the lack of space between items in the list.

Change-Id: Iaf756db76591da4ace24a3b206d810e0331fa2dd
Reviewed-on: https://chromium-review.googlesource.com/203765
Tested-by: Kris Rambish <krisr@chromium.org>
Reviewed-by: Bindu Mahadev <bmahadev@chromium.org>
Commit-Queue: Kris Rambish <krisr@chromium.org>
/external/autotest/server/cros/chaos_lib/chaos_parser.py
1cf4dff0bc9c999ca2a01f170d6188d595e0b040 13-Jun-2014 Kris Rambish <krisr@chromium.org> Break config failures into static and dynamic

BUG=None
TEST=Manual; Ran it, checked output against output before the change.

Change-Id: Ie0a82b8364b133bbc340dad3657133a63051c247
Reviewed-on: https://chromium-review.googlesource.com/203658
Reviewed-by: Kris Rambish <krisr@chromium.org>
Tested-by: Kris Rambish <krisr@chromium.org>
/external/autotest/server/cros/chaos_lib/chaos_parser.py
2427eb23f00229397442e8fcbabe973490c9a725 12-Jun-2014 Kris Rambish <krisr@chromium.org> Add more parser options.

As I have been using this, I find that opening the file actually
slows me down. So having the info printed to stdout is faster.

BUG=None
TEST=Ran it

Change-Id: I47b67b856b70ba807307cbd9e1044c7c7c6356fa
Reviewed-on: https://chromium-review.googlesource.com/203512
Tested-by: Kris Rambish <krisr@chromium.org>
Reviewed-by: Bindu Mahadev <bmahadev@chromium.org>
Reviewed-by: Tien Chang <tienchang@chromium.org>
/external/autotest/server/cros/chaos_lib/chaos_parser.py
3f964b67b4a06fcb2378f9674a97896d495f8e82 11-Jun-2014 Kris Rambish <krisr@chromium.org> Fix double counting of connection errors.

There were several place that we were counting config errors twice.

BUG=None
TEST=Manual; Ran it

Change-Id: I3f8d50f1cb7ccb2d4bb2a33831ab8b5ae4771413
Reviewed-on: https://chromium-review.googlesource.com/203313
Commit-Queue: Kris Rambish <krisr@chromium.org>
Tested-by: Kris Rambish <krisr@chromium.org>
Reviewed-by: Bindu Mahadev <bmahadev@chromium.org>
/external/autotest/server/cros/chaos_lib/chaos_parser.py
5674f6382b4557db5d754154def2c969a5d2e9b1 07-Jun-2014 bmahadev <bmahadev@chromium.org> Add the Kernel and Firmware Version to the parser output.

BUG=None
TEST=Ran locally

Change-Id: I0efb7a1467fa3419b51cdd26a84596358a3ed4dd
Reviewed-on: https://chromium-review.googlesource.com/202984
Reviewed-by: Kris Rambish <krisr@chromium.org>
Reviewed-by: Tien Chang <tienchang@chromium.org>
Commit-Queue: Bindu Mahadev <bmahadev@chromium.org>
Tested-by: Bindu Mahadev <bmahadev@chromium.org>
/external/autotest/server/cros/chaos_lib/chaos_parser.py
19801324c6dc398e9a448240878d8c4e96338ba3 06-Jun-2014 bmahadev <bmahadev@chromium.org> Ignore PDU failures while parsing the chaos status log.

BUG=None
TEST=Ran locally.

Change-Id: I5a98dc4056c60418f0e23154085ed426a604a41c
Reviewed-on: https://chromium-review.googlesource.com/202824
Reviewed-by: Kris Rambish <krisr@chromium.org>
Commit-Queue: Bindu Mahadev <bmahadev@chromium.org>
Tested-by: Bindu Mahadev <bmahadev@chromium.org>
/external/autotest/server/cros/chaos_lib/chaos_parser.py
2a208894ee038d394647e4f22cef9bbb573a8818 24-May-2014 Kris Rambish <krisr@chromium.org> Collect failures that contain hostnames.

I also removed a bunch of variables that are no longer needed or
were not used.

BUG=None
TEST=Manual; Ran it

Change-Id: Ieccd370c3d6dee5536d3dd369355f3037f2811a4
Reviewed-on: https://chromium-review.googlesource.com/201423
Commit-Queue: Kris Rambish <krisr@chromium.org>
Tested-by: Kris Rambish <krisr@chromium.org>
Reviewed-by: Bindu Mahadev <bmahadev@chromium.org>
/external/autotest/server/cros/chaos_lib/chaos_parser.py
449c1852f3a712d4bc30059206caf1b7add9b332 22-May-2014 Kris Rambish <krisr@chromium.org> Collect channel and band on passing tests.

Currently channel and band is only collected on test failures.
However if 100% of all tests pass then this data is not
captured. I left all of the existing code in case there is a
test that has a 100% failure rate.

BUG=chromium:376381
TEST=Manual; ran it

Change-Id: I4490014ffb4b46db9b624d4ffd6178bd016710ae
Reviewed-on: https://chromium-review.googlesource.com/201105
Commit-Queue: Kris Rambish <krisr@chromium.org>
Tested-by: Kris Rambish <krisr@chromium.org>
Reviewed-by: Bindu Mahadev <bmahadev@chromium.org>
/external/autotest/server/cros/chaos_lib/chaos_parser.py
4ee0203ad41c6c40af351f6ccaf41eebc9d4e19d 22-May-2014 Kris Rambish <krisr@chromium.org> Fix arithmetic problem for pass percentage.

BUG=None
TEST=Manual; Ran it

Change-Id: I9f2022324c347a556e70358bc700e5b15d6c7bf0
Reviewed-on: https://chromium-review.googlesource.com/201011
Commit-Queue: Kris Rambish <krisr@chromium.org>
Tested-by: Kris Rambish <krisr@chromium.org>
Reviewed-by: Bindu Mahadev <bmahadev@chromium.org>
/external/autotest/server/cros/chaos_lib/chaos_parser.py
cd8d656506a12f1545d58e11f9bb7cf6a755c5d0 16-May-2014 Kris Rambish <krisr@chromium.org> Update parser output to match spreadsheet.

Cleans up some of the comments and makes the core status.log
parser a bit more readable.

BUG=None
TEST=Ran it.

Change-Id: I121c6702a5d79c0d4dfd8b459b00190572b28416
Reviewed-on: https://chromium-review.googlesource.com/200190
Tested-by: Kris Rambish <krisr@chromium.org>
Reviewed-by: Bindu Mahadev <bmahadev@chromium.org>
Commit-Queue: Kris Rambish <krisr@chromium.org>
/external/autotest/server/cros/chaos_lib/chaos_parser.py
c2288073aa88db410ebab52ec5c62479a772eb6d 06-May-2014 bmahadev <bmahadev@chromium.org> Add pass percentage information to the parser.

Also fixed the case where empty files were created
when no config/connect failures happen.

BUG=chromium:370541
TEST=Ran the script

Change-Id: I830325f01fd87e6eaa7f258e95a76d579f360b47
Reviewed-on: https://chromium-review.googlesource.com/198300
Tested-by: Bindu Mahadev <bmahadev@chromium.org>
Reviewed-by: Kris Rambish <krisr@chromium.org>
/external/autotest/server/cros/chaos_lib/chaos_parser.py
b2a638e8081fda0464ca326c1826d1fbbc3c9549 05-May-2014 bmahadev <bmahadev@chromium.org> Correcting ssid for static Airport express AP.

This can cause the parser to abort with errors, if the
SSID format is incorrect. Also changed few comments in
the parser.

BUG=chromium:365896
TEST=None

Change-Id: I76a7cef55a8e63ace548c56c00e00d929a38a5dc
Reviewed-on: https://chromium-review.googlesource.com/198193
Reviewed-by: Kris Rambish <krisr@chromium.org>
Commit-Queue: Bindu Mahadev <bmahadev@chromium.org>
Tested-by: Bindu Mahadev <bmahadev@chromium.org>
/external/autotest/server/cros/chaos_lib/chaos_parser.py
88ba8e12ced8dc0cddd0af3b009b0c66432ee9a2 29-Apr-2014 bmahadev <bmahadev@chromium.org> Parser for Chaos test results.

Includes the ChaosParser class that can be used to parse
any status.log file from a chaos test result. It takes the
test result directory generated by test_that and parses the
each status.log to creates a csv file consisting of the APs
that failed connection and another for APs that failed
configuration.

BUG=None
TEST=Unittest

Change-Id: I4562c2240368e15f293e8436657282aedbbb496e
Reviewed-on: https://chromium-review.googlesource.com/197433
Reviewed-by: Bindu Mahadev <bmahadev@chromium.org>
Tested-by: Bindu Mahadev <bmahadev@chromium.org>
Commit-Queue: Bindu Mahadev <bmahadev@chromium.org>
/external/autotest/server/cros/chaos_lib/chaos_parser.py