Uploaded image for project: 'Infinispan'
  1. Infinispan
  2. ISPN-14254

resp protocol if failing on MacOS

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Minor Minor
    • None
    • None
    • None
    • None

      resp protocol if failing on MacOS

      (base) dlovison@dlovison-mac bin % ./cli.sh 
      [disconnected]> connect
      Username: admin
      Password: *****
      [dlovison-mac-222@cluster//containers/default]> create cache benchmark -t org.infinispan.DIST_SYNC
      [dlovison-mac-222@cluster//containers/default]> benchmark redis://admin:admin@127.0.0.1:11222
      # Warmup: 5 iterations, 1 s each
      # Measurement: 5 iterations, 10 s each
      # Timeout: 10 min per iteration
      # Threads: 10 threads, will synchronize iterations
      # Benchmark mode: Throughput, ops/time
      # Benchmark: org.infinispan.cli.benchmark.RespBenchmark.get
      # Parameters: (keySetSize = 1000, keySize = 16, uri = redis://admin:admin@127.0.0.1:11222, valueSize = 1000)
      
      # Run progress: 0.00% complete, ETA 00:01:50
      # Fork: N/A, test runs in the host VM
      Warmup      1: <failure>
      
      io.lettuce.core.protocol.RedisProtocolException: Invalid first byte: 0 () at buffer index 1106 decoding using RESP2
      	at io.lettuce.core.protocol.RedisStateMachine.readReplyType(RedisStateMachine.java:610)
      	at io.lettuce.core.protocol.RedisStateMachine.doDecode(RedisStateMachine.java:325)
      	at io.lettuce.core.protocol.RedisStateMachine.decode(RedisStateMachine.java:295)
      	at io.lettuce.core.protocol.CommandHandler.decode(CommandHandler.java:842)
      	at io.lettuce.core.protocol.CommandHandler.decode0(CommandHandler.java:793)
      	at io.lettuce.core.protocol.CommandHandler.decode(CommandHandler.java:767)
      	at io.lettuce.core.protocol.CommandHandler.decode(CommandHandler.java:659)
      	at io.lettuce.core.protocol.CommandHandler.channelRead(CommandHandler.java:599)
      	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:166)
      	at io.netty.channel.nio.NioEventLoop.processSelectedKey(NioEventLoop.java:788)
      	at io.netty.channel.nio.NioEventLoop.processSelectedKeysOptimized(NioEventLoop.java:724)
      	at io.netty.channel.nio.NioEventLoop.processSelectedKeys(NioEventLoop.java:650)
      	at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:562)
      	at io.netty.util.concurrent.SingleThreadEventExecutor$4.run(SingleThreadEventExecutor.java:997)
      	at io.netty.util.internal.ThreadExecutorMap$2.run(ThreadExecutorMap.java:74)
      	at io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30)
      	at java.base/java.lang.Thread.run(Thread.java:829)
      
      io.lettuce.core.protocol.RedisProtocolException: Invalid first byte: 0 () at buffer index 1036 decoding using RESP2
      	at io.lettuce.core.protocol.RedisStateMachine.readReplyType(RedisStateMachine.java:610)
      	at io.lettuce.core.protocol.RedisStateMachine.doDecode(RedisStateMachine.java:325)
      	at io.lettuce.core.protocol.RedisStateMachine.decode(RedisStateMachine.java:295)
      	at io.lettuce.core.protocol.CommandHandler.decode(CommandHandler.java:842)
      	at io.lettuce.core.protocol.CommandHandler.decode0(CommandHandler.java:793)
      	at io.lettuce.core.protocol.CommandHandler.decode(CommandHandler.java:767)
      	at io.lettuce.core.protocol.CommandHandler.decode(CommandHandler.java:659)
      	at io.lettuce.core.protocol.CommandHandler.channelRead(CommandHandler.java:599)
      	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:166)
      	at io.netty.channel.nio.NioEventLoop.processSelectedKey(NioEventLoop.java:788)
      	at io.netty.channel.nio.NioEventLoop.processSelectedKeysOptimized(NioEventLoop.java:724)
      	at io.netty.channel.nio.NioEventLoop.processSelectedKeys(NioEventLoop.java:650)
      	at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:562)
      	at io.netty.util.concurrent.SingleThreadEventExecutor$4.run(SingleThreadEventExecutor.java:997)
      	at io.netty.util.internal.ThreadExecutorMap$2.run(ThreadExecutorMap.java:74)
      	at io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30)
      	at java.base/java.lang.Thread.run(Thread.java:829)
      
      io.lettuce.core.protocol.RedisProtocolException: Invalid first byte: 0 () at buffer index 3041 decoding using RESP2
      	at io.lettuce.core.protocol.RedisStateMachine.readReplyType(RedisStateMachine.java:610)
      	at io.lettuce.core.protocol.RedisStateMachine.doDecode(RedisStateMachine.java:325)
      	at io.lettuce.core.protocol.RedisStateMachine.decode(RedisStateMachine.java:295)
      	at io.lettuce.core.protocol.CommandHandler.decode(CommandHandler.java:842)
      	at io.lettuce.core.protocol.CommandHandler.decode0(CommandHandler.java:793)
      	at io.lettuce.core.protocol.CommandHandler.decode(CommandHandler.java:767)
      	at io.lettuce.core.protocol.CommandHandler.decode(CommandHandler.java:659)
      	at io.lettuce.core.protocol.CommandHandler.channelRead(CommandHandler.java:599)
      	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:166)
      	at io.netty.channel.nio.NioEventLoop.processSelectedKey(NioEventLoop.java:788)
      	at io.netty.channel.nio.NioEventLoop.processSelectedKeysOptimized(NioEventLoop.java:724)
      	at io.netty.channel.nio.NioEventLoop.processSelectedKeys(NioEventLoop.java:650)
      	at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:562)
      	at io.netty.util.concurrent.SingleThreadEventExecutor$4.run(SingleThreadEventExecutor.java:997)
      	at io.netty.util.internal.ThreadExecutorMap$2.run(ThreadExecutorMap.java:74)
      	at io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30)
      	at java.base/java.lang.Thread.run(Thread.java:829)
      
      
      # Warmup: 5 iterations, 1 s each
      # Measurement: 5 iterations, 10 s each
      # Timeout: 10 min per iteration
      # Threads: 10 threads, will synchronize iterations
      # Benchmark mode: Throughput, ops/time
      # Benchmark: org.infinispan.cli.benchmark.RespBenchmark.put
      # Parameters: (keySetSize = 1000, keySize = 16, uri = redis://admin:admin@127.0.0.1:11222, valueSize = 1000)
      
      # Run progress: 50.00% complete, ETA 00:00:01
      # Fork: N/A, test runs in the host VM
      Warmup      1: 0.030 ops/us
      Warmup      2: 0.033 ops/us
      Warmup      3: 0.037 ops/us
      Warmup      4: 0.043 ops/us
      Warmup      5: 0.042 ops/us
      Iteration   1: <failure>
      
      io.lettuce.core.protocol.RedisProtocolException: Invalid first byte: 0 () at buffer index 7791 decoding using RESP2
      	at io.lettuce.core.protocol.RedisStateMachine.readReplyType(RedisStateMachine.java:610)
      	at io.lettuce.core.protocol.RedisStateMachine.doDecode(RedisStateMachine.java:325)
      	at io.lettuce.core.protocol.RedisStateMachine.decode(RedisStateMachine.java:295)
      	at io.lettuce.core.protocol.CommandHandler.decode(CommandHandler.java:842)
      	at io.lettuce.core.protocol.CommandHandler.decode0(CommandHandler.java:793)
      	at io.lettuce.core.protocol.CommandHandler.decode(CommandHandler.java:767)
      	at io.lettuce.core.protocol.CommandHandler.decode(CommandHandler.java:659)
      	at io.lettuce.core.protocol.CommandHandler.channelRead(CommandHandler.java:599)
      	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:166)
      	at io.netty.channel.nio.NioEventLoop.processSelectedKey(NioEventLoop.java:788)
      	at io.netty.channel.nio.NioEventLoop.processSelectedKeysOptimized(NioEventLoop.java:724)
      	at io.netty.channel.nio.NioEventLoop.processSelectedKeys(NioEventLoop.java:650)
      	at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:562)
      	at io.netty.util.concurrent.SingleThreadEventExecutor$4.run(SingleThreadEventExecutor.java:997)
      	at io.netty.util.internal.ThreadExecutorMap$2.run(ThreadExecutorMap.java:74)
      	at io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30)
      	at java.base/java.lang.Thread.run(Thread.java:829)
      
      
      # Run complete. Total time: 00:00:07
      
      Benchmark  Mode  Cnt  Score   Error  Units
      
      [dlovison-mac-222@cluster//containers/default]>
      

            Unassigned Unassigned
            dlovison@redhat.com Diego Lovison
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: