This is an automated email from the ASF dual-hosted git repository.

netudima pushed a commit to branch trunk
in repository https://gitbox.apache.org/repos/asf/cassandra-dtest.git


The following commit(s) were added to refs/heads/trunk by this push:
     new 7ab0872c Ignore "Broken pipe" and Netty 4.1.130 "failed with 
error(-N)" disconnect messages in dtest logs
7ab0872c is described below

commit 7ab0872cc280369ec74e6f8b5222231de2472c28
Author: Dmitry Konstantinov <[email protected]>
AuthorDate: Sun Oct 25 13:07:47 2026 +0000

    Ignore "Broken pipe" and Netty 4.1.130 "failed with error(-N)" disconnect 
messages in dtest logs
    
    patch by Dmitry Konstantinov; reviewed by TBD for CASSANDRA-21810
---
 dtest_setup.py | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/dtest_setup.py b/dtest_setup.py
index 68a47930..6692d446 100644
--- a/dtest_setup.py
+++ b/dtest_setup.py
@@ -48,8 +48,9 @@ def retry_till_success(fun, *args, **kwargs):
 def default_ignore_log_patterns():
     # to allow tests to append to the list, make sure to create a new list as 
the output
     # to this function, else multiple tests could corrupt the default set
-    return ['failed: Connection reset by peer',
-            r'Unknown exception in client networking with peer .* Connection 
reset by peer.*'
+    # Netty 4.1.130+ reports native IO errors as "(..) failed with 
error(-104): ...", older versions as "(..) failed: ..."
+    return [r'failed( with error\(-?\d+\))?: (Connection reset by peer|Broken 
pipe)',
+            r'Unknown exception in client networking with peer .* Connection 
reset by peer.*',
             r'.*java.net.ConnectException: Connection refused.*',
             r'Invalid or unsupported protocol version \(5\)',
             # See python-driver, SHA a7295e103023e12152fc0940906071b18356def3


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to