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

Matthias Pohl commented on FLINK-32987:
---------------------------------------

The issue is caused by FLINK-32835 where we migrate from JUnit4 to 5. It looks 
like we're did a migration of the code that checks for 
{{SocketTimeoutException}} but the assert became more strict (the exception has 
to be the direct cause whereas the old code just checked from some cause being 
the {{SocketTimeoutException}}). I removed the 1.18.0 affected version from the 
ticket.

[~ferenc-csaky] can you pick this up?

> BlobClientSslTest>BlobClientTest.testSocketTimeout expected 
> SocketTimeoutException but identified SSLException
> --------------------------------------------------------------------------------------------------------------
>
>                 Key: FLINK-32987
>                 URL: https://issues.apache.org/jira/browse/FLINK-32987
>             Project: Flink
>          Issue Type: Bug
>          Components: Runtime / Coordination
>    Affects Versions: 1.19.0
>            Reporter: Matthias Pohl
>            Priority: Critical
>              Labels: test-stability
>
> https://dev.azure.com/apache-flink/apache-flink/_build/results?buildId=52740&view=logs&j=77a9d8e1-d610-59b3-fc2a-4766541e0e33&t=125e07e7-8de0-5c6c-a541-a567415af3ef&l=8692
> {code}
> Aug 29 03:28:11 03:28:11.280 [ERROR]   
> BlobClientSslTest>BlobClientTest.testSocketTimeout:512 
> Aug 29 03:28:11 Expecting a throwable with cause being an instance of:
> Aug 29 03:28:11   java.net.SocketTimeoutException
> Aug 29 03:28:11 but was an instance of:
> Aug 29 03:28:11   javax.net.ssl.SSLException
> Aug 29 03:28:11 Throwable that failed the check:
> Aug 29 03:28:11 
> Aug 29 03:28:11 java.io.IOException: GET operation failed: Read timed out
> Aug 29 03:28:11       at 
> org.apache.flink.runtime.blob.BlobClient.getInternal(BlobClient.java:231)
> Aug 29 03:28:11       at 
> org.apache.flink.runtime.blob.BlobClientTest.lambda$testSocketTimeout$2(BlobClientTest.java:510)
> Aug 29 03:28:11       at 
> org.assertj.core.api.ThrowableAssert.catchThrowable(ThrowableAssert.java:63)
> Aug 29 03:28:11       at 
> org.assertj.core.api.AssertionsForClassTypes.catchThrowable(AssertionsForClassTypes.java:892)
> Aug 29 03:28:11       at 
> org.assertj.core.api.Assertions.catchThrowable(Assertions.java:1366)
> Aug 29 03:28:11       at 
> org.assertj.core.api.Assertions.assertThatThrownBy(Assertions.java:1210)
> Aug 29 03:28:11       at 
> org.apache.flink.runtime.blob.BlobClientTest.testSocketTimeout(BlobClientTest.java:508)
> Aug 29 03:28:11       at sun.reflect.NativeMethodAccessorImpl.invoke0(Native 
> Method)
> Aug 29 03:28:11       at 
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
> Aug 29 03:28:11       at 
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> Aug 29 03:28:11       at java.lang.reflect.Method.invoke(Method.java:498)
> [...]
> {code}



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to