[jira] [Commented] (SOLR-7877) TestAuthenticationFramework.testBasics to preserve/restore the original request(Username|Password)
[ https://issues.apache.org/jira/browse/SOLR-7877?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14661853#comment-14661853 ] ASF subversion and git services commented on SOLR-7877: --- Commit 1694689 from [~cpoerschke] in branch 'dev/branches/lucene_solr_5_3' [ https://svn.apache.org/r1694689 ] svn merge for revisions 1694322 and 1694333 from branch_5x (corresponding to revision 1694314 from trunk) SOLR-7877: TestAuthenticationFramework.testBasics to preserve/restore the original request(Username|Password) > TestAuthenticationFramework.testBasics to preserve/restore the original > request(Username|Password) > -- > > Key: SOLR-7877 > URL: https://issues.apache.org/jira/browse/SOLR-7877 > Project: Solr > Issue Type: Bug >Affects Versions: 5.3, Trunk >Reporter: Noble Paul >Assignee: Christine Poerschke >Priority: Blocker > > {code} > Build: http://jenkins.thetaphi.de/job/Lucene-Solr-trunk-Linux/13742/ > Java: 32bit/jdk1.8.0_60-ea-b24 -server -XX:+UseG1GC > 1 tests failed. > FAILED: > org.apache.solr.cloud.TestAuthenticationFramework.testCollectionCreateWithoutCoresThenDelete > Error Message: > Error from server at http://127.0.0.1:51573/solr: Expected mime type > application/octet-stream but got text/html.http-equiv="Content-Type" content="text/html;charset=ISO-8859-1"/> > Error 401HTTP ERROR: 401 Problem > accessing /solr/admin/collections. Reason: Unauthorized > request Powered by Jetty:// > > Stack Trace: > org.apache.solr.client.solrj.impl.HttpSolrClient$RemoteSolrException: Error > from server at http://127.0.0.1:51573/solr: Expected mime type > application/octet-stream but got text/html. > > > Error 401 > > > HTTP ERROR: 401 > Problem accessing /solr/admin/collections. Reason: > Unauthorized request > Powered by Jetty:// > > > at > __randomizedtesting.SeedInfo.seed([A454441B503006EB:17918BDA5F48D5AA]:0) > at > org.apache.solr.client.solrj.impl.HttpSolrClient.executeMethod(HttpSolrClient.java:528) > at > org.apache.solr.client.solrj.impl.HttpSolrClient.request(HttpSolrClient.java:234) > at > org.apache.solr.client.solrj.impl.HttpSolrClient.request(HttpSolrClient.java:226) > at > org.apache.solr.client.solrj.impl.LBHttpSolrClient.doRequest(LBHttpSolrClient.java:376) > at > org.apache.solr.client.solrj.impl.LBHttpSolrClient.request(LBHttpSolrClient.java:328) > at > org.apache.solr.client.solrj.impl.CloudSolrClient.sendRequest(CloudSolrClient.java:1086) > at > org.apache.solr.client.solrj.impl.CloudSolrClient.requestWithRetryOnStaleState(CloudSolrClient.java:856) > at > org.apache.solr.client.solrj.impl.CloudSolrClient.request(CloudSolrClient.java:799) > at > org.apache.solr.client.solrj.SolrClient.request(SolrClient.java:1220) > at > org.apache.solr.cloud.MiniSolrCloudCluster.makeCollectionsRequest(MiniSolrCloudCluster.java:349) > at > org.apache.solr.cloud.MiniSolrCloudCluster.createCollection(MiniSolrCloudCluster.java:333) > at > org.apache.solr.cloud.TestMiniSolrCloudCluster.createCollection(TestMiniSolrCloudCluster.java:115) > at > org.apache.solr.cloud.TestMiniSolrCloudCluster.testCollectionCreateWithoutCoresThenDelete(TestMiniSolrCloudCluster.java:298) > {code} -- This message was sent by Atlassian JIRA (v6.3.4#6332) - To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org For additional commands, e-mail: dev-h...@lucene.apache.org
[jira] [Commented] (SOLR-7877) TestAuthenticationFramework.testBasics to preserve/restore the original request(Username|Password)
[ https://issues.apache.org/jira/browse/SOLR-7877?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14661264#comment-14661264 ] Noble Paul commented on SOLR-7877: -- sure, I'll remove that patch. It is committed to trunk, branch_5x already > TestAuthenticationFramework.testBasics to preserve/restore the original > request(Username|Password) > -- > > Key: SOLR-7877 > URL: https://issues.apache.org/jira/browse/SOLR-7877 > Project: Solr > Issue Type: Bug >Affects Versions: 5.3, Trunk >Reporter: Noble Paul >Assignee: Christine Poerschke >Priority: Blocker > > {code} > Build: http://jenkins.thetaphi.de/job/Lucene-Solr-trunk-Linux/13742/ > Java: 32bit/jdk1.8.0_60-ea-b24 -server -XX:+UseG1GC > 1 tests failed. > FAILED: > org.apache.solr.cloud.TestAuthenticationFramework.testCollectionCreateWithoutCoresThenDelete > Error Message: > Error from server at http://127.0.0.1:51573/solr: Expected mime type > application/octet-stream but got text/html.http-equiv="Content-Type" content="text/html;charset=ISO-8859-1"/> > Error 401HTTP ERROR: 401 Problem > accessing /solr/admin/collections. Reason: Unauthorized > request Powered by Jetty:// > > Stack Trace: > org.apache.solr.client.solrj.impl.HttpSolrClient$RemoteSolrException: Error > from server at http://127.0.0.1:51573/solr: Expected mime type > application/octet-stream but got text/html. > > > Error 401 > > > HTTP ERROR: 401 > Problem accessing /solr/admin/collections. Reason: > Unauthorized request > Powered by Jetty:// > > > at > __randomizedtesting.SeedInfo.seed([A454441B503006EB:17918BDA5F48D5AA]:0) > at > org.apache.solr.client.solrj.impl.HttpSolrClient.executeMethod(HttpSolrClient.java:528) > at > org.apache.solr.client.solrj.impl.HttpSolrClient.request(HttpSolrClient.java:234) > at > org.apache.solr.client.solrj.impl.HttpSolrClient.request(HttpSolrClient.java:226) > at > org.apache.solr.client.solrj.impl.LBHttpSolrClient.doRequest(LBHttpSolrClient.java:376) > at > org.apache.solr.client.solrj.impl.LBHttpSolrClient.request(LBHttpSolrClient.java:328) > at > org.apache.solr.client.solrj.impl.CloudSolrClient.sendRequest(CloudSolrClient.java:1086) > at > org.apache.solr.client.solrj.impl.CloudSolrClient.requestWithRetryOnStaleState(CloudSolrClient.java:856) > at > org.apache.solr.client.solrj.impl.CloudSolrClient.request(CloudSolrClient.java:799) > at > org.apache.solr.client.solrj.SolrClient.request(SolrClient.java:1220) > at > org.apache.solr.cloud.MiniSolrCloudCluster.makeCollectionsRequest(MiniSolrCloudCluster.java:349) > at > org.apache.solr.cloud.MiniSolrCloudCluster.createCollection(MiniSolrCloudCluster.java:333) > at > org.apache.solr.cloud.TestMiniSolrCloudCluster.createCollection(TestMiniSolrCloudCluster.java:115) > at > org.apache.solr.cloud.TestMiniSolrCloudCluster.testCollectionCreateWithoutCoresThenDelete(TestMiniSolrCloudCluster.java:298) > {code} -- This message was sent by Atlassian JIRA (v6.3.4#6332) - To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org For additional commands, e-mail: dev-h...@lucene.apache.org
[jira] [Commented] (SOLR-7877) TestAuthenticationFramework.testBasics to preserve/restore the original request(Username|Password)
[ https://issues.apache.org/jira/browse/SOLR-7877?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14660818#comment-14660818 ] Christine Poerschke commented on SOLR-7877: --- to do still (tomorrow/Friday morning London time): merge {{branch_5x}} (or should it be {{trunk}}?) commit to {{branches/lucene_solr_5_3}} > TestAuthenticationFramework.testBasics to preserve/restore the original > request(Username|Password) > -- > > Key: SOLR-7877 > URL: https://issues.apache.org/jira/browse/SOLR-7877 > Project: Solr > Issue Type: Bug >Affects Versions: 5.3, Trunk >Reporter: Noble Paul >Assignee: Christine Poerschke >Priority: Blocker > Attachments: SOLR-7877.patch > > > {code} > Build: http://jenkins.thetaphi.de/job/Lucene-Solr-trunk-Linux/13742/ > Java: 32bit/jdk1.8.0_60-ea-b24 -server -XX:+UseG1GC > 1 tests failed. > FAILED: > org.apache.solr.cloud.TestAuthenticationFramework.testCollectionCreateWithoutCoresThenDelete > Error Message: > Error from server at http://127.0.0.1:51573/solr: Expected mime type > application/octet-stream but got text/html.http-equiv="Content-Type" content="text/html;charset=ISO-8859-1"/> > Error 401HTTP ERROR: 401 Problem > accessing /solr/admin/collections. Reason: Unauthorized > request Powered by Jetty:// > > Stack Trace: > org.apache.solr.client.solrj.impl.HttpSolrClient$RemoteSolrException: Error > from server at http://127.0.0.1:51573/solr: Expected mime type > application/octet-stream but got text/html. > > > Error 401 > > > HTTP ERROR: 401 > Problem accessing /solr/admin/collections. Reason: > Unauthorized request > Powered by Jetty:// > > > at > __randomizedtesting.SeedInfo.seed([A454441B503006EB:17918BDA5F48D5AA]:0) > at > org.apache.solr.client.solrj.impl.HttpSolrClient.executeMethod(HttpSolrClient.java:528) > at > org.apache.solr.client.solrj.impl.HttpSolrClient.request(HttpSolrClient.java:234) > at > org.apache.solr.client.solrj.impl.HttpSolrClient.request(HttpSolrClient.java:226) > at > org.apache.solr.client.solrj.impl.LBHttpSolrClient.doRequest(LBHttpSolrClient.java:376) > at > org.apache.solr.client.solrj.impl.LBHttpSolrClient.request(LBHttpSolrClient.java:328) > at > org.apache.solr.client.solrj.impl.CloudSolrClient.sendRequest(CloudSolrClient.java:1086) > at > org.apache.solr.client.solrj.impl.CloudSolrClient.requestWithRetryOnStaleState(CloudSolrClient.java:856) > at > org.apache.solr.client.solrj.impl.CloudSolrClient.request(CloudSolrClient.java:799) > at > org.apache.solr.client.solrj.SolrClient.request(SolrClient.java:1220) > at > org.apache.solr.cloud.MiniSolrCloudCluster.makeCollectionsRequest(MiniSolrCloudCluster.java:349) > at > org.apache.solr.cloud.MiniSolrCloudCluster.createCollection(MiniSolrCloudCluster.java:333) > at > org.apache.solr.cloud.TestMiniSolrCloudCluster.createCollection(TestMiniSolrCloudCluster.java:115) > at > org.apache.solr.cloud.TestMiniSolrCloudCluster.testCollectionCreateWithoutCoresThenDelete(TestMiniSolrCloudCluster.java:298) > {code} -- This message was sent by Atlassian JIRA (v6.3.4#6332) - To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org For additional commands, e-mail: dev-h...@lucene.apache.org
[jira] [Commented] (SOLR-7877) TestAuthenticationFramework.testBasics to preserve/restore the original request(Username|Password)
[ https://issues.apache.org/jira/browse/SOLR-7877?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14660815#comment-14660815 ] Christine Poerschke commented on SOLR-7877: --- Hi [~noble.paul] - thanks for your comments and patch. I just created SOLR-7886 for the refactoring discussion and efforts. If it's possible, could i suggest transferring the patch attachment to that JIRA ticket (and removing it from this JIRA ticket to avoid confusion between the changes already committed for this JIRA as per above and the currently attached, subsequent, separate patch)? My reason for not yet resolving this ticket here is that the merge to {{branches/lucene_solr_5_3}} is yet to happen, i will do that tomorrow/Friday morning London time if that's okay. Thank you. - Christine > TestAuthenticationFramework.testBasics to preserve/restore the original > request(Username|Password) > -- > > Key: SOLR-7877 > URL: https://issues.apache.org/jira/browse/SOLR-7877 > Project: Solr > Issue Type: Bug >Affects Versions: 5.3, Trunk >Reporter: Noble Paul >Assignee: Christine Poerschke >Priority: Blocker > Attachments: SOLR-7877.patch > > > {code} > Build: http://jenkins.thetaphi.de/job/Lucene-Solr-trunk-Linux/13742/ > Java: 32bit/jdk1.8.0_60-ea-b24 -server -XX:+UseG1GC > 1 tests failed. > FAILED: > org.apache.solr.cloud.TestAuthenticationFramework.testCollectionCreateWithoutCoresThenDelete > Error Message: > Error from server at http://127.0.0.1:51573/solr: Expected mime type > application/octet-stream but got text/html.http-equiv="Content-Type" content="text/html;charset=ISO-8859-1"/> > Error 401HTTP ERROR: 401 Problem > accessing /solr/admin/collections. Reason: Unauthorized > request Powered by Jetty:// > > Stack Trace: > org.apache.solr.client.solrj.impl.HttpSolrClient$RemoteSolrException: Error > from server at http://127.0.0.1:51573/solr: Expected mime type > application/octet-stream but got text/html. > > > Error 401 > > > HTTP ERROR: 401 > Problem accessing /solr/admin/collections. Reason: > Unauthorized request > Powered by Jetty:// > > > at > __randomizedtesting.SeedInfo.seed([A454441B503006EB:17918BDA5F48D5AA]:0) > at > org.apache.solr.client.solrj.impl.HttpSolrClient.executeMethod(HttpSolrClient.java:528) > at > org.apache.solr.client.solrj.impl.HttpSolrClient.request(HttpSolrClient.java:234) > at > org.apache.solr.client.solrj.impl.HttpSolrClient.request(HttpSolrClient.java:226) > at > org.apache.solr.client.solrj.impl.LBHttpSolrClient.doRequest(LBHttpSolrClient.java:376) > at > org.apache.solr.client.solrj.impl.LBHttpSolrClient.request(LBHttpSolrClient.java:328) > at > org.apache.solr.client.solrj.impl.CloudSolrClient.sendRequest(CloudSolrClient.java:1086) > at > org.apache.solr.client.solrj.impl.CloudSolrClient.requestWithRetryOnStaleState(CloudSolrClient.java:856) > at > org.apache.solr.client.solrj.impl.CloudSolrClient.request(CloudSolrClient.java:799) > at > org.apache.solr.client.solrj.SolrClient.request(SolrClient.java:1220) > at > org.apache.solr.cloud.MiniSolrCloudCluster.makeCollectionsRequest(MiniSolrCloudCluster.java:349) > at > org.apache.solr.cloud.MiniSolrCloudCluster.createCollection(MiniSolrCloudCluster.java:333) > at > org.apache.solr.cloud.TestMiniSolrCloudCluster.createCollection(TestMiniSolrCloudCluster.java:115) > at > org.apache.solr.cloud.TestMiniSolrCloudCluster.testCollectionCreateWithoutCoresThenDelete(TestMiniSolrCloudCluster.java:298) > {code} -- This message was sent by Atlassian JIRA (v6.3.4#6332) - To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org For additional commands, e-mail: dev-h...@lucene.apache.org
[jira] [Commented] (SOLR-7877) TestAuthenticationFramework.testBasics to preserve/restore the original request(Username|Password)
[ https://issues.apache.org/jira/browse/SOLR-7877?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14660799#comment-14660799 ] Christine Poerschke commented on SOLR-7877: --- +1 for refactoring {{TestMiniSolrCloudCluster}} - just created SOLR-7886 for it. > TestAuthenticationFramework.testBasics to preserve/restore the original > request(Username|Password) > -- > > Key: SOLR-7877 > URL: https://issues.apache.org/jira/browse/SOLR-7877 > Project: Solr > Issue Type: Bug >Affects Versions: 5.3, Trunk >Reporter: Noble Paul >Assignee: Christine Poerschke >Priority: Blocker > Attachments: SOLR-7877.patch > > > {code} > Build: http://jenkins.thetaphi.de/job/Lucene-Solr-trunk-Linux/13742/ > Java: 32bit/jdk1.8.0_60-ea-b24 -server -XX:+UseG1GC > 1 tests failed. > FAILED: > org.apache.solr.cloud.TestAuthenticationFramework.testCollectionCreateWithoutCoresThenDelete > Error Message: > Error from server at http://127.0.0.1:51573/solr: Expected mime type > application/octet-stream but got text/html.http-equiv="Content-Type" content="text/html;charset=ISO-8859-1"/> > Error 401HTTP ERROR: 401 Problem > accessing /solr/admin/collections. Reason: Unauthorized > request Powered by Jetty:// > > Stack Trace: > org.apache.solr.client.solrj.impl.HttpSolrClient$RemoteSolrException: Error > from server at http://127.0.0.1:51573/solr: Expected mime type > application/octet-stream but got text/html. > > > Error 401 > > > HTTP ERROR: 401 > Problem accessing /solr/admin/collections. Reason: > Unauthorized request > Powered by Jetty:// > > > at > __randomizedtesting.SeedInfo.seed([A454441B503006EB:17918BDA5F48D5AA]:0) > at > org.apache.solr.client.solrj.impl.HttpSolrClient.executeMethod(HttpSolrClient.java:528) > at > org.apache.solr.client.solrj.impl.HttpSolrClient.request(HttpSolrClient.java:234) > at > org.apache.solr.client.solrj.impl.HttpSolrClient.request(HttpSolrClient.java:226) > at > org.apache.solr.client.solrj.impl.LBHttpSolrClient.doRequest(LBHttpSolrClient.java:376) > at > org.apache.solr.client.solrj.impl.LBHttpSolrClient.request(LBHttpSolrClient.java:328) > at > org.apache.solr.client.solrj.impl.CloudSolrClient.sendRequest(CloudSolrClient.java:1086) > at > org.apache.solr.client.solrj.impl.CloudSolrClient.requestWithRetryOnStaleState(CloudSolrClient.java:856) > at > org.apache.solr.client.solrj.impl.CloudSolrClient.request(CloudSolrClient.java:799) > at > org.apache.solr.client.solrj.SolrClient.request(SolrClient.java:1220) > at > org.apache.solr.cloud.MiniSolrCloudCluster.makeCollectionsRequest(MiniSolrCloudCluster.java:349) > at > org.apache.solr.cloud.MiniSolrCloudCluster.createCollection(MiniSolrCloudCluster.java:333) > at > org.apache.solr.cloud.TestMiniSolrCloudCluster.createCollection(TestMiniSolrCloudCluster.java:115) > at > org.apache.solr.cloud.TestMiniSolrCloudCluster.testCollectionCreateWithoutCoresThenDelete(TestMiniSolrCloudCluster.java:298) > {code} -- This message was sent by Atlassian JIRA (v6.3.4#6332) - To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org For additional commands, e-mail: dev-h...@lucene.apache.org
[jira] [Commented] (SOLR-7877) TestAuthenticationFramework.testBasics to preserve/restore the original request(Username|Password)
[ https://issues.apache.org/jira/browse/SOLR-7877?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14660786#comment-14660786 ] Ramkumar Aiyengar commented on SOLR-7877: - I agree, I think in general, deriving tests is a bad idea. I once pulled out `test` virtual method for this very reason from AbstractZkTestCase.. If many tests extend a particular test suite, then they should be changed to not do it. > TestAuthenticationFramework.testBasics to preserve/restore the original > request(Username|Password) > -- > > Key: SOLR-7877 > URL: https://issues.apache.org/jira/browse/SOLR-7877 > Project: Solr > Issue Type: Bug >Affects Versions: 5.3, Trunk >Reporter: Noble Paul >Assignee: Christine Poerschke >Priority: Blocker > Attachments: SOLR-7877.patch > > > {code} > Build: http://jenkins.thetaphi.de/job/Lucene-Solr-trunk-Linux/13742/ > Java: 32bit/jdk1.8.0_60-ea-b24 -server -XX:+UseG1GC > 1 tests failed. > FAILED: > org.apache.solr.cloud.TestAuthenticationFramework.testCollectionCreateWithoutCoresThenDelete > Error Message: > Error from server at http://127.0.0.1:51573/solr: Expected mime type > application/octet-stream but got text/html.http-equiv="Content-Type" content="text/html;charset=ISO-8859-1"/> > Error 401HTTP ERROR: 401 Problem > accessing /solr/admin/collections. Reason: Unauthorized > request Powered by Jetty:// > > Stack Trace: > org.apache.solr.client.solrj.impl.HttpSolrClient$RemoteSolrException: Error > from server at http://127.0.0.1:51573/solr: Expected mime type > application/octet-stream but got text/html. > > > Error 401 > > > HTTP ERROR: 401 > Problem accessing /solr/admin/collections. Reason: > Unauthorized request > Powered by Jetty:// > > > at > __randomizedtesting.SeedInfo.seed([A454441B503006EB:17918BDA5F48D5AA]:0) > at > org.apache.solr.client.solrj.impl.HttpSolrClient.executeMethod(HttpSolrClient.java:528) > at > org.apache.solr.client.solrj.impl.HttpSolrClient.request(HttpSolrClient.java:234) > at > org.apache.solr.client.solrj.impl.HttpSolrClient.request(HttpSolrClient.java:226) > at > org.apache.solr.client.solrj.impl.LBHttpSolrClient.doRequest(LBHttpSolrClient.java:376) > at > org.apache.solr.client.solrj.impl.LBHttpSolrClient.request(LBHttpSolrClient.java:328) > at > org.apache.solr.client.solrj.impl.CloudSolrClient.sendRequest(CloudSolrClient.java:1086) > at > org.apache.solr.client.solrj.impl.CloudSolrClient.requestWithRetryOnStaleState(CloudSolrClient.java:856) > at > org.apache.solr.client.solrj.impl.CloudSolrClient.request(CloudSolrClient.java:799) > at > org.apache.solr.client.solrj.SolrClient.request(SolrClient.java:1220) > at > org.apache.solr.cloud.MiniSolrCloudCluster.makeCollectionsRequest(MiniSolrCloudCluster.java:349) > at > org.apache.solr.cloud.MiniSolrCloudCluster.createCollection(MiniSolrCloudCluster.java:333) > at > org.apache.solr.cloud.TestMiniSolrCloudCluster.createCollection(TestMiniSolrCloudCluster.java:115) > at > org.apache.solr.cloud.TestMiniSolrCloudCluster.testCollectionCreateWithoutCoresThenDelete(TestMiniSolrCloudCluster.java:298) > {code} -- This message was sent by Atlassian JIRA (v6.3.4#6332) - To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org For additional commands, e-mail: dev-h...@lucene.apache.org
[jira] [Commented] (SOLR-7877) TestAuthenticationFramework.testBasics to preserve/restore the original request(Username|Password)
[ https://issues.apache.org/jira/browse/SOLR-7877?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14660761#comment-14660761 ] Gregory Chanan commented on SOLR-7877: -- bq. Can we move that test out of TestMiniSolrCloudCluster . So many tests extend that and this will lead to many errors in the future as well. +1. One of the main motivations for the MiniSolrCloudCluster was that people could use it in a has-a manner (i.e. as a variable in the test) rather than as an is-a manner (i.e. deriving from some complicated test base). Demonstrating that was the motivation behind writing the TestMiniSolrCloudCluster (i.e. that you could have a SolrCloud test that exists outside of the SolrTest framework). It looks like folks find it useful to have it available in an is-a manner; that's fine, but deriving from a class that has actual test methods sounds like a bad idea. Maybe we should write a TestMiniSolrCloudClusterBase that has no test methods and convert all the tests that derive from TestMiniSolrCloudCluster to use that. > TestAuthenticationFramework.testBasics to preserve/restore the original > request(Username|Password) > -- > > Key: SOLR-7877 > URL: https://issues.apache.org/jira/browse/SOLR-7877 > Project: Solr > Issue Type: Bug >Affects Versions: 5.3, Trunk >Reporter: Noble Paul >Assignee: Christine Poerschke >Priority: Blocker > Attachments: SOLR-7877.patch > > > {code} > Build: http://jenkins.thetaphi.de/job/Lucene-Solr-trunk-Linux/13742/ > Java: 32bit/jdk1.8.0_60-ea-b24 -server -XX:+UseG1GC > 1 tests failed. > FAILED: > org.apache.solr.cloud.TestAuthenticationFramework.testCollectionCreateWithoutCoresThenDelete > Error Message: > Error from server at http://127.0.0.1:51573/solr: Expected mime type > application/octet-stream but got text/html.http-equiv="Content-Type" content="text/html;charset=ISO-8859-1"/> > Error 401HTTP ERROR: 401 Problem > accessing /solr/admin/collections. Reason: Unauthorized > request Powered by Jetty:// > > Stack Trace: > org.apache.solr.client.solrj.impl.HttpSolrClient$RemoteSolrException: Error > from server at http://127.0.0.1:51573/solr: Expected mime type > application/octet-stream but got text/html. > > > Error 401 > > > HTTP ERROR: 401 > Problem accessing /solr/admin/collections. Reason: > Unauthorized request > Powered by Jetty:// > > > at > __randomizedtesting.SeedInfo.seed([A454441B503006EB:17918BDA5F48D5AA]:0) > at > org.apache.solr.client.solrj.impl.HttpSolrClient.executeMethod(HttpSolrClient.java:528) > at > org.apache.solr.client.solrj.impl.HttpSolrClient.request(HttpSolrClient.java:234) > at > org.apache.solr.client.solrj.impl.HttpSolrClient.request(HttpSolrClient.java:226) > at > org.apache.solr.client.solrj.impl.LBHttpSolrClient.doRequest(LBHttpSolrClient.java:376) > at > org.apache.solr.client.solrj.impl.LBHttpSolrClient.request(LBHttpSolrClient.java:328) > at > org.apache.solr.client.solrj.impl.CloudSolrClient.sendRequest(CloudSolrClient.java:1086) > at > org.apache.solr.client.solrj.impl.CloudSolrClient.requestWithRetryOnStaleState(CloudSolrClient.java:856) > at > org.apache.solr.client.solrj.impl.CloudSolrClient.request(CloudSolrClient.java:799) > at > org.apache.solr.client.solrj.SolrClient.request(SolrClient.java:1220) > at > org.apache.solr.cloud.MiniSolrCloudCluster.makeCollectionsRequest(MiniSolrCloudCluster.java:349) > at > org.apache.solr.cloud.MiniSolrCloudCluster.createCollection(MiniSolrCloudCluster.java:333) > at > org.apache.solr.cloud.TestMiniSolrCloudCluster.createCollection(TestMiniSolrCloudCluster.java:115) > at > org.apache.solr.cloud.TestMiniSolrCloudCluster.testCollectionCreateWithoutCoresThenDelete(TestMiniSolrCloudCluster.java:298) > {code} -- This message was sent by Atlassian JIRA (v6.3.4#6332) - To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org For additional commands, e-mail: dev-h...@lucene.apache.org
[jira] [Commented] (SOLR-7877) TestAuthenticationFramework.testBasics to preserve/restore the original request(Username|Password)
[ https://issues.apache.org/jira/browse/SOLR-7877?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14660246#comment-14660246 ] Noble Paul commented on SOLR-7877: -- Can we move that test out of {{TestMiniSolrCloudCluster}} . So many tests extend that and this will lead to many errors in the future as well > TestAuthenticationFramework.testBasics to preserve/restore the original > request(Username|Password) > -- > > Key: SOLR-7877 > URL: https://issues.apache.org/jira/browse/SOLR-7877 > Project: Solr > Issue Type: Bug >Affects Versions: 5.3, Trunk >Reporter: Noble Paul >Assignee: Christine Poerschke >Priority: Blocker > > {code} > Build: http://jenkins.thetaphi.de/job/Lucene-Solr-trunk-Linux/13742/ > Java: 32bit/jdk1.8.0_60-ea-b24 -server -XX:+UseG1GC > 1 tests failed. > FAILED: > org.apache.solr.cloud.TestAuthenticationFramework.testCollectionCreateWithoutCoresThenDelete > Error Message: > Error from server at http://127.0.0.1:51573/solr: Expected mime type > application/octet-stream but got text/html.http-equiv="Content-Type" content="text/html;charset=ISO-8859-1"/> > Error 401HTTP ERROR: 401 Problem > accessing /solr/admin/collections. Reason: Unauthorized > request Powered by Jetty:// > > Stack Trace: > org.apache.solr.client.solrj.impl.HttpSolrClient$RemoteSolrException: Error > from server at http://127.0.0.1:51573/solr: Expected mime type > application/octet-stream but got text/html. > > > Error 401 > > > HTTP ERROR: 401 > Problem accessing /solr/admin/collections. Reason: > Unauthorized request > Powered by Jetty:// > > > at > __randomizedtesting.SeedInfo.seed([A454441B503006EB:17918BDA5F48D5AA]:0) > at > org.apache.solr.client.solrj.impl.HttpSolrClient.executeMethod(HttpSolrClient.java:528) > at > org.apache.solr.client.solrj.impl.HttpSolrClient.request(HttpSolrClient.java:234) > at > org.apache.solr.client.solrj.impl.HttpSolrClient.request(HttpSolrClient.java:226) > at > org.apache.solr.client.solrj.impl.LBHttpSolrClient.doRequest(LBHttpSolrClient.java:376) > at > org.apache.solr.client.solrj.impl.LBHttpSolrClient.request(LBHttpSolrClient.java:328) > at > org.apache.solr.client.solrj.impl.CloudSolrClient.sendRequest(CloudSolrClient.java:1086) > at > org.apache.solr.client.solrj.impl.CloudSolrClient.requestWithRetryOnStaleState(CloudSolrClient.java:856) > at > org.apache.solr.client.solrj.impl.CloudSolrClient.request(CloudSolrClient.java:799) > at > org.apache.solr.client.solrj.SolrClient.request(SolrClient.java:1220) > at > org.apache.solr.cloud.MiniSolrCloudCluster.makeCollectionsRequest(MiniSolrCloudCluster.java:349) > at > org.apache.solr.cloud.MiniSolrCloudCluster.createCollection(MiniSolrCloudCluster.java:333) > at > org.apache.solr.cloud.TestMiniSolrCloudCluster.createCollection(TestMiniSolrCloudCluster.java:115) > at > org.apache.solr.cloud.TestMiniSolrCloudCluster.testCollectionCreateWithoutCoresThenDelete(TestMiniSolrCloudCluster.java:298) > {code} -- This message was sent by Atlassian JIRA (v6.3.4#6332) - To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org For additional commands, e-mail: dev-h...@lucene.apache.org
[jira] [Commented] (SOLR-7877) TestAuthenticationFramework.testBasics to preserve/restore the original request(Username|Password)
[ https://issues.apache.org/jira/browse/SOLR-7877?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14658973#comment-14658973 ] ASF subversion and git services commented on SOLR-7877: --- Commit 1694333 from [~cpoerschke] in branch 'dev/branches/branch_5x' [ https://svn.apache.org/r1694333 ] SOLR-7877: TestAuthenticationFramework.testBasics to preserve/restore the original request(Username|Password) - svn r1694322 missed out the svn:mergeinfo for branch_5x itself, oops, sorry. > TestAuthenticationFramework.testBasics to preserve/restore the original > request(Username|Password) > -- > > Key: SOLR-7877 > URL: https://issues.apache.org/jira/browse/SOLR-7877 > Project: Solr > Issue Type: Bug >Affects Versions: 5.3, Trunk >Reporter: Noble Paul >Assignee: Christine Poerschke >Priority: Blocker > > {code} > Build: http://jenkins.thetaphi.de/job/Lucene-Solr-trunk-Linux/13742/ > Java: 32bit/jdk1.8.0_60-ea-b24 -server -XX:+UseG1GC > 1 tests failed. > FAILED: > org.apache.solr.cloud.TestAuthenticationFramework.testCollectionCreateWithoutCoresThenDelete > Error Message: > Error from server at http://127.0.0.1:51573/solr: Expected mime type > application/octet-stream but got text/html.http-equiv="Content-Type" content="text/html;charset=ISO-8859-1"/> > Error 401HTTP ERROR: 401 Problem > accessing /solr/admin/collections. Reason: Unauthorized > request Powered by Jetty:// > > Stack Trace: > org.apache.solr.client.solrj.impl.HttpSolrClient$RemoteSolrException: Error > from server at http://127.0.0.1:51573/solr: Expected mime type > application/octet-stream but got text/html. > > > Error 401 > > > HTTP ERROR: 401 > Problem accessing /solr/admin/collections. Reason: > Unauthorized request > Powered by Jetty:// > > > at > __randomizedtesting.SeedInfo.seed([A454441B503006EB:17918BDA5F48D5AA]:0) > at > org.apache.solr.client.solrj.impl.HttpSolrClient.executeMethod(HttpSolrClient.java:528) > at > org.apache.solr.client.solrj.impl.HttpSolrClient.request(HttpSolrClient.java:234) > at > org.apache.solr.client.solrj.impl.HttpSolrClient.request(HttpSolrClient.java:226) > at > org.apache.solr.client.solrj.impl.LBHttpSolrClient.doRequest(LBHttpSolrClient.java:376) > at > org.apache.solr.client.solrj.impl.LBHttpSolrClient.request(LBHttpSolrClient.java:328) > at > org.apache.solr.client.solrj.impl.CloudSolrClient.sendRequest(CloudSolrClient.java:1086) > at > org.apache.solr.client.solrj.impl.CloudSolrClient.requestWithRetryOnStaleState(CloudSolrClient.java:856) > at > org.apache.solr.client.solrj.impl.CloudSolrClient.request(CloudSolrClient.java:799) > at > org.apache.solr.client.solrj.SolrClient.request(SolrClient.java:1220) > at > org.apache.solr.cloud.MiniSolrCloudCluster.makeCollectionsRequest(MiniSolrCloudCluster.java:349) > at > org.apache.solr.cloud.MiniSolrCloudCluster.createCollection(MiniSolrCloudCluster.java:333) > at > org.apache.solr.cloud.TestMiniSolrCloudCluster.createCollection(TestMiniSolrCloudCluster.java:115) > at > org.apache.solr.cloud.TestMiniSolrCloudCluster.testCollectionCreateWithoutCoresThenDelete(TestMiniSolrCloudCluster.java:298) > {code} -- This message was sent by Atlassian JIRA (v6.3.4#6332) - To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org For additional commands, e-mail: dev-h...@lucene.apache.org
[jira] [Commented] (SOLR-7877) TestAuthenticationFramework.testBasics to preserve/restore the original request(Username|Password)
[ https://issues.apache.org/jira/browse/SOLR-7877?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14658879#comment-14658879 ] ASF subversion and git services commented on SOLR-7877: --- Commit 1694322 from [~cpoerschke] in branch 'dev/branches/branch_5x' [ https://svn.apache.org/r1694322 ] SOLR-7877: TestAuthenticationFramework.testBasics to preserve/restore the original request(Username|Password) > TestAuthenticationFramework.testBasics to preserve/restore the original > request(Username|Password) > -- > > Key: SOLR-7877 > URL: https://issues.apache.org/jira/browse/SOLR-7877 > Project: Solr > Issue Type: Bug >Affects Versions: 5.3, Trunk >Reporter: Noble Paul >Assignee: Christine Poerschke >Priority: Blocker > > {code} > Build: http://jenkins.thetaphi.de/job/Lucene-Solr-trunk-Linux/13742/ > Java: 32bit/jdk1.8.0_60-ea-b24 -server -XX:+UseG1GC > 1 tests failed. > FAILED: > org.apache.solr.cloud.TestAuthenticationFramework.testCollectionCreateWithoutCoresThenDelete > Error Message: > Error from server at http://127.0.0.1:51573/solr: Expected mime type > application/octet-stream but got text/html.http-equiv="Content-Type" content="text/html;charset=ISO-8859-1"/> > Error 401HTTP ERROR: 401 Problem > accessing /solr/admin/collections. Reason: Unauthorized > request Powered by Jetty:// > > Stack Trace: > org.apache.solr.client.solrj.impl.HttpSolrClient$RemoteSolrException: Error > from server at http://127.0.0.1:51573/solr: Expected mime type > application/octet-stream but got text/html. > > > Error 401 > > > HTTP ERROR: 401 > Problem accessing /solr/admin/collections. Reason: > Unauthorized request > Powered by Jetty:// > > > at > __randomizedtesting.SeedInfo.seed([A454441B503006EB:17918BDA5F48D5AA]:0) > at > org.apache.solr.client.solrj.impl.HttpSolrClient.executeMethod(HttpSolrClient.java:528) > at > org.apache.solr.client.solrj.impl.HttpSolrClient.request(HttpSolrClient.java:234) > at > org.apache.solr.client.solrj.impl.HttpSolrClient.request(HttpSolrClient.java:226) > at > org.apache.solr.client.solrj.impl.LBHttpSolrClient.doRequest(LBHttpSolrClient.java:376) > at > org.apache.solr.client.solrj.impl.LBHttpSolrClient.request(LBHttpSolrClient.java:328) > at > org.apache.solr.client.solrj.impl.CloudSolrClient.sendRequest(CloudSolrClient.java:1086) > at > org.apache.solr.client.solrj.impl.CloudSolrClient.requestWithRetryOnStaleState(CloudSolrClient.java:856) > at > org.apache.solr.client.solrj.impl.CloudSolrClient.request(CloudSolrClient.java:799) > at > org.apache.solr.client.solrj.SolrClient.request(SolrClient.java:1220) > at > org.apache.solr.cloud.MiniSolrCloudCluster.makeCollectionsRequest(MiniSolrCloudCluster.java:349) > at > org.apache.solr.cloud.MiniSolrCloudCluster.createCollection(MiniSolrCloudCluster.java:333) > at > org.apache.solr.cloud.TestMiniSolrCloudCluster.createCollection(TestMiniSolrCloudCluster.java:115) > at > org.apache.solr.cloud.TestMiniSolrCloudCluster.testCollectionCreateWithoutCoresThenDelete(TestMiniSolrCloudCluster.java:298) > {code} -- This message was sent by Atlassian JIRA (v6.3.4#6332) - To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org For additional commands, e-mail: dev-h...@lucene.apache.org