Uploaded image for project: 'Solr'
  1. Solr
  2. SOLR-9082

TestMiniSolrCloudClusterSSL.testSslAndNoClientAuth() failure

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Duplicate
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None

      Description

      My Jenkins found a non-reproducing seed:

      Checking out Revision 26027259a5fff5f8e7df1a927708f048ba92002f (refs/remotes/origin/master)
      [...]
         [junit4]   2> NOTE: reproduce with: ant test  -Dtestcase=TestMiniSolrCloudClusterSSL -Dtests.method=testSslAndNoClientAuth -Dtests.seed=99ED450C4584A212 -Dtests.slow=true -Dtests.linedocsfile=/home/jenkins/lucene-data/enwiki.random.lines.txt -Dtests.locale=fr-LU -Dtests.timezone=America/Resolute -Dtests.asserts=true -Dtests.file.encoding=UTF-8
         [junit4] ERROR   9.54s J5  | TestMiniSolrCloudClusterSSL.testSslAndNoClientAuth <<<
         [junit4]    > Throwable #1: org.apache.solr.client.solrj.SolrServerException: IOException occured when talking to server at: https://127.0.0.1:60891/solr
         [junit4]    > 	at __randomizedtesting.SeedInfo.seed([99ED450C4584A212:65579138BDA413D8]:0)
         [junit4]    > 	at org.apache.solr.client.solrj.impl.HttpSolrClient.executeMethod(HttpSolrClient.java:620)
         [junit4]    > 	at org.apache.solr.client.solrj.impl.HttpSolrClient.request(HttpSolrClient.java:259)
         [junit4]    > 	at org.apache.solr.client.solrj.impl.HttpSolrClient.request(HttpSolrClient.java:248)
         [junit4]    > 	at org.apache.solr.client.solrj.impl.LBHttpSolrClient.doRequest(LBHttpSolrClient.java:413)
         [junit4]    > 	at org.apache.solr.client.solrj.impl.LBHttpSolrClient.request(LBHttpSolrClient.java:366)
         [junit4]    > 	at org.apache.solr.client.solrj.impl.CloudSolrClient.sendRequest(CloudSolrClient.java:1192)
         [junit4]    > 	at org.apache.solr.client.solrj.impl.CloudSolrClient.requestWithRetryOnStaleState(CloudSolrClient.java:962)
         [junit4]    > 	at org.apache.solr.client.solrj.impl.CloudSolrClient.request(CloudSolrClient.java:898)
         [junit4]    > 	at org.apache.solr.client.solrj.SolrClient.request(SolrClient.java:1219)
         [junit4]    > 	at org.apache.solr.cloud.MiniSolrCloudCluster.makeCollectionsRequest(MiniSolrCloudCluster.java:411)
         [junit4]    > 	at org.apache.solr.cloud.MiniSolrCloudCluster.createCollection(MiniSolrCloudCluster.java:395)
         [junit4]    > 	at org.apache.solr.cloud.TestMiniSolrCloudClusterSSL.checkCreateCollection(TestMiniSolrCloudClusterSSL.java:207)
         [junit4]    > 	at org.apache.solr.cloud.TestMiniSolrCloudClusterSSL.checkClusterWithCollectionCreations(TestMiniSolrCloudClusterSSL.java:198)
         [junit4]    > 	at org.apache.solr.cloud.TestMiniSolrCloudClusterSSL.checkClusterWithNodeReplacement(TestMiniSolrCloudClusterSSL.java:146)
         [junit4]    > 	at org.apache.solr.cloud.TestMiniSolrCloudClusterSSL.testSslAndNoClientAuth(TestMiniSolrCloudClusterSSL.java:118)
         [junit4]    > 	at java.lang.Thread.run(Thread.java:745)
         [junit4]    > Caused by: javax.net.ssl.SSLHandshakeException: Invalid Padding length: 174
         [junit4]    > 	at sun.security.ssl.Alerts.getSSLException(Alerts.java:192)
         [junit4]    > 	at sun.security.ssl.SSLSocketImpl.fatal(SSLSocketImpl.java:1949)
         [junit4]    > 	at sun.security.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:1020)
         [junit4]    > 	at sun.security.ssl.SSLSocketImpl.performInitialHandshake(SSLSocketImpl.java:1375)
         [junit4]    > 	at sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1403)
         [junit4]    > 	at sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1387)
         [junit4]    > 	at org.apache.http.conn.ssl.SSLConnectionSocketFactory.createLayeredSocket(SSLConnectionSocketFactory.java:394)
         [junit4]    > 	at org.apache.http.conn.ssl.SSLConnectionSocketFactory.connectSocket(SSLConnectionSocketFactory.java:353)
         [junit4]    > 	at org.apache.http.impl.conn.DefaultHttpClientConnectionOperator.connect(DefaultHttpClientConnectionOperator.java:134)
         [junit4]    > 	at org.apache.http.impl.conn.PoolingHttpClientConnectionManager.connect(PoolingHttpClientConnectionManager.java:353)
         [junit4]    > 	at org.apache.http.impl.execchain.MainClientExec.establishRoute(MainClientExec.java:380)
         [junit4]    > 	at org.apache.http.impl.execchain.MainClientExec.execute(MainClientExec.java:236)
         [junit4]    > 	at org.apache.http.impl.execchain.ProtocolExec.execute(ProtocolExec.java:184)
         [junit4]    > 	at org.apache.http.impl.execchain.RetryExec.execute(RetryExec.java:88)
         [junit4]    > 	at org.apache.http.impl.execchain.RedirectExec.execute(RedirectExec.java:110)
         [junit4]    > 	at org.apache.http.impl.client.InternalHttpClient.doExecute(InternalHttpClient.java:184)
         [junit4]    > 	at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:82)
         [junit4]    > 	at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:55)
         [junit4]    > 	at org.apache.solr.client.solrj.impl.HttpSolrClient.executeMethod(HttpSolrClient.java:511)
         [junit4]    > 	... 53 more
         [junit4]    > Caused by: javax.crypto.BadPaddingException: Invalid Padding length: 174
         [junit4]    > 	at sun.security.ssl.CipherBox.removePadding(CipherBox.java:743)
         [junit4]    > 	at sun.security.ssl.CipherBox.decrypt(CipherBox.java:491)
         [junit4]    > 	at sun.security.ssl.InputRecord.decrypt(InputRecord.java:172)
         [junit4]    > 	at sun.security.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:1015)
         [junit4]    > 	... 69 more
         [junit4]   2> NOTE: leaving temporary files on disk at: /var/lib/jenkins/jobs/Lucene-Solr-tests-master/workspace/solr/build/solr-core/test/J5/temp/solr.cloud.TestMiniSolrCloudClusterSSL_99ED450C4584A212-001
         [junit4]   2> NOTE: test params are: codec=Asserting(Lucene60): {}, docValues:{}, maxPointsInLeafNode=1704, maxMBSortInHeap=7.665804235639563, sim=ClassicSimilarity, locale=fr-LU, timezone=America/Resolute
         [junit4]   2> NOTE: Linux 4.1.0-custom2-amd64 amd64/Oracle Corporation 1.8.0_77 (64-bit)/cpus=16,threads=1,free=241489736,total=443547648
         [junit4]   2> NOTE: All tests run in this JVM: [XsltUpdateRequestHandlerTest, TestAnalyzedSuggestions, SolrIndexSplitterTest, RuleEngineTest, TestManagedResource, TestMiniSolrCloudClusterSSL]
      

        Attachments

        1. testSslAndNoClientAuth.failure-3.log
          1.57 MB
          Steven Rowe
        2. testSslAndNoClientAuth.failure-2.log
          1.49 MB
          Steven Rowe
        3. testSslAndNoClientAuth.failure.log
          1.48 MB
          Steven Rowe

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                sarowe Steven Rowe
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: