[ 
https://issues.apache.org/jira/browse/HADOOP-18043?focusedWorklogId=694907&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-694907
 ]

ASF GitHub Bot logged work on HADOOP-18043:
-------------------------------------------

                Author: ASF GitHub Bot
            Created on: 13/Dec/21 08:40
            Start Date: 13/Dec/21 08:40
    Worklog Time Spent: 10m 
      Work Description: aajisaka commented on pull request #3792:
URL: https://github.com/apache/hadoop/pull/3792#issuecomment-992230696


   Thank you @virajjasani for your review.
   
   @ayushtkn would you review this?


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


Issue Time Tracking
-------------------

    Worklog Id:     (was: 694907)
    Time Spent: 1h  (was: 50m)

> TestMultiSchemeAuthenticationHandler fails
> ------------------------------------------
>
>                 Key: HADOOP-18043
>                 URL: https://issues.apache.org/jira/browse/HADOOP-18043
>             Project: Hadoop Common
>          Issue Type: Bug
>          Components: test
>            Reporter: Akira Ajisaka
>            Assignee: Akira Ajisaka
>            Priority: Major
>              Labels: pull-request-available
>          Time Spent: 1h
>  Remaining Estimate: 0h
>
> TestMultiSchemeAuthenticationHandler fails on trunk
> {code:java}
> [INFO] Running 
> org.apache.hadoop.security.authentication.server.TestMultiSchemeAuthenticationHandler
> [ERROR] Tests run: 4, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 7.957 
> s <<< FAILURE! - in 
> org.apache.hadoop.security.authentication.server.TestMultiSchemeAuthenticationHandler
> [ERROR] 
> testRequestWithLdapAuthorization(org.apache.hadoop.security.authentication.server.TestMultiSchemeAuthenticationHandler)
>   Time elapsed: 1.663 s  <<< ERROR!
> org.apache.hadoop.security.authentication.client.AuthenticationException: 
> Error validating LDAP user
>       at 
> org.apache.hadoop.security.authentication.server.LdapAuthenticationHandler.authenticateWithoutTlsExtension(LdapAuthenticationHandler.java:310)
>       at 
> org.apache.hadoop.security.authentication.server.LdapAuthenticationHandler.authenticateUser(LdapAuthenticationHandler.java:240)
>       at 
> org.apache.hadoop.security.authentication.server.LdapAuthenticationHandler.authenticate(LdapAuthenticationHandler.java:202)
>       at 
> org.apache.hadoop.security.authentication.server.MultiSchemeAuthenticationHandler.authenticate(MultiSchemeAuthenticationHandler.java:197)
>       at 
> org.apache.hadoop.security.authentication.server.TestMultiSchemeAuthenticationHandler.testRequestWithLdapAuthorization(TestMultiSchemeAuthenticationHandler.java:161)
>       at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>       at 
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
>       at 
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>       at java.lang.reflect.Method.invoke(Method.java:498)
>       at 
> org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:59)
>       at 
> org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
>       at 
> org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:56)
>       at 
> org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
>       at 
> org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:299)
>       at 
> org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:293)
>       at java.util.concurrent.FutureTask.run(FutureTask.java:266)
>       at java.lang.Thread.run(Thread.java:748)
> Caused by: javax.naming.NamingException: LDAP connection has been closed
>       at com.sun.jndi.ldap.LdapRequest.getReplyBer(LdapRequest.java:133)
>       at com.sun.jndi.ldap.Connection.readReply(Connection.java:469)
>       at com.sun.jndi.ldap.LdapClient.ldapBind(LdapClient.java:365)
>       at com.sun.jndi.ldap.LdapClient.authenticate(LdapClient.java:214)
>       at com.sun.jndi.ldap.LdapCtx.connect(LdapCtx.java:2897)
>       at com.sun.jndi.ldap.LdapCtx.<init>(LdapCtx.java:347)
>       at 
> com.sun.jndi.ldap.LdapCtxFactory.getLdapCtxFromUrl(LdapCtxFactory.java:225)
>       at com.sun.jndi.ldap.LdapCtxFactory.getUsingURL(LdapCtxFactory.java:189)
>       at 
> com.sun.jndi.ldap.LdapCtxFactory.getUsingURLs(LdapCtxFactory.java:243)
>       at 
> com.sun.jndi.ldap.LdapCtxFactory.getLdapCtxInstance(LdapCtxFactory.java:154)
>       at 
> com.sun.jndi.ldap.LdapCtxFactory.getInitialContext(LdapCtxFactory.java:84)
>       at 
> javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:695)
>       at 
> javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:313)
>       at javax.naming.InitialContext.init(InitialContext.java:244)
>       at javax.naming.InitialContext.<init>(InitialContext.java:216)
>       at 
> javax.naming.directory.InitialDirContext.<init>(InitialDirContext.java:101)
>       at 
> org.apache.hadoop.security.authentication.server.LdapAuthenticationHandler.authenticateWithoutTlsExtension(LdapAuthenticationHandler.java:305)
>       ... 16 more {code}
>  



--
This message was sent by Atlassian Jira
(v8.20.1#820001)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to