summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2021-06-24Snap for 7486544 from 93c860f8c7a8c7772723104f715b2e51d8b6ea3e to sc-releaseandroid-vts-12.0_r1android-security-12.0.0_r59android-security-12.0.0_r58android-security-12.0.0_r57android-security-12.0.0_r56android-security-12.0.0_r55android-security-12.0.0_r54android-security-12.0.0_r53android-security-12.0.0_r52android-security-12.0.0_r51android-security-12.0.0_r50android-security-12.0.0_r49android-security-12.0.0_r48android-security-12.0.0_r47android-security-12.0.0_r46android-security-12.0.0_r45android-security-12.0.0_r44android-security-12.0.0_r43android-security-12.0.0_r42android-security-12.0.0_r41android-security-12.0.0_r40android-security-12.0.0_r39android-security-12.0.0_r38android-security-12.0.0_r37android-security-12.0.0_r36android-security-12.0.0_r35android-security-12.0.0_r34android-platform-12.0.0_r9android-platform-12.0.0_r8android-platform-12.0.0_r7android-platform-12.0.0_r6android-platform-12.0.0_r5android-platform-12.0.0_r4android-platform-12.0.0_r31android-platform-12.0.0_r30android-platform-12.0.0_r3android-platform-12.0.0_r29android-platform-12.0.0_r28android-platform-12.0.0_r27android-platform-12.0.0_r26android-platform-12.0.0_r25android-platform-12.0.0_r24android-platform-12.0.0_r23android-platform-12.0.0_r22android-platform-12.0.0_r21android-platform-12.0.0_r20android-platform-12.0.0_r2android-platform-12.0.0_r19android-platform-12.0.0_r18android-platform-12.0.0_r17android-platform-12.0.0_r16android-platform-12.0.0_r15android-platform-12.0.0_r14android-platform-12.0.0_r13android-platform-12.0.0_r12android-platform-12.0.0_r11android-platform-12.0.0_r10android-platform-12.0.0_r1android-cts-12.0_r1android-12.0.0_r9android-12.0.0_r8android-12.0.0_r34android-12.0.0_r33android-12.0.0_r31android-12.0.0_r30android-12.0.0_r3android-12.0.0_r25android-12.0.0_r2android-12.0.0_r11android-12.0.0_r10android-12.0.0_r1android12-security-releaseandroid12-s5-releaseandroid12-s4-releaseandroid12-s3-releaseandroid12-s2-releaseandroid12-s1-releaseandroid12-releaseandroid12-platform-releaseAndroid Build Coastguard Worker
Change-Id: If12c23ca193a32d74bf65314c591ea09d55761ba
2021-06-23net-test: resilient_rs_test.py - slightly bump EPSILONandroid-12.0.0_r32android-12.0.0_r29android-12.0.0_r28android-12.0.0_r27android-12.0.0_r26android-12.0.0_r21android-12.0.0_r20android-12.0.0_r19android-12.0.0_r18android-12.0.0_r16android12-qpr1-releaseandroid12-qpr1-d-s3-releaseandroid12-qpr1-d-s2-releaseandroid12-qpr1-d-s1-releaseandroid12-qpr1-d-releaseandroid12-devMaciej Żenczykowski
to deflake test when it hits errors like: self.assertLess(min_exp, t) AssertionError: 0.8 not less than 0.7886772155761719 which are happening just a little bit too often. Test: ran against ACK 5.4-S, TreeHugger Bug: 191826861 Signed-off-by: Maciej Żenczykowski <maze@google.com> Original-Change: https://android-review.googlesource.com/1742096 Merged-In: I9527b905660a07db39fca9944d129d0771be209f Change-Id: I9527b905660a07db39fca9944d129d0771be209f
2021-06-23Snap for 7482982 from e9bda53308a56f7c0bf493bfdcdf94a4ad036f8b to sc-releaseAndroid Build Coastguard Worker
Change-Id: If9dd0cd7c704cde90469551946af99ae90ceaab7
2021-06-22net-test: remove bbr/bbr2 from list of acceptable congestion control algosMaciej Żenczykowski
bbr2 isn't even yet available in the upstream linux kernel. Quoting from https://android-review.googlesource.com/c/kernel/common/+/1735979: Neal Cardwell says: As one of the co-authors of BBR, some thoughts: Currently mainline Linux only has BBRv1. BBR is a work in progress, and BBRv1 is not at the level of performance where we would like to see it deployed at wide scale on Android phones. In some circumstances BBRv1 can cause high and frequent packet loss, and thus also poor latency for request/response (web, RPC, SSH) traffic, and low throughput for coexisting Reno and CUBIC flows. This could cause poor user experiences in households, schools, or enterprises where there are constrained uplinks into the Internet. I would recommend against making BBRv1 available on Android phones, and I would urge that BBR not be made available on Android phones until BBRv2 is upstream. Test: TreeHugger, ran tests against ACK 5.4 Bug: 191723680 Signed-off-by: Maciej Żenczykowski <maze@google.com> Original-Change: https://android-review.googlesource.com/1736796 Merged-In: Ia1a600d93f0420fbb57238d70c9ae3d5cfd1eac3 Change-Id: Ia1a600d93f0420fbb57238d70c9ae3d5cfd1eac3
2021-04-03Snap for 7256110 from 0be81bc251e4f2cda50813b032437480ae5c5648 to sc-releaseandroid-build-team Robot
Change-Id: I570035b9b46623fc93fbb6cb9f97e2cd24b34c7c
2021-04-02Ignore ICMPv6 packets in _ExpectEspPacketOn am: c3bc6d71b3 am: 983ae625e7 ↵Yan Yan
am: 26c9e1cc9e Original change: https://android-review.googlesource.com/c/kernel/tests/+/1662144 Change-Id: I94f7ab9eff0cccdff09099743e0d292212d3bc61
2021-04-02Ignore ICMPv6 packets in _ExpectEspPacketOn am: c3bc6d71b3 am: 983ae625e7Yan Yan
Original change: https://android-review.googlesource.com/c/kernel/tests/+/1662144 Change-Id: I5777c4d0f7d538a58094decb1092f7cfda40169e
2021-04-02Ignore ICMPv6 packets in _ExpectEspPacketOn am: c3bc6d71b3Yan Yan
Original change: https://android-review.googlesource.com/c/kernel/tests/+/1662144 Change-Id: I97f2050155136940e8d18ce063a041a515e5c138
2021-04-02Teardown the testing tunnel in the end of migration tests am: 0552a1bbdf am: ↵Yan Yan
27308eafe3 am: 66ed2acd4f Original change: https://android-review.googlesource.com/c/kernel/tests/+/1659294 Change-Id: I477d4c33f69be3eaf273d4a71bcce46976e51a50
2021-04-02Teardown the testing tunnel in the end of migration tests am: 0552a1bbdf am: ↵Yan Yan
27308eafe3 Original change: https://android-review.googlesource.com/c/kernel/tests/+/1659294 Change-Id: I95d68a6061fe429965eb49a1135d2e1c72e69829
2021-04-02Teardown the testing tunnel in the end of migration tests am: 0552a1bbdfYan Yan
Original change: https://android-review.googlesource.com/c/kernel/tests/+/1659294 Change-Id: If961267f423a66b80e1a0076581144e530dc0b53
2021-04-02Ignore ICMPv6 packets in _ExpectEspPacketOnandroid-s-beta-2android-s-beta-1Yan Yan
This patch ignores ICMPv6 packet in _ExpectEspPacketOn to deflake xfrm_tunnel_test. xfrm_tunnel_test was flaky in checking outbound ESP packet because _ExpectEspPacketOn only expected one outbound packet but sometimes the test would also sent out ICMPv6 (Multicast Listener Report Message v2) or ICMPv6 (Neighbor Solicitation). This patch ignores ICMPv6 to deflake the test. Bug: 183604054 Test: Ran ARCH=um SUBARCH=x86_64 ./run_net_test.sh \n --builder all_tests.sh on android-maineline for 50 times and all tests passed. Signed-off-by: Yan Yan <evitayan@google.com> Change-Id: Ie4bd6f803b3327832498cde3aababe2aedce4733
2021-04-02Teardown the testing tunnel in the end of migration testsYan Yan
This patch makes sure the IPsec tunnel is torn down in the end of the test so that if one test fails, the following tests won't be affected. Bug: 183604054 Test: Manually failed one test and saw following tests passing Signed-off-by: Yan Yan <evitayan@google.com> Change-Id: I82bb8796eac69f51e2f9416314e38c3203fc993e
2021-04-02net-test: add test for congestion control sysctls am: 2cd9b42078 am: ↵Maciej Żenczykowski
0fbfcc6183 am: a22161c49b Original change: https://android-review.googlesource.com/c/kernel/tests/+/1650427 Change-Id: I36ccc77dc6116760ef5c59220a4c420c2c5751cd
2021-04-02net-test: add test for congestion control sysctls am: 2cd9b42078 am: 0fbfcc6183Maciej Żenczykowski
Original change: https://android-review.googlesource.com/c/kernel/tests/+/1650427 Change-Id: I1f105ec688031c08047cd2b1dbf5c22f0dd4788b
2021-04-02net-test: add test for congestion control sysctls am: 2cd9b42078Maciej Żenczykowski
Original change: https://android-review.googlesource.com/c/kernel/tests/+/1650427 Change-Id: I927b33c792e0cbd41f706bf9f652308fc933268d
2021-04-02net-test: add test for congestion control sysctlsMaciej Żenczykowski
There are various obsolete/deprecated congestion control algorithms, like BIC, that should never be used as they're unfair/uncooperative and bad for other devices on the network. In particular BIC has been deprecated for a very long (12y?) time and subsumed by Cubic. It really should be removed from the Linux kernel but some folks want to keep it around for historical purposes (ie. for comparisons). There have been a lot of improvements made into Cubic (e.g. stretched ACKs and hystart). It is also an IETF standard (RFC8312) and used by iOS and Windows clients. Test: gpylint2 sysctls_test.py, ran against 5.4-R ACK kernel Signed-off-by: Maciej Żenczykowski <maze@google.com> Change-Id: I1a36a62f516701a3478da993fc2a09951da9d7b5
2021-03-02Snap for 7178253 from bb7845a38dd19858523405cf7563d000fb5e493c to sc-releaseandroid-build-team Robot
Change-Id: I396b7791c6443d971f7074a75562a2fe337140c5
2021-03-01Merge "Kernel unit tests for XFRM_MIGRATE" am: 27bee68c71 am: 6906167078 am: ↵Treehugger Robot
3e38bc00e8 Original change: https://android-review.googlesource.com/c/kernel/tests/+/1536041 MUST ONLY BE SUBMITTED BY AUTOMERGER Change-Id: I09304ed031031430b349d58f8ef0150ad65092c1
2021-03-01Merge "Kernel unit tests for XFRM_MIGRATE" am: 27bee68c71 am: 6906167078Treehugger Robot
Original change: https://android-review.googlesource.com/c/kernel/tests/+/1536041 MUST ONLY BE SUBMITTED BY AUTOMERGER Change-Id: I9c1ddd53607c796af2ac4b72e77554dcf3c44546
2021-03-01Merge "Kernel unit tests for XFRM_MIGRATE" am: 27bee68c71Treehugger Robot
Original change: https://android-review.googlesource.com/c/kernel/tests/+/1536041 MUST ONLY BE SUBMITTED BY AUTOMERGER Change-Id: I0c40609a079e6ac5e54b810f1529b8b54937c9cc
2021-03-01Merge "Kernel unit tests for XFRM_MIGRATE"Treehugger Robot
2021-03-01net-test: make 'gpylint2 csocket_test.py' pass am: b67e5a02a8 am: 1934ba2cab ↵Maciej Żenczykowski
am: def69fecaf Original change: https://android-review.googlesource.com/c/kernel/tests/+/1607253 MUST ONLY BE SUBMITTED BY AUTOMERGER Change-Id: I8df39250837cdc1a2624e991ba6c14e5f7798b2e
2021-03-01net-test: make 'gpylint2 csocket_test.py' pass am: b67e5a02a8 am: 1934ba2cabMaciej Żenczykowski
Original change: https://android-review.googlesource.com/c/kernel/tests/+/1607253 MUST ONLY BE SUBMITTED BY AUTOMERGER Change-Id: I03808be0eb72933de1e7d8eec90ea3e35b262075
2021-03-01net-test: make 'gpylint2 csocket_test.py' pass am: b67e5a02a8Maciej Żenczykowski
Original change: https://android-review.googlesource.com/c/kernel/tests/+/1607253 MUST ONLY BE SUBMITTED BY AUTOMERGER Change-Id: I6d4c983ee0127c844e466330857b2f0e6122d97d
2021-03-01net-test: add test for bpf_skb_change_head() use from a TC program am: ↵Maciej Żenczykowski
687786c303 am: 5fc4e4b1ec am: 210b0dcf58 Original change: https://android-review.googlesource.com/c/kernel/tests/+/1608873 MUST ONLY BE SUBMITTED BY AUTOMERGER Change-Id: I349edb37b9836d54b4b1b2830103dc551df089c3
2021-03-01net-test: add test for bpf_skb_change_head() use from a TC program am: ↵Maciej Żenczykowski
687786c303 am: 5fc4e4b1ec Original change: https://android-review.googlesource.com/c/kernel/tests/+/1608873 MUST ONLY BE SUBMITTED BY AUTOMERGER Change-Id: If42fec8f4efb4d091ca134cda148f9a08a157375
2021-03-01net-test: add test for bpf_skb_change_head() use from a TC program am: ↵Maciej Żenczykowski
687786c303 Original change: https://android-review.googlesource.com/c/kernel/tests/+/1608873 MUST ONLY BE SUBMITTED BY AUTOMERGER Change-Id: Iddbc43f4ce839fe8799ab34b600740ec5cfb2d5b
2021-03-01net-test: make 'gpylint2 csocket_test.py' passMaciej Żenczykowski
Signed-off-by: Maciej Żenczykowski <maze@google.com> Change-Id: I7528fc37107ce9d970357baa543162513588ccdd
2021-02-27Kernel unit tests for XFRM_MIGRATEYan Yan
This CL adds unit tests for updating addresses and underlying network of an IPsec SA using CONFIG_XFRM_MIGRATE. Tested on android-mainline - without config set, tests failed - with config set, tests ran and passed Tested on android 5.4 - without config set, tests were skipped - with config set, tests ran and passed Bug: 169170981 Test: xfrm_tunnel_test.py Signed-off-by: Yan Yan <evitayan@google.com> Change-Id: Ieb410dab2ba1c112e2c28a53b8165ebeb0ebb7f2
2021-02-25net-test: add test for bpf_skb_change_head() use from a TC programMaciej Żenczykowski
Test: TreeHugger, gpylint2 bpf.py bpf_test.py passes on ACK 4.14-P tree, fails after reverting relevant kernel patch Bug: 181188036 Signed-off-by: Maciej Żenczykowski <maze@google.com> Change-Id: I6890e51001167fbbd4e0b1e5b8290ad7ec92a9af
2021-02-21Snap for 7160059 from e8283b9494adcb06ef71a2d71d76cf41947405d4 to sc-releaseandroid-build-team Robot
Change-Id: Ic69885d84fdbb9e9b29a67a79171e6a91cace71c
2021-02-20[automerger skipped] Mark ab/7061308 as merged in stage. am: 77d7f0790d -s ↵Xin Li
ours am: 825833aaac -s ours am skip reason: Change-Id Ia4b7c54f4ac91b83f1926701508ce8c4d59992d7 with SHA-1 d4e220cccb is in history Original change: undetermined MUST ONLY BE SUBMITTED BY AUTOMERGER Change-Id: Icaeffa23fd57ed2fdd377d0fa667a565dafb9fc8
2021-02-20[LSC] Add LOCAL_LICENSE_KINDS to kernel/tests am: 6ec4a0cdb1 am: ebcc68b19c ↵Bob Badour
am: e4ea6cd37b Original change: https://android-review.googlesource.com/c/kernel/tests/+/1588395 MUST ONLY BE SUBMITTED BY AUTOMERGER Change-Id: I75b04812bb2ed6c279ea2fe604e6026a7413b0f0
2021-02-20[automerger skipped] Mark ab/7061308 as merged in stage. am: 77d7f0790d -s oursXin Li
am skip reason: Change-Id Ia4b7c54f4ac91b83f1926701508ce8c4d59992d7 with SHA-1 d4e220cccb is in history Original change: undetermined MUST ONLY BE SUBMITTED BY AUTOMERGER Change-Id: I5341b61fea7d5e6d6d4897c2e02c3ed66c37e843
2021-02-20Mark ab/7061308 as merged in stage.Xin Li
Bug: 180401296 Merged-In: Ia4b7c54f4ac91b83f1926701508ce8c4d59992d7 Change-Id: I3c51f86db2b493287a6d57e1b65caa25185aed08
2021-02-19[LSC] Add LOCAL_LICENSE_KINDS to kernel/tests am: 6ec4a0cdb1 am: ebcc68b19cBob Badour
Original change: https://android-review.googlesource.com/c/kernel/tests/+/1588395 MUST ONLY BE SUBMITTED BY AUTOMERGER Change-Id: Ie02bdea38d3afb0d9c403e6a26fa079edfa20b64
2021-02-19[LSC] Add LOCAL_LICENSE_KINDS to kernel/tests am: 6ec4a0cdb1Bob Badour
Original change: https://android-review.googlesource.com/c/kernel/tests/+/1588395 MUST ONLY BE SUBMITTED BY AUTOMERGER Change-Id: I42910758c6a1261e585cb3063225c8f3cb489896
2021-02-17Snap for 7149879 from e382c3dc249d48f19399d0e065702879677f662b to sc-releaseandroid-build-team Robot
Change-Id: I894a8e3439da55e320979e2094bf6b360d836b82
2021-02-16[LSC] Add LOCAL_LICENSE_KINDS to kernel/testsBob Badour
Added SPDX-license-identifier-Apache-2.0 to: devicetree/early_mount/Android.bp Added SPDX-license-identifier-Apache-2.0 SPDX-license-identifier-OpenSSL to: Android.bp net/test/Android.bp Bug: 68860345 Bug: 151177513 Bug: 151953481 Test: m all Exempt-From-Owner-Approval: janitorial work Change-Id: I5ea5708ef28fbe392612240df037d6aa02bd8b54
2021-02-16net-test: bpf_test - use proper except type am: 6f3199af05 am: 5a184b6ced ↵Maciej Żenczykowski
am: 85a57cf553 Original change: https://android-review.googlesource.com/c/kernel/tests/+/1589651 MUST ONLY BE SUBMITTED BY AUTOMERGER Change-Id: Id5cdacdddfef2872e2dad00d8358e6fc472790ae
2021-02-16net-test: bpf_test - use proper except type am: 6f3199af05 am: 5a184b6cedMaciej Żenczykowski
Original change: https://android-review.googlesource.com/c/kernel/tests/+/1589651 MUST ONLY BE SUBMITTED BY AUTOMERGER Change-Id: Id0d7a306440b86184351f7d735b364e5d5c48e21
2021-02-16net-test: bpf_test - use proper except type am: 6f3199af05Maciej Żenczykowski
Original change: https://android-review.googlesource.com/c/kernel/tests/+/1589651 MUST ONLY BE SUBMITTED BY AUTOMERGER Change-Id: I7ab4fbb16d5835e3bd1d7bda4aa397f4f1d1e8b5
2021-02-16net-test: add bpf_ktime_get_ns / bpf_ktime_get_boot_ns tests am: de4c8b6a7b ↵Maciej Żenczykowski
am: 9efd11ffe2 am: 910605db5a Original change: https://android-review.googlesource.com/c/kernel/tests/+/1588271 MUST ONLY BE SUBMITTED BY AUTOMERGER Change-Id: Ife3481ce8e9695ce05c26aff83fe0fe201cfc2d5
2021-02-16net-test: fix all gpylint2 errors in bpf.py and bpf_test.py am: 90145477bc ↵Maciej Żenczykowski
am: 64f366c089 am: 8d7e4622d1 Original change: https://android-review.googlesource.com/c/kernel/tests/+/1589552 MUST ONLY BE SUBMITTED BY AUTOMERGER Change-Id: I641501f46e8c7cbe71d76f54e13aa7da3c278cea
2021-02-16net-test: add bpf_ktime_get_ns / bpf_ktime_get_boot_ns tests am: de4c8b6a7b ↵Maciej Żenczykowski
am: 9efd11ffe2 Original change: https://android-review.googlesource.com/c/kernel/tests/+/1588271 MUST ONLY BE SUBMITTED BY AUTOMERGER Change-Id: Ifd662e03b86e7b88c97265c7d458a031e457f8e6
2021-02-16net-test: fix all gpylint2 errors in bpf.py and bpf_test.py am: 90145477bc ↵Maciej Żenczykowski
am: 64f366c089 Original change: https://android-review.googlesource.com/c/kernel/tests/+/1589552 MUST ONLY BE SUBMITTED BY AUTOMERGER Change-Id: Id0d8f7da64c625d22014c8043231e03ea943006d
2021-02-16net-test: add bpf_ktime_get_ns / bpf_ktime_get_boot_ns tests am: de4c8b6a7bMaciej Żenczykowski
Original change: https://android-review.googlesource.com/c/kernel/tests/+/1588271 MUST ONLY BE SUBMITTED BY AUTOMERGER Change-Id: I91d8d0eb4719cbc6ab8cfb3685fc06bd380601ba
2021-02-16net-test: fix all gpylint2 errors in bpf.py and bpf_test.py am: 90145477bcMaciej Żenczykowski
Original change: https://android-review.googlesource.com/c/kernel/tests/+/1589552 MUST ONLY BE SUBMITTED BY AUTOMERGER Change-Id: I2d2657e9c72ce52109f5cfe54030fa2b2335d132
2021-02-15net-test: bpf_test - use proper except typeandroid-s-preview-1Maciej Żenczykowski
As Lorenzo helpfully pointed out: You can just make this be "except socket.error" and get rid of the pylint comment. ... No need to guess, just look at the implementation of LookupMap. It bottoms out at BpfSyscall, which calls MaybeRaiseSocketError, which raises socket.error. Test: gpylint2 bpf.py bpf_test.py Signed-off-by: Maciej Żenczykowski <maze@google.com> Change-Id: Ic6cc0eb794349f09143e23fa14a240b89b9e3010