lhotari commented on pull request #9672:
URL: https://github.com/apache/pulsar/pull/9672#issuecomment-784076163


   > It looks like the failure on 
https://github.com/apache/pulsar/pull/9672/checks?check_run_id=1956401458 is 
genuine.
   
   Thanks for pointing that out. I'm able to reproduce the issue locally too.
   
   by cherry-picking the changes from #9626 , I can get the error message from 
the broker side. 
   
   command to run the test and leave the container running for inspection:
   ```
   PULSAR_CONTAINERS_LEAVE_RUNNING=true TESTCONTAINERS_REUSE_ENABLE=true mvn -B 
-pl org.apache.pulsar.tests:integration test -DintegrationTests 
-DredirectTestOutputToFile=false -DtestRetryCount=0 -DfailIfNoTests=false 
-Dtest=SmokeTest2_2
   ```
   
   with `docker logs [container-id]` , I can see this kind of exceptions in the 
logs:
   ```
   09:39:04.343 [pulsar-io-49-5] INFO  
org.apache.pulsar.broker.service.ServerCnx - New connection from 
/172.28.0.1:34170
   09:39:04.351 [pulsar-io-49-5] WARN  
org.apache.pulsar.broker.service.ServerCnx - [/172.28.0.1:34170] Got exception 
UninitializedMessageException : Message was missing required fields.  (Lite 
runtime could not determine which fields were missing).
   
org.apache.pulsar.shaded.com.google.protobuf.v241.UninitializedMessageException:
 Message was missing required fields.  (Lite runtime could not determine which 
fields were missing).
           at 
org.apache.pulsar.shaded.com.google.protobuf.v241.AbstractMessageLite$Builder.newUninitializedMessageException(AbstractMessageLite.java:298)
 ~[org.apache.pulsar-protobuf-shaded-2.1.0-incubating.jar:2.1.0-incubating]
           at 
org.apache.pulsar.common.api.proto.PulsarApi$BaseCommand$Builder.build(PulsarApi.java:26263)
 ~[org.apache.pulsar-pulsar-common-2.2.0.jar:2.2.0]
           at 
org.apache.pulsar.common.api.PulsarDecoder.channelRead(PulsarDecoder.java:86) 
~[org.apache.pulsar-pulsar-common-2.2.0.jar:2.2.0]
           at 
io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:362)
 [io.netty-netty-all-4.1.22.Final.jar:4.1.22.Final]
           at 
io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:348)
 [io.netty-netty-all-4.1.22.Final.jar:4.1.22.Final]
           at 
io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:340)
 [io.netty-netty-all-4.1.22.Final.jar:4.1.22.Final]
           at 
io.netty.handler.codec.ByteToMessageDecoder.fireChannelRead(ByteToMessageDecoder.java:310)
 [io.netty-netty-all-4.1.22.Final.jar:4.1.22.Final]
           at 
io.netty.handler.codec.ByteToMessageDecoder.channelRead(ByteToMessageDecoder.java:284)
 [io.netty-netty-all-4.1.22.Final.jar:4.1.22.Final]
           at 
io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:362)
 [io.netty-netty-all-4.1.22.Final.jar:4.1.22.Final]
           at 
io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:348)
 [io.netty-netty-all-4.1.22.Final.jar:4.1.22.Final]
           at 
io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:340)
 [io.netty-netty-all-4.1.22.Final.jar:4.1.22.Final]
           at 
io.netty.channel.DefaultChannelPipeline$HeadContext.channelRead(DefaultChannelPipeline.java:1414)
 [io.netty-netty-all-4.1.22.Final.jar:4.1.22.Final]
           at 
io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:362)
 [io.netty-netty-all-4.1.22.Final.jar:4.1.22.Final]
           at 
io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:348)
 [io.netty-netty-all-4.1.22.Final.jar:4.1.22.Final]
           at 
io.netty.channel.DefaultChannelPipeline.fireChannelRead(DefaultChannelPipeline.java:945)
 [io.netty-netty-all-4.1.22.Final.jar:4.1.22.Final]
           at 
io.netty.channel.epoll.AbstractEpollStreamChannel$EpollStreamUnsafe.epollInReady(AbstractEpollStreamChannel.java:806)
 [io.netty-netty-all-4.1.22.Final.jar:4.1.22.Final]
           at 
io.netty.channel.epoll.EpollEventLoop.processReady(EpollEventLoop.java:413) 
[io.netty-netty-all-4.1.22.Final.jar:4.1.22.Final]
           at 
io.netty.channel.epoll.EpollEventLoop.run(EpollEventLoop.java:313) 
[io.netty-netty-all-4.1.22.Final.jar:4.1.22.Final]
           at 
io.netty.util.concurrent.SingleThreadEventExecutor$5.run(SingleThreadEventExecutor.java:886)
 [io.netty-netty-all-4.1.22.Final.jar:4.1.22.Final]
           at 
io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30)
 [io.netty-netty-all-4.1.22.Final.jar:4.1.22.Final]
           at java.lang.Thread.run(Thread.java:748) [?:1.8.0_171]
   09:39:04.355 [pulsar-io-49-5] INFO  
org.apache.pulsar.broker.service.ServerCnx - Closed connection from 
/172.28.0.1:34170
   
   ``
   
   I'm just wondering what change in this PR makes this test fail. I'll 
continue investigation to find out.


----------------------------------------------------------------
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