Created
September 4, 2017 11:48
-
-
Save normanmaurer/8a3ed152b351191051b0813ad84c6b6f to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Build netty :: build-oraclejdk9 [4.1] #789 failed (Tests failed: 472 (472 new), passed: 11867, ignored: 178) | |
Agent: centos6-1 | |
Changes included: 1 change. | |
Change 379ac890f4dbec15d19714711f85455a12112c3f by norman_maurer (3 files): Fix reference count issue when using Http2FrameCodec / Http2MultiplexCodec with HttpServerUpgradeHandler | |
Motivation: | |
When using Http2FrameCodec / Http2MultiplexCodec with HttpServerUpgradeHandler reference count exception will be triggered. | |
Modifications: | |
- Correctly retain before calling InboundHttpToHttp2Adapter.handle | |
- Add unit test | |
Result: | |
Fixes [#7172]. | |
Failed tests summary: 472 (472 new) , 49 are shown. See all on build results page. | |
(new) io.netty.handler.codec.http2.CleartextHttp2ServerUpgradeHandlerTest.downgrade details » | |
(new) io.netty.handler.codec.http2.CleartextHttp2ServerUpgradeHandlerTest.priorKnowledge details » | |
(new) io.netty.handler.codec.http2.CleartextHttp2ServerUpgradeHandlerTest.priorKnowledgeInFragments details » | |
(new) io.netty.handler.codec.http2.CleartextHttp2ServerUpgradeHandlerTest.upgrade details » | |
(new) io.netty.handler.codec.http2.DataCompressionHttp2Test.deflateEncodingWriteLargeMessage details » | |
(new) io.netty.handler.codec.http2.DataCompressionHttp2Test.gzipEncodingMultipleMessages | |
(new) io.netty.handler.codec.http2.DataCompressionHttp2Test.gzipEncodingSingleEmptyMessage | |
(new) io.netty.handler.codec.http2.DataCompressionHttp2Test.gzipEncodingSingleMessage | |
(new) io.netty.handler.codec.http2.DataCompressionHttp2Test.justHeadersNoData | |
(new) io.netty.handler.codec.http2.DefaultHttp2ConnectionDecoderTest.dataReadAfterGoAwaySentForStreamInInvalidStateShouldIgnore | |
(new) io.netty.handler.codec.http2.DefaultHttp2ConnectionDecoderTest.dataReadAfterGoAwaySentOnUnknownStreamShouldIgnore | |
(new) io.netty.handler.codec.http2.DefaultHttp2ConnectionDecoderTest.dataReadAfterGoAwaySentShouldAllowFramesForStreamCreatedByLocalEndpoint | |
(new) io.netty.handler.codec.http2.DefaultHttp2ConnectionDecoderTest.dataReadAfterGoAwaySentShouldApplyFlowControl | |
(new) io.netty.handler.codec.http2.DefaultHttp2ConnectionDecoderTest.dataReadAfterRstStreamForStreamInInvalidStateShouldIgnore | |
(new) io.netty.handler.codec.http2.DefaultHttp2ConnectionDecoderTest.dataReadForStreamInInvalidStateShouldThrow | |
(new) io.netty.handler.codec.http2.DefaultHttp2ConnectionDecoderTest.dataReadForUnknownStreamShouldApplyFlowControl | |
(new) io.netty.handler.codec.http2.DefaultHttp2ConnectionDecoderTest.dataReadForUnknownStreamShouldApplyFlowControlAndFail | |
(new) io.netty.handler.codec.http2.DefaultHttp2ConnectionDecoderTest.dataReadWithEndOfStreamShouldcloseStreamRemote | |
(new) io.netty.handler.codec.http2.DefaultHttp2ConnectionDecoderTest.emptyDataFrameShouldApplyFlowControl | |
(new) io.netty.handler.codec.http2.DefaultHttp2ConnectionDecoderTest.errorDuringDeliveryShouldReturnCorrectNumberOfBytes | |
(new) io.netty.handler.codec.http2.DefaultHttp2ConnectionDecoderTest.goAwayShouldReadShouldUpdateConnectionState | |
(new) io.netty.handler.codec.http2.DefaultHttp2ConnectionDecoderTest.goawayIncreasedLastStreamIdShouldThrow | |
(new) io.netty.handler.codec.http2.DefaultHttp2ConnectionDecoderTest.headersDependencyNotCreatedShouldCreateAndSucceed | |
(new) io.netty.handler.codec.http2.DefaultHttp2ConnectionDecoderTest.headersReadForPromisedStreamShouldCloseStream | |
(new) io.netty.handler.codec.http2.DefaultHttp2ConnectionDecoderTest.headersReadForPromisedStreamShouldHalfOpenStream | |
(new) io.netty.handler.codec.http2.DefaultHttp2ConnectionDecoderTest.headersReadForStreamThatAlreadySentResetShouldBeIgnored | |
(new) io.netty.handler.codec.http2.DefaultHttp2ConnectionDecoderTest.headersReadForUnknownStreamAfterGoAwayShouldBeIgnored | |
(new) io.netty.handler.codec.http2.DefaultHttp2ConnectionDecoderTest.headersReadForUnknownStreamShouldCreateHalfClosedStream | |
(new) io.netty.handler.codec.http2.DefaultHttp2ConnectionDecoderTest.headersReadForUnknownStreamShouldCreateStream | |
(new) io.netty.handler.codec.http2.DefaultHttp2ConnectionDecoderTest.headersReadForUnknownStreamShouldThrow | |
(new) io.netty.handler.codec.http2.DefaultHttp2ConnectionDecoderTest.infoHeadersAndTrailersAllowed | |
(new) io.netty.handler.codec.http2.DefaultHttp2ConnectionDecoderTest.infoHeadersAndTrailersNoEOSThrows | |
(new) io.netty.handler.codec.http2.DefaultHttp2ConnectionDecoderTest.multipleInfoHeadersAndTrailersAllowed | |
(new) io.netty.handler.codec.http2.DefaultHttp2ConnectionDecoderTest.multipleInfoHeadersAndTrailersNoEOSThrows | |
(new) io.netty.handler.codec.http2.DefaultHttp2ConnectionDecoderTest.pingReadShouldReplyWithAck | |
(new) io.netty.handler.codec.http2.DefaultHttp2ConnectionDecoderTest.pingReadWithAckShouldNotifyListener | |
(new) io.netty.handler.codec.http2.DefaultHttp2ConnectionDecoderTest.priorityReadAfterGoAwaySentShouldAllowFramesForStreamCreatedByLocalEndpoint | |
(new) io.netty.handler.codec.http2.DefaultHttp2ConnectionDecoderTest.priorityReadForUnknownStreamShouldNotBeIgnored | |
(new) io.netty.handler.codec.http2.DefaultHttp2ConnectionDecoderTest.priorityReadShouldNotCreateNewStream | |
(new) io.netty.handler.codec.http2.DefaultHttp2ConnectionDecoderTest.pushPromiseReadAfterGoAwaySentShouldBeIgnored | |
(new) io.netty.handler.codec.http2.DefaultHttp2ConnectionDecoderTest.pushPromiseReadAfterGoAwayShouldAllowFramesForStreamCreatedByLocalEndpoint | |
(new) io.netty.handler.codec.http2.DefaultHttp2ConnectionDecoderTest.pushPromiseReadForUnknownStreamShouldThrow | |
(new) io.netty.handler.codec.http2.DefaultHttp2ConnectionDecoderTest.pushPromiseReadShouldSucceed | |
(new) io.netty.handler.codec.http2.DefaultHttp2ConnectionDecoderTest.rstStreamOnIdleStreamShouldThrow | |
(new) io.netty.handler.codec.http2.DefaultHttp2ConnectionDecoderTest.rstStreamReadAfterGoAwayShouldSucceed | |
(new) io.netty.handler.codec.http2.DefaultHttp2ConnectionDecoderTest.rstStreamReadForUnknownStreamShouldBeIgnored | |
(new) io.netty.handler.codec.http2.DefaultHttp2ConnectionDecoderTest.rstStreamReadForUnknownStreamShouldThrow | |
(new) io.netty.handler.codec.http2.DefaultHttp2ConnectionDecoderTest.rstStreamReadShouldCloseStream | |
(new) io.netty.handler.codec.http2.DefaultHttp2ConnectionDecoderTest.settingsReadShouldSetValues | |
Stacktraces (only 5 are shown): | |
(new) io.netty.handler.codec.http2.CleartextHttp2ServerUpgradeHandlerTest.downgrade | |
java.lang.IllegalStateException: Could not initialize plugin: interface org.mockito.plugins.MockMaker | |
at io.netty.handler.codec.http2.CleartextHttp2ServerUpgradeHandlerTest.setUpServerChannel(CleartextHttp2ServerUpgradeHandlerTest.java:61) | |
at io.netty.handler.codec.http2.CleartextHttp2ServerUpgradeHandlerTest.downgrade(CleartextHttp2ServerUpgradeHandlerTest.java:165) | |
Caused by: java.lang.IllegalStateException: Failed to load interface org.mockito.plugins.MockMaker implementation declared in java.lang.CompoundEnumeration@2d9caaeb | |
Caused by: org.mockito.exceptions.base.MockitoInitializationException: | |
Could not initialize inline Byte Buddy mock maker. (This mock maker is not supported on Android.) | |
Java : 9 | |
JVM vendor name : Oracle Corporation | |
JVM vendor version : 9+181 | |
JVM name : Java HotSpot(TM) 64-Bit Server VM | |
JVM version : 9+181 | |
JVM info : mixed mode | |
OS name : Linux | |
OS version : 3.16.0-4-amd64 | |
Caused by: java.lang.IllegalStateException: Error during attachment using: net.bytebuddy.agent.ByteBuddyAgent$AttachmentProvider$Compound@ee5016d | |
Caused by: java.lang.reflect.InvocationTargetException | |
Caused by: java.io.IOException: Can not attach to current VMjava.lang.NullPointerException | |
at io.netty.handler.codec.http2.CleartextHttp2ServerUpgradeHandlerTest.tearDown(CleartextHttp2ServerUpgradeHandlerTest.java:89) | |
(new) io.netty.handler.codec.http2.CleartextHttp2ServerUpgradeHandlerTest.priorKnowledge | |
java.lang.IllegalStateException: Could not initialize plugin: interface org.mockito.plugins.MockMaker | |
at io.netty.handler.codec.http2.CleartextHttp2ServerUpgradeHandlerTest.setUpServerChannel(CleartextHttp2ServerUpgradeHandlerTest.java:61) | |
at io.netty.handler.codec.http2.CleartextHttp2ServerUpgradeHandlerTest.priorKnowledge(CleartextHttp2ServerUpgradeHandlerTest.java:94) | |
Caused by: java.lang.IllegalStateException: Failed to load interface org.mockito.plugins.MockMaker implementation declared in java.lang.CompoundEnumeration@2d9caaeb | |
Caused by: org.mockito.exceptions.base.MockitoInitializationException: | |
Could not initialize inline Byte Buddy mock maker. (This mock maker is not supported on Android.) | |
Java : 9 | |
JVM vendor name : Oracle Corporation | |
JVM vendor version : 9+181 | |
JVM name : Java HotSpot(TM) 64-Bit Server VM | |
JVM version : 9+181 | |
JVM info : mixed mode | |
OS name : Linux | |
OS version : 3.16.0-4-amd64 | |
Caused by: java.lang.IllegalStateException: Error during attachment using: net.bytebuddy.agent.ByteBuddyAgent$AttachmentProvider$Compound@ee5016d | |
Caused by: java.lang.reflect.InvocationTargetException | |
Caused by: java.io.IOException: Can not attach to current VMjava.lang.NullPointerException | |
at io.netty.handler.codec.http2.CleartextHttp2ServerUpgradeHandlerTest.tearDown(CleartextHttp2ServerUpgradeHandlerTest.java:89) | |
(new) io.netty.handler.codec.http2.CleartextHttp2ServerUpgradeHandlerTest.priorKnowledgeInFragments | |
java.lang.IllegalStateException: Could not initialize plugin: interface org.mockito.plugins.MockMaker | |
at io.netty.handler.codec.http2.CleartextHttp2ServerUpgradeHandlerTest.setUpServerChannel(CleartextHttp2ServerUpgradeHandlerTest.java:61) | |
at io.netty.handler.codec.http2.CleartextHttp2ServerUpgradeHandlerTest.priorKnowledgeInFragments(CleartextHttp2ServerUpgradeHandlerTest.java:145) | |
Caused by: java.lang.IllegalStateException: Failed to load interface org.mockito.plugins.MockMaker implementation declared in java.lang.CompoundEnumeration@2d9caaeb | |
Caused by: org.mockito.exceptions.base.MockitoInitializationException: | |
Could not initialize inline Byte Buddy mock maker. (This mock maker is not supported on Android.) | |
Java : 9 | |
JVM vendor name : Oracle Corporation | |
JVM vendor version : 9+181 | |
JVM name : Java HotSpot(TM) 64-Bit Server VM | |
JVM version : 9+181 | |
JVM info : mixed mode | |
OS name : Linux | |
OS version : 3.16.0-4-amd64 | |
Caused by: java.lang.IllegalStateException: Error during attachment using: net.bytebuddy.agent.ByteBuddyAgent$AttachmentProvider$Compound@ee5016d | |
Caused by: java.lang.reflect.InvocationTargetException | |
Caused by: java.io.IOException: Can not attach to current VMjava.lang.NullPointerException | |
at io.netty.handler.codec.http2.CleartextHttp2ServerUpgradeHandlerTest.tearDown(CleartextHttp2ServerUpgradeHandlerTest.java:89) | |
(new) io.netty.handler.codec.http2.CleartextHttp2ServerUpgradeHandlerTest.upgrade | |
java.lang.IllegalStateException: Could not initialize plugin: interface org.mockito.plugins.MockMaker | |
at io.netty.handler.codec.http2.CleartextHttp2ServerUpgradeHandlerTest.setUpServerChannel(CleartextHttp2ServerUpgradeHandlerTest.java:61) | |
at io.netty.handler.codec.http2.CleartextHttp2ServerUpgradeHandlerTest.upgrade(CleartextHttp2ServerUpgradeHandlerTest.java:114) | |
Caused by: java.lang.IllegalStateException: Failed to load interface org.mockito.plugins.MockMaker implementation declared in java.lang.CompoundEnumeration@2d9caaeb | |
Caused by: org.mockito.exceptions.base.MockitoInitializationException: | |
Could not initialize inline Byte Buddy mock maker. (This mock maker is not supported on Android.) | |
Java : 9 | |
JVM vendor name : Oracle Corporation | |
JVM vendor version : 9+181 | |
JVM name : Java HotSpot(TM) 64-Bit Server VM | |
JVM version : 9+181 | |
JVM info : mixed mode | |
OS name : Linux | |
OS version : 3.16.0-4-amd64 | |
Caused by: java.lang.IllegalStateException: Error during attachment using: net.bytebuddy.agent.ByteBuddyAgent$AttachmentProvider$Compound@ee5016d | |
Caused by: java.lang.reflect.InvocationTargetException | |
Caused by: java.io.IOException: Can not attach to current VMjava.lang.NullPointerException | |
at io.netty.handler.codec.http2.CleartextHttp2ServerUpgradeHandlerTest.tearDown(CleartextHttp2ServerUpgradeHandlerTest.java:89) | |
(new) io.netty.handler.codec.http2.DataCompressionHttp2Test.deflateEncodingWriteLargeMessage | |
java.lang.IllegalStateException: Could not initialize plugin: interface org.mockito.plugins.MockMaker | |
at io.netty.handler.codec.http2.DataCompressionHttp2Test.setup(DataCompressionHttp2Test.java:93) | |
Caused by: java.lang.IllegalStateException: Failed to load interface org.mockito.plugins.MockMaker implementation declared in java.lang.CompoundEnumeration@2d9caaeb | |
at io.netty.handler.codec.http2.DataCompressionHttp2Test.setup(DataCompressionHttp2Test.java:93) | |
Caused by: org.mockito.exceptions.base.MockitoInitializationException: | |
Could not initialize inline Byte Buddy mock maker. (This mock maker is not supported on Android.) | |
Java : 9 | |
JVM vendor name : Oracle Corporation | |
JVM vendor version : 9+181 | |
JVM name : Java HotSpot(TM) 64-Bit Server VM | |
JVM version : 9+181 | |
JVM info : mixed mode | |
OS name : Linux | |
OS version : 3.16.0-4-amd64 | |
at io.netty.handler.codec.http2.DataCompressionHttp2Test.setup(DataCompressionHttp2Test.java:93) | |
Caused by: java.lang.IllegalStateException: Error during attachment using: net.bytebuddy.agent.ByteBuddyAgent$AttachmentProvider$Compound@ee5016d | |
at io.netty.handler.codec.http2.DataCompressionHttp2Test.setup(DataCompressionHttp2Test.java:93) | |
Caused by: java.lang.reflect.InvocationTargetException | |
at io.netty.handler.codec.http2.DataCompressionHttp2Test.setup(DataCompressionHttp2Test.java:93) | |
Caused by: java.io.IOException: Can not attach to current VM | |
at io.netty.handler.codec.http2.DataCompressionHttp2Test.setup(DataCompressionHttp2Test.java:93)java.lang.NullPointerException | |
at io.netty.handler.codec.http2.DataCompressionHttp2Test.teardown(DataCompressionHttp2Test.java:136)java.lang.NullPointerException | |
at io.netty.handler.codec.http2.DataCompressionHttp2Test.cleanup(DataCompressionHttp2Test.java:118) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment