From 8a3334f7c162482b954e6ee754dd7a4da669e7ea Mon Sep 17 00:00:00 2001 From: Arni Dagur Date: Thu, 3 Dec 2026 02:12:15 +0000 Subject: [PATCH] ci: load the tls kernel module before running tests On Ubuntu's linux-azure kernel, CONFIG_TLS=m is built as a loadable module. The kernel only auto-loads tcp-ulp-tls on setsockopt(TCP_ULP) when the caller has CAP_NET_ADMIN, which the unprivileged GitHub Actions runner user lacks. If nothing else loaded the module at boot (e.g. on runners without Mellanox mlx5_core), setsockopt fails with ENOENT (UlpError(NotFound)). Run `sudo modprobe tls` explicitly before executing the test suite. --- .github/workflows/test.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index d579db7..3e33171 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -27,6 +27,8 @@ jobs: - uses: taiki-e/install-action@v2 with: tool: just,cargo-llvm-cov,cargo-nextest + - name: Load tls kernel module + run: sudo modprobe tls - name: Run tests run: | cd ${{ github.workspace }}