From 24465000af0698b88291a4c3dbb45a3da4ef3d49 Mon Sep 17 00:00:00 2001 From: Petr Menšík Date: Sep 14 2022 13:59:18 +0000 Subject: Disable more test cases in netmgr_test (#2122010) --- diff --git a/bind-9.18-unittest-netmgr-unstable.patch b/bind-9.18-unittest-netmgr-unstable.patch index ae28158..992758d 100644 --- a/bind-9.18-unittest-netmgr-unstable.patch +++ b/bind-9.18-unittest-netmgr-unstable.patch @@ -1,16 +1,17 @@ -From 586c548f376562ace6f5125ba50a7add6c080069 Mon Sep 17 00:00:00 2001 -From: rpm-build -Date: Mon, 12 Sep 2022 10:40:35 +0200 -Subject: [PATCH] Disable two often failing tests +From 0f3a398fe813189c5dd56b0367a72c7b3f19504b Mon Sep 17 00:00:00 2001 +From: Petr Mensik +Date: Wed, 14 Sep 2022 13:06:24 +0200 +Subject: [PATCH] Disable some often failing tests Make those tests skipped in default build, when CI=true environment is -set. +set. It is not clear why they fail mostly on COPR, but they do fail +often. --- - tests/isc/netmgr_test.c | 4 ++-- - 1 file changed, 2 insertions(+), 2 deletions(-) + tests/isc/netmgr_test.c | 9 +++++++-- + 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/tests/isc/netmgr_test.c b/tests/isc/netmgr_test.c -index 94e4bf7..0cda885 100644 +index 94e4bf7..7f9629c 100644 --- a/tests/isc/netmgr_test.c +++ b/tests/isc/netmgr_test.c @@ -1567,13 +1567,13 @@ stream_half_recv_half_send(void **state __attribute__((unused))) { @@ -29,6 +30,46 @@ index 94e4bf7..0cda885 100644 ISC_RUN_TEST_IMPL(tcp_recv_send) { SKIP_IN_CI; +@@ -1623,6 +1623,7 @@ ISC_RUN_TEST_IMPL(tcp_recv_one_quota) { + } + + ISC_RUN_TEST_IMPL(tcp_recv_two_quota) { ++ SKIP_IN_CI; + atomic_store(&check_listener_quota, true); + stream_recv_two(state); + } +@@ -1836,6 +1837,7 @@ ISC_RUN_TEST_IMPL(tcpdns_recv_two) { + isc_result_t result = ISC_R_SUCCESS; + isc_nmsocket_t *listen_sock = NULL; + ++ SKIP_IN_CI; + atomic_store(&nsends, 2); + + result = isc_nm_listentcpdns(listen_nm, &tcp_listen_addr, +@@ -2095,6 +2097,7 @@ ISC_RUN_TEST_IMPL(tls_recv_one) { + } + + ISC_RUN_TEST_IMPL(tls_recv_two) { ++ SKIP_IN_CI; + stream_use_TLS = true; + stream_recv_two(state); + } +@@ -2160,6 +2163,7 @@ ISC_RUN_TEST_IMPL(tls_recv_one_quota) { + } + + ISC_RUN_TEST_IMPL(tls_recv_two_quota) { ++ SKIP_IN_CI; + stream_use_TLS = true; + atomic_store(&check_listener_quota, true); + stream_recv_two(state); +@@ -2395,6 +2399,7 @@ ISC_RUN_TEST_IMPL(tlsdns_recv_two) { + isc_result_t result = ISC_R_SUCCESS; + isc_nmsocket_t *listen_sock = NULL; + ++ SKIP_IN_CI; + atomic_store(&nsends, 2); + + result = isc_nm_listentlsdns(listen_nm, &tcp_listen_addr, -- -2.37.3 +2.37.2 diff --git a/bind.spec b/bind.spec index fb6250c..cc93e82 100644 --- a/bind.spec +++ b/bind.spec @@ -63,7 +63,7 @@ Summary: The Berkeley Internet Name Domain (BIND) DNS (Domain Name System) serv Name: bind License: MPLv2.0 Version: 9.18.6 -Release: 3%{?dist} +Release: 4%{?dist} Epoch: 32 Url: https://www.isc.org/downloads/bind/ # @@ -954,6 +954,9 @@ fi; %endif %changelog +* Wed Sep 14 2022 Petr Menšík - 32:9.18.6-4 +- Disable yet another test (##2122010) + * Tue Sep 06 2022 Petr Menšík - 32:9.18.6-3 - Return OpenSSL engine implementation for pkcs11 interface (#2122841) - Skip problematic netmgr unit tests (#2122010)