summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2017-08-02Fix LogAnalysis App Versions dump.oreo-dr1-devNetta Peterbursky
(cherry-picked from unsubmitted change in oc-dev ag/2549006 and updated) Test: DumpsysPackageStatsItemTest, manual: java -classpath out/host/linux-x86/tradefed/loganalysis.jar com.android.loganalysis.LogAnalyzer --bugreport bugreport.txt Bug: b/38415015 Change-Id: I6bce38a18441712d2f182a0d3c60b7851f87470e
2017-06-26Add app versions to Bugreport parser (for event history view in stability ↵Netta Peterbursky
dashboard). am: 75a8a41897 Change-Id: I57874e102d859e9c93678b16623e8d65dabe79fa
2017-06-23Add app versions to Bugreport parser (for event history view in stability ↵android-vts-8.0_r9android-vts-8.0_r8android-vts-8.0_r7android-vts-8.0_r6android-vts-8.0_r2android-vts-8.0_r13android-vts-8.0_r12android-vts-8.0_r11android-vts-8.0_r10android-vts-8.0_r1oreo-vts-releaseoreo-cts-devNetta Peterbursky
dashboard). Bug: 38415015 Test: BugreportParserTest, DumpsysPackageStatsParserTest, DumpsysParserTest Change-Id: Id6e5ccbd39188be0b6908df751b310cd0f642593 (cherry picked from commit 44e6c57bdf25abcf2b5b13cf958ed37eb55ae8a8)
2017-06-02DO NOT MERGE: Drop loganalysis master into oc-dev am: 6722a63f63jdesprez
am: 094b081806 Change-Id: I425aaacf4375e7cb4a13191739679722e1f86480
2017-06-02DO NOT MERGE: Drop loganalysis master into oc-devjdesprez
am: 6722a63f63 Change-Id: I4cb47656f05e55845fb4d4a96887a87e432aa3d2
2017-06-02DO NOT MERGE: Drop loganalysis master into oc-devoreo-devjdesprez
Test: build, unit tests Bug: 37211399 Change-Id: I2985639ec9fed8c79a31dc9828a16097fe9e89e0
2017-05-25Fix loganalysis path for easymockjdesprez
Test: local build Change-Id: I4e34dd258f99c0a0b2cdcea2d1c47ee15c69f279
2017-05-19Merge "Add new parsed fields to the compact meminfo parser."Michael Rosenfeld
2017-05-17Merge "Accomodate new log format logged in dmesg during boot"TreeHugger Robot
2017-05-16Accomodate new log format logged in dmesg during bootgopinath
b/38045657 Test : Time: 0.37 OK (253 tests) Change-Id: If4047e75c65c8d062e789ce03e6c82c2a42d5096
2017-05-15Add new parsed fields to the compact meminfo parser.Michael Rosenfeld
* Free RAM, Total ZRAM, Swap Free ZRAM, and Tuning Level Test: CompactMemInfoParserTest Change-Id: Id95bae62f98119f04a9f0e5046ec3f28760921ef
2017-05-12Parser to handle only transition delay info. am: 2ce9264380gopinath
am: 48536711eb Change-Id: If8bea0b5e23fed7770133341d8a931d798f0b5c3
2017-05-12Parser to handle only transition delay info.gopinath
am: 2ce9264380 Change-Id: Iabca42babdf7b0ad7c0ee47cde400f57abef5ac4
2017-05-11Merge "Parser to handle only transition delay info."TreeHugger Robot
2017-05-11Parser to handle only transition delay info.gopinath
Tests : java -cp out/host/linux-x86/framework/loganalysis-tests.jar:out/host/linux-x86/framework/loganalysis.jar org.junit.runner.JUnitCore com.android.loganalysis.UnitTests OK (253 tests) run google/template/local --template:map test performance/app-transitions --cold-apps Calculator --hot-apps Calculator --pre-launch-apps Calculator --apps-to-recents Calculator --hot-apps-from-recents Calculator --hot-apps-from-recents Calculator --launch-iteration 2 --no-bugreport-on-invocation-ended --alt-dir /usr/local/google/home/gelanchezhian/Desktop/local Test Sponge link: https://sponge.corp.google.com/invocation?tab=host_log.txt&show=&id=cd595d48-4beb-4bbf-86b0-7b17b4ae82a6&searchFor=&sortBy=STATUS Change-Id: I61163d67630e54f29248d56c2de1faf4dec45b41
2017-05-11Parser to handle only transition delay info.gopinath
Tests : java -cp out/host/linux-x86/framework/loganalysis-tests.jar:out/host/linux-x86/framework/loganalysis.jar org.junit.runner.JUnitCore com.android.loganalysis.UnitTests OK (253 tests) run google/template/local --template:map test performance/app-transitions --cold-apps Calculator --hot-apps Calculator --pre-launch-apps Calculator --apps-to-recents Calculator --hot-apps-from-recents Calculator --hot-apps-from-recents Calculator --launch-iteration 2 --no-bugreport-on-invocation-ended --alt-dir /usr/local/google/home/gelanchezhian/Desktop/local Test Sponge link: https://sponge.corp.google.com/invocation?tab=host_log.txt&show=&id=cd595d48-4beb-4bbf-86b0-7b17b4ae82a6&searchFor=&sortBy=STATUS Change-Id: I61163d67630e54f29248d56c2de1faf4dec45b41
2017-05-05Add a rule for Incompatible equals comparisonjdesprez
EqualsIncompatibleType checks is for equality test between objects with incompatibles tpyes will always returns false. Test: make google-tradefed-all javac-check RUN_ERROR_PRONE=true ./tests/run_tradefed_presubmit.sh Bug: 37854485 Change-Id: I4dc2aa122f6fa1da70dd409396d8d86674286d3f
2017-05-03Apptransition parser change. am: 4348cc0f92gopinath
am: 74dd7d0529 Change-Id: I46629b4da8e054c545fdc682f7dc3e1ecd2f2804
2017-05-03Apptransition parser change.gopinath
am: 4348cc0f92 Change-Id: I295116da66d5f77c4531adc687ce18d97dd42a30
2017-05-02Apptransition parser change.gopinath
Change to new logging format. Latency parser change will be taken care separately. Events log parser test changes. b/36490501 Tests : OK (252 tests) - Passed Change-Id: I6425ebd08c7f6120a056c268528d371cd7096b97 (cherry picked from commit 5e008d690d460b25e174d02932413be850798efb)
2017-04-27Apptransition parser change.gopinath
Change to new logging format. Latency parser change will be taken care separately. Events log parser test changes. b/36490501 Tests : OK (252 tests) - Passed Change-Id: I6425ebd08c7f6120a056c268528d371cd7096b97
2017-04-13Merge "Parse additional boot information from dmesg logs"TreeHugger Robot
2017-04-11Parse additional boot information from dmesg logsgopinath
Parse boot completed set time as well. This is needed to compute the total boot time in Boot time test. Additonal logs formats parsed now [ 14.638884] init: processing action (sys.boot_completed=1) Total_Boot_Time = BootLoader_Time_ms + Boot_Completed_Set_Time_ms b/36982296 Tests Run : All the tests in DmesgParserTest passed. Change-Id: I93781af937a41cedf72e7f1e5091eead5af96d1a
2017-04-07Update tools/tradefederation/error_prone_rules.mk path. am: 9d9d58b1baKevin Cheng
am: 54c1313f44 Change-Id: Iab2e3e322f5cc179a233d0e0282042d4b2742fea
2017-04-07Update tools/tradefederation/error_prone_rules.mk path.Kevin Cheng
am: 9d9d58b1ba Change-Id: I61d6e267d5d8ef1ea6569ad5a317ee42668fbcbe
2017-04-07Update tools/tradefederation/error_prone_rules.mk path.Kevin Cheng
am: 573b1a53ee Change-Id: Ic7005c1e11989824987f251c471ecc0ef091066e
2017-04-07Update tools/tradefederation/error_prone_rules.mk path.Kevin Cheng
BUG:36557513 Test: Built successfully with new path. Change-Id: I7e6f9d61ed38d720f0d3e6c237e93bb2051a58d6
2017-04-06Update tools/tradefederation/error_prone_rules.mk path.Kevin Cheng
BUG:36557513 Test: Built successfully with new path. Change-Id: I7e6f9d61ed38d720f0d3e6c237e93bb2051a58d6
2017-04-05Merge "Fix logcat parsing in bugreports."Maxim Siniavine
2017-04-05Fix logcat parsing in bugreports.Maxim Siniavine
A UID column was added to the logcat log. Update the regular expresion to accept the new column. BUG: 36891877 TEST: Run local unit test. Run command line parser to parse bugreport. Change-Id: I514f5d81edacd4296959e30ebc63796c347c74f5
2017-04-04Update tools/tradefederation/error_prone_rules.mk path.Kevin Cheng
BUG:36557513 Test: Built successfully with new path. Change-Id: I81783956a650ee94bfd4e3a961ccafade94f9c83
2017-03-22Merge "Modified DmesgParser to return IItem"Shankhoneer Chakrovarty
2017-03-14Fix missing @overrideJulien Desprez
Test: local build and run Bug: 35864476 Change-Id: I1a7623021e2f959611621477ae91cc2495cf6515
2017-03-13Modified DmesgParser to return IItemShankhoneer Chakrovarty
BUG:35758559 Change-Id: I55d960ac278d32159aa5c73932a1da3fbff25790 Fixes:35758559
2017-03-03Add error_prone rules on LoganalysisJulien Desprez
Fix warnings of current rules. Test: local build and error prone Bug: 35864476 Change-Id: Ib03b309de69e9c92cf815440bb637b955447847e
2017-02-24Improved dmesg parserShankhoneer Chakrovarty
The improved parser captures info on: 1. boot stage 2. action processing time BUG:35469489 Change-Id: Ice32079b96373d18036296097a140d5bc0d2ec33
2017-01-10Fix a few warnings produced by java lint.Michael Wright
Add a hashCode implementation to GenericItem and LogcatParser.ExtrasPattern, and suppress the warning for the lack of serialVersionUID to the anonymous subclass of HashMap since it'll never actually be serialized. Test: java -cp loganalysis.jar:loganalysis-tests.jar org.junit.runner.JUnitCore com.android.loganalysis.UnitTests Change-Id: Ibbbcaf6d1629cd5cfad172fe0eb6a720525ec483
2016-12-22enable Java style check repo upload hookGuang Zhu
Change-Id: Ied34f1051b76490749146969afc5c69bb3439d2f
2016-12-14Merge "Preparer Loganalysis unit tests"Julien Desprez
2016-12-13Add LMK and page allocation failure parsing from kernel logsMichael Rosenfeld
Bug: 33272479 Test: Added to KernelLogParserTest class Change-Id: I579a2ddae503f98f9b4447f57f9547d125f808f2
2016-12-13Preparer Loganalysis unit testsJulien Desprez
make them presubmit ready by fixing some import, cleaning temporary files. Test: build, run presubmit Bug: 33564231 Change-Id: I777569bc37b5a5a4a687cd1bc89d01133abbba4e
2016-12-07Merge "Add parser to extract the init services time from dmesg logs"Gopinath Elanchezhian
2016-12-06Add parser to extract the init services time from dmesg logsGopinath
Tests: 5 Tests passed! Bug: 32019616 Change-Id: I9bb3a724ef32d30efcdef0297564884e2cafdfcb
2016-12-01Merge "Use junit-host instead of junit" am: 75e4a422ec am: 3c8cd0cd4b am: ↵Paul Duffin
7888554b3c am: a49409b51f Change-Id: I4ffc5f81895ae898be5737986c6c0ee016ca3167
2016-12-01Merge "Use junit-host instead of junit" am: 75e4a422ec am: 3c8cd0cd4bandroid-wear-o-preview-4android-wear-o-preview-3android-o-preview-3android-o-preview-2android-n-iot-preview-4n-iot-preview-4Paul Duffin
am: 7888554b3c Change-Id: Ibe7719c8be0dbf5f215e8b32374d8cb4fe4e7869
2016-12-01Merge "Use junit-host instead of junit" am: 75e4a422ecPaul Duffin
am: 3c8cd0cd4b Change-Id: Ida3e5c78a1e143a242b47183b1f176a3ebbbd8fd
2016-12-01Merge "Use junit-host instead of junit"android-o-preview-1android-n-mr2-preview-2android-n-mr2-preview-1o-previewPaul Duffin
am: 75e4a422ec Change-Id: I1d0b87ac34613f739e24d3a8ff13798778b89117
2016-12-01Merge "Use junit-host instead of junit"Treehugger Robot
2016-12-01Use junit-host instead of junitPaul Duffin
Bug: 30188076 Test: make checkbuild Change-Id: I02fe530f6bc3f632c4179d2d1bf8ce40970e4b25
2016-11-30Merge "Use junit-host instead of junit" am: eafda48599 am: 4d0a75dc75 am: ↵Paul Duffin
329b994eee am: e7eae51c63 -s ours Change-Id: I5d174a277c346bae9bdb6ca65730ae5ecfed68c4