Skip to content

Instantly share code, notes, and snippets.

@normanmaurer
Created September 4, 2017 11:47
Show Gist options
  • Save normanmaurer/be6b7004fcf6d409ba1448abdd6e63b7 to your computer and use it in GitHub Desktop.
Save normanmaurer/be6b7004fcf6d409ba1448abdd6e63b7 to your computer and use it in GitHub Desktop.
Changes included: 1 change.
Change 0fffc844d6d4c8e196a8448a45e7ff542446f708 by norman_maurer (6 files): Only load native transport if running architecture match the compiled library architecture.
Motivation:
We should only try to load the native artifacts if the architecture we are currently running on is the same as the one the native libraries were compiled for.
Modifications:
Include architecture in native lib name and append the current arch when trying to load these. This will fail then if its not the same as the arch of the compiled arch.
Result:
Fixes [#7150].
Failed tests summary: 472 , 49 are shown. See all on build results page.
io.netty.handler.codec.http2.CleartextHttp2ServerUpgradeHandlerTest.downgrade details »
io.netty.handler.codec.http2.CleartextHttp2ServerUpgradeHandlerTest.priorKnowledge details »
io.netty.handler.codec.http2.CleartextHttp2ServerUpgradeHandlerTest.priorKnowledgeInFragments details »
io.netty.handler.codec.http2.CleartextHttp2ServerUpgradeHandlerTest.upgrade details »
io.netty.handler.codec.http2.DataCompressionHttp2Test.deflateEncodingWriteLargeMessage details »
io.netty.handler.codec.http2.DataCompressionHttp2Test.gzipEncodingMultipleMessages
io.netty.handler.codec.http2.DataCompressionHttp2Test.gzipEncodingSingleEmptyMessage
io.netty.handler.codec.http2.DataCompressionHttp2Test.gzipEncodingSingleMessage
io.netty.handler.codec.http2.DataCompressionHttp2Test.justHeadersNoData
io.netty.handler.codec.http2.DefaultHttp2ConnectionDecoderTest.dataReadAfterGoAwaySentForStreamInInvalidStateShouldIgnore
io.netty.handler.codec.http2.DefaultHttp2ConnectionDecoderTest.dataReadAfterGoAwaySentOnUnknownStreamShouldIgnore
io.netty.handler.codec.http2.DefaultHttp2ConnectionDecoderTest.dataReadAfterGoAwaySentShouldAllowFramesForStreamCreatedByLocalEndpoint
io.netty.handler.codec.http2.DefaultHttp2ConnectionDecoderTest.dataReadAfterGoAwaySentShouldApplyFlowControl
io.netty.handler.codec.http2.DefaultHttp2ConnectionDecoderTest.dataReadAfterRstStreamForStreamInInvalidStateShouldIgnore
io.netty.handler.codec.http2.DefaultHttp2ConnectionDecoderTest.dataReadForStreamInInvalidStateShouldThrow
io.netty.handler.codec.http2.DefaultHttp2ConnectionDecoderTest.dataReadForUnknownStreamShouldApplyFlowControl
io.netty.handler.codec.http2.DefaultHttp2ConnectionDecoderTest.dataReadForUnknownStreamShouldApplyFlowControlAndFail
io.netty.handler.codec.http2.DefaultHttp2ConnectionDecoderTest.dataReadWithEndOfStreamShouldcloseStreamRemote
io.netty.handler.codec.http2.DefaultHttp2ConnectionDecoderTest.emptyDataFrameShouldApplyFlowControl
io.netty.handler.codec.http2.DefaultHttp2ConnectionDecoderTest.errorDuringDeliveryShouldReturnCorrectNumberOfBytes
io.netty.handler.codec.http2.DefaultHttp2ConnectionDecoderTest.goAwayShouldReadShouldUpdateConnectionState
io.netty.handler.codec.http2.DefaultHttp2ConnectionDecoderTest.goawayIncreasedLastStreamIdShouldThrow
io.netty.handler.codec.http2.DefaultHttp2ConnectionDecoderTest.headersDependencyNotCreatedShouldCreateAndSucceed
io.netty.handler.codec.http2.DefaultHttp2ConnectionDecoderTest.headersReadForPromisedStreamShouldCloseStream
io.netty.handler.codec.http2.DefaultHttp2ConnectionDecoderTest.headersReadForPromisedStreamShouldHalfOpenStream
io.netty.handler.codec.http2.DefaultHttp2ConnectionDecoderTest.headersReadForStreamThatAlreadySentResetShouldBeIgnored
io.netty.handler.codec.http2.DefaultHttp2ConnectionDecoderTest.headersReadForUnknownStreamAfterGoAwayShouldBeIgnored
io.netty.handler.codec.http2.DefaultHttp2ConnectionDecoderTest.headersReadForUnknownStreamShouldCreateHalfClosedStream
io.netty.handler.codec.http2.DefaultHttp2ConnectionDecoderTest.headersReadForUnknownStreamShouldCreateStream
io.netty.handler.codec.http2.DefaultHttp2ConnectionDecoderTest.headersReadForUnknownStreamShouldThrow
io.netty.handler.codec.http2.DefaultHttp2ConnectionDecoderTest.infoHeadersAndTrailersAllowed
io.netty.handler.codec.http2.DefaultHttp2ConnectionDecoderTest.infoHeadersAndTrailersNoEOSThrows
io.netty.handler.codec.http2.DefaultHttp2ConnectionDecoderTest.multipleInfoHeadersAndTrailersAllowed
io.netty.handler.codec.http2.DefaultHttp2ConnectionDecoderTest.multipleInfoHeadersAndTrailersNoEOSThrows
io.netty.handler.codec.http2.DefaultHttp2ConnectionDecoderTest.pingReadShouldReplyWithAck
io.netty.handler.codec.http2.DefaultHttp2ConnectionDecoderTest.pingReadWithAckShouldNotifyListener
io.netty.handler.codec.http2.DefaultHttp2ConnectionDecoderTest.priorityReadAfterGoAwaySentShouldAllowFramesForStreamCreatedByLocalEndpoint
io.netty.handler.codec.http2.DefaultHttp2ConnectionDecoderTest.priorityReadForUnknownStreamShouldNotBeIgnored
io.netty.handler.codec.http2.DefaultHttp2ConnectionDecoderTest.priorityReadShouldNotCreateNewStream
io.netty.handler.codec.http2.DefaultHttp2ConnectionDecoderTest.pushPromiseReadAfterGoAwaySentShouldBeIgnored
io.netty.handler.codec.http2.DefaultHttp2ConnectionDecoderTest.pushPromiseReadAfterGoAwayShouldAllowFramesForStreamCreatedByLocalEndpoint
io.netty.handler.codec.http2.DefaultHttp2ConnectionDecoderTest.pushPromiseReadForUnknownStreamShouldThrow
io.netty.handler.codec.http2.DefaultHttp2ConnectionDecoderTest.pushPromiseReadShouldSucceed
io.netty.handler.codec.http2.DefaultHttp2ConnectionDecoderTest.rstStreamOnIdleStreamShouldThrow
io.netty.handler.codec.http2.DefaultHttp2ConnectionDecoderTest.rstStreamReadAfterGoAwayShouldSucceed
io.netty.handler.codec.http2.DefaultHttp2ConnectionDecoderTest.rstStreamReadForUnknownStreamShouldBeIgnored
io.netty.handler.codec.http2.DefaultHttp2ConnectionDecoderTest.rstStreamReadForUnknownStreamShouldThrow
io.netty.handler.codec.http2.DefaultHttp2ConnectionDecoderTest.rstStreamReadShouldCloseStream
io.netty.handler.codec.http2.DefaultHttp2ConnectionDecoderTest.settingsReadShouldSetValues
Stacktraces (only 5 are shown):
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 sun.misc.CompoundEnumeration@fba3c49
Caused by: org.mockito.exceptions.base.MockitoInitializationException:
Could not initialize inline Byte Buddy mock maker. (This mock maker is not supported on Android.)
Java : 1.7
JVM vendor name : Oracle Corporation
JVM vendor version : 24.80-b11
JVM name : Java HotSpot(TM) 64-Bit Server VM
JVM version : 1.7.0_80-b15
JVM info : mixed mode
OS name : Linux
OS version : 3.16.0-4-amd64
Caused by: java.lang.UnsupportedClassVersionError: com/sun/tools/attach/VirtualMachine : Unsupported major.minor version 52.0java.lang.NullPointerException
at io.netty.handler.codec.http2.CleartextHttp2ServerUpgradeHandlerTest.tearDown(CleartextHttp2ServerUpgradeHandlerTest.java:89)
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 sun.misc.CompoundEnumeration@fba3c49
Caused by: org.mockito.exceptions.base.MockitoInitializationException:
Could not initialize inline Byte Buddy mock maker. (This mock maker is not supported on Android.)
Java : 1.7
JVM vendor name : Oracle Corporation
JVM vendor version : 24.80-b11
JVM name : Java HotSpot(TM) 64-Bit Server VM
JVM version : 1.7.0_80-b15
JVM info : mixed mode
OS name : Linux
OS version : 3.16.0-4-amd64
Caused by: java.lang.UnsupportedClassVersionError: com/sun/tools/attach/VirtualMachine : Unsupported major.minor version 52.0java.lang.NullPointerException
at io.netty.handler.codec.http2.CleartextHttp2ServerUpgradeHandlerTest.tearDown(CleartextHttp2ServerUpgradeHandlerTest.java:89)
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 sun.misc.CompoundEnumeration@fba3c49
Caused by: org.mockito.exceptions.base.MockitoInitializationException:
Could not initialize inline Byte Buddy mock maker. (This mock maker is not supported on Android.)
Java : 1.7
JVM vendor name : Oracle Corporation
JVM vendor version : 24.80-b11
JVM name : Java HotSpot(TM) 64-Bit Server VM
JVM version : 1.7.0_80-b15
JVM info : mixed mode
OS name : Linux
OS version : 3.16.0-4-amd64
Caused by: java.lang.UnsupportedClassVersionError: com/sun/tools/attach/VirtualMachine : Unsupported major.minor version 52.0java.lang.NullPointerException
at io.netty.handler.codec.http2.CleartextHttp2ServerUpgradeHandlerTest.tearDown(CleartextHttp2ServerUpgradeHandlerTest.java:89)
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 sun.misc.CompoundEnumeration@fba3c49
Caused by: org.mockito.exceptions.base.MockitoInitializationException:
Could not initialize inline Byte Buddy mock maker. (This mock maker is not supported on Android.)
Java : 1.7
JVM vendor name : Oracle Corporation
JVM vendor version : 24.80-b11
JVM name : Java HotSpot(TM) 64-Bit Server VM
JVM version : 1.7.0_80-b15
JVM info : mixed mode
OS name : Linux
OS version : 3.16.0-4-amd64
Caused by: java.lang.UnsupportedClassVersionError: com/sun/tools/attach/VirtualMachine : Unsupported major.minor version 52.0java.lang.NullPointerException
at io.netty.handler.codec.http2.CleartextHttp2ServerUpgradeHandlerTest.tearDown(CleartextHttp2ServerUpgradeHandlerTest.java:89)
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 sun.misc.CompoundEnumeration@fba3c49
Caused by: org.mockito.exceptions.base.MockitoInitializationException:
Could not initialize inline Byte Buddy mock maker. (This mock maker is not supported on Android.)
Java : 1.7
JVM vendor name : Oracle Corporation
JVM vendor version : 24.80-b11
JVM name : Java HotSpot(TM) 64-Bit Server VM
JVM version : 1.7.0_80-b15
JVM info : mixed mode
OS name : Linux
OS version : 3.16.0-4-amd64
Caused by: java.lang.UnsupportedClassVersionError: com/sun/tools/attach/VirtualMachine : Unsupported major.minor version 52.0java.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