Message ID | 20240823-tcp-ao-selftests-upd-6-12-v4-0-05623636fe8c@gmail.com |
---|---|
Headers | show |
Series | net/selftests: TCP-AO selftests updates | expand |
On Fri, 23 Aug 2024 23:04:50 +0100 Dmitry Safonov via B4 Relay wrote: > First 3 patches are more-or-less cleanups/preparations. > > Patches 4/5 are fixes for netns file descriptors leaks/open. > > Patch 6 was sent to me/contributed off-list by Mohammad, who wants 32-bit > kernels to run TCP-AO. > > Patch 7 is a workaround/fix for slow VMs. Albeit, I can't reproduce > the issue, but I hope it will fix netdev flakes for connect-deny-* > tests. > > And the biggest change is adding TCP-AO tracepoints to selftests. > I think it's a good addition by the following reasons: > - The related tracepoints are now tested; > - It allows tcp-ao selftests to raise expectations on the kernel > behavior - up from the syscalls exit statuses + net counters. > - Provides tracepoints usage samples. Looks like we got no flakes over the weekend, so applying, thanks! :)
Hello: This series was applied to netdev/net-next.git (main) by Jakub Kicinski <kuba@kernel.org>: On Fri, 23 Aug 2024 23:04:50 +0100 you wrote: > First 3 patches are more-or-less cleanups/preparations. > > Patches 4/5 are fixes for netns file descriptors leaks/open. > > Patch 6 was sent to me/contributed off-list by Mohammad, who wants 32-bit > kernels to run TCP-AO. > > [...] Here is the summary with links: - [net-next,v4,1/8] selftests/net: Clean-up double assignment https://git.kernel.org/netdev/net-next/c/79504a47339c - [net-next,v4,2/8] selftests/net: Provide test_snprintf() helper https://git.kernel.org/netdev/net-next/c/7053e788ded5 - [net-next,v4,3/8] selftests/net: Be consistent in kconfig checks https://git.kernel.org/netdev/net-next/c/bc2468f98221 - [net-next,v4,4/8] selftests/net: Open /proc/thread-self in open_netns() https://git.kernel.org/netdev/net-next/c/8acb1806e8c2 - [net-next,v4,5/8] selftests/net: Don't forget to close nsfd after switch_save_ns() https://git.kernel.org/netdev/net-next/c/a9e1693406f9 - [net-next,v4,6/8] selftests/tcp_ao: Fix printing format for uint64_t https://git.kernel.org/netdev/net-next/c/1c69e1f43399 - [net-next,v4,7/8] selftests/net: Synchronize client/server before counters checks https://git.kernel.org/netdev/net-next/c/044e03705125 - [net-next,v4,8/8] selftests/net: Add trace events matching to tcp_ao https://git.kernel.org/netdev/net-next/c/586d87021f22 You are awesome, thank you!
On Tue, 27 Aug 2024 at 22:17, Jakub Kicinski <kuba@kernel.org> wrote: > > On Fri, 23 Aug 2024 23:04:50 +0100 Dmitry Safonov via B4 Relay wrote: > > First 3 patches are more-or-less cleanups/preparations. > > > > Patches 4/5 are fixes for netns file descriptors leaks/open. > > > > Patch 6 was sent to me/contributed off-list by Mohammad, who wants 32-bit > > kernels to run TCP-AO. > > > > Patch 7 is a workaround/fix for slow VMs. Albeit, I can't reproduce > > the issue, but I hope it will fix netdev flakes for connect-deny-* > > tests. > > > > And the biggest change is adding TCP-AO tracepoints to selftests. > > I think it's a good addition by the following reasons: > > - The related tracepoints are now tested; > > - It allows tcp-ao selftests to raise expectations on the kernel > > behavior - up from the syscalls exit statuses + net counters. > > - Provides tracepoints usage samples. > > Looks like we got no flakes over the weekend, so applying, thanks! :) Thanks, Jakub! I think tcp-ao tests weren't particularly flaky before, but with these patches, those "rarer" flakes should be eliminated now (fingers crossed). To my surprise, I figured out the issue in v3 correctly, which was about the ftracer pthread that didn't have a chance to run during the test. I couldn't reproduce it even once locally. Yet, the newly added xfail with an unexpected tcp_hash_ao_required trace event I'll have to investigate.