Commit Graph

2923 Commits

Author SHA1 Message Date
Lorenzo Colitti
66bfb3a8a3 Merge "[automerger skipped] Merge "Merge "Merge "Merge "Merge "Fix expected reverse lookup of Google DNS IP addresses" into nougat-cts-dev am: 3b416dd354" into nougat-mr1-cts-dev am: 50491fb1cc" into oreo-cts-dev am: b6d3940f89" into oreo-mr1-cts-dev am: d93f6d545c" into pie-cts-dev am: f9b246a320 -s ours
am: 8f755d309d -s ours
am skip reason: change_id Iee8bfe418bf6003e5c78df77d75f6f9745249267 with SHA1 3852fd92f5 is in history

Change-Id: I5a6edd6e8f9216e670edb0e046ffd762fc02da3d
2019-04-08 21:36:12 -07:00
Android Merger
8f755d309d Merge "[automerger skipped] Merge "Merge "Merge "Merge "Merge "Fix expected reverse lookup of Google DNS IP addresses" into nougat-cts-dev am: 3b416dd354" into nougat-mr1-cts-dev am: 50491fb1cc" into oreo-cts-dev am: b6d3940f89" into oreo-mr1-cts-dev am: d93f6d545c" into pie-cts-dev am: f9b246a320 -s ours am skip reason: change_id Iee8bfe418bf6003e5c78df77d75f6f9745249267 with SHA1 3852fd92f5 is in history" 2019-04-09 03:22:03 +00:00
Lorenzo Colitti
df64089298 [automerger skipped] Merge "Merge "Merge "Merge "Merge "Fix expected reverse lookup of Google DNS IP addresses" into nougat-cts-dev am: 3b416dd354" into nougat-mr1-cts-dev am: 50491fb1cc" into oreo-cts-dev am: b6d3940f89" into oreo-mr1-cts-dev am: d93f6d545c" into pie-cts-dev
am: f9b246a320 -s ours
am skip reason: change_id Iee8bfe418bf6003e5c78df77d75f6f9745249267 with SHA1 3852fd92f5 is in history

Change-Id: I16d2ba7d301964e1beaf261c1b769a05be4a0187
2019-04-08 20:21:53 -07:00
Android Merger
f9b246a320 Merge "Merge "Merge "Merge "Merge "Fix expected reverse lookup of Google DNS IP addresses" into nougat-cts-dev am: 3b416dd354" into nougat-mr1-cts-dev am: 50491fb1cc" into oreo-cts-dev am: b6d3940f89" into oreo-mr1-cts-dev am: d93f6d545c" into pie-cts-dev 2019-04-09 02:38:32 +00:00
Lorenzo Colitti
aaac541459 Merge "Merge "Merge "Merge "Fix expected reverse lookup of Google DNS IP addresses" into nougat-cts-dev am: 3b416dd354" into nougat-mr1-cts-dev am: 50491fb1cc" into oreo-cts-dev am: b6d3940f89" into oreo-mr1-cts-dev
am: d93f6d545c

Change-Id: Ie4a894d0d07dd2f26ef63efbb83a4531110f84aa
2019-04-08 19:38:21 -07:00
Android Merger
d93f6d545c Merge "Merge "Merge "Merge "Fix expected reverse lookup of Google DNS IP addresses" into nougat-cts-dev am: 3b416dd354" into nougat-mr1-cts-dev am: 50491fb1cc" into oreo-cts-dev am: b6d3940f89" into oreo-mr1-cts-dev 2019-04-09 00:52:27 +00:00
Lorenzo Colitti
926ebf2d47 Merge "Merge "Merge "Fix expected reverse lookup of Google DNS IP addresses" into nougat-cts-dev am: 3b416dd354" into nougat-mr1-cts-dev am: 50491fb1cc" into oreo-cts-dev
am: b6d3940f89

Change-Id: Iacbf91536898e4b0d8942581593ab87eae0af323
2019-04-08 17:52:15 -07:00
Android Merger
b6d3940f89 Merge "Merge "Merge "Fix expected reverse lookup of Google DNS IP addresses" into nougat-cts-dev am: 3b416dd354" into nougat-mr1-cts-dev am: 50491fb1cc" into oreo-cts-dev 2019-04-09 00:06:54 +00:00
Lorenzo Colitti
454f3193a3 Merge "Merge "Fix expected reverse lookup of Google DNS IP addresses" into nougat-cts-dev am: 3b416dd354" into nougat-mr1-cts-dev
am: 50491fb1cc

Change-Id: Ie5459302cb2aa040ed44747f189434091e1c4786
2019-04-08 17:06:38 -07:00
Android Merger
50491fb1cc Merge "Merge "Fix expected reverse lookup of Google DNS IP addresses" into nougat-cts-dev am: 3b416dd354" into nougat-mr1-cts-dev 2019-04-08 23:32:07 +00:00
Lorenzo Colitti
fe13c7233d Merge "Fix expected reverse lookup of Google DNS IP addresses" into nougat-cts-dev
am: 3b416dd354

Change-Id: I03a2f6f3631c25868d504892c5b885477dcfeb01
2019-04-08 16:31:57 -07:00
Treehugger Robot
3b416dd354 Merge "Fix expected reverse lookup of Google DNS IP addresses" into nougat-cts-dev 2019-04-08 22:33:39 +00:00
saurav subedi
c3aea57c53 Merge "[automerger skipped] Merge "DO NOT MERGE:CDD Annotation for 7.4.7/C-2-1" into pie-cts-dev am: 9709b60914 -s ours
am: 40ac51693b -s ours
am skip reason: subject contains skip directive

Change-Id: Id693015f39141c9e1085b0cf71aed8ae2e2aba37
2019-04-08 14:28:26 -07:00
Android Merger
40ac51693b Merge "[automerger skipped] Merge "DO NOT MERGE:CDD Annotation for 7.4.7/C-2-1" into pie-cts-dev am: 9709b60914 -s ours am skip reason: subject contains skip directive" 2019-04-08 20:19:05 +00:00
saurav subedi
273d9c4cbf [automerger skipped] Merge "DO NOT MERGE:CDD Annotation for 7.4.7/C-2-1" into pie-cts-dev
am: 9709b60914 -s ours
am skip reason: subject contains skip directive

Change-Id: Ic4a66d08a162dc0685b0ad5dd08d63be9705a39d
2019-04-08 13:18:53 -07:00
Treehugger Robot
9709b60914 Merge "DO NOT MERGE:CDD Annotation for 7.4.7/C-2-1" into pie-cts-dev 2019-04-08 19:40:27 +00:00
Lorenzo Colitti
3a984ca812 Fix expected reverse lookup of Google DNS IP addresses
DnsTest.testDnsWorks expects that reverse lookup for the Google
public DNS servers will return something with google.com in the
name. This no longer works because the reverse DNS entries have
changed to dns.google.

Bug: 129452237
Test: atest android.net.cts.DnsTest.testDnsWorks
Change-Id: Iee8bfe418bf6003e5c78df77d75f6f9745249267
Merged-In: Iee8bfe418bf6003e5c78df77d75f6f9745249267
(cherry picked from commit 3852fd92f5)
2019-04-08 00:21:48 +00:00
saurav subedi
d11be5bbeb DO NOT MERGE:CDD Annotation for 7.4.7/C-2-1
Devices that don't provide data saver mode must return
RESTRICT_BACKGROUND_STATUS_DISABLED for the
ConnectivityManager#getRestrictBackgroundStatus()

Bug:130032710
Test: make cts
Change-Id: I81b52c9d26afcf51a7e416d20589c9c7cfb878f6
2019-04-05 20:23:53 +00:00
Remi NGUYEN VAN
6413356b57 Merge "Add FrameworksNetCommonTests to CTS"
am: 3604dbe2de

Change-Id: I2fbebcea7aad1089026d3b23341cf26e2b851f90
2019-04-04 05:38:02 -07:00
Treehugger Robot
3604dbe2de Merge "Add FrameworksNetCommonTests to CTS" 2019-04-04 12:29:44 +00:00
Mark Chien
25a820bdb9 Merge "[KA09] add cts test for tcp keepalive offload"
am: e8fb173b7d

Change-Id: I07e1601061902b9d2278f5c36d12a2eeb29e4471
2019-04-03 03:25:52 -07:00
Mark Chien
e8fb173b7d Merge "[KA09] add cts test for tcp keepalive offload" 2019-04-03 09:36:52 +00:00
Remi NGUYEN VAN
16fc55e30d Add FrameworksNetCommonTests to CTS
The common tests include tests that must be both in CTS and unit tests.

Bug: 129199908
Test: atest CtsNetTestCases, IpPrefixCommonTest is run and passes.
Change-Id: Id16f40247cca9a6c5bba573006b84547727f1bab
2019-04-03 18:06:33 +09:00
markchien
5dc1681823 [KA09] add cts test for tcp keepalive offload
Add a test case to make sure tcp keepalive offload starts
correctly.

Bug: 114151147
Test: atest ConnectivityManagerTest#testCreateTcpKeepalive
Change-Id: Iaf1c2fab755f3df8e866b4988f64c25906e1737a
2019-04-03 13:50:39 +08:00
Junyu Lai
1e68a61016 Merge "Fix tests in TrafficStatsTest that are affected by adb over network"
am: 553872fc04

Change-Id: I8a001fe185788d5e2a9ceb8ce11162be3b80912e
2019-04-01 19:23:05 -07:00
Junyu Lai
553872fc04 Merge "Fix tests in TrafficStatsTest that are affected by adb over network" 2019-04-02 02:00:25 +00:00
Lorenzo Colitti
0f6be092bb Merge "Add test coverage for ICMP echo constants."
am: 718025ed2c

Change-Id: I998c14bc1ef65582b0a6715f8307c910c90f9c9b
2019-04-01 08:30:12 -07:00
Lorenzo Colitti
718025ed2c Merge "Add test coverage for ICMP echo constants." 2019-04-01 15:08:44 +00:00
junyulai
c1419d913d Fix tests in TrafficStatsTest that are affected by adb over network
If the adb TCP port is opened, this test may be run by adb over
network. Huge amount of data traffic might go through the
network and accounted into total packets stats. The upper bound
check would be meaningless.

Bug: 126320702
Test: atest android.net.cts.TrafficStatsTest 10 trials for both cases

Change-Id: Iaee455826dc01741c6a3a9f5f8096361c69a1e7c
2019-04-01 11:12:16 +08:00
Brio Automation
da646b71ee Merge "Merge "[automerger skipped] Merge "RESTRICT AUTOMERGE: Port "Exempt adb socket for hostside VpnTest" to Cts 8.1" into oreo-mr1-cts-dev am: af988f0d74 -s ours am: 8e3bef2416 -s ours
am: baed35fda0 -s ours
am skip reason: subject contains skip directive

Change-Id: I297d19f37819dd47be9e64dd9b2a0e2e07c72e95
2019-03-29 15:59:53 -07:00
Android Merger
baed35fda0 Merge "Merge "[automerger skipped] Merge "RESTRICT AUTOMERGE: Port "Exempt adb socket for hostside VpnTest" to Cts 8.1" into oreo-mr1-cts-dev am: af988f0d74 -s ours am: 8e3bef2416 -s ours am skip reason: subject contains skip directive" 2019-03-29 22:06:24 +00:00
Brio Automation
1696a4377d Merge "[automerger skipped] Merge "RESTRICT AUTOMERGE: Port "Exempt adb socket for hostside VpnTest" to Cts 8.1" into oreo-mr1-cts-dev am: af988f0d74 -s ours
am: 8e3bef2416 -s ours
am skip reason: subject contains skip directive

Change-Id: Ifce3b82c92d75daccfe655a0ff70ef3f121766d5
2019-03-29 15:06:03 -07:00
Android Merger
8e3bef2416 Merge "[automerger skipped] Merge "RESTRICT AUTOMERGE: Port "Exempt adb socket for hostside VpnTest" to Cts 8.1" into oreo-mr1-cts-dev am: af988f0d74 -s ours am skip reason: subject contains skip directive" into pie-cts-dev 2019-03-29 21:55:49 +00:00
Brio Automation
8d7997ef50 [automerger skipped] Merge "RESTRICT AUTOMERGE: Port "Exempt adb socket for hostside VpnTest" to Cts 8.1" into oreo-mr1-cts-dev
am: af988f0d74 -s ours
am skip reason: subject contains skip directive

Change-Id: I572f99c9dadc432b15c21da7658fe4d2cc5596b2
2019-03-29 14:55:40 -07:00
Lorenzo Colitti
950e10572b Add test coverage for ICMP echo constants.
Bug: 129251251
Test: atest android.net.ipv6.cts.PingTest com.android.cts.net.HostsideVpnTests
Change-Id: Icca18e0870588ca250225ce79cf30dbd8c361e84
2019-03-30 02:11:46 +09:00
Lorenzo Colitti
05a8151676 Merge "Add more test for async DNS api"
am: 3592095637

Change-Id: I6e8f5c9561895234eb7991d8cd6836a53d8095d7
2019-03-29 08:04:52 -07:00
Lorenzo Colitti
3592095637 Merge "Add more test for async DNS api" 2019-03-29 14:46:11 +00:00
Luke Huang
8fd0506401 Add more test for async DNS api
Bug: 129395490
Test: atest DnsResolverTest
Change-Id: I4d2cdc2be577846c08dfe994da60965f983acb97
2019-03-29 17:09:57 +08:00
Luke Huang
532f7a7875 Merge "Improve cancellation test for async DNS API"
am: 7ac8a1e73e

Change-Id: I65b100abd79e52b20ea81d8e0049b910a761e78b
2019-03-28 20:28:23 -07:00
Luke Huang
92f1edd2f0 Improve cancellation test for async DNS API
After having a lock between callback and cancellationsignal,
errno with EBADF should not happen.

Bug: 129317069
Test: atest DnsResolverTest
Change-Id: I08e800b078d40345eb3f46da1323db251c8dcd47
2019-03-28 21:06:30 +08:00
Lorenzo Colitti
d73366ae68 Merge "Fix expected reverse lookup of Google DNS IP addresses"
am: 38ca09669a

Change-Id: I274ce56ff0fda4e980c748f211926c6b69a92f35
2019-03-28 02:58:41 -07:00
Lorenzo Colitti
38ca09669a Merge "Fix expected reverse lookup of Google DNS IP addresses" 2019-03-28 09:49:22 +00:00
Lorenzo Colitti
3852fd92f5 Fix expected reverse lookup of Google DNS IP addresses
DnsTest.testDnsWorks expects that reverse lookup for the Google
public DNS servers will return something with google.com in the
name. This no longer works because the reverse DNS entries have
changed to dns.google.

Bug: 129452237
Test: atest android.net.cts.DnsTest.testDnsWorks
Change-Id: Iee8bfe418bf6003e5c78df77d75f6f9745249267
2019-03-28 17:41:13 +09:00
Luke Huang
af31d7737c Merge "Improve test and fix doulbe-close fd problem for async DNS API cts"
am: 277181d9d3

Change-Id: I07649e4fcb899a9f82043a3bb9665446a8ae98a9
2019-03-26 22:49:36 -07:00
Luke Huang
acadb939b5 Improve test and fix doulbe-close fd problem for async DNS API cts
1. Change test cases for enlarging buffer size of FrameworkListener.
2. Remove test procedure which caused doulbe-close fd.

Bug: 129317069
Bug: 126307309
Test: atest CtsNativeNetDnsTestCases MultinetworkApiTest
Change-Id: I8d871cebca6fa7e298a874ba430ec0aaa05c0eed
2019-03-26 20:33:43 +08:00
Brio Automation
b84038696c RESTRICT AUTOMERGE: Port "Exempt adb socket for hostside VpnTest" to Cts 8.1
https://android-review.googlesource.com/c/platform/cts/+/833600

Change-Id: Id6f986aacc3cadf713ebbc8305ca535b861390fc
Bug: 119382723
2019-03-26 00:31:14 +00:00
Lorenzo Colitti
9c74b46ca4 Merge "Enable instant and ABI XML tags for native networking tests."
am: d01197426b

Change-Id: I0b4eb27571b7780ea894e1b89606d5850cf71218
2019-03-24 23:50:13 -07:00
Treehugger Robot
d01197426b Merge "Enable instant and ABI XML tags for native networking tests." 2019-03-25 06:31:59 +00:00
Lorenzo Colitti
f011d5f95b Enable instant and ABI XML tags for native networking tests.
These tests include native code so mark them as multi_abi. They
also pass in instant mode so mark them instant_app.

Fix: 123367032
Fix: 123367595
Test: atest CtsNativeNetDnsTestCases CtsNativeNetTestCases
Test: cts-tradefed run commandAndExit cts --enable-parameterized-modules --module-parameter instant_app -m CtsNativeNetDnsTestCases
Test: cts-tradefed run commandAndExit cts --enable-parameterized-modules --module-parameter instant_app -m CtsNativeNetTestCases
Change-Id: Id66705ecb012a07aa34318f41afb1840dd25b9e3
2019-03-25 13:41:38 +09:00
Junyu Lai
f29182d403 Merge changes Ic19b3b64,I26ca370f
am: c5ceda2354

Change-Id: I177af60357ae999a05d3b017c720df29753249d1
2019-03-24 19:14:02 -07:00