The following testcases in the 'sys/net/if_ovpn/if_ovpn' testsuite are failing in CI: sys/net/if_ovpn/if_ovpn:4in6 -> failed: atf-check failed; see the output of the test for details [24.039s] sys/net/if_ovpn/if_ovpn:float -> failed: Client not found in status list! [17.156s] sys/net/if_ovpn/if_ovpn:linklocal -> failed: atf-check failed; see the output of the test for details [10.125s] Currently, pkg.freebsd.org does not contain binary packages for 'security/openvpn' (as reported for FreeBSD:15:latest on both amd64 and aarch64 here: https://www.freshports.org/security/openvpn) due to previous package build failures. However, these test failures are reproducible consistently using a package repository built locally with poudriere on current freebsd-ports HEAD. I've attached the full Kyua test report from my test run in this bug, which contains the stderr from these failing cases. I have reproduced this error with two methods: 1. using src in-tree local CI (after overriding the ci.conf with a local pkg repo): # make -C tests/ci CITYPE=full PARALLEL_JOBS=2 VM_MEM_SIZE=4g KYUA_TEST_FILTERS='sys/net/if_ovpn/if_ovpn' 2. using bricoler[0] with a local pkg repo: $ bricoler run freebsd-src-regression-suite --param freebsd-src:url=/usr/src --param freebsd-src:branch= --param freebsd-src-regression-suite:hypervisor=bhyve --param freebsd-src-regression-suite:memory=4096 --param freebsd-src-regression-suite:ncpus=2 --param freebsd-src-regression-suite:parallelism=1 --param freebsd-src-regression-suite-vm-image:package_repo_file="/path/to/local.pkg.conf" --param freebsd-src-regression-suite:tests='sys/net/if_ovpn/if_ovpn' @kp I see that you wrote these test cases. Please triage as necessary. [0] https://github.com/markjdb/bricoler
That's expected until the openvpn gets updated.
(In reply to Kristof Provost from comment #1) *openvpn package
Created attachment 263294 [details] ovpn test report Forgot to attach test report in submission. > That's expected until the openvpn [package] gets updated. Is the expection that there is a new upstream version of openvpn that would fix these issues? Or that the issue would be fixed once pkg.freebsd.org contains a working openvpn pkg? To be clear, I am building a local pkg repository that contains the latest Ports version of openvpn, and the tests are failing with runtime errors, not with errors looking for openvpn in the path.
(In reply to Siva Mahadevan from comment #3) It needs an openvpn release that contains the link-local and float support. I don’t know offhand what version that will be in and if that’s pending with the openvpn project or the port at this point. If you build openvpn out of their git tree these tests will pass.
Should we skip or xfail these tests until the new openvpn release is in ports?
Created attachment 263295 [details] [PATCH] tests: if_ovpn: xfail float and linklocal tests until openvpn 2.7 > Should we skip or xfail these tests until the new openvpn release is in ports? I think an xfail with this PR number is appropriate. Attaching a patch for this now. I can confirm that using security/openvpn-devel (tracking git 2025-08-01) causes the float and linklocal tests to pass, so it's only a matter of waiting till the openvpn 2.7.x update. I'll mark this bug as 'in progress' to keep the CI failures tracked until the security/openvpn stable port is updated to 2.7. As for the 4in6 test, it seems to be a flaky test that intermittently fails. Are you able to reproduce this? I can reproduce it consistently with 50 back-to-back runs.
Created attachment 263296 [details] [PATCH v2] tests: if_ovpn: xfail float and linklocal tests until openvpn 2.7 Fixed accidental inclusion of ci.conf changes in v2.
(In reply to Ed Maste from comment #5) > Should we skip or xfail these tests until the new openvpn release is in ports? Let's not skip them, because skips tend to stick around forever.
A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/src/commit/?id=512d3c3a2c6391cee61ff41e3fe6304973346857 commit 512d3c3a2c6391cee61ff41e3fe6304973346857 Author: Kristof Provost <kp@FreeBSD.org> AuthorDate: 2025-08-29 09:19:26 +0000 Commit: Kristof Provost <kp@FreeBSD.org> CommitDate: 2025-09-03 10:10:21 +0000 if_ovpn tests: skip float and linklocal test on < 2.7 Earlier versions (than 2.7.0) do not support float notifications or link-local addresses. Skip the relevant tests there. PR: 289150 MFC after: 1 week Sponsored by: Rubicon Communications, LLC ("Netgate") Differential Revision: https://reviews.freebsd.org/D52234 tests/sys/net/if_ovpn/if_ovpn.sh | 2 ++ tests/sys/net/if_ovpn/utils.subr | 19 +++++++++++++++++++ 2 files changed, 21 insertions(+)
A commit in branch stable/14 references this bug: URL: https://cgit.FreeBSD.org/src/commit/?id=995d95c309fccd312f6e1c27ad4a93544b95780a commit 995d95c309fccd312f6e1c27ad4a93544b95780a Author: Kristof Provost <kp@FreeBSD.org> AuthorDate: 2025-08-29 09:19:26 +0000 Commit: Kristof Provost <kp@FreeBSD.org> CommitDate: 2025-09-12 06:32:16 +0000 if_ovpn tests: skip float and linklocal test on < 2.7 Earlier versions (than 2.7.0) do not support float notifications or link-local addresses. Skip the relevant tests there. PR: 289150 MFC after: 1 week Sponsored by: Rubicon Communications, LLC ("Netgate") Differential Revision: https://reviews.freebsd.org/D52234 (cherry picked from commit 512d3c3a2c6391cee61ff41e3fe6304973346857) tests/sys/net/if_ovpn/if_ovpn.sh | 2 ++ tests/sys/net/if_ovpn/utils.subr | 19 +++++++++++++++++++ 2 files changed, 21 insertions(+)