The problem is using '\n' in one place and StringUtil.NEWLINE in another.
On Wed, May 7, 2014 at 8:07 AM, Aditya <[email protected]> wrote: > Has any one else seen these? Happening on the current master. > > Running io.netty.buffer.TestPoolChunkTrim >> 08:05:04.452 [main] DEBUG i.n.u.i.l.InternalLoggerFactory - Using SLF4J >> as the default logging framework >> 08:05:04.459 [main] DEBUG i.n.util.internal.PlatformDependent - Platform: >> Windows >> 08:05:04.459 [main] DEBUG i.n.util.internal.PlatformDependent - Java >> version: 7 >> 08:05:04.459 [main] DEBUG i.n.util.internal.PlatformDependent - >> -Dio.netty.noUnsafe: false >> 08:05:04.461 [main] DEBUG i.n.util.internal.PlatformDependent0 - >> java.nio.ByteBuffer.cleaner: available >> 08:05:04.461 [main] DEBUG i.n.util.internal.PlatformDependent0 - >> java.nio.Buffer.address: available >> 08:05:04.461 [main] DEBUG i.n.util.internal.PlatformDependent0 - >> sun.misc.Unsafe.theUnsafe: available >> 08:05:04.462 [main] DEBUG i.n.util.internal.PlatformDependent0 - >> sun.misc.Unsafe.copyMemory: available >> 08:05:04.462 [main] DEBUG i.n.util.internal.PlatformDependent0 - >> java.nio.Bits.unaligned: true >> 08:05:04.462 [main] DEBUG i.n.util.internal.PlatformDependent - >> sun.misc.Unsafe: available >> 08:05:04.462 [main] DEBUG i.n.util.internal.PlatformDependent - >> -Dio.netty.noJavassist: false >> 08:05:04.463 [main] DEBUG i.n.util.internal.PlatformDependent - >> Javassist: unavailable >> 08:05:04.463 [main] DEBUG i.n.util.internal.PlatformDependent - You don't >> have Javassist in your class path or you don't have enough permission to >> load dynamically generated classes. Please check >> configuration for better performance. >> 08:05:04.464 [main] DEBUG i.n.util.internal.PlatformDependent - >> -Dio.netty.noPreferDirect: false >> 08:05:04.464 [main] DEBUG i.n.buffer.PooledByteBufAllocatorL - >> -Dio.netty.allocator.numHeapArenas: 8 >> 08:05:04.464 [main] DEBUG i.n.buffer.PooledByteBufAllocatorL - >> -Dio.netty.allocator.numDirectArenas: 8 >> 08:05:04.464 [main] DEBUG i.n.buffer.PooledByteBufAllocatorL - >> -Dio.netty.allocator.pageSize: 8192 >> 08:05:04.464 [main] DEBUG i.n.buffer.PooledByteBufAllocatorL - >> -Dio.netty.allocator.maxOrder: 11 >> 08:05:04.464 [main] DEBUG i.n.buffer.PooledByteBufAllocatorL - >> -Dio.netty.allocator.chunkSize: 16777216 >> 08:05:04.475 [main] DEBUG io.netty.util.ResourceLeakDetector - >> -Dio.netty.noResourceLeakDetection: false >> Tests run: 9, Failures: 9, Errors: 0, Skipped: 0, Time elapsed: 0.434 sec >> <<< FAILURE! - in io.netty.buffer.TestPoolChunkTrim >> tinyGrow(io.netty.buffer.TestPoolChunkTrim) Time elapsed: 0.176 sec <<< >> FAILURE! >> java.lang.AssertionError: Test failed to match pattern Chunk.* 8192/ >> at >> io.netty.buffer.TestPoolChunkTrim$TestAllocator.assertMatch(TestPoolChunkTrim.java:211) >> at >> io.netty.buffer.TestPoolChunkTrim$TestAllocator.assertPages(TestPoolChunkTrim.java:184) >> at >> io.netty.buffer.TestPoolChunkTrim.tinyGrow(TestPoolChunkTrim.java:133) >> >> multiPageTest(io.netty.buffer.TestPoolChunkTrim) Time elapsed: 0.013 >> sec <<< FAILURE! >> java.lang.AssertionError: Test failed to match pattern Chunk.* 262144/ >> at >> io.netty.buffer.TestPoolChunkTrim$TestAllocator.assertMatch(TestPoolChunkTrim.java:211) >> at >> io.netty.buffer.TestPoolChunkTrim$TestAllocator.assertPages(TestPoolChunkTrim.java:184) >> at >> io.netty.buffer.TestPoolChunkTrim.normalTest(TestPoolChunkTrim.java:152) >> at >> io.netty.buffer.TestPoolChunkTrim.multiPageTest(TestPoolChunkTrim.java:66) >> >> smallestSmallTest(io.netty.buffer.TestPoolChunkTrim) Time elapsed: 0.011 >> sec <<< FAILURE! >> java.lang.AssertionError: Test failed to match pattern Chunk.* 8192/ >> at >> io.netty.buffer.TestPoolChunkTrim$TestAllocator.assertMatch(TestPoolChunkTrim.java:211) >> at >> io.netty.buffer.TestPoolChunkTrim$TestAllocator.assertPages(TestPoolChunkTrim.java:184) >> at >> io.netty.buffer.TestPoolChunkTrim.subpageTest(TestPoolChunkTrim.java:169) >> at >> io.netty.buffer.TestPoolChunkTrim.smallestSmallTest(TestPoolChunkTrim.java:84) >> >> largestTinyTest(io.netty.buffer.TestPoolChunkTrim) Time elapsed: 0.011 >> sec <<< FAILURE! >> java.lang.AssertionError: Test failed to match pattern Chunk.* 8192/ >> at >> io.netty.buffer.TestPoolChunkTrim$TestAllocator.assertMatch(TestPoolChunkTrim.java:211) >> at >> io.netty.buffer.TestPoolChunkTrim$TestAllocator.assertPages(TestPoolChunkTrim.java:184) >> at >> io.netty.buffer.TestPoolChunkTrim.subpageTest(TestPoolChunkTrim.java:169) >> at >> io.netty.buffer.TestPoolChunkTrim.largestTinyTest(TestPoolChunkTrim.java:78) >> >> tiniestTinyTest(io.netty.buffer.TestPoolChunkTrim) Time elapsed: 0.012 >> sec <<< FAILURE! >> java.lang.AssertionError: Test failed to match pattern Chunk.* 8192/ >> at >> io.netty.buffer.TestPoolChunkTrim$TestAllocator.assertMatch(TestPoolChunkTrim.java:211) >> at >> io.netty.buffer.TestPoolChunkTrim$TestAllocator.assertPages(TestPoolChunkTrim.java:184) >> at >> io.netty.buffer.TestPoolChunkTrim.subpageTest(TestPoolChunkTrim.java:169) >> at >> io.netty.buffer.TestPoolChunkTrim.tiniestTinyTest(TestPoolChunkTrim.java:72) >> >> singlePageTest(io.netty.buffer.TestPoolChunkTrim) Time elapsed: 0.011 >> sec <<< FAILURE! >> java.lang.AssertionError: Test failed to match pattern Chunk.* 8192/ >> at >> io.netty.buffer.TestPoolChunkTrim$TestAllocator.assertMatch(TestPoolChunkTrim.java:211) >> at >> io.netty.buffer.TestPoolChunkTrim$TestAllocator.assertPages(TestPoolChunkTrim.java:184) >> at >> io.netty.buffer.TestPoolChunkTrim.normalTest(TestPoolChunkTrim.java:152) >> at >> io.netty.buffer.TestPoolChunkTrim.singlePageTest(TestPoolChunkTrim.java:60) >> >> trimTest(io.netty.buffer.TestPoolChunkTrim) Time elapsed: 0.01 sec <<< >> FAILURE! >> java.lang.AssertionError: Test failed to match pattern Chunk.* 2097152/ >> at >> io.netty.buffer.TestPoolChunkTrim$TestAllocator.assertMatch(TestPoolChunkTrim.java:211) >> at >> io.netty.buffer.TestPoolChunkTrim$TestAllocator.assertPages(TestPoolChunkTrim.java:184) >> at >> io.netty.buffer.TestPoolChunkTrim.trimTest(TestPoolChunkTrim.java:102) >> >> trimTiny(io.netty.buffer.TestPoolChunkTrim) Time elapsed: 0.007 sec <<< >> FAILURE! >> java.lang.AssertionError: Test failed to match pattern Chunk.* 8192/ >> at >> io.netty.buffer.TestPoolChunkTrim$TestAllocator.assertMatch(TestPoolChunkTrim.java:211) >> at >> io.netty.buffer.TestPoolChunkTrim$TestAllocator.assertPages(TestPoolChunkTrim.java:184) >> at >> io.netty.buffer.TestPoolChunkTrim.trimTiny(TestPoolChunkTrim.java:118) >> >> largestSmallTest(io.netty.buffer.TestPoolChunkTrim) Time elapsed: 0.007 >> sec <<< FAILURE! >> java.lang.AssertionError: Test failed to match pattern Chunk.* 8192/ >> at >> io.netty.buffer.TestPoolChunkTrim$TestAllocator.assertMatch(TestPoolChunkTrim.java:211) >> at >> io.netty.buffer.TestPoolChunkTrim$TestAllocator.assertPages(TestPoolChunkTrim.java:184) >> at >> io.netty.buffer.TestPoolChunkTrim.subpageTest(TestPoolChunkTrim.java:169) >> at >> io.netty.buffer.TestPoolChunkTrim.largestSmallTest(TestPoolChunkTrim.java:90) >> >> >> Results : >> >> Failed tests: >> TestPoolChunkTrim.tinyGrow:133 Test failed to match pattern Chunk.* >> 8192/ >> TestPoolChunkTrim.multiPageTest:66->normalTest:152 Test failed to match >> pattern Chunk.* 262144/ >> TestPoolChunkTrim.smallestSmallTest:84->subpageTest:169 Test failed to >> match pattern Chunk.* 8192/ >> TestPoolChunkTrim.largestTinyTest:78->subpageTest:169 Test failed to >> match pattern Chunk.* 8192/ >> TestPoolChunkTrim.tiniestTinyTest:72->subpageTest:169 Test failed to >> match pattern Chunk.* 8192/ >> TestPoolChunkTrim.singlePageTest:60->normalTest:152 Test failed to >> match pattern Chunk.* 8192/ >> TestPoolChunkTrim.trimTest:102 Test failed to match pattern Chunk.* >> 2097152/ >> TestPoolChunkTrim.trimTiny:118 Test failed to match pattern Chunk.* >> 8192/ >> TestPoolChunkTrim.largestSmallTest:90->subpageTest:169 Test failed to >> match pattern Chunk.* 8192/ >> >> Tests run: 9, Failures: 9, Errors: 0, Skipped: 0 >> > >
