[ 
https://issues.apache.org/jira/browse/CASSANDRA-17594?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17540258#comment-17540258
 ] 

David Capwell commented on CASSANDRA-17594:
-------------------------------------------

bq. Also, why is it fine to exclude errors by default and not on per case basis?

Some errors are generic and can happen in 100% of tests, such as connection 
shutdown early; we would need to update 100% of tests to include this default 
list

bq. Why do DSE popped up? 

I wasn't 100% sure of this as well, was confusing why it wasn't more present...

Talked with [~samt] and client protocol negotiation uses highest version it 
knows and moves down the list until server stops rejecting, in python driver 
the "highest" versions are DSE_v2 then V1 (linked source but linter got made, 
so gave all parts needed to get the link <_<...

What I couldn't figure out was why was it only 2 tests that hit DSE and the 
rest were complaining about v5?

> Fix flaky python-tests due to connection getting closed
> -------------------------------------------------------
>
>                 Key: CASSANDRA-17594
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-17594
>             Project: Cassandra
>          Issue Type: Bug
>          Components: Test/dtest/python
>            Reporter: David Capwell
>            Assignee: David Capwell
>            Priority: Normal
>             Fix For: NA
>
>          Time Spent: 40m
>  Remaining Estimate: 0h
>
> We log unknown exceptions at the networking level, which includes case where 
> the remote side closes the connection (such as the cases caused by shutting 
> down), depending on how quickly the instances shutdown, this could cause 
> python-dtest to fail for random tests with a message such as
> {code}
> Unexpected error found in node logs (see stdout for full details). Errors: 
> [WARN  [epollEventLoopGroup-5-9] 2022-05-03T16:47:03,800 
> ExceptionHandlers.java:134 - Unknown exception in client networking
> io.netty.channel.unix.Errors$NativeIoException: writeAddress(..) failed: 
> Connection reset by peer, WARN  [epollEventLoopGroup-5-9] 
> 2022-05-03T16:47:03,800 ExceptionHandlers.java:134 - Unknown exception in 
> client networking
> io.netty.channel.unix.Errors$NativeIoException: writeAddress(..) failed: 
> Connection reset by peer]
> {code}



--
This message was sent by Atlassian Jira
(v8.20.7#820007)

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@cassandra.apache.org
For additional commands, e-mail: commits-h...@cassandra.apache.org

Reply via email to