From 1e0c89a86f30f8a4f7ed7f859f34085c9b26624a Mon Sep 17 00:00:00 2001 From: Weilin Du Date: Thu, 13 Aug 2026 02:31:28 +0800 Subject: [PATCH 1/3] ext/snmp: Put XFAILs under SKIPIF section --- ext/snmp/tests/bug64124.phpt | 3 +-- ext/snmp/tests/bug64159.phpt | 3 +-- ext/snmp/tests/generic_timeout_error.phpt | 3 +-- ext/snmp/tests/ipv6.phpt | 3 +-- ext/snmp/tests/snmp-object-errno-errstr.phpt | 3 +-- ext/snmp/tests/snmp-object.phpt | 3 +-- ext/snmp/tests/snmp2_get.phpt | 3 +-- ext/snmp/tests/snmp2_getnext.phpt | 3 +-- ext/snmp/tests/snmp2_real_walk.phpt | 3 +-- ext/snmp/tests/snmp2_set-nomib.phpt | 3 +-- ext/snmp/tests/snmp2_set.phpt | 3 +-- ext/snmp/tests/snmp2_walk.phpt | 3 +-- ext/snmp/tests/snmp3-error.phpt | 3 +-- ext/snmp/tests/snmp3.phpt | 3 +-- ext/snmp/tests/snmp_getvalue.phpt | 3 +-- ext/snmp/tests/snmpget.phpt | 3 +-- ext/snmp/tests/snmpgetnext.phpt | 3 +-- ext/snmp/tests/snmprealwalk.phpt | 3 +-- ext/snmp/tests/snmpset-nomib.phpt | 3 +-- ext/snmp/tests/snmpset.phpt | 3 +-- ext/snmp/tests/snmpwalk.phpt | 3 +-- 21 files changed, 21 insertions(+), 42 deletions(-) diff --git a/ext/snmp/tests/bug64124.phpt b/ext/snmp/tests/bug64124.phpt index 5e2c43dc6ada..8cadb8a2d1c8 100644 --- a/ext/snmp/tests/bug64124.phpt +++ b/ext/snmp/tests/bug64124.phpt @@ -6,6 +6,7 @@ Boris Lytochkin snmp --SKIPIF-- ---XFAIL-- -SNMP tests might possibly fail on Windows --FILE-- --ENV-- MIBS=noneXistent ---XFAIL-- -SNMP tests might possibly fail on Windows --FILE-- ---XFAIL-- -SNMP tests might possibly fail on Windows --FILE-- ---XFAIL-- -SNMP tests might possibly fail on Windows --FILE-- ---XFAIL-- -SNMP tests might possibly fail on Windows --FILE-- ---XFAIL-- -SNMP tests might possibly fail on Windows --FILE-- ---XFAIL-- -SNMP tests might possibly fail on Windows --FILE-- ---XFAIL-- -SNMP tests might possibly fail on Windows --FILE-- ---XFAIL-- -SNMP tests might possibly fail on Windows --FILE-- --ENV-- MIBS= ---XFAIL-- -SNMP tests might possibly fail on Windows --FILE-- ---XFAIL-- -SNMP tests might possibly fail on Windows --FILE-- ---XFAIL-- -SNMP tests might possibly fail on Windows --FILE-- ---XFAIL-- -SNMP tests might possibly fail on Windows --FILE-- ---XFAIL-- -SNMP tests might possibly fail on Windows --FILE-- ---XFAIL-- -SNMP tests might possibly fail on Windows --FILE-- ---XFAIL-- -SNMP tests might possibly fail on Windows --FILE-- ---XFAIL-- -SNMP tests might possibly fail on Windows --FILE-- ---XFAIL-- -SNMP tests might possibly fail on Windows --FILE-- --ENV-- MIBS= ---XFAIL-- -SNMP tests might possibly fail on Windows --FILE-- ---XFAIL-- -SNMP tests might possibly fail on Windows --FILE-- ---XFAIL-- -SNMP tests might possibly fail on Windows --FILE-- Date: Thu, 13 Aug 2026 03:02:21 +0800 Subject: [PATCH 2/3] ext/snmp: Retry no-response test failures --- ext/snmp/tests/bug64124.phpt | 1 - ext/snmp/tests/bug64159.phpt | 1 - ext/snmp/tests/generic_timeout_error.phpt | 1 - ext/snmp/tests/ipv6.phpt | 1 - ext/snmp/tests/snmp-object-errno-errstr.phpt | 1 - ext/snmp/tests/snmp-object.phpt | 1 - ext/snmp/tests/snmp2_get.phpt | 1 - ext/snmp/tests/snmp2_getnext.phpt | 1 - ext/snmp/tests/snmp2_real_walk.phpt | 1 - ext/snmp/tests/snmp2_set-nomib.phpt | 1 - ext/snmp/tests/snmp2_set.phpt | 1 - ext/snmp/tests/snmp2_walk.phpt | 1 - ext/snmp/tests/snmp3-error.phpt | 1 - ext/snmp/tests/snmp3.phpt | 1 - ext/snmp/tests/snmp_getvalue.phpt | 1 - ext/snmp/tests/snmpget.phpt | 1 - ext/snmp/tests/snmpgetnext.phpt | 1 - ext/snmp/tests/snmprealwalk.phpt | 1 - ext/snmp/tests/snmpset-nomib.phpt | 1 - ext/snmp/tests/snmpset.phpt | 1 - ext/snmp/tests/snmpwalk.phpt | 1 - run-tests.php | 1 + 22 files changed, 1 insertion(+), 21 deletions(-) diff --git a/ext/snmp/tests/bug64124.phpt b/ext/snmp/tests/bug64124.phpt index 8cadb8a2d1c8..4fbf80f0400a 100644 --- a/ext/snmp/tests/bug64124.phpt +++ b/ext/snmp/tests/bug64124.phpt @@ -6,7 +6,6 @@ Boris Lytochkin snmp --SKIPIF-- --ENV-- diff --git a/ext/snmp/tests/generic_timeout_error.phpt b/ext/snmp/tests/generic_timeout_error.phpt index f7a69af50dd9..6cad7e9901cb 100644 --- a/ext/snmp/tests/generic_timeout_error.phpt +++ b/ext/snmp/tests/generic_timeout_error.phpt @@ -6,7 +6,6 @@ Boris Lytochkin snmp --SKIPIF-- --FILE-- diff --git a/ext/snmp/tests/ipv6.phpt b/ext/snmp/tests/ipv6.phpt index 3c13fe7824d2..93274fd7054f 100644 --- a/ext/snmp/tests/ipv6.phpt +++ b/ext/snmp/tests/ipv6.phpt @@ -6,7 +6,6 @@ Boris Lytochkin snmp --SKIPIF-- diff --git a/ext/snmp/tests/snmp-object.phpt b/ext/snmp/tests/snmp-object.phpt index 957354d05e50..13461675cc80 100644 --- a/ext/snmp/tests/snmp-object.phpt +++ b/ext/snmp/tests/snmp-object.phpt @@ -6,7 +6,6 @@ Boris Lytochkin snmp --SKIPIF-- --FILE-- diff --git a/ext/snmp/tests/snmp2_get.phpt b/ext/snmp/tests/snmp2_get.phpt index 6b8aa6a51a80..e2cd1ef1b459 100644 --- a/ext/snmp/tests/snmp2_get.phpt +++ b/ext/snmp/tests/snmp2_get.phpt @@ -6,7 +6,6 @@ Olivier Doucet & Boris Lytochkin snmp --SKIPIF-- diff --git a/ext/snmp/tests/snmp2_getnext.phpt b/ext/snmp/tests/snmp2_getnext.phpt index 6ce4c82f4945..c428783b79f7 100644 --- a/ext/snmp/tests/snmp2_getnext.phpt +++ b/ext/snmp/tests/snmp2_getnext.phpt @@ -6,7 +6,6 @@ Olivier Doucet & Boris Lytochkin snmp --SKIPIF-- --FILE-- diff --git a/ext/snmp/tests/snmp2_real_walk.phpt b/ext/snmp/tests/snmp2_real_walk.phpt index 83f58e838de6..91c337f6d67a 100644 --- a/ext/snmp/tests/snmp2_real_walk.phpt +++ b/ext/snmp/tests/snmp2_real_walk.phpt @@ -6,7 +6,6 @@ Olivier Doucet Olivier Doucet Boris Lytochkin snmp --SKIPIF-- --FILE-- diff --git a/ext/snmp/tests/snmp2_set-nomib.phpt b/ext/snmp/tests/snmp2_set-nomib.phpt index 957794a47ea4..4fbcc2098f73 100644 --- a/ext/snmp/tests/snmp2_set-nomib.phpt +++ b/ext/snmp/tests/snmp2_set-nomib.phpt @@ -6,7 +6,6 @@ Boris Lytockin snmp --SKIPIF-- diff --git a/ext/snmp/tests/snmp2_set.phpt b/ext/snmp/tests/snmp2_set.phpt index dd6d80f86d68..da94fe21f498 100644 --- a/ext/snmp/tests/snmp2_set.phpt +++ b/ext/snmp/tests/snmp2_set.phpt @@ -6,7 +6,6 @@ Boris Lytochkin snmp --SKIPIF-- --FILE-- diff --git a/ext/snmp/tests/snmp2_walk.phpt b/ext/snmp/tests/snmp2_walk.phpt index f4ad31717f00..fcf14424ca05 100644 --- a/ext/snmp/tests/snmp2_walk.phpt +++ b/ext/snmp/tests/snmp2_walk.phpt @@ -6,7 +6,6 @@ Olivier Doucet Olivier Doucet Boris Lytochkin snmp --SKIPIF-- diff --git a/ext/snmp/tests/snmp3-error.phpt b/ext/snmp/tests/snmp3-error.phpt index cd5e21a1fdd9..27cba5b48416 100644 --- a/ext/snmp/tests/snmp3-error.phpt +++ b/ext/snmp/tests/snmp3-error.phpt @@ -6,7 +6,6 @@ Boris Lytochkin snmp --SKIPIF-- diff --git a/ext/snmp/tests/snmp3.phpt b/ext/snmp/tests/snmp3.phpt index 12f755c5ebeb..1d12a84f4647 100644 --- a/ext/snmp/tests/snmp3.phpt +++ b/ext/snmp/tests/snmp3.phpt @@ -6,7 +6,6 @@ Boris Lytochkin snmp --SKIPIF-- --FILE-- diff --git a/ext/snmp/tests/snmp_getvalue.phpt b/ext/snmp/tests/snmp_getvalue.phpt index 665738f2055f..a72f24025c7b 100644 --- a/ext/snmp/tests/snmp_getvalue.phpt +++ b/ext/snmp/tests/snmp_getvalue.phpt @@ -6,7 +6,6 @@ Boris Lytochkin snmp --SKIPIF-- diff --git a/ext/snmp/tests/snmpget.phpt b/ext/snmp/tests/snmpget.phpt index f784e00630df..ea7924ed8e57 100644 --- a/ext/snmp/tests/snmpget.phpt +++ b/ext/snmp/tests/snmpget.phpt @@ -6,7 +6,6 @@ Olivier Doucet & Boris Lytochkin snmp --SKIPIF-- diff --git a/ext/snmp/tests/snmpgetnext.phpt b/ext/snmp/tests/snmpgetnext.phpt index 20cd6d96373a..995a4cc987f5 100644 --- a/ext/snmp/tests/snmpgetnext.phpt +++ b/ext/snmp/tests/snmpgetnext.phpt @@ -6,7 +6,6 @@ Olivier Doucet & Boris Lytochkin snmp --SKIPIF-- --FILE-- diff --git a/ext/snmp/tests/snmprealwalk.phpt b/ext/snmp/tests/snmprealwalk.phpt index d75b877b399e..66f458dadffa 100644 --- a/ext/snmp/tests/snmprealwalk.phpt +++ b/ext/snmp/tests/snmprealwalk.phpt @@ -6,7 +6,6 @@ Olivier Doucet Olivier Doucet Boris Lytochkin snmp --SKIPIF-- --FILE-- diff --git a/ext/snmp/tests/snmpset-nomib.phpt b/ext/snmp/tests/snmpset-nomib.phpt index a34a3c04f532..e5b5bfb9f85a 100644 --- a/ext/snmp/tests/snmpset-nomib.phpt +++ b/ext/snmp/tests/snmpset-nomib.phpt @@ -6,7 +6,6 @@ Boris Lytochkin snmp --SKIPIF-- diff --git a/ext/snmp/tests/snmpset.phpt b/ext/snmp/tests/snmpset.phpt index 62785af38d92..a4f89e78da93 100644 --- a/ext/snmp/tests/snmpset.phpt +++ b/ext/snmp/tests/snmpset.phpt @@ -6,7 +6,6 @@ Olivier Doucet Olivier Doucet Boris Lytochkin snmp --SKIPIF-- --FILE-- diff --git a/ext/snmp/tests/snmpwalk.phpt b/ext/snmp/tests/snmpwalk.phpt index 6e882f3ea225..61ef33a70a29 100644 --- a/ext/snmp/tests/snmpwalk.phpt +++ b/ext/snmp/tests/snmpwalk.phpt @@ -6,7 +6,6 @@ Olivier Doucet Olivier Doucet Boris Lytochkin snmp --SKIPIF-- diff --git a/run-tests.php b/run-tests.php index ce6bd94db1e0..e84da722d1d6 100755 --- a/run-tests.php +++ b/run-tests.php @@ -3124,6 +3124,7 @@ function is_flaky_output(string $output): bool 'connection refused', 'deadlock', 'mailbox already exists', + 'no response from', 'timed out', ]; $regex = '(\b(' . implode('|', $messages) . ')\b)i'; From 5cf3dc415e2b06cd21f4ce415872a900ee0d15d0 Mon Sep 17 00:00:00 2001 From: Weilin Du Date: Thu, 13 Aug 2026 17:18:13 +0800 Subject: [PATCH 3/3] skip getvalue test --- ext/snmp/tests/snmp_getvalue.phpt | 1 + 1 file changed, 1 insertion(+) diff --git a/ext/snmp/tests/snmp_getvalue.phpt b/ext/snmp/tests/snmp_getvalue.phpt index a72f24025c7b..45877cc3f06a 100644 --- a/ext/snmp/tests/snmp_getvalue.phpt +++ b/ext/snmp/tests/snmp_getvalue.phpt @@ -6,6 +6,7 @@ Boris Lytochkin snmp --SKIPIF--