[ 
https://issues.apache.org/jira/browse/SOLR-12932?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16670065#comment-16670065
 ] 

Kevin Risden edited comment on SOLR-12932 at 10/31/18 1:06 PM:
---------------------------------------------------------------

Test: TestCollectionsAPIViaSolrCloudCluster#testCollectionCreateSearchDelete
{code:java}
reproduce with: ant test  -Dtestcase=TestCollectionsAPIViaSolrCloudCluster 
-Dtests.method=testCollectionCreateSearchDelete -Dtests.seed=879612B1BD020602 
-Dtests.slow=true -Dtests.badapples=true -Dtests.locale=fr-LU 
-Dtests.timezone=Canada/Yukon -Dtests.asserts=true 
-Dtests.file.encoding=ISO-8859-1
01:16:51    [junit4] ERROR   8.48s J7 | 
TestCollectionsAPIViaSolrCloudCluster.testCollectionCreateSearchDelete <<<
01:16:51    [junit4]    > Throwable #1: 
org.apache.solr.client.solrj.impl.CloudSolrClient$RouteException: Error from 
server at https://127.0.0.1:35461/solr/testcollection_shard1_replica_n2: 
Expected mime type application/octet-stream but got text/html. <html>
01:16:51    [junit4]    > <head>
01:16:51    [junit4]    > <meta http-equiv="Content-Type" 
content="text/html;charset=utf-8"/>
01:16:51    [junit4]    > <title>Error 404 Can not find: 
/solr/testcollection_shard1_replica_n2/update</title>
01:16:51    [junit4]    > </head>
01:16:51    [junit4]    > <body><h2>HTTP ERROR 404</h2>
01:16:51    [junit4]    > <p>Problem accessing 
/solr/testcollection_shard1_replica_n2/update. Reason:
01:16:51    [junit4]    > <pre>    Can not find: 
/solr/testcollection_shard1_replica_n2/update</pre></p><hr><a 
href="http://eclipse.org/jetty";>Powered by Jetty:// 9.4.11.v20180605</a><hr/>
01:16:51    [junit4]    > </body>
01:16:51    [junit4]    > </html>
01:16:51    [junit4]    >       at 
__randomizedtesting.SeedInfo.seed([879612B1BD020602:246CBC143AEAECA7]:0)
01:16:51    [junit4]    >       at 
org.apache.solr.client.solrj.impl.CloudSolrClient.directUpdate(CloudSolrClient.java:551)
01:16:51    [junit4]    >       at 
org.apache.solr.client.solrj.impl.CloudSolrClient.sendRequest(CloudSolrClient.java:1016)
01:16:51    [junit4]    >       at 
org.apache.solr.client.solrj.impl.CloudSolrClient.requestWithRetryOnStaleState(CloudSolrClient.java:884)
01:16:51    [junit4]    >       at 
org.apache.solr.client.solrj.impl.CloudSolrClient.requestWithRetryOnStaleState(CloudSolrClient.java:949)
01:16:51    [junit4]    >       at 
org.apache.solr.client.solrj.impl.CloudSolrClient.requestWithRetryOnStaleState(CloudSolrClient.java:949)
01:16:51    [junit4]    >       at 
org.apache.solr.client.solrj.impl.CloudSolrClient.requestWithRetryOnStaleState(CloudSolrClient.java:949)
01:16:51    [junit4]    >       at 
org.apache.solr.client.solrj.impl.CloudSolrClient.requestWithRetryOnStaleState(CloudSolrClient.java:949)
01:16:51    [junit4]    >       at 
org.apache.solr.client.solrj.impl.CloudSolrClient.requestWithRetryOnStaleState(CloudSolrClient.java:949)
01:16:51    [junit4]    >       at 
org.apache.solr.client.solrj.impl.CloudSolrClient.request(CloudSolrClient.java:817)
01:16:51    [junit4]    >       at 
org.apache.solr.client.solrj.SolrRequest.process(SolrRequest.java:194)
01:16:51    [junit4]    >       at 
org.apache.solr.client.solrj.request.UpdateRequest.commit(UpdateRequest.java:237)
01:16:51    [junit4]    >       at 
org.apache.solr.cloud.api.collections.TestCollectionsAPIViaSolrCloudCluster.testCollectionCreateSearchDelete(TestCollectionsAPIViaSolrCloudCluster.java:181)
01:16:51    [junit4]    >       at java.lang.Thread.run(Thread.java:748)
01:16:51    [junit4]    > Caused by: 
org.apache.solr.client.solrj.impl.HttpSolrClient$RemoteSolrException: Error 
from server at https://127.0.0.1:35461/solr/testcollection_shard1_replica_n2: 
Expected mime type application/octet-stream but got text/html. <html>
01:16:51    [junit4]    > <head>
01:16:51    [junit4]    > <meta http-equiv="Content-Type" 
content="text/html;charset=utf-8"/>
01:16:51    [junit4]    > <title>Error 404 Can not find: 
/solr/testcollection_shard1_replica_n2/update</title>
01:16:51    [junit4]    > </head>
01:16:51    [junit4]    > <body><h2>HTTP ERROR 404</h2>
01:16:51    [junit4]    > <p>Problem accessing 
/solr/testcollection_shard1_replica_n2/update. Reason:
01:16:51    [junit4]    > <pre>    Can not find: 
/solr/testcollection_shard1_replica_n2/update</pre></p><hr><a 
href="http://eclipse.org/jetty";>Powered by Jetty:// 9.4.11.v20180605</a><hr/>
01:16:51    [junit4]    > </body>
01:16:51    [junit4]    > </html>
01:16:51    [junit4]    >       at 
org.apache.solr.client.solrj.impl.HttpSolrClient.executeMethod(HttpSolrClient.java:607)
01:16:51    [junit4]    >       at 
org.apache.solr.client.solrj.impl.HttpSolrClient.request(HttpSolrClient.java:255)
01:16:51    [junit4]    >       at 
org.apache.solr.client.solrj.impl.HttpSolrClient.request(HttpSolrClient.java:244)
01:16:51    [junit4]    >       at 
org.apache.solr.client.solrj.impl.LBHttpSolrClient.doRequest(LBHttpSolrClient.java:484)
01:16:51    [junit4]    >       at 
org.apache.solr.client.solrj.impl.LBHttpSolrClient.request(LBHttpSolrClient.java:414)
01:16:51    [junit4]    >       at 
org.apache.solr.client.solrj.impl.CloudSolrClient.lambda$directUpdate$0(CloudSolrClient.java:528)
01:16:51    [junit4]    >       at 
java.util.concurrent.FutureTask.run(FutureTask.java:266)
01:16:51    [junit4]    >       at 
org.apache.solr.common.util.ExecutorUtil$MDCAwareThreadPoolExecutor.lambda$execute$0(ExecutorUtil.java:209)
01:16:51    [junit4]    >       at 
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
01:16:51    [junit4]    >       at 
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
01:16:51    [junit4]    >       ... 1 more
{code}


was (Author: risdenk):
Test: TestCollectionsAPIViaSolrCloudCluster
{code:java}
reproduce with: ant test  -Dtestcase=TestCollectionsAPIViaSolrCloudCluster 
-Dtests.method=testCollectionCreateSearchDelete -Dtests.seed=879612B1BD020602 
-Dtests.slow=true -Dtests.badapples=true -Dtests.locale=fr-LU 
-Dtests.timezone=Canada/Yukon -Dtests.asserts=true 
-Dtests.file.encoding=ISO-8859-1
01:16:51    [junit4] ERROR   8.48s J7 | 
TestCollectionsAPIViaSolrCloudCluster.testCollectionCreateSearchDelete <<<
01:16:51    [junit4]    > Throwable #1: 
org.apache.solr.client.solrj.impl.CloudSolrClient$RouteException: Error from 
server at https://127.0.0.1:35461/solr/testcollection_shard1_replica_n2: 
Expected mime type application/octet-stream but got text/html. <html>
01:16:51    [junit4]    > <head>
01:16:51    [junit4]    > <meta http-equiv="Content-Type" 
content="text/html;charset=utf-8"/>
01:16:51    [junit4]    > <title>Error 404 Can not find: 
/solr/testcollection_shard1_replica_n2/update</title>
01:16:51    [junit4]    > </head>
01:16:51    [junit4]    > <body><h2>HTTP ERROR 404</h2>
01:16:51    [junit4]    > <p>Problem accessing 
/solr/testcollection_shard1_replica_n2/update. Reason:
01:16:51    [junit4]    > <pre>    Can not find: 
/solr/testcollection_shard1_replica_n2/update</pre></p><hr><a 
href="http://eclipse.org/jetty";>Powered by Jetty:// 9.4.11.v20180605</a><hr/>
01:16:51    [junit4]    > </body>
01:16:51    [junit4]    > </html>
01:16:51    [junit4]    >       at 
__randomizedtesting.SeedInfo.seed([879612B1BD020602:246CBC143AEAECA7]:0)
01:16:51    [junit4]    >       at 
org.apache.solr.client.solrj.impl.CloudSolrClient.directUpdate(CloudSolrClient.java:551)
01:16:51    [junit4]    >       at 
org.apache.solr.client.solrj.impl.CloudSolrClient.sendRequest(CloudSolrClient.java:1016)
01:16:51    [junit4]    >       at 
org.apache.solr.client.solrj.impl.CloudSolrClient.requestWithRetryOnStaleState(CloudSolrClient.java:884)
01:16:51    [junit4]    >       at 
org.apache.solr.client.solrj.impl.CloudSolrClient.requestWithRetryOnStaleState(CloudSolrClient.java:949)
01:16:51    [junit4]    >       at 
org.apache.solr.client.solrj.impl.CloudSolrClient.requestWithRetryOnStaleState(CloudSolrClient.java:949)
01:16:51    [junit4]    >       at 
org.apache.solr.client.solrj.impl.CloudSolrClient.requestWithRetryOnStaleState(CloudSolrClient.java:949)
01:16:51    [junit4]    >       at 
org.apache.solr.client.solrj.impl.CloudSolrClient.requestWithRetryOnStaleState(CloudSolrClient.java:949)
01:16:51    [junit4]    >       at 
org.apache.solr.client.solrj.impl.CloudSolrClient.requestWithRetryOnStaleState(CloudSolrClient.java:949)
01:16:51    [junit4]    >       at 
org.apache.solr.client.solrj.impl.CloudSolrClient.request(CloudSolrClient.java:817)
01:16:51    [junit4]    >       at 
org.apache.solr.client.solrj.SolrRequest.process(SolrRequest.java:194)
01:16:51    [junit4]    >       at 
org.apache.solr.client.solrj.request.UpdateRequest.commit(UpdateRequest.java:237)
01:16:51    [junit4]    >       at 
org.apache.solr.cloud.api.collections.TestCollectionsAPIViaSolrCloudCluster.testCollectionCreateSearchDelete(TestCollectionsAPIViaSolrCloudCluster.java:181)
01:16:51    [junit4]    >       at java.lang.Thread.run(Thread.java:748)
01:16:51    [junit4]    > Caused by: 
org.apache.solr.client.solrj.impl.HttpSolrClient$RemoteSolrException: Error 
from server at https://127.0.0.1:35461/solr/testcollection_shard1_replica_n2: 
Expected mime type application/octet-stream but got text/html. <html>
01:16:51    [junit4]    > <head>
01:16:51    [junit4]    > <meta http-equiv="Content-Type" 
content="text/html;charset=utf-8"/>
01:16:51    [junit4]    > <title>Error 404 Can not find: 
/solr/testcollection_shard1_replica_n2/update</title>
01:16:51    [junit4]    > </head>
01:16:51    [junit4]    > <body><h2>HTTP ERROR 404</h2>
01:16:51    [junit4]    > <p>Problem accessing 
/solr/testcollection_shard1_replica_n2/update. Reason:
01:16:51    [junit4]    > <pre>    Can not find: 
/solr/testcollection_shard1_replica_n2/update</pre></p><hr><a 
href="http://eclipse.org/jetty";>Powered by Jetty:// 9.4.11.v20180605</a><hr/>
01:16:51    [junit4]    > </body>
01:16:51    [junit4]    > </html>
01:16:51    [junit4]    >       at 
org.apache.solr.client.solrj.impl.HttpSolrClient.executeMethod(HttpSolrClient.java:607)
01:16:51    [junit4]    >       at 
org.apache.solr.client.solrj.impl.HttpSolrClient.request(HttpSolrClient.java:255)
01:16:51    [junit4]    >       at 
org.apache.solr.client.solrj.impl.HttpSolrClient.request(HttpSolrClient.java:244)
01:16:51    [junit4]    >       at 
org.apache.solr.client.solrj.impl.LBHttpSolrClient.doRequest(LBHttpSolrClient.java:484)
01:16:51    [junit4]    >       at 
org.apache.solr.client.solrj.impl.LBHttpSolrClient.request(LBHttpSolrClient.java:414)
01:16:51    [junit4]    >       at 
org.apache.solr.client.solrj.impl.CloudSolrClient.lambda$directUpdate$0(CloudSolrClient.java:528)
01:16:51    [junit4]    >       at 
java.util.concurrent.FutureTask.run(FutureTask.java:266)
01:16:51    [junit4]    >       at 
org.apache.solr.common.util.ExecutorUtil$MDCAwareThreadPoolExecutor.lambda$execute$0(ExecutorUtil.java:209)
01:16:51    [junit4]    >       at 
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
01:16:51    [junit4]    >       at 
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
01:16:51    [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: dev-unsubscr...@lucene.apache.org
For additional commands, e-mail: dev-h...@lucene.apache.org

Reply via email to