android_packages_modules_Co.../staticlibs
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Jimi Chen 744a17443a Improve stability of APFv{4,6} multi-device tests
This commit enhances the stability of the APFv{4,6} multi-device tests by addressing several sources of flakiness and improving the test setup and validation.

Specifically, this commit:

* Increased sleep time in the test setup. This ensures APF is activated before each test, preventing unexpected behavior.
* Added sleep time in `ApfV4Test` to ensure APF remains enabled and is not disabled due to high throughput scenarios.
* Changed the validation order to first check received packets and then APF counters. This helps to more easily identify the root cause of test failures.
* Changed the Ethernet destination address from multicast to unicast in `ApfV6Test` to prevent packets from being filtered due to DTIM skip.
* Removed the `test_broadcast_arp_request_offload()` test, which was flaky due to DTIM skip and is adequately covered by the `test_unicast_arp_request_offload()` test.

Bug: 406570694
Flag: TEST_ONLY
Test: atest CtsConnectivityMultiDevicesTestCases:ApfV4Test
Test: atest CtsConnectivityMultiDevicesTestCases:ApfV6Test
Test: run cts -m CtsConnectivityMultiDevicesTestCases --skip-preconditions -t ApfV4Test --shard-count 2
Test: run cts -m CtsConnectivityMultiDevicesTestCases --skip-preconditions -t ApfV6Test --shard-count 2
Change-Id: I053509459078d0bd94e16a6bf7349b948f930e6c
2025-04-02 04:31:01 -07:00
..
client-libs Inline tetherInterface and untetherInterface 2025-03-07 10:43:17 +08:00
device Revert "Revert "Remove unnecessary ifindex arg from destroyUdpSo..." 2025-03-27 08:49:10 +09:00
framework/com/android/net/module/util Address aosp/3541181 leftover comments 2025-03-25 10:02:37 +00:00
native Don't crash the system server when a misconfigured agent adds a DSCP policy 2025-03-19 08:24:45 -07:00
netd Add more NativeVpnType AIDL constants for OEM-specific VPNs. 2025-03-18 13:13:31 +09:00
tests/unit Merge "Use scapy to generate ARP packet in multi-device test" into main am: 4703e17d98 2025-03-20 17:02:27 -07:00
testutils Improve stability of APFv{4,6} multi-device tests 2025-04-02 04:31:01 -07:00
Android.bp Merge changes I0b3ac7b4,I90385146 into main 2025-03-16 09:27:17 -07:00
jarjar-rules-shared.txt Support both R and S+ in NetworkFactory 2021-07-08 10:20:58 +00:00
TEST_MAPPING Merge remote-tracking branch 'remotes/aosp/tmp_libs_net_move' into libs_net_move_merge 2023-09-11 11:53:46 +09:00