Xin Li
c48ca52981
Merge Android U (ab/10368041)
...
Bug: 291102124
Merged-In: I3ecaaa93a89703a6c3d20c81210f7c6683c145fb
Change-Id: Ib5819377b7aad20e03ca639b4e65172fefe0b512
2023-08-25 13:42:52 -07:00
Zoe Tsou
718ef28b58
Merge "Implement N way comparison." into main
2023-08-25 08:44:47 +00:00
Zoe Tsou
48f8bf931f
Implement N way comparison.
...
The attributes tested_items and pass_rate are added for easier display in the
n_way_comparison function.
Bug: 296988808
Test: ./compare_cts_reports.py -r test_result_1.xml -r test_result_2.xml -m n \
-d output_dir
Change-Id: I1dc6bb9c33dfe5be879cbdc13f684bde123e5e71
2023-08-25 07:41:01 +00:00
Treehugger Robot
8df3496e01
Merge "Move logic for detecting different kinds of externs to cargo_out." into main
2023-08-23 11:35:00 +00:00
Treehugger Robot
e1c97bd7e9
Merge changes I5a2e2871,I53b1f37e,I693ea16a into main
...
* changes:
Split cargo_out into three modules.
Factor out functions to find package directory.
Add more doc comments and break up parse_cargo_out function.
2023-08-23 11:07:41 +00:00
Zoe Tsou
9ea1b08298
Compare two cts reports.
...
Assumptions:
1. The input report file can be a zip file result from a standard cts
test tool, or a test_result.xml
2. If there are multiple cts reports after the -r flag, it means to view
these files as one report. The script aggregates them according to the
same rules as b/293809772.
Bug: 296323842
Test: ./compare_cts_reports.py -r [a.zip, test_result_1.xml] -r [b.zip,
test_result_2.xml] -m [1, 2] [-d output_directory] [-o]
Change-Id: I885dd07cd40d38ba0c2ee1cb38570a926606a4d9
2023-08-22 05:08:45 +00:00
Andrew Walbran
9454b29450
Move logic for detecting different kinds of externs to cargo_out.
...
This will work differently when not running cargo.
Bug: 293289578
Test: atest cargo_embargo.test
Change-Id: I6c7b1f6266d7d66bcbb68387d06f59306695008e
2023-08-16 16:27:25 +01:00
Andrew Walbran
085fa6c6b1
Split cargo_out into three modules.
...
The `cargo` module has the output types, `cargo_out` has the code
specific to parsing cargo.out files, while `metadata` has the types to
parse cargo.metadata files.
Bug: 293289578
Test: atest cargo_embargo.test
Change-Id: I5a2e2871a48bf30a64f3ffbc84a160b0daa91b53
2023-08-16 12:54:20 +01:00
Andrew Walbran
6cf047b9ed
Factor out functions to find package directory.
...
Bug: 293289578
Test: atest cargo_embargo.test
Change-Id: I53b1f37ed1a9cd171c373c7fb4effda94f887437
2023-08-16 10:34:29 +01:00
Andrew Walbran
a1468cca18
Add more doc comments and break up parse_cargo_out function.
...
This is a step towards making it testable.
Bug: 293289578
Test: atest cargo_embargo.test
Change-Id: I693ea16adf82f73c73a93e8dfa5ed4f351760828
2023-08-16 10:34:29 +01:00
Treehugger Robot
e64a580e9f
Merge "Make tests configuration option optional." into main
2023-08-15 18:52:25 +00:00
Treehugger Robot
4266276d42
Merge "Add test for generating Android.bp from list of crates." into main
2023-08-15 18:51:45 +00:00
Treehugger Robot
3c9af85e16
Merge "Remove emit_list." into main
2023-08-15 18:36:13 +00:00
Andrew Walbran
8e86dfe14e
Make tests configuration option optional.
...
Bug: 293289578
Test: atest cargo_embargo.test
Change-Id: Ia35acdcad920e0f585cc5be650f1d1e3b6aa176d
2023-08-15 17:47:06 +01:00
Andrew Walbran
3da057735e
Add test for generating Android.bp from list of crates.
...
Bug: 293289578
Test: atest cargo_embargo.test
Change-Id: I2be01cee617913d429ceb5f41f81126d38301ede
2023-08-15 17:47:06 +01:00
Andrew Walbran
2a4c28bf67
Remove emit_list.
...
It's not used anywhere.
Bug: 293289578
Test: atest cargo_embargo.test
Change-Id: I8ab1cbec7fe05997c9b24a8e0b658c092a6046ae
2023-08-15 16:54:00 +01:00
Zoe Tsou
c864e8880b
The script parse_cts_report.py converts single cts report into \
...
three files:
info.json
result.csv
summary.csv
The class Report() is implemented so that parse_cts_report.py \
can be easily used by another script aggregate_reports.py.
The script aggregate_reports.py converts multiple cts reports into \
three files:
info.json
result.csv
summary.csv
Assumptions:
1. If the input is a zip file, the struture should be
abc.zip
|----abc/
| |----test_result.xml
2. The input file and the output directory must have existed.
Bug: 293809772
Test: `./parse_cts_report.py --report-file [a.zip, test_result.xml] \
-d output_directory`
Test: `./aggregate_reports.py --report-files a.zip b.zip -d \
output_directory`
Change-Id: I8e5481ecc1ebf7f370debb59cb3c065cf9edcfad
2023-08-15 08:42:03 +00:00
Zoe Tsou
0a48327c6c
Merge "Convert single cts report into three files: info.json result.csv summary.csv" into main
2023-08-09 07:21:44 +00:00
Zoe Tsou
82deafccbf
Convert single cts report into three files:
...
info.json
result.csv
summary.csv
Assumptions:
1. If the input is a zip file, the struture should be
abc.zip
|----abc/
| |----test_result.xml
2. The input file and the output directory must have existed.
Bug: 293809772
Test: ./parse_cts_report.py --report-file [a.zip, test_result.xml] \
-d output_directory
Change-Id: I19dabdaed02408b7bf4a030394b99ed42925aa55
2023-08-09 05:48:40 +00:00
Andrew Walbran
0277236ce5
Add tests for crate_to_bp_modules.
...
Bug: 293289578
Test: atest cargo_embargo.test
Change-Id: I9063a2dffea3a716224a1bd6a722e408b5eb0494
2023-08-04 18:02:21 +01:00
Zoe Tsou
4c2345a3c3
Merge "migrated the script from python2 to python3." into main
2023-08-02 08:08:40 +00:00
Matthias Männich
b417397c18
Merge "ndkabidump: switch to .stg format" into main
2023-08-01 21:36:36 +00:00
Matthias Maennich
273a2c88ee
ndkabidump: switch to .stg format
...
Bug: 156513478
Change-Id: I1250aca298894851039b058f286b21d4c1f46716
Signed-off-by: Matthias Maennich <maennich@google.com >
2023-08-01 17:23:22 +00:00
Andrew Walbran
a314f8e3fd
Split out JSON configuration reading to a separate module.
...
Bug: 293289578
Test: m cargo_embargo
Change-Id: I993da0c666a2dd90fa46f697553b9778e1e3ad37
2023-08-01 16:00:29 +01:00
Zoe Tsou
2baeec3a8e
migrated the script from python2 to python3.
...
Bug: 292454054
Test: 'python3 compare_failed_tests.py test_result_a.xml
test_result_b.xml'
Change-Id: I84c5a1523c80a7672492f6c6487982ae777eef28
2023-07-31 03:35:51 +00:00
Andrew Walbran
8b488a9338
Add support for product_available and vendor_available flags.
...
Bug: 293289578
Test: Ran on external/rust/crates/either
Change-Id: Iaf357dc2a9e036689c07005f2f9ca3879e3e71ee
2023-07-28 11:10:59 +01:00
Pablo Gamito
43aebe6d17
Show noop transactions in viewer am: 89570faf2c
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/development/+/23631337
Change-Id: Ic10c3ef0d7421fa9664d6d234310d57982b09ff0
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2023-06-09 14:18:31 +00:00
Pablo Gamito
e4bf92d82f
Add transaction ids to viewer and a filter for them am: 166b11bcb5
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/development/+/23602064
Change-Id: I409a3f4e5a357bac33777bfb796fc0f34e34c337
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2023-06-09 14:18:28 +00:00
Pablo Gamito
89570faf2c
Show noop transactions in viewer
...
Fixes: 286517142
Test: npm run test:all
Change-Id: I8e33f72f0ae35c232f3efc251c5371f8951e9482
2023-06-09 12:54:29 +00:00
Pablo Gamito
166b11bcb5
Add transaction ids to viewer and a filter for them
...
Fixes: 284264724
Test: npm run test:all
Change-Id: I8e33f72f0ae35c232f3efc251c5371f895112345
2023-06-09 12:54:29 +00:00
Treehugger Robot
8247a6ed39
Merge "Apply riscv64 workarounds." am: fc9eaf5daa am: aec7fe8e92 am: 219c85ab47
...
Original change: https://android-review.googlesource.com/c/platform/development/+/2618389
Change-Id: I277b5e61d6007a6158c10b91597ce2cac2832010
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2023-06-07 03:15:42 +00:00
Treehugger Robot
aec7fe8e92
Merge "Apply riscv64 workarounds." am: fc9eaf5daa
...
Original change: https://android-review.googlesource.com/c/platform/development/+/2618389
Change-Id: I1978e31b867595760d15ea36fa588aae5d965c72
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2023-06-07 01:46:26 +00:00
Dan Albert
cc5dad70f8
Apply riscv64 workarounds.
...
These were needed in build-ndk-prebuilts.sh too. Copy them here.
Bug: None
Test: ./update_ndk_abi.sh
Change-Id: Ia6263ff1b0936aa3a80747042662df24ddfb88e0
2023-06-06 23:39:55 +00:00
Kean Mariotti
2b30f33150
Merge changes Ieddaf47c,Ia96c58d5,I89e03fff into udc-dev am: 09a1c31019
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/development/+/23489996
Change-Id: I525c14df638a20580fd2d2f0afb1c7192ef2430a
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2023-06-02 19:13:46 +00:00
Kean Mariotti
09a1c31019
Merge changes Ieddaf47c,Ia96c58d5,I89e03fff into udc-dev
...
* changes:
Add 'npm run test:presubmit' script
Change displayed trace descriptors
Optimize bugreport loading
2023-06-02 18:00:48 +00:00
Treehugger Robot
d189471c78
Merge "Add CUJ trace parser to Winscope" into udc-dev am: aaa8dcd1f7
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/development/+/23515819
Change-Id: I1b4bf62a75fa97a704bcb5658f859b20e63549a9
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2023-06-02 13:11:38 +00:00
Treehugger Robot
aaa8dcd1f7
Merge "Add CUJ trace parser to Winscope" into udc-dev
2023-06-02 12:26:57 +00:00
Kean Mariotti
24965f613d
Add 'npm run test:presubmit' script
...
Fix: b/285562786
Test: npm run test:presubmit
Change-Id: Ieddaf47c6737fe49d485bf4d81d2b711e4334cd2
2023-06-02 12:25:23 +00:00
Kean Mariotti
d1c80891d9
Change displayed trace descriptors
...
Descriptor before:
'Transitions (wm_transition_trace.winscope (bugreport.zip), shell_transition_trace.winscope (bugreport.zip))'
Descriptor after:
'wm_transition_trace.winscope (bugreport.zip), shell_transition_trace.winscope (bugreport.zip)'
Fix: b/285561971
Test: load trace and check the displayed descriptor
Change-Id: Ia96c58d563036c68e2d9ab428a94051a23a6a5b9
2023-06-02 12:25:09 +00:00
Kean Mariotti
bc966c455c
Optimize bugreport loading
...
Fix: b/269342535
Test: npm run test:all
Change-Id: I89e03fff08fe1c7e7169a6eeb08efeda04d098d0
2023-06-02 12:08:00 +00:00
TreeHugger Robot
16752f9c9d
Merge "Add pre-upload hook to run Winscope tests" into udc-dev am: c4808fc1d2
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/development/+/23489997
Change-Id: I85e5799120163bba891975e53d02587e0bba00af
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2023-06-02 11:00:56 +00:00
TreeHugger Robot
c4808fc1d2
Merge "Add pre-upload hook to run Winscope tests" into udc-dev
2023-06-02 10:31:48 +00:00
Pablo Gamito
9336f610f0
Add CUJ trace parser to Winscope
...
Bug: 265791272
Test: npm run test:all
Change-Id: Ibb62236c405ab44caf94c9ac66ef34cbef4a0111
2023-06-02 09:31:57 +00:00
Pablo Gamito
70c6fb8c88
Add pre-upload hook to run Winscope tests
...
Test: make a change and repo upload -c .
Fixes: 282179210
Change-Id: I70fdf3f17f8d539d00e42e528d1c7d4091696372
2023-06-02 09:31:57 +00:00
Kean Mariotti
b76f9c2d53
Fix broken tests am: 35e2e69f95
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/development/+/23478816
Change-Id: Ibfba76baa11411d52c0519f534c8d11c8b9f3c81
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2023-05-31 14:33:41 +00:00
Kean Mariotti
35e2e69f95
Fix broken tests
...
Test: npm run test:all
Change-Id: I6f064dc8846b2e65dfb002d002aee80d8422c537
2023-05-31 09:37:16 +00:00
Pablo Gamito
565bda6139
Fix winscope test am: daa40dbd3f
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/development/+/23474476
Change-Id: I00d954ae3a5b433abd1d2d1b4959f02d9b9bd25c
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2023-05-30 17:54:27 +00:00
Pablo Gamito
496ba10ece
Add tooltips to icons am: 115ed2f243
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/development/+/23466728
Change-Id: I5b636897e3dfc3db94a8095586190dc4679041a9
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2023-05-30 15:17:24 +00:00
Pablo Gamito
daa40dbd3f
Fix winscope test
...
Meant to be amended to ag/23466728 but was auto-merged before I could
Test: npm run test:all
Bug: 23466728
Change-Id: I2cfb1ba7214ec0b316b489ef84a138861d878321
2023-05-30 15:08:02 +00:00
Pablo Gamito
115ed2f243
Add tooltips to icons
...
And add icon next to the trace name in more places for better association of icon to trace
Fixes: 284100487
Test: npm run test:all
Change-Id: I2cfb1ba7214ec0b316b489ef84a138861d878345
2023-05-30 10:31:12 +00:00