clintropolis commented on PR #12408:
URL: https://github.com/apache/druid/pull/12408#issuecomment-1140354260

   I'm not entirely sure if it is from this PR or not yet, since I also see a 
failure with lz4 (though this PR did make some changes 
   to `CompressionStrategyTest`, so possible).
   
   ```
   [INFO] Running 
org.apache.druid.segment.data.CompressedColumnarIntsSupplierTest
   [ERROR] Tests run: 28, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 
0.332 s <<< FAILURE! - in 
org.apache.druid.segment.data.CompressedColumnarIntsSupplierTest
   [ERROR] 
org.apache.druid.segment.data.CompressedColumnarIntsSupplierTest.testConcurrency[1]
  Time elapsed: 0.006 s  <<< ERROR!
   java.util.concurrent.ExecutionException: 
java.lang.ArrayIndexOutOfBoundsException: Index 12 out of bounds for length 12
        at java.base/java.util.concurrent.FutureTask.report(FutureTask.java:122)
        at java.base/java.util.concurrent.FutureTask.get(FutureTask.java:191)
        at 
org.apache.druid.segment.data.CompressionStrategyTest.testConcurrency(CompressionStrategyTest.java:150)
        at 
java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at 
java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
        at 
java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.base/java.lang.reflect.Method.invoke(Method.java:566)
        at 
org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:59)
        at 
org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
        at 
org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:56)
        at 
org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
        at 
org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:299)
        at 
org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:293)
        at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
        at java.base/java.lang.Thread.run(Thread.java:829)
   Caused by: java.lang.ArrayIndexOutOfBoundsException: Index 12 out of bounds 
for length 12
        at java.base/java.util.ArrayDeque.grow(ArrayDeque.java:159)
        at java.base/java.util.ArrayDeque.addFirst(ArrayDeque.java:291)
        at org.apache.druid.java.util.common.io.Closer.register(Closer.java:127)
        at 
org.apache.druid.segment.data.CompressionStrategy$LZ4Compressor.allocateOutBuffer(CompressionStrategy.java:347)
        at 
org.apache.druid.segment.data.CompressionStrategyTest.lambda$testConcurrency$1(CompressionStrategyTest.java:126)
        at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
        at 
java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
        at 
java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
        ... 1 more
   ```
   
   I also have only seen it so far when i run all of the tests in 
`druid-processing`; when I use 'run until failure' in intellij or run just 
`CompressedVSizeColumnarIntsSupplierTest` with mvn I haven't been able to 
trigger it yet.


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

To unsubscribe, e-mail: [email protected]

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


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to