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

Biao Geng commented on FLINK-23556:
-----------------------------------

hi [~xtsong], thanks a lot for your support! I have dived into this IT case for 
some days and create a [PR|[https://github.com/apache/flink/pull/16864]] to 
make it more stable. But my current fix does not actually guarantee the success 
of this case. It should just make it more stable.

My summary:
 * AFAIK, the logic and implementation of this case is correct.
 * Due to the complexity of this case, the running time of this IT case should 
not be limited to 120 seconds. Due to my own tests, even only the running time 
of the internal flink job can exceed the limit easily.
 * I believe the failure of this case should not be caused by flink. Instead, I 
doubt the network issue of test containers(i.e. a kafka container, a flink 
container and a schemaRegistry container) in this case is more likely be the 
root cause. But I need more time to verify this guess.

 

> SQLClientSchemaRegistryITCase fails with " Subject ... not found"
> -----------------------------------------------------------------
>
>                 Key: FLINK-23556
>                 URL: https://issues.apache.org/jira/browse/FLINK-23556
>             Project: Flink
>          Issue Type: Bug
>          Components: Table SQL / Ecosystem
>    Affects Versions: 1.14.0
>            Reporter: Dawid Wysakowicz
>            Assignee: Biao Geng
>            Priority: Blocker
>              Labels: pull-request-available, stale-blocker, test-stability
>             Fix For: 1.14.0
>
>
> https://dev.azure.com/apache-flink/apache-flink/_build/results?buildId=21129&view=logs&j=91bf6583-3fb2-592f-e4d4-d79d79c3230a&t=cc5499f8-bdde-5157-0d76-b6528ecd808e&l=25337
> {code}
> Jul 28 23:37:48 [ERROR] Tests run: 2, Failures: 0, Errors: 1, Skipped: 0, 
> Time elapsed: 209.44 s <<< FAILURE! - in 
> org.apache.flink.tests.util.kafka.SQLClientSchemaRegistryITCase
> Jul 28 23:37:48 [ERROR] 
> testWriting(org.apache.flink.tests.util.kafka.SQLClientSchemaRegistryITCase)  
> Time elapsed: 81.146 s  <<< ERROR!
> Jul 28 23:37:48 
> io.confluent.kafka.schemaregistry.client.rest.exceptions.RestClientException: 
> Subject 'test-user-behavior-d18d4af2-3830-4620-9993-340c13f50cc2-value' not 
> found.; error code: 40401
> Jul 28 23:37:48       at 
> io.confluent.kafka.schemaregistry.client.rest.RestService.sendHttpRequest(RestService.java:292)
> Jul 28 23:37:48       at 
> io.confluent.kafka.schemaregistry.client.rest.RestService.httpRequest(RestService.java:352)
> Jul 28 23:37:48       at 
> io.confluent.kafka.schemaregistry.client.rest.RestService.getAllVersions(RestService.java:769)
> Jul 28 23:37:48       at 
> io.confluent.kafka.schemaregistry.client.rest.RestService.getAllVersions(RestService.java:760)
> Jul 28 23:37:48       at 
> io.confluent.kafka.schemaregistry.client.CachedSchemaRegistryClient.getAllVersions(CachedSchemaRegistryClient.java:364)
> Jul 28 23:37:48       at 
> org.apache.flink.tests.util.kafka.SQLClientSchemaRegistryITCase.getAllVersions(SQLClientSchemaRegistryITCase.java:230)
> Jul 28 23:37:48       at 
> org.apache.flink.tests.util.kafka.SQLClientSchemaRegistryITCase.testWriting(SQLClientSchemaRegistryITCase.java:195)
> Jul 28 23:37:48       at sun.reflect.NativeMethodAccessorImpl.invoke0(Native 
> Method)
> Jul 28 23:37:48       at 
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
> Jul 28 23:37:48       at 
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> Jul 28 23:37:48       at java.lang.reflect.Method.invoke(Method.java:498)
> Jul 28 23:37:48       at 
> org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:59)
> Jul 28 23:37:48       at 
> org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
> Jul 28 23:37:48       at 
> org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:56)
> Jul 28 23:37:48       at 
> org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
> Jul 28 23:37:48       at 
> org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:299)
> Jul 28 23:37:48       at 
> org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:293)
> Jul 28 23:37:48       at 
> java.util.concurrent.FutureTask.run(FutureTask.java:266)
> Jul 28 23:37:48       at java.lang.Thread.run(Thread.java:748)
> Jul 28 23:37:48 
> {code}



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to