geode-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "xiaojian zhou (JIRA)" <j...@apache.org>
Subject [jira] [Created] (GEODE-6448) LocatorUDPSecurityDUnitTest.testStartTwoLocators has suspicious string for javax.crypto.BadPaddingException
Date Mon, 25 Feb 2019 17:31:00 GMT
xiaojian zhou created GEODE-6448:
------------------------------------

             Summary: LocatorUDPSecurityDUnitTest.testStartTwoLocators has suspicious string
for javax.crypto.BadPaddingException
                 Key: GEODE-6448
                 URL: https://issues.apache.org/jira/browse/GEODE-6448
             Project: Geode
          Issue Type: Bug
          Components: ci
            Reporter: xiaojian zhou


{noformat}
https://concourse.apachegeode-ci.info/teams/main/pipelines/apache-develop-main/jobs/DistributedTestOpenJDK8/builds/427
failed with 

> Task :geode-core:distributedTest

org.apache.geode.distributed.LocatorUDPSecurityDUnitTest > testStartTwoLocators FAILED
    java.lang.AssertionError: Suspicious strings were written to the log during this run.
    Fix the strings or use IgnoredException.addIgnoredException to ignore.
    -----------------------------------------------------------------------
    Found suspect string in log4j at line 1024

    [error 2019/02/22 23:02:43.432 UTC <unicast receiver,170b732f838e-11757> tid=603]
Exception deserializing message payload: [dst: 170b732f838e:41002, src: 170b732f838e:41001
(2 headers), size=250 bytes, flags=OOB|DONT_BUNDLE|NO_FC|SKIP_BARRIER]
    java.lang.Exception: Message id is -143
    	at org.apache.geode.distributed.internal.membership.gms.messenger.JGroupsMessenger.readEncryptedMessage(JGroupsMessenger.java:1138)
    	at org.apache.geode.distributed.internal.membership.gms.messenger.JGroupsMessenger.readJGMessage(JGroupsMessenger.java:1042)
    	at org.apache.geode.distributed.internal.membership.gms.messenger.JGroupsMessenger$JGroupsReceiver.receive(JGroupsMessenger.java:1296)
    	at org.apache.geode.distributed.internal.membership.gms.messenger.JGroupsMessenger$JGroupsReceiver.receive(JGroupsMessenger.java:1265)
    	at org.jgroups.JChannel.invokeCallback(JChannel.java:816)
    	at org.jgroups.JChannel.up(JChannel.java:741)
    	at org.jgroups.stack.ProtocolStack.up(ProtocolStack.java:1030)
    	at org.jgroups.protocols.FRAG2.up(FRAG2.java:165)
    	at org.jgroups.protocols.FlowControl.up(FlowControl.java:390)
    	at org.jgroups.protocols.UNICAST3.deliverMessage(UNICAST3.java:1077)
    	at org.jgroups.protocols.UNICAST3.handleDataReceived(UNICAST3.java:792)
    	at org.jgroups.protocols.UNICAST3.up(UNICAST3.java:433)
    	at org.apache.geode.distributed.internal.membership.gms.messenger.StatRecorder.up(StatRecorder.java:73)
    	at org.apache.geode.distributed.internal.membership.gms.messenger.AddressManager.up(AddressManager.java:72)
    	at org.jgroups.protocols.TP.passMessageUp(TP.java:1658)
    	at org.jgroups.protocols.TP$SingleMessageHandler.run(TP.java:1876)
    	at org.jgroups.util.DirectExecutor.execute(DirectExecutor.java:10)
    	at org.jgroups.protocols.TP.handleSingleMessage(TP.java:1789)
    	at org.jgroups.protocols.TP.receive(TP.java:1714)
    	at org.apache.geode.distributed.internal.membership.gms.messenger.Transport.receive(Transport.java:152)
    	at org.jgroups.protocols.UDP$PacketReceiver.run(UDP.java:701)
    	at java.lang.Thread.run(Thread.java:748)
    Caused by: javax.crypto.BadPaddingException: Given final block not properly padded. Such
issues can arise if a bad key is used during decryption.
    	at com.sun.crypto.provider.CipherCore.doFinal(CipherCore.java:991)
    	at com.sun.crypto.provider.CipherCore.doFinal(CipherCore.java:847)
    	at com.sun.crypto.provider.AESCipher.engineDoFinal(AESCipher.java:446)
    	at javax.crypto.Cipher.doFinal(Cipher.java:2164)
    	at org.apache.geode.distributed.internal.membership.gms.messenger.GMSEncryptionCipherPool.decryptBytes(GMSEncryptionCipherPool.java:68)
    	at org.apache.geode.distributed.internal.membership.gms.messenger.GMSEncrypt.decryptData(GMSEncrypt.java:147)
    	at org.apache.geode.distributed.internal.membership.gms.messenger.JGroupsMessenger.readEncryptedMessage(JGroupsMessenger.java:1117)
    	... 21 more

    -----------------------------------------------------------------------
    Found suspect string in log4j at line 1111

    [error 2019/02/22 23:02:43.737 UTC <unicast receiver,170b732f838e-11757> tid=603]
Exception deserializing message payload: [dst: 170b732f838e<v1>:41002, src: 170b732f838e<v0>:41001
(2 headers), size=1324 bytes, flags=OOB|DONT_BUNDLE|NO_FC|SKIP_BARRIER]
    java.lang.Exception: Message id is -150
    	at org.apache.geode.distributed.internal.membership.gms.messenger.JGroupsMessenger.readEncryptedMessage(JGroupsMessenger.java:1138)
    	at org.apache.geode.distributed.internal.membership.gms.messenger.JGroupsMessenger.readJGMessage(JGroupsMessenger.java:1042)
    	at org.apache.geode.distributed.internal.membership.gms.messenger.JGroupsMessenger$JGroupsReceiver.receive(JGroupsMessenger.java:1296)
    	at org.apache.geode.distributed.internal.membership.gms.messenger.JGroupsMessenger$JGroupsReceiver.receive(JGroupsMessenger.java:1265)
    	at org.jgroups.JChannel.invokeCallback(JChannel.java:816)
    	at org.jgroups.JChannel.up(JChannel.java:741)
    	at org.jgroups.stack.ProtocolStack.up(ProtocolStack.java:1030)
    	at org.jgroups.protocols.FRAG2.up(FRAG2.java:165)
    	at org.jgroups.protocols.FlowControl.up(FlowControl.java:390)
    	at org.jgroups.protocols.UNICAST3.deliverMessage(UNICAST3.java:1077)
    	at org.jgroups.protocols.UNICAST3.handleDataReceived(UNICAST3.java:792)
    	at org.jgroups.protocols.UNICAST3.up(UNICAST3.java:433)
    	at org.apache.geode.distributed.internal.membership.gms.messenger.StatRecorder.up(StatRecorder.java:73)
    	at org.apache.geode.distributed.internal.membership.gms.messenger.AddressManager.up(AddressManager.java:72)
    	at org.jgroups.protocols.TP.passMessageUp(TP.java:1658)
    	at org.jgroups.protocols.TP$SingleMessageHandler.run(TP.java:1876)
    	at org.jgroups.util.DirectExecutor.execute(DirectExecutor.java:10)
    	at org.jgroups.protocols.TP.handleSingleMessage(TP.java:1789)
    	at org.jgroups.protocols.TP.receive(TP.java:1714)
    	at org.apache.geode.distributed.internal.membership.gms.messenger.Transport.receive(Transport.java:152)
    	at org.jgroups.protocols.UDP$PacketReceiver.run(UDP.java:701)
    	at java.lang.Thread.run(Thread.java:748)
    Caused by: java.io.IOException: While reading an InetAddress
    	at org.apache.geode.DataSerializer.readInetAddress(DataSerializer.java:478)
    	at org.apache.geode.distributed.internal.membership.gms.GMSMember.readEssentialData(GMSMember.java:545)
    	at org.apache.geode.distributed.internal.membership.gms.messenger.JGroupsMessenger.deserializeMessage(JGroupsMessenger.java:1148)
    	at org.apache.geode.distributed.internal.membership.gms.messenger.JGroupsMessenger.readEncryptedMessage(JGroupsMessenger.java:1128)
    	... 21 more
    Caused by: java.net.UnknownHostException: addr is of illegal length
    	at java.net.InetAddress.getByAddress(InetAddress.java:1043)
    	at java.net.InetAddress.getByAddress(InetAddress.java:1440)
    	at org.apache.geode.DataSerializer.readInetAddress(DataSerializer.java:472)
    	... 24 more
{noformat}




--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Mime
View raw message