You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Mikhail Khludnev (JIRA)" <ji...@apache.org> on 2019/07/25 09:46:00 UTC
[jira] [Commented] (SOLR-13651)
BasicAuthIntegrationTest.testBasicAuth failure caused by No contentStream
in .doEdit(SecurityConfHandler.java:103)
[ https://issues.apache.org/jira/browse/SOLR-13651?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16892599#comment-16892599 ]
Mikhail Khludnev commented on SOLR-13651:
-----------------------------------------
https://jenkins.thetaphi.de/job/Lucene-Solr-8.x-Linux/911/console
Reproduces on {{branch_8x}}
{code}
[junit4] 2> 26528 INFO (TEST-BasicAuthIntegrationTest.testBasicAuth-seed#[B292FDDCA6F4D6F2]) [ ] o.a.h.i.e.RetryExec I/O exception (org.apache.http.NoHttpResponseException) caught when processing request to {s}->https://127.0.0.1:40505: The target server failed to respond
[junit4] 2> 26528 INFO (TEST-BasicAuthIntegrationTest.testBasicAuth-seed#[B292FDDCA6F4D6F2]) [ ] o.a.h.i.e.RetryExec Retrying request to {s}->https://127.0.0.1:40505
[junit4] 2> 26588 INFO (qtp1361614499-740) [n:127.0.0.1:40505_solr ] o.a.s.s.HttpSolrCall [admin] webapp=null path=/cluster/security/authentication params={} status=0 QTime=0
[junit4] 2> 26601 ERROR (qtp1952522099-600) [n:127.0.0.1:44583_solr ] o.a.s.h.RequestHandlerBase org.apache.solr.common.SolrException: No contentStream
[junit4] 2> at org.apache.solr.handler.admin.SecurityConfHandler.doEdit(SecurityConfHandler.java:103)
[junit4] 2> at org.apache.solr.handler.admin.SecurityConfHandler.handleRequestBody(SecurityConfHandler.java:85)
[junit4] 2> at org.apache.solr.handler.RequestHandlerBase.handleRequest(RequestHandlerBase.java:199)
[junit4] 2> at org.apache.solr.api.ApiBag$ReqHandlerToApi.call(ApiBag.java:247)
[junit4] 2> at org.apache.solr.api.V2HttpCall.handleAdmin(V2HttpCall.java:341)
..
[junit4] 2> 26601 INFO (qtp1952522099-600) [n:127.0.0.1:44583_solr ] o.a.s.s.HttpSolrCall [admin] webapp=null path=/cluster/security/authentication params={wt=javabin&version=2} status=400 QTime=0
..
[junit4] FAILURE 6.82s J2 | BasicAuthIntegrationTest.testBasicAuth <<<
[junit4] > Throwable #1: java.lang.AssertionError: expected:<401> but was:<400>
[junit4] > at __randomizedtesting.SeedInfo.seed([B292FDDCA6F4D6F2:EFC8BCE02A75588]:0)
[junit4] > at org.apache.solr.security.BasicAuthIntegrationTest.testBasicAuth(BasicAuthIntegrationTest.java:151)
ant test -Dtestcase=BasicAuthIntegrationTest -Dtests.method=testBasicAuth -Dtests.seed=B292FDDCA6F4D6F2 -Dtests.multiplier=3 -Dtests.slow=true -Dtests.badapples=true -Dtests.locale=et-EE -Dtests.timezone=Pacific/Easter -Dtests.asserts=true -Dtests.file.encoding=US-ASCII
{code}
> BasicAuthIntegrationTest.testBasicAuth failure caused by No contentStream in .doEdit(SecurityConfHandler.java:103)
> ------------------------------------------------------------------------------------------------------------------
>
> Key: SOLR-13651
> URL: https://issues.apache.org/jira/browse/SOLR-13651
> Project: Solr
> Issue Type: Bug
> Security Level: Public(Default Security Level. Issues are Public)
> Components: Authentication
> Affects Versions: 8.2
> Reporter: Mikhail Khludnev
> Priority: Major
>
> Test fails on v2 auth request.
--
This message was sent by Atlassian JIRA
(v7.6.14#76016)
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org