[
https://issues.apache.org/jira/browse/SOLR-12932?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16670159#comment-16670159
]
Kevin Risden commented on SOLR-12932:
-------------------------------------
Test:TestAuthenticationFramework#testBasics
{code:java}
reproduce with: ant test -Dtestcase=TestAuthenticationFramework
-Dtests.method=testBasics -Dtests.seed=D3D81D8F48AFF8C -Dtests.slow=true
-Dtests.badapples=true -Dtests.locale=de-LU -Dtests.timezone=PRT
-Dtests.asserts=true -Dtests.file.encoding=UTF-8
09:52:10 [junit4] ERROR 7.23s J0 | TestAuthenticationFramework.testBasics
<<<
09:52:10 [junit4] > Throwable #1:
org.apache.solr.client.solrj.impl.CloudSolrClient$RouteException: Error from
server at https://127.0.0.1:39937/solr/testcollection_shard1_replica_n3:
Expected mime type application/octet-stream but got text/html. <html>
09:52:10 [junit4] > <head>
09:52:10 [junit4] > <meta http-equiv="Content-Type"
content="text/html;charset=utf-8"/>
09:52:10 [junit4] > <title>Error 404 Can not find:
/solr/testcollection_shard1_replica_n3/update</title>
09:52:10 [junit4] > </head>
09:52:10 [junit4] > <body><h2>HTTP ERROR 404</h2>
09:52:10 [junit4] > <p>Problem accessing
/solr/testcollection_shard1_replica_n3/update. Reason:
09:52:10 [junit4] > <pre> Can not find:
/solr/testcollection_shard1_replica_n3/update</pre></p><hr><a
href="http://eclipse.org/jetty">Powered by Jetty:// 9.4.11.v20180605</a><hr/>
09:52:10 [junit4] > </body>
09:52:10 [junit4] > </html>
09:52:10 [junit4] > at
__randomizedtesting.SeedInfo.seed([D3D81D8F48AFF8C:30E52FF4CC64A1FC]:0)
09:52:10 [junit4] > at
org.apache.solr.client.solrj.impl.CloudSolrClient.directUpdate(CloudSolrClient.java:551)
09:52:10 [junit4] > at
org.apache.solr.client.solrj.impl.CloudSolrClient.sendRequest(CloudSolrClient.java:1016)
09:52:10 [junit4] > at
org.apache.solr.client.solrj.impl.CloudSolrClient.requestWithRetryOnStaleState(CloudSolrClient.java:884)
09:52:10 [junit4] > at
org.apache.solr.client.solrj.impl.CloudSolrClient.requestWithRetryOnStaleState(CloudSolrClient.java:949)
09:52:10 [junit4] > at
org.apache.solr.client.solrj.impl.CloudSolrClient.requestWithRetryOnStaleState(CloudSolrClient.java:949)
09:52:10 [junit4] > at
org.apache.solr.client.solrj.impl.CloudSolrClient.requestWithRetryOnStaleState(CloudSolrClient.java:949)
09:52:10 [junit4] > at
org.apache.solr.client.solrj.impl.CloudSolrClient.requestWithRetryOnStaleState(CloudSolrClient.java:949)
09:52:10 [junit4] > at
org.apache.solr.client.solrj.impl.CloudSolrClient.requestWithRetryOnStaleState(CloudSolrClient.java:949)
09:52:10 [junit4] > at
org.apache.solr.client.solrj.impl.CloudSolrClient.request(CloudSolrClient.java:817)
09:52:10 [junit4] > at
org.apache.solr.client.solrj.SolrRequest.process(SolrRequest.java:194)
09:52:10 [junit4] > at
org.apache.solr.client.solrj.request.UpdateRequest.commit(UpdateRequest.java:237)
09:52:10 [junit4] > at
org.apache.solr.cloud.TestAuthenticationFramework.collectionCreateSearchDeleteTwice(TestAuthenticationFramework.java:128)
09:52:10 [junit4] > at
org.apache.solr.cloud.TestAuthenticationFramework.testBasics(TestAuthenticationFramework.java:75)
09:52:10 [junit4] > at java.lang.Thread.run(Thread.java:748)
09:52:10 [junit4] > Caused by:
org.apache.solr.client.solrj.impl.HttpSolrClient$RemoteSolrException: Error
from server at https://127.0.0.1:39937/solr/testcollection_shard1_replica_n3:
Expected mime type application/octet-stream but got text/html. <html>
09:52:10 [junit4] > <head>
09:52:10 [junit4] > <meta http-equiv="Content-Type"
content="text/html;charset=utf-8"/>
09:52:10 [junit4] > <title>Error 404 Can not find:
/solr/testcollection_shard1_replica_n3/update</title>
09:52:10 [junit4] > </head>
09:52:10 [junit4] > <body><h2>HTTP ERROR 404</h2>
09:52:10 [junit4] > <p>Problem accessing
/solr/testcollection_shard1_replica_n3/update. Reason:
09:52:10 [junit4] > <pre> Can not find:
/solr/testcollection_shard1_replica_n3/update</pre></p><hr><a
href="http://eclipse.org/jetty">Powered by Jetty:// 9.4.11.v20180605</a><hr/>
09:52:10 [junit4] > </body>
09:52:10 [junit4] > </html>
09:52:10 [junit4] > at
org.apache.solr.client.solrj.impl.HttpSolrClient.executeMethod(HttpSolrClient.java:607)
09:52:10 [junit4] > at
org.apache.solr.client.solrj.impl.HttpSolrClient.request(HttpSolrClient.java:255)
09:52:10 [junit4] > at
org.apache.solr.client.solrj.impl.HttpSolrClient.request(HttpSolrClient.java:244)
09:52:10 [junit4] > at
org.apache.solr.client.solrj.impl.LBHttpSolrClient.doRequest(LBHttpSolrClient.java:484)
09:52:10 [junit4] > at
org.apache.solr.client.solrj.impl.LBHttpSolrClient.request(LBHttpSolrClient.java:414)
09:52:10 [junit4] > at
org.apache.solr.client.solrj.impl.CloudSolrClient.lambda$directUpdate$0(CloudSolrClient.java:528)
09:52:10 [junit4] > at
java.util.concurrent.FutureTask.run(FutureTask.java:266)
09:52:10 [junit4] > at
org.apache.solr.common.util.ExecutorUtil$MDCAwareThreadPoolExecutor.lambda$execute$0(ExecutorUtil.java:209)
09:52:10 [junit4] > at
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
09:52:10 [junit4] > at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
09:52:10 [junit4] > ... 1 more{code}
> ant test (without badapples=false) should pass easily for developers.
> ---------------------------------------------------------------------
>
> Key: SOLR-12932
> URL: https://issues.apache.org/jira/browse/SOLR-12932
> Project: Solr
> Issue Type: Sub-task
> Security Level: Public(Default Security Level. Issues are Public)
> Components: Tests
> Reporter: Mark Miller
> Assignee: Mark Miller
> Priority: Major
>
> If we fix the tests we will end up here anyway, but we can shortcut this.
> Once I get my first patch in, anyone who mentions a test that fails locally
> for them at any time (not jenkins), I will fix it.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]