lhotari commented on issue #9457:
URL: https://github.com/apache/pulsar/issues/9457#issuecomment-772736723


   
   There is a similar issue in the testConcurrentReplicator test method of the 
same class, ReplicatorTest. 
   
   ```
   org.apache.pulsar.client.admin.PulsarAdminException$ConflictException: 
Namespace already exists
        at 
org.apache.pulsar.client.admin.internal.BaseResource.getApiException(BaseResource.java:219)
        at 
org.apache.pulsar.client.admin.internal.BaseResource$1.failed(BaseResource.java:129)
        at 
org.glassfish.jersey.client.JerseyInvocation$1.failed(JerseyInvocation.java:839)
        at 
org.glassfish.jersey.client.JerseyInvocation$1.completed(JerseyInvocation.java:820)
        at 
org.glassfish.jersey.client.ClientRuntime.processResponse(ClientRuntime.java:229)
        at 
org.glassfish.jersey.client.ClientRuntime.access$200(ClientRuntime.java:62)
        at 
org.glassfish.jersey.client.ClientRuntime$2.lambda$response$0(ClientRuntime.java:173)
        at org.glassfish.jersey.internal.Errors$1.call(Errors.java:248)
        at org.glassfish.jersey.internal.Errors$1.call(Errors.java:244)
        at org.glassfish.jersey.internal.Errors.process(Errors.java:292)
        at org.glassfish.jersey.internal.Errors.process(Errors.java:274)
        at org.glassfish.jersey.internal.Errors.process(Errors.java:244)
        at 
org.glassfish.jersey.process.internal.RequestScope.runInScope(RequestScope.java:288)
        at 
org.glassfish.jersey.client.ClientRuntime$2.response(ClientRuntime.java:173)
   ```
   
   Usage tip: To enable automatic navigation to failure message, open the 
following links with CTRL/CMD-click.
   [example failure 
2021-02-02T13:49:56.5875077Z](https://github.com/apache/pulsar/runs/1813006738?check_suite_focus=true#step:9:980)
   [example failure 
2021-02-02T13:46:14.1563429Z](https://github.com/apache/pulsar/runs/1813006738?check_suite_focus=true#step:9:304)
   [example failure 
2021-02-01T03:56:01.3868773Z](https://github.com/apache/pulsar/runs/1803769568?check_suite_focus=true#step:9:463)
   [example failure 
2021-02-01T01:35:59.2957162Z](https://github.com/apache/pulsar/runs/1803320722?check_suite_focus=true#step:9:304)
   [example failure 
2021-01-31T13:09:24.6349762Z](https://github.com/apache/pulsar/runs/1801121635?check_suite_focus=true#step:9:220)
   [example failure 
2021-01-30T07:38:30.7226821Z](https://github.com/apache/pulsar/runs/1796559473?check_suite_focus=true#step:8:463)
   [example failure 
2021-01-29T04:50:34.1387809Z](https://github.com/apache/pulsar/runs/1789157136?check_suite_focus=true#step:8:304)
   [example failure 
2021-01-29T04:34:55.0515572Z](https://github.com/apache/pulsar/runs/1789139622?check_suite_focus=true#step:8:304)
   [example failure 
2021-01-29T00:06:44.8148094Z](https://github.com/apache/pulsar/runs/1788137301?check_suite_focus=true#step:8:304)
   [example failure 
2021-01-28T18:20:26.3711777Z](https://github.com/apache/pulsar/runs/1784537496?check_suite_focus=true#step:8:1287)
   [example failure 
2021-01-28T18:15:17.4661065Z](https://github.com/apache/pulsar/runs/1784537496?check_suite_focus=true#step:8:452)
   [example failure 
2021-01-28T16:25:36.8278680Z](https://github.com/apache/pulsar/runs/1784431512?check_suite_focus=true#step:8:686)
   [example failure 
2021-01-26T21:41:25.9226725Z](https://github.com/apache/pulsar/runs/1770934077?check_suite_focus=true#step:8:304)
   [example failure 
2021-01-26T02:02:01.3840999Z](https://github.com/apache/pulsar/runs/1766318508?check_suite_focus=true#step:8:304)
   [example failure 
2021-01-26T01:04:55.5413584Z](https://github.com/apache/pulsar/runs/1766085206?check_suite_focus=true#step:8:220)
   [example failure 
2021-01-25T23:37:24.5671676Z](https://github.com/apache/pulsar/runs/1764851110?check_suite_focus=true#step:8:220)
   [example failure 
2021-01-25T22:27:52.2438699Z](https://github.com/apache/pulsar/runs/1762435483?check_suite_focus=true#step:8:463)
   [example failure 
2021-01-25T12:24:27.4099564Z](https://github.com/apache/pulsar/runs/1760320664?check_suite_focus=true#step:8:452)
   [example failure 
2021-01-25T07:44:57.5692970Z](https://github.com/apache/pulsar/runs/1759745364?check_suite_focus=true#step:8:368)
   [example failure 
2021-01-22T11:39:17.5481959Z](https://github.com/apache/pulsar/runs/1748310523?check_suite_focus=true#step:8:304)
   [example failure 
2021-01-21T21:09:43.2084492Z](https://github.com/apache/pulsar/runs/1743500150?check_suite_focus=true#step:8:443)
   [example failure 
2021-01-21T00:57:15.4673650Z](https://github.com/apache/pulsar/runs/1738772367?check_suite_focus=true#step:8:402)
   [example failure 
2021-01-21T00:55:38.0465467Z](https://github.com/apache/pulsar/runs/1738772367?check_suite_focus=true#step:8:214)
   
   
   <details>
   <summary>Full exception stacktrace</summary>
   <code><pre>
   org.apache.pulsar.client.admin.PulsarAdminException$ConflictException: 
Namespace already exists
        at 
org.apache.pulsar.client.admin.internal.BaseResource.getApiException(BaseResource.java:219)
        at 
org.apache.pulsar.client.admin.internal.BaseResource$1.failed(BaseResource.java:129)
        at 
org.glassfish.jersey.client.JerseyInvocation$1.failed(JerseyInvocation.java:839)
        at 
org.glassfish.jersey.client.JerseyInvocation$1.completed(JerseyInvocation.java:820)
        at 
org.glassfish.jersey.client.ClientRuntime.processResponse(ClientRuntime.java:229)
        at 
org.glassfish.jersey.client.ClientRuntime.access$200(ClientRuntime.java:62)
        at 
org.glassfish.jersey.client.ClientRuntime$2.lambda$response$0(ClientRuntime.java:173)
        at org.glassfish.jersey.internal.Errors$1.call(Errors.java:248)
        at org.glassfish.jersey.internal.Errors$1.call(Errors.java:244)
        at org.glassfish.jersey.internal.Errors.process(Errors.java:292)
        at org.glassfish.jersey.internal.Errors.process(Errors.java:274)
        at org.glassfish.jersey.internal.Errors.process(Errors.java:244)
        at 
org.glassfish.jersey.process.internal.RequestScope.runInScope(RequestScope.java:288)
        at 
org.glassfish.jersey.client.ClientRuntime$2.response(ClientRuntime.java:173)
        at 
org.apache.pulsar.client.admin.internal.http.AsyncHttpConnector.lambda$apply$1(AsyncHttpConnector.java:210)
        at 
java.util.concurrent.CompletableFuture.uniWhenComplete(CompletableFuture.java:774)
        at 
java.util.concurrent.CompletableFuture$UniWhenComplete.tryFire(CompletableFuture.java:750)
        at 
java.util.concurrent.CompletableFuture.postComplete(CompletableFuture.java:488)
        at 
java.util.concurrent.CompletableFuture.complete(CompletableFuture.java:1975)
        at 
org.apache.pulsar.client.admin.internal.http.AsyncHttpConnector.lambda$retryOperation$3(AsyncHttpConnector.java:251)
        at 
java.util.concurrent.CompletableFuture.uniWhenComplete(CompletableFuture.java:774)
        at 
java.util.concurrent.CompletableFuture$UniWhenComplete.tryFire(CompletableFuture.java:750)
        at 
java.util.concurrent.CompletableFuture.postComplete(CompletableFuture.java:488)
        at 
java.util.concurrent.CompletableFuture.complete(CompletableFuture.java:1975)
        at 
org.asynchttpclient.netty.NettyResponseFuture.loadContent(NettyResponseFuture.java:222)
        at 
org.asynchttpclient.netty.NettyResponseFuture.done(NettyResponseFuture.java:257)
        at 
org.asynchttpclient.netty.handler.AsyncHttpClientHandler.finishUpdate(AsyncHttpClientHandler.java:241)
        at 
org.asynchttpclient.netty.handler.HttpHandler.handleChunk(HttpHandler.java:114)
        at 
org.asynchttpclient.netty.handler.HttpHandler.handleRead(HttpHandler.java:143)
        at 
org.asynchttpclient.netty.handler.AsyncHttpClientHandler.channelRead(AsyncHttpClientHandler.java:78)
        at 
io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:379)
        at 
io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:365)
        at 
io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:357)
        at 
io.netty.handler.codec.MessageToMessageDecoder.channelRead(MessageToMessageDecoder.java:103)
        at 
io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:379)
        at 
io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:365)
        at 
io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:357)
        at 
io.netty.channel.CombinedChannelDuplexHandler$DelegatingChannelHandlerContext.fireChannelRead(CombinedChannelDuplexHandler.java:436)
        at 
io.netty.handler.codec.ByteToMessageDecoder.fireChannelRead(ByteToMessageDecoder.java:324)
        at 
io.netty.handler.codec.ByteToMessageDecoder.channelRead(ByteToMessageDecoder.java:296)
        at 
io.netty.channel.CombinedChannelDuplexHandler.channelRead(CombinedChannelDuplexHandler.java:251)
        at 
io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:379)
        at 
io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:365)
        at 
io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:357)
        at 
io.netty.channel.DefaultChannelPipeline$HeadContext.channelRead(DefaultChannelPipeline.java:1410)
        at 
io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:379)
        at 
io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:365)
        at 
io.netty.channel.DefaultChannelPipeline.fireChannelRead(DefaultChannelPipeline.java:919)
        at 
io.netty.channel.nio.AbstractNioByteChannel$NioByteUnsafe.read(AbstractNioByteChannel.java:163)
        at 
io.netty.channel.nio.NioEventLoop.processSelectedKey(NioEventLoop.java:714)
        at 
io.netty.channel.nio.NioEventLoop.processSelectedKeysOptimized(NioEventLoop.java:650)
        at 
io.netty.channel.nio.NioEventLoop.processSelectedKeys(NioEventLoop.java:576)
        at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:493)
        at 
io.netty.util.concurrent.SingleThreadEventExecutor$4.run(SingleThreadEventExecutor.java:989)
        at 
io.netty.util.internal.ThreadExecutorMap$2.run(ThreadExecutorMap.java:74)
        at 
io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30)
        at java.lang.Thread.run(Thread.java:748)
   Caused by: javax.ws.rs.ClientErrorException: HTTP 409 Conflict
        at 
org.glassfish.jersey.client.JerseyInvocation.createExceptionForFamily(JerseyInvocation.java:938)
        at 
org.glassfish.jersey.client.JerseyInvocation.convertToException(JerseyInvocation.java:921)
        at 
org.glassfish.jersey.client.JerseyInvocation.access$500(JerseyInvocation.java:77)
        ... 54 more
   
   </pre></code>
   </details>
   
   ```
   org.apache.pulsar.client.admin.PulsarAdminException$ConflictException: 
Namespace already exists
        at 
org.apache.pulsar.client.admin.internal.BaseResource.getApiException(BaseResource.java:221)
        at 
org.apache.pulsar.client.admin.internal.BaseResource$1.failed(BaseResource.java:131)
        at 
org.glassfish.jersey.client.JerseyInvocation$1.failed(JerseyInvocation.java:839)
        at 
org.glassfish.jersey.client.JerseyInvocation$1.completed(JerseyInvocation.java:820)
        at 
org.glassfish.jersey.client.ClientRuntime.processResponse(ClientRuntime.java:229)
        at 
org.glassfish.jersey.client.ClientRuntime.access$200(ClientRuntime.java:62)
        at 
org.glassfish.jersey.client.ClientRuntime$2.lambda$response$0(ClientRuntime.java:173)
        at org.glassfish.jersey.internal.Errors$1.call(Errors.java:248)
        at org.glassfish.jersey.internal.Errors$1.call(Errors.java:244)
        at org.glassfish.jersey.internal.Errors.process(Errors.java:292)
        at org.glassfish.jersey.internal.Errors.process(Errors.java:274)
        at org.glassfish.jersey.internal.Errors.process(Errors.java:244)
        at 
org.glassfish.jersey.process.internal.RequestScope.runInScope(RequestScope.java:288)
        at 
org.glassfish.jersey.client.ClientRuntime$2.response(ClientRuntime.java:173)
   ```
   
   Usage tip: To enable automatic navigation to failure message, open the 
following links with CTRL/CMD-click.
   [example failure 
2021-01-12T15:02:03.0635596Z](https://github.com/apache/pulsar/runs/1688656661?check_suite_focus=true#step:8:214)
   
   
   <details>
   <summary>Full exception stacktrace</summary>
   <code><pre>
   org.apache.pulsar.client.admin.PulsarAdminException$ConflictException: 
Namespace already exists
        at 
org.apache.pulsar.client.admin.internal.BaseResource.getApiException(BaseResource.java:221)
        at 
org.apache.pulsar.client.admin.internal.BaseResource$1.failed(BaseResource.java:131)
        at 
org.glassfish.jersey.client.JerseyInvocation$1.failed(JerseyInvocation.java:839)
        at 
org.glassfish.jersey.client.JerseyInvocation$1.completed(JerseyInvocation.java:820)
        at 
org.glassfish.jersey.client.ClientRuntime.processResponse(ClientRuntime.java:229)
        at 
org.glassfish.jersey.client.ClientRuntime.access$200(ClientRuntime.java:62)
        at 
org.glassfish.jersey.client.ClientRuntime$2.lambda$response$0(ClientRuntime.java:173)
        at org.glassfish.jersey.internal.Errors$1.call(Errors.java:248)
        at org.glassfish.jersey.internal.Errors$1.call(Errors.java:244)
        at org.glassfish.jersey.internal.Errors.process(Errors.java:292)
        at org.glassfish.jersey.internal.Errors.process(Errors.java:274)
        at org.glassfish.jersey.internal.Errors.process(Errors.java:244)
        at 
org.glassfish.jersey.process.internal.RequestScope.runInScope(RequestScope.java:288)
        at 
org.glassfish.jersey.client.ClientRuntime$2.response(ClientRuntime.java:173)
        at 
org.apache.pulsar.client.admin.internal.http.AsyncHttpConnector.lambda$apply$1(AsyncHttpConnector.java:210)
        at 
java.util.concurrent.CompletableFuture.uniWhenComplete(CompletableFuture.java:774)
        at 
java.util.concurrent.CompletableFuture$UniWhenComplete.tryFire(CompletableFuture.java:750)
        at 
java.util.concurrent.CompletableFuture.postComplete(CompletableFuture.java:488)
        at 
java.util.concurrent.CompletableFuture.complete(CompletableFuture.java:1975)
        at 
org.apache.pulsar.client.admin.internal.http.AsyncHttpConnector.lambda$retryOperation$3(AsyncHttpConnector.java:251)
        at 
java.util.concurrent.CompletableFuture.uniWhenComplete(CompletableFuture.java:774)
        at 
java.util.concurrent.CompletableFuture$UniWhenComplete.tryFire(CompletableFuture.java:750)
        at 
java.util.concurrent.CompletableFuture.postComplete(CompletableFuture.java:488)
        at 
java.util.concurrent.CompletableFuture.complete(CompletableFuture.java:1975)
        at 
org.asynchttpclient.netty.NettyResponseFuture.loadContent(NettyResponseFuture.java:222)
        at 
org.asynchttpclient.netty.NettyResponseFuture.done(NettyResponseFuture.java:257)
        at 
org.asynchttpclient.netty.handler.AsyncHttpClientHandler.finishUpdate(AsyncHttpClientHandler.java:241)
        at 
org.asynchttpclient.netty.handler.HttpHandler.handleChunk(HttpHandler.java:114)
        at 
org.asynchttpclient.netty.handler.HttpHandler.handleRead(HttpHandler.java:143)
        at 
org.asynchttpclient.netty.handler.AsyncHttpClientHandler.channelRead(AsyncHttpClientHandler.java:78)
        at 
io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:379)
        at 
io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:365)
        at 
io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:357)
        at 
io.netty.handler.codec.MessageToMessageDecoder.channelRead(MessageToMessageDecoder.java:103)
        at 
io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:379)
        at 
io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:365)
        at 
io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:357)
        at 
io.netty.channel.CombinedChannelDuplexHandler$DelegatingChannelHandlerContext.fireChannelRead(CombinedChannelDuplexHandler.java:436)
        at 
io.netty.handler.codec.ByteToMessageDecoder.fireChannelRead(ByteToMessageDecoder.java:324)
        at 
io.netty.handler.codec.ByteToMessageDecoder.channelRead(ByteToMessageDecoder.java:296)
        at 
io.netty.channel.CombinedChannelDuplexHandler.channelRead(CombinedChannelDuplexHandler.java:251)
        at 
io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:379)
        at 
io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:365)
        at 
io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:357)
        at 
io.netty.channel.DefaultChannelPipeline$HeadContext.channelRead(DefaultChannelPipeline.java:1410)
        at 
io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:379)
        at 
io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:365)
        at 
io.netty.channel.DefaultChannelPipeline.fireChannelRead(DefaultChannelPipeline.java:919)
        at 
io.netty.channel.nio.AbstractNioByteChannel$NioByteUnsafe.read(AbstractNioByteChannel.java:163)
        at 
io.netty.channel.nio.NioEventLoop.processSelectedKey(NioEventLoop.java:714)
        at 
io.netty.channel.nio.NioEventLoop.processSelectedKeysOptimized(NioEventLoop.java:650)
        at 
io.netty.channel.nio.NioEventLoop.processSelectedKeys(NioEventLoop.java:576)
        at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:493)
        at 
io.netty.util.concurrent.SingleThreadEventExecutor$4.run(SingleThreadEventExecutor.java:989)
        at 
io.netty.util.internal.ThreadExecutorMap$2.run(ThreadExecutorMap.java:74)
        at 
io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30)
        at java.lang.Thread.run(Thread.java:748)
   Caused by: javax.ws.rs.ClientErrorException: HTTP 409 Conflict
        at 
org.glassfish.jersey.client.JerseyInvocation.createExceptionForFamily(JerseyInvocation.java:938)
        at 
org.glassfish.jersey.client.JerseyInvocation.convertToException(JerseyInvocation.java:921)
        at 
org.glassfish.jersey.client.JerseyInvocation.access$500(JerseyInvocation.java:77)
        ... 54 more
   
   </pre></code>
   </details>
   
   


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to