Commit Graph

2939 Commits

Author SHA1 Message Date
Po-Chien Hsueh
cefd329e66 Merge "Add a tool which compares failed tests" am: 08fb698944 am: 668ca492b3
am: d79b1efebb

Change-Id: I5fff935c8bacc7b1d25ab6ecbcf356d445d46689
2018-05-21 16:01:35 -07:00
Po-Chien Hsueh
d79b1efebb Merge "Add a tool which compares failed tests" am: 08fb698944
am: 668ca492b3

Change-Id: I772962e2ba299d638e9d32ae49639b7912d60027
2018-05-21 15:30:31 -07:00
Po-Chien Hsueh
d08e072414 Add a tool which compares failed tests
Given two test_result.xml's (A and B), this script lists all failed
tests in A, and shows result of the same test in B. This is usually
used for regression detection or device stability analysis.

Bug: 79442777
Test: ./compare_failed_tests.py test_result_a.xml test_result_b.xml
Change-Id: I7778b5d748daccdeadabe6a539e1ce9622e535c5
2018-05-18 17:40:13 +08:00
Scott Lobdell
ceb0b6a273 Complete functionality to add the first seen timestamp to non-upstreamed
commits

Test: Unit tests included, running locally
Change-Id: I0b2fd022a37c2d35ee46127ae17a06bf66580500
2018-05-14 14:26:32 -07:00
Scott Lobdell
849e760f01 Merge "Adding query to find the first occurrence of seeing a commit" 2018-05-03 20:13:08 +00:00
Scott Lobdell
6779d3a5e7 Adding query to find the first occurrence of seeing a commit
Test: Unit tests included
Change-Id: If6e3cc70c65a8b179cb315cbfc95d300c92649d7
2018-05-02 09:03:48 -07:00
Scott Lobdell
dbbd386111 Add command-line functionality for versatile usage of repodiff service.
Reporting is another use case that should be satisfied by this tool.
Since the use case deviates in terms of I/O, it's worth adding a
command-line interface for now and for future expansion.

Test: Unit tests included, will validate locally
Change-Id: Ifade560d9898722fdd5299d06899265b70ce771f
2018-05-02 08:56:48 -07:00
Scott Lobdell
545c2ae271 Merge "Bugfix for unicode characters in commit message" 2018-04-30 20:48:35 +00:00
Scott Lobdell
ed2b3e1565 Bugfix for unicode characters in commit message
Test: Regression tests included

Change-Id: I92d4bc0a2962d8dd9d9a3c6fde53d7fbd37891e2
2018-04-30 12:48:45 -07:00
Scott Lobdell
e294207af6 Update project scripts for correct bootstrapping and GCE deployment
Test: Started from an empty environment and cleaned up bootstrap
commands again

Change-Id: I455fdb883240aed952b6a59a38f247bc5a1e8095
2018-04-30 11:23:31 -07:00
Scott Lobdell
2957c291b5 Merge "Update bootstrap commands" 2018-04-20 16:43:53 +00:00
Logan Chien
c66a549682 Merge changes Ib8bdaa14,I62380485,I6cbedbd2 am: b7f136bed4 am: 0a331739ac
am: 783a072de3

Change-Id: Ide48e2169969631f0a28fd28896e0a3bf00d2fb7
2018-04-20 09:34:24 -07:00
Logan Chien
783a072de3 Merge changes Ib8bdaa14,I62380485,I6cbedbd2 am: b7f136bed4
am: 0a331739ac

Change-Id: I6234f9303e99704f7f782f4df4ba93ced584b712
2018-04-20 09:27:27 -07:00
Logan Chien
36d5edd405 repo-pull: Add --pick for non-merge commits
This commit adds the `--pick` command line option so that users can
choose the git command for the non-merge commits.

Test: repo_pull.py pull -g GERRIT QUERY -p merge-ff-only
Change-Id: Ib8bdaa1418dc2fb48d0f0e3c4eb995a23c007563
2018-04-20 18:29:48 +08:00
Logan Chien
1e026cfcc4 repo-pull: Allow to ignore local branch name
This commit allows users to omit `--branch` from command line options.
`repo_pull.py` will not call `repo start` if `--branch` is unspecified.

Test: repo_pull.py bash -g GERRIT QUERY
Change-Id: I62380485f057bd35ab8ae4d5e70372ff5d05fcc5
2018-04-20 18:29:48 +08:00
Logan Chien
9d19090823 repo-pull: Add checkout for merge commits
This commit adds `-m checkout` for merge commits.  If `-m checkout` is
specified, `repo_pull.py` will pull the merge commits with
`git checkout FETCH_HEAD`.

Test: repo_pull.py bash -g GERRIT QUERY -m checkout -b local_branch_name
Change-Id: I6cbedbd2941c63c8bb0591b6033a136829ffda47
2018-04-20 18:29:44 +08:00
Scott Lobdell
4890f21039 Update bootstrap commands
Had some trouble installing this on David's machine the other day, so
updating these commands so that it's seamless.

Test: Ran locally on my machine

Change-Id: I73f7e3b35d6b31ac8746a6d5bf8d59db50abbe2d
2018-04-19 15:42:21 -07:00
Scott Lobdell
2ae0967762 Merge "Update behavior of commits not upstreamed to include pure deletions" am: 97bd347fcf am: 64a6611cd4
am: 85a2507932

Change-Id: Id8035630140f34cdf8f5d779935be7fe92e442b4
2018-04-19 14:19:14 -07:00
Scott Lobdell
85a2507932 Merge "Update behavior of commits not upstreamed to include pure deletions" am: 97bd347fcf
am: 64a6611cd4

Change-Id: I95b4ed47ab4f671a05803e398bc234d1bf9d6b9e
2018-04-19 14:06:14 -07:00
Scott Lobdell
742553e5f7 Update behavior of commits not upstreamed to include pure deletions
Test: No existing test coverage, will test locally against case
Bug: 77971800

Change-Id: I71f13a07a3fbbcaaa4f8535f10f92f142a8a761a
2018-04-19 20:35:25 +00:00
Logan Chien
8926a6dda8 Merge "repo-review: Add command to post review votes" am: 9aaa383011 am: 965a28801b
am: ce9b0b542b

Change-Id: I2672b3a10f4352378cac62710f847b768bf682c5
2018-04-16 19:58:34 -07:00
Logan Chien
ce9b0b542b Merge "repo-review: Add command to post review votes" am: 9aaa383011
am: 965a28801b

Change-Id: I32d45596b60206880416fd33e67de38c6ab6e7b1
2018-04-16 19:11:34 -07:00
Scott Lobdell
9a38910900 Add project type to database records
Test: No production impact, unit tests included, actively testing
current production dataset

Change-Id: Ia7835938d602f3a11e0d001a1242a8278960b096
2018-04-16 09:49:45 -07:00
Logan Chien
bb914be0e9 repo-review: Add command to post review votes
This commit adds `repo_review.py` to post multiple review votes to
Gerrit.

Test: ./repo_review.py -g [gerrit] [query] -l Code-Review +2
Change-Id: I185d7fb72ac54310049e62c19118b69a8fd94158
2018-04-16 15:32:51 +08:00
Scott Lobdell
0ed9746b55 Merge "Add Tech area view" 2018-04-13 22:31:57 +00:00
Scott Lobdell
85fa8b69e7 Add Tech area view
Test: Unit tests in place, visualization is already updated with tech
area

Change-Id: Ib9114f93c2fbed42565f5672048f331722ee5b47
2018-04-13 14:07:16 -07:00
Scott Lobdell
4befb9433c Merge "Add tool to simplify identification of failing tests" am: 5368d090d7 am: 56f307dbea
am: 81e50f73c9

Change-Id: I159be42277234c13d031b50493d7e40fe128e477
2018-04-12 19:53:51 -07:00
Scott Lobdell
81e50f73c9 Merge "Add tool to simplify identification of failing tests" am: 5368d090d7
am: 56f307dbea

Change-Id: Ib8363ecaac2f4fb34af08422a252a0e7c7ec6614
2018-04-12 18:31:13 -07:00
Scott Lobdell
a246ad7241 Add tool to simplify identification of failing tests
Test: Tested against XML files from partner.android.com

Change-Id: I79be39e6be97892df66663dfa74a6e3b1c08c985
2018-04-12 14:36:05 -07:00
Guang Zhu
d12251fff4 delete tests baked into emulator system image am: 1c3364c022
am: e6106af3c9

Change-Id: Ie0e87f4cd84b7d1d813384f586749414b739ab9b
2018-04-10 10:20:55 -07:00
Guang Zhu
e6106af3c9 delete tests baked into emulator system image
am: 1c3364c022

Change-Id: Iff3f525633e56b90e1eaff7a859a4ff95edd1940
2018-04-10 10:15:13 -07:00
Guang Zhu
1c3364c022 delete tests baked into emulator system image
- tests are out of maintainence
- the checks were general functional tests on comms related
  areas and should be covered by the same tests across physical
  and virtual devices

Bug: 77496099
Test: build `make -j droid tests dist`
Change-Id: I899764846b4829add5ade8085a43bf88c958914f
2018-04-09 20:21:40 -07:00
Enrico Granata
fbe91c90cf idegen fails to build a correct dependency graph if one of the submodules it identifies lacks an Android.mk file
The current failure mode is for the tool to throw an Exception and stop.
This commit makes it possible for the tool to continue in the face of such a missing .mk file.

Test: manual
Change-Id: I42991fe7cda07e0fae2eb037649d88133afde1c7
2018-04-04 14:11:58 -07:00
Scott Lobdell
813c98992b Merge "Dockerize for deployment" 2018-04-02 23:25:53 +00:00
Scott Lobdell
f7f3db493c Dockerize for deployment
Test: Still in bootstrapping phase; tested a deployment from local
machine, can hit public facing endpoint

Change-Id: Ie194ec7e61a2ef84a3b74a22a52348a81a753d89
2018-04-02 14:48:56 -07:00
Logan Chien
2663470652 Merge "repo-pull: Add repo_pull.py to pull multiple CLs" am: 38db2cff89 am: 2ec91b7c24
am: 3224a3bf1a

Change-Id: I87b90191c31ee7fa50996bcbaad143318c4d1308
2018-03-28 02:56:45 +00:00
Logan Chien
3224a3bf1a Merge "repo-pull: Add repo_pull.py to pull multiple CLs" am: 38db2cff89
am: 2ec91b7c24

Change-Id: I56afdd35cfc67c6af1e70f195d1b0633991b6bf4
2018-03-28 01:47:39 +00:00
Logan Chien
9fefa74796 repo-pull: Add repo_pull.py to pull multiple CLs
With `repo_pull.py`, users can specify a query string and pull all
matching change lists from Gerrit.

Test: repo_pull.py pull -g GERRIT QUERY
Change-Id: I1c64c9d630ab37f94276fde7a654f322ac3aa43c
2018-03-27 20:35:23 +08:00
Yi Jin
4cc925bc81 Merge "Remove am/wm.proto" into pi-dev am: cc5b7ebf12
am: a42fb20cd6

Change-Id: I41aff62920c9dd772ab4df7b970a339b1d2dd915
2018-03-21 23:36:53 +00:00
Yi Jin
84f33f5dbe Remove am/wm.proto
Bug: 72474563
Test: cd development/tools/winscope/ && npm install && npm run dev
Change-Id: Ia16faf80ecbfdeea27ea82d839f4afeb81d904df
2018-03-20 17:37:38 -07:00
Scott Lobdell
96629bd335 Base commit for service layer for repo diff tooling
Test: Changes are currently independent of the rest of this project. Tests can
currently manually be run with "make test". CL is large, but poses no
risk

Change-Id: Ia77e073df077257cab96b7ca4e1d99a900d029b2
2018-03-06 13:38:05 -08:00
Yi Jin
4f9c968aba Rename, see ag/3642615
Bug: 72474563
Test: manual
Change-Id: I894a2075e4e5bc56703e1f4d181f9ff2a3fc70ef
2018-02-26 16:32:05 -08:00
TreeHugger Robot
5b4225dedc Merge "Filter window trace data by WindowContainerProto.visible" 2018-02-07 18:19:01 +00:00
Vishnu Nair
3163272774 Filter window trace data by WindowContainerProto.visible
Bug: 64831661
Test: npm run dev
Change-Id: Icf991804ea8c89b990c1056a27ce1a3c23851ecb
2018-02-07 07:54:55 -08:00
TreeHugger Robot
57bda6c8d1 Merge "Update winscope proto lookup path" 2018-02-07 03:16:16 +00:00
Vishnu Nair
62d93dd1b2 Update winscope proto lookup path
- fix build issue caused by recent privacy proto extensions

Test: npm rum dev
Bug: 64831661
Change-Id: Iae08d10a4de82a5cbe2d7561c4b8884f78d96399
2018-02-06 14:40:42 -08:00
Scott Lobdell
300c54efb4 Parallelize diffing of projects
Test: ./android/development/tools/repo_diff/repo_diff_android.py -u persistent-https://googleplex-android.git.corp.google.com/platform/manifest -b “master-security-release” -r persistent-https://googleplex-android.git.corp.google.com/platform/manifest -a “master”
Change-Id: I55b1cddf81cb8d1f5c6427ee2e131c7a766b36cf
2018-02-06 10:20:23 -08:00
Tor Norbye
d2bb51b97b Merge "Remove metalava: has been moved to separate git repository" 2018-02-01 08:02:42 +00:00
changho.shin
ddd40c718d Merge "Support 'uses-permission.*' case" am: 3f7d731fbd am: 52e32a5337
am: ae1d226c04

Change-Id: I46108d61c62f8d3832837421db3a48122882fb5e
2018-01-31 03:01:29 +00:00
Tor Norbye
afa122ead5 Remove metalava: has been moved to separate git repository
Ditto for the older "extract" tool which is replaced by metalava.

Change-Id: Ie1dbbe3632abe2cd56e86ee83e49731ead6e64fc
2018-01-30 11:28:31 +00:00