Uploaded image for project: 'Geode'
  1. Geode
  2. GEODE-6976

CI Failure: org.apache.geode.internal.net.SSLSocketIntegrationTest > testSecuredSocketTransmissionShouldWorkUsingNIO FAILED

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.10.0
    • None
    • messaging
    • None

    Description

      This failure occurred during CI:
      https://concourse.apachegeode-ci.info/teams/main/pipelines/apache-develop-main/jobs/IntegrationTestOpenJDK8/builds/883

      org.apache.geode.internal.net.SSLSocketIntegrationTest > testSecuredSocketTransmissionShouldWorkUsingNIO FAILED
          java.lang.AssertionError: expected null, but was:<org.junit.ComparisonFailure: expected:<"[Hello world]"> but was:<"[]">>
              at org.junit.Assert.fail(Assert.java:88)
              at org.junit.Assert.failNotNull(Assert.java:755)
              at org.junit.Assert.assertNull(Assert.java:737)
              at org.junit.Assert.assertNull(Assert.java:747)
              at org.apache.geode.internal.net.SSLSocketIntegrationTest.testSecuredSocketTransmissionShouldWorkUsingNIO(SSLSocketIntegrationTest.java:230)
      

      Artifacts are located here:

      =-=-=-=-=-=-=-=-=-=-=-=-=-=-=  Test Results URI =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
      http://files.apachegeode-ci.info/builds/apache-develop-main/1.10.0-SNAPSHOT.0453/test-results/integrationTest/1563324048/
      =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
      
      Test report artifacts from this job are available at:
      
      http://files.apachegeode-ci.info/builds/apache-develop-main/1.10.0-SNAPSHOT.0453/test-artifacts/1563324048/integrationtestfiles-OpenJDK8-1.10.0-SNAPSHOT.0453.tgz
      

      stdout for the test:

      [info 2019/07/17 00:24:29.828 GMT <Test worker> tid=0x19] <ExpectedException action=add>javax.net.ssl.SSLException: Read timed out</ExpectedException>
      
      [info 2019/07/17 00:24:30.287 GMT <Test worker> tid=0x19] <ExpectedException action=add>javax.net.ssl.SSLException: Read timed out</ExpectedException>
      
      server thread accepted a connection
      [info 2019/07/17 00:24:30.480 GMT <awaitility[connect to server socket]> tid=0x1d] Your SSL configuration disables hostname validation. ssl-endpoint-identification-enabled should be set to true when SSL is enabled. Please refer to the Apache GEODE SSL Documentation for SSL Property: ssl‑endpoint‑identification‑enabled
      
      client connect attempt timed out - checking stack trace
      client connect attempt timed out in the appropriate method
      server thread is exiting
      [info 2019/07/17 00:24:30.995 GMT <Test worker> tid=0x19] <ExpectedException action=add>javax.net.ssl.SSLException: Read timed out</ExpectedException>
      
      [info 2019/07/17 00:24:31.023 GMT <Test worker> tid=0x19] Your SSL configuration disables hostname validation. ssl-endpoint-identification-enabled should be set to true when SSL is enabled. Please refer to the Apache GEODE SSL Documentation for SSL Property: ssl‑endpoint‑identification‑enabled
      
      [info 2019/07/17 00:24:31.330 GMT <Test worker> tid=0x19] <ExpectedException action=add>javax.net.ssl.SSLException: Read timed out</ExpectedException>
      
      [info 2019/07/17 00:24:32.363 GMT <Test worker> tid=0x19] <ExpectedException action=add>javax.net.ssl.SSLException: Read timed out</ExpectedException>
      
      client sending Hello World message to server
      client buffer position is 0 and limit is 13
      client wrapped buffer position is 0 and limit is 85
      client bytes written is 85
      client sending Hello World message to server
      client buffer position is 0 and limit is 13
      client wrapped buffer position is 0 and limit is 85
      client bytes written is 85
      client sending Hello World message to server
      server bytes read is 170: buffer position is 0 and limit is 170
      server unwrapped buffer position is 0 and limit is 26
      server read Hello World message from client
      server read Hello World message from client
      client buffer position is 0 and limit is 13
      client wrapped buffer position is 0 and limit is 85
      client bytes written is 85
      org.junit.ComparisonFailure: expected:<"[Hello world]"> but was:<"[]">
      	at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
      	at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
      	at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
      	at org.apache.geode.internal.net.SSLSocketIntegrationTest.readMessageFromNIOSSLClient(SSLSocketIntegrationTest.java:316)
      	at org.apache.geode.internal.net.SSLSocketIntegrationTest.lambda$startServerNIO$5(SSLSocketIntegrationTest.java:271)
      	at java.lang.Thread.run(Thread.java:748)
      [info 2019/07/17 00:24:35.230 GMT <Test worker> tid=0x19] <ExpectedException action=add>javax.net.ssl.SSLException: Read timed out</ExpectedException>
      
      [info 2019/07/17 00:24:36.367 GMT <handshakeWithPeerCanTimeout-server> tid=0x26] TLS handshake is timing out
      
      java.net.SocketTimeoutException: handshake timed out
      	at org.apache.geode.internal.net.NioSslEngine.handshake(NioSslEngine.java:133)
      	at org.apache.geode.internal.net.SocketCreator.handshakeSSLSocketChannel(SocketCreator.java:955)
      	at org.apache.geode.internal.net.SSLSocketIntegrationTest.lambda$startServerNIO$5(SSLSocketIntegrationTest.java:263)
      	at java.lang.Thread.run(Thread.java:748)
      [info 2019/07/17 00:24:36.385 GMT <Test worker> tid=0x19] <ExpectedException action=add>javax.net.ssl.SSLException: Read timed out</ExpectedException>
      

      Attachments

        Issue Links

          Activity

            People

              bschuchardt Bruce J Schuchardt
              ladyvader Lynn Hughes-Godfrey
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 20m
                  20m