git: 936a1c717c31 - main - tests: udp_bindings: connect_bound_socket_from_2address_jail mark XFAIL in CI
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Wed, 11 Nov 2026 18:07:10 UTC
The branch main has been updated by ngie:
URL: https://cgit.FreeBSD.org/src/commit/?id=936a1c717c31b9e1561b166dbab56ef72f176936
commit 936a1c717c31b9e1561b166dbab56ef72f176936
Author: Enji Cooper <ngie@FreeBSD.org>
AuthorDate: 2026-11-11 18:04:21 +0000
Commit: Enji Cooper <ngie@FreeBSD.org>
CommitDate: 2026-11-11 18:06:30 +0000
tests: udp_bindings: connect_bound_socket_from_2address_jail mark XFAIL in CI
This testcase has been failing reliably in CI since it was introduced in
2e16d37e275f. Mark the testcase XFAIL when run via CI to make the
overall test run a bit more green.
PR: 300696
MFC after: 1 week
---
tests/sys/netinet/udp_bindings.c | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/tests/sys/netinet/udp_bindings.c b/tests/sys/netinet/udp_bindings.c
index 8470318aafef..bbc581ca2528 100644
--- a/tests/sys/netinet/udp_bindings.c
+++ b/tests/sys/netinet/udp_bindings.c
@@ -232,6 +232,12 @@ ATF_TC_BODY(connect_bound_socket_from_2address_jail, tc)
socklen_t slen = sizeof(sin);
int s;
+ if (atf_tc_get_config_var_as_bool_wd(tc, "ci", false)) {
+ atf_tc_expect_fail(
+ "Test fails reliably in CI: "
+ "https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=300696");
+ }
+
ATF_REQUIRE(jail(&jconf) > 0);
ATF_REQUIRE((s = socket(PF_INET, SOCK_DGRAM, 0)) > 0);
ATF_REQUIRE(bind(s, (struct sockaddr *)&sin, sizeof(sin)) == 0);