Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-34426

Changing project-based settings for AD-Groups shows error

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Reopened (View Workflow)
    • Priority: Critical
    • Resolution: Unresolved
    • Labels:
      None
    • Environment:
      Windows 2012 Server
      Jenkins ver. 1.656
      Active Directory plugin ver. 1.44
    • Similar Issues:

      Description

      After upgrading Active Directory plugin ver. 1.43 to 1.44 we get a message "Failed to test the validity of the user name ..." on project based matrix settings, because our LDAP users and groups cannot be verified anymore.
      We have an AD-Setup with an entered domain only (in v1.43 this was enough) and the "Test" button returns "success"

      Do we have to configure something elses after the latest release?

      hudson.plugins.active_directory.CacheAuthenticationException: Authentication failed caching user <here the user/group>; nested exception is com.google.common.util.concurrent.UncheckedExecutionException: java.lang.IllegalStateException: Recursive load
      	at hudson.plugins.active_directory.ActiveDirectoryUnixAuthenticationProvider.retrieveUser(ActiveDirectoryUnixAuthenticationProvider.java:194)
      	at hudson.plugins.active_directory.AbstractActiveDirectoryAuthenticationProvider.loadUserByUsername(AbstractActiveDirectoryAuthenticationProvider.java:54)
      	at hudson.plugins.active_directory.ActiveDirectorySecurityRealm.loadUserByUsername(ActiveDirectorySecurityRealm.java:731)
      	at hudson.security.GlobalMatrixAuthorizationStrategy$DescriptorImpl.doCheckName_(GlobalMatrixAuthorizationStrategy.java:336)
      	at hudson.security.GlobalMatrixAuthorizationStrategy$DescriptorImpl.doCheckName(GlobalMatrixAuthorizationStrategy.java:314)
      	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
      	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      	at java.lang.reflect.Method.invoke(Method.java:606)
      	at org.kohsuke.stapler.Function$InstanceFunction.invoke(Function.java:320)
      	at org.kohsuke.stapler.Function.bindAndInvoke(Function.java:163)
      	at org.kohsuke.stapler.Function.bindAndInvokeAndServeResponse(Function.java:96)
      	at org.kohsuke.stapler.MetaClass$1.doDispatch(MetaClass.java:124)
      	at org.kohsuke.stapler.NameBasedDispatcher.dispatch(NameBasedDispatcher.java:58)
      	at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:746)
      	at org.kohsuke.stapler.Stapler.invoke(Stapler.java:876)
      	at org.kohsuke.stapler.MetaClass$5.doDispatch(MetaClass.java:233)
      	at org.kohsuke.stapler.NameBasedDispatcher.dispatch(NameBasedDispatcher.java:58)
      	at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:746)
      	at org.kohsuke.stapler.Stapler.invoke(Stapler.java:876)
      	at org.kohsuke.stapler.Stapler.invoke(Stapler.java:649)
      	at org.kohsuke.stapler.Stapler.service(Stapler.java:238)
      	at javax.servlet.http.HttpServlet.service(HttpServlet.java:848)
      	at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:686)
      	at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1494)
      	at hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:135)
      	at hudson.plugins.greenballs.GreenBallFilter.doFilter(GreenBallFilter.java:59)
      	at hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:132)
      	at hudson.util.PluginServletFilter.doFilter(PluginServletFilter.java:126)
      	at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1482)
      	at hudson.security.csrf.CrumbFilter.doFilter(CrumbFilter.java:49)
      	at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1482)
      	at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:84)
      	at hudson.security.UnwrapSecurityExceptionFilter.doFilter(UnwrapSecurityExceptionFilter.java:51)
      	at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87)
      	at jenkins.security.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:117)
      	at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87)
      	at org.acegisecurity.providers.anonymous.AnonymousProcessingFilter.doFilter(AnonymousProcessingFilter.java:125)
      	at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87)
      	at org.acegisecurity.ui.rememberme.RememberMeProcessingFilter.doFilter(RememberMeProcessingFilter.java:142)
      	at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87)
      	at org.acegisecurity.ui.AbstractProcessingFilter.doFilter(AbstractProcessingFilter.java:271)
      	at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87)
      	at jenkins.security.BasicHeaderProcessor.doFilter(BasicHeaderProcessor.java:93)
      	at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87)
      	at org.acegisecurity.context.HttpSessionContextIntegrationFilter.doFilter(HttpSessionContextIntegrationFilter.java:249)
      	at hudson.security.HttpSessionContextIntegrationFilter2.doFilter(HttpSessionContextIntegrationFilter2.java:67)
      	at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87)
      	at hudson.security.ChainedServletFilter.doFilter(ChainedServletFilter.java:76)
      	at hudson.security.HudsonFilter.doFilter(HudsonFilter.java:171)
      	at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1482)
      	at org.kohsuke.stapler.compression.CompressionFilter.doFilter(CompressionFilter.java:49)
      	at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1482)
      	at hudson.util.CharacterEncodingFilter.doFilter(CharacterEncodingFilter.java:81)
      	at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1482)
      	at org.kohsuke.stapler.DiagnosticThreadNameFilter.doFilter(DiagnosticThreadNameFilter.java:30)
      	at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1474)
      	at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:499)
      	at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:137)
      	at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:533)
      	at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:231)
      	at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1086)
      	at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:428)
      	at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:193)
      	at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1020)
      	at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:135)
      	at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:116)
      	at org.eclipse.jetty.server.Server.handle(Server.java:370)
      	at org.eclipse.jetty.server.AbstractHttpConnection.handleRequest(AbstractHttpConnection.java:489)
      	at org.eclipse.jetty.server.AbstractHttpConnection.headerComplete(AbstractHttpConnection.java:949)
      	at org.eclipse.jetty.server.AbstractHttpConnection$RequestHandler.headerComplete(AbstractHttpConnection.java:1011)
      	at org.eclipse.jetty.http.HttpParser.parseNext(HttpParser.java:644)
      	at org.eclipse.jetty.http.HttpParser.parseAvailable(HttpParser.java:235)
      	at org.eclipse.jetty.server.AsyncHttpConnection.handle(AsyncHttpConnection.java:82)
      	at org.eclipse.jetty.io.nio.SelectChannelEndPoint.handle(SelectChannelEndPoint.java:668)
      	at org.eclipse.jetty.io.nio.SelectChannelEndPoint$1.run(SelectChannelEndPoint.java:52)
      	at winstone.BoundedExecutorService$1.run(BoundedExecutorService.java:77)
      	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
      	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
      	at java.lang.Thread.run(Thread.java:724)
      Caused by: com.google.common.util.concurrent.UncheckedExecutionException: java.lang.IllegalStateException: Recursive load
      	at com.google.common.cache.LocalCache$Segment.get(LocalCache.java:2234)
      	at com.google.common.cache.LocalCache.get(LocalCache.java:3965)
      	at com.google.common.cache.LocalCache$LocalManualCache.get(LocalCache.java:4764)
      	at hudson.plugins.active_directory.ActiveDirectoryUnixAuthenticationProvider.retrieveUser(ActiveDirectoryUnixAuthenticationProvider.java:136)
      	... 79 more
      Caused by: java.lang.IllegalStateException: Recursive load
      	at com.google.common.base.Preconditions.checkState(Preconditions.java:145)
      	at com.google.common.cache.LocalCache$Segment.waitForLoadingValue(LocalCache.java:2330)
      	at com.google.common.cache.LocalCache$Segment.lockedGetOrLoad(LocalCache.java:2320)
      	at com.google.common.cache.LocalCache$Segment.get(LocalCache.java:2228)
      	at com.google.common.cache.LocalCache.get(LocalCache.java:3965)
      	at com.google.common.cache.LocalCache$LocalManualCache.get(LocalCache.java:4764)
      	at hudson.plugins.active_directory.ActiveDirectoryUnixAuthenticationProvider.retrieveUser(ActiveDirectoryUnixAuthenticationProvider.java:302)
      	at hudson.plugins.active_directory.ActiveDirectoryUnixAuthenticationProvider.retrieveUser(ActiveDirectoryUnixAuthenticationProvider.java:269)
      	at hudson.plugins.active_directory.ActiveDirectoryUnixAuthenticationProvider.access$100(ActiveDirectoryUnixAuthenticationProvider.java:72)
      	at hudson.plugins.active_directory.ActiveDirectoryUnixAuthenticationProvider$1.call(ActiveDirectoryUnixAuthenticationProvider.java:147)
      	at hudson.plugins.active_directory.ActiveDirectoryUnixAuthenticationProvider$1.call(ActiveDirectoryUnixAuthenticationProvider.java:136)
      	at com.google.common.cache.LocalCache$LocalManualCache$1.load(LocalCache.java:4767)
      	at com.google.common.cache.LocalCache$LoadingValueReference.loadFuture(LocalCache.java:3568)
      	at com.google.common.cache.LocalCache$Segment.loadSync(LocalCache.java:2350)
      	at com.google.common.cache.LocalCache$Segment.lockedGetOrLoad(LocalCache.java:2313)
      	at com.google.common.cache.LocalCache$Segment.get(LocalCache.java:2228)
      	... 82 more
      

        Attachments

          Activity

          Hide
          tsquillario Trevor Squillario added a comment - - edited

          I'm seeing this error as well. I recreated the job and the error went away for a bit but it's back!

          Jenkins 2.89.2
          Active Directory 2.6
          Git Plugin 3.7.0

          Caused: hudson.plugins.active_directory.CacheAuthenticationException: Authentication failed because there was a problem caching user *****; nested exception is java.util.concurrent.ExecutionException: javax.naming.NamingException: [LDAP: error code 1 - 000004DC: LdapErr: DSID-0C0907C2, comment: In order to perform this operation a successful bind must be completed on the connection., data 0, v2580]; remaining name 'DC=*****,DC=com'
          at hudson.plugins.active_directory.ActiveDirectoryUnixAuthenticationProvider.retrieveUser(ActiveDirectoryUnixAuthenticationProvider.java:496)
          at hudson.plugins.active_directory.ActiveDirectoryUnixAuthenticationProvider.retrieveUser(ActiveDirectoryUnixAuthenticationProvider.java:304)
          at hudson.plugins.active_directory.ActiveDirectoryUnixAuthenticationProvider.retrieveUser(ActiveDirectoryUnixAuthenticationProvider.java:226)
          at hudson.plugins.active_directory.AbstractActiveDirectoryAuthenticationProvider.loadUserByUsername(AbstractActiveDirectoryAuthenticationProvider.java:55)
          at hudson.plugins.active_directory.ActiveDirectorySecurityRealm.loadUserByUsername(ActiveDirectorySecurityRealm.java:831)
          at jenkins.security.UserDetailsCache$Retriever.call(UserDetailsCache.java:172)
          at jenkins.security.UserDetailsCache$Retriever.call(UserDetailsCache.java:161)
          at com.google.common.cache.LocalCache$LocalManualCache$1.load(LocalCache.java:4767)
          at com.google.common.cache.LocalCache$LoadingValueReference.loadFuture(LocalCache.java:3568)
          at com.google.common.cache.LocalCache$Segment.loadSync(LocalCache.java:2350)
          at com.google.common.cache.LocalCache$Segment.lockedGetOrLoad(LocalCache.java:2313)
          at com.google.common.cache.LocalCache$Segment.get(LocalCache.java:2228)
          Caused: com.google.common.util.concurrent.UncheckedExecutionException
          at com.google.common.cache.LocalCache$Segment.get(LocalCache.java:2234)
          at com.google.common.cache.LocalCache.get(LocalCache.java:3965)
          at com.google.common.cache.LocalCache$LocalManualCache.get(LocalCache.java:4764)
          at jenkins.security.UserDetailsCache.loadUserByUsername(UserDetailsCache.java:127)
          at hudson.model.User$UserIDCanonicalIdResolver.resolveCanonicalId(User.java:1161)
          at hudson.model.User.get(User.java:415)
          at hudson.model.User.get(User.java:384)
          at hudson.plugins.git.GitChangeSet.findOrCreateUser(GitChangeSet.java:387)
          at hudson.plugins.git.GitChangeSet.getAuthor(GitChangeSet.java:463)
          at jenkins.scm.RunWithSCM.calculateCulprits(RunWithSCM.java:134)
          at hudson.model.AbstractBuild.calculateCulprits(AbstractBuild.java:341)
          at jenkins.scm.RunWithSCM.getCulprits(RunWithSCM.java:93)
          at hudson.model.AbstractBuild.getCulprits(AbstractBuild.java:330)
          at jenkins.scm.RunWithSCM.calculateCulprits(RunWithSCM.java:129)
          at hudson.model.AbstractBuild.calculateCulprits(AbstractBuild.java:341)
          at jenkins.scm.RunWithSCM.getCulprits(RunWithSCM.java:93)
          at hudson.model.AbstractBuild.getCulprits(AbstractBuild.java:330)
          at jenkins.scm.RunWithSCM.calculateCulprits(RunWithSCM.java:129)
          at hudson.model.AbstractBuild.calculateCulprits(AbstractBuild.java:341)
          at jenkins.scm.RunWithSCM.getCulprits(RunWithSCM.java:93)
          at hudson.model.AbstractBuild.getCulprits(AbstractBuild.java:330)
          at jenkins.scm.RunWithSCM.calculateCulprits(RunWithSCM.java:129)
          at hudson.model.AbstractBuild.calculateCulprits(AbstractBuild.java:341)
          at jenkins.scm.RunWithSCM.getCulprits(RunWithSCM.java:93)
          at hudson.model.AbstractBuild.getCulprits(AbstractBuild.java:330)
          at jenkins.scm.RunWithSCM.calculateCulprits(RunWithSCM.java:129)
          at hudson.model.AbstractBuild.calculateCulprits(AbstractBuild.java:341)
          at jenkins.scm.RunWithSCM.getCulprits(RunWithSCM.java:93)
          at hudson.model.AbstractBuild.getCulprits(AbstractBuild.java:330)
          at jenkins.scm.RunWithSCM.calculateCulprits(RunWithSCM.java:129)
          at hudson.model.AbstractBuild.calculateCulprits(AbstractBuild.java:341)
          at jenkins.scm.RunWithSCM.getCulprits(RunWithSCM.java:93)
          at hudson.model.AbstractBuild.getCulprits(AbstractBuild.java:330)
          at jenkins.scm.RunWithSCM.calculateCulprits(RunWithSCM.java:129)
          at hudson.model.AbstractBuild.calculateCulprits(AbstractBuild.java:341)
          at jenkins.scm.RunWithSCM.getCulprits(RunWithSCM.java:93)
          at hudson.model.AbstractBuild.getCulprits(AbstractBuild.java:330)
          at jenkins.scm.RunWithSCM.calculateCulprits(RunWithSCM.java:129)
          at hudson.model.AbstractBuild.calculateCulprits(AbstractBuild.java:341)
          at jenkins.scm.RunWithSCM.getCulprits(RunWithSCM.java:93)
          at hudson.model.AbstractBuild.getCulprits(AbstractBuild.java:330)
          at jenkins.scm.RunWithSCM.calculateCulprits(RunWithSCM.java:129)
          at hudson.model.AbstractBuild.calculateCulprits(AbstractBuild.java:341)
          at jenkins.scm.RunWithSCM.getCulprits(RunWithSCM.java:93)
          at hudson.model.AbstractBuild.getCulprits(AbstractBuild.java:330)
          at jenkins.scm.RunWithSCM.calculateCulprits(RunWithSCM.java:129)
          at hudson.model.AbstractBuild.calculateCulprits(AbstractBuild.java:341)
          at jenkins.scm.RunWithSCM.getCulprits(RunWithSCM.java:93)
          at hudson.model.AbstractBuild.getCulprits(AbstractBuild.java:330)
          at hudson.model.AbstractBuild$AbstractBuildExecution.post(AbstractBuild.java:639)
          at hudson.model.Run.execute(Run.java:1749)
          at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43)
          at hudson.model.ResourceController.execute(ResourceController.java:97)
          at hudson.model.Executor.run(Executor.java:421)
          Show
          tsquillario Trevor Squillario added a comment - - edited I'm seeing this error as well. I recreated the job and the error went away for a bit but it's back! Jenkins 2.89.2 Active Directory 2.6 Git Plugin 3.7.0 Caused: hudson.plugins.active_directory.CacheAuthenticationException: Authentication failed because there was a problem caching user *****; nested exception is java.util.concurrent.ExecutionException: javax.naming.NamingException: [LDAP: error code 1 - 000004DC: LdapErr: DSID-0C0907C2, comment: In order to perform this operation a successful bind must be completed on the connection., data 0, v2580]; remaining name 'DC=*****,DC=com' at hudson.plugins.active_directory.ActiveDirectoryUnixAuthenticationProvider.retrieveUser(ActiveDirectoryUnixAuthenticationProvider.java:496) at hudson.plugins.active_directory.ActiveDirectoryUnixAuthenticationProvider.retrieveUser(ActiveDirectoryUnixAuthenticationProvider.java:304) at hudson.plugins.active_directory.ActiveDirectoryUnixAuthenticationProvider.retrieveUser(ActiveDirectoryUnixAuthenticationProvider.java:226) at hudson.plugins.active_directory.AbstractActiveDirectoryAuthenticationProvider.loadUserByUsername(AbstractActiveDirectoryAuthenticationProvider.java:55) at hudson.plugins.active_directory.ActiveDirectorySecurityRealm.loadUserByUsername(ActiveDirectorySecurityRealm.java:831) at jenkins.security.UserDetailsCache$Retriever.call(UserDetailsCache.java:172) at jenkins.security.UserDetailsCache$Retriever.call(UserDetailsCache.java:161) at com.google.common.cache.LocalCache$LocalManualCache$1.load(LocalCache.java:4767) at com.google.common.cache.LocalCache$LoadingValueReference.loadFuture(LocalCache.java:3568) at com.google.common.cache.LocalCache$Segment.loadSync(LocalCache.java:2350) at com.google.common.cache.LocalCache$Segment.lockedGetOrLoad(LocalCache.java:2313) at com.google.common.cache.LocalCache$Segment.get(LocalCache.java:2228) Caused: com.google.common.util.concurrent.UncheckedExecutionException at com.google.common.cache.LocalCache$Segment.get(LocalCache.java:2234) at com.google.common.cache.LocalCache.get(LocalCache.java:3965) at com.google.common.cache.LocalCache$LocalManualCache.get(LocalCache.java:4764) at jenkins.security.UserDetailsCache.loadUserByUsername(UserDetailsCache.java:127) at hudson.model.User$UserIDCanonicalIdResolver.resolveCanonicalId(User.java:1161) at hudson.model.User.get(User.java:415) at hudson.model.User.get(User.java:384) at hudson.plugins.git.GitChangeSet.findOrCreateUser(GitChangeSet.java:387) at hudson.plugins.git.GitChangeSet.getAuthor(GitChangeSet.java:463) at jenkins.scm.RunWithSCM.calculateCulprits(RunWithSCM.java:134) at hudson.model.AbstractBuild.calculateCulprits(AbstractBuild.java:341) at jenkins.scm.RunWithSCM.getCulprits(RunWithSCM.java:93) at hudson.model.AbstractBuild.getCulprits(AbstractBuild.java:330) at jenkins.scm.RunWithSCM.calculateCulprits(RunWithSCM.java:129) at hudson.model.AbstractBuild.calculateCulprits(AbstractBuild.java:341) at jenkins.scm.RunWithSCM.getCulprits(RunWithSCM.java:93) at hudson.model.AbstractBuild.getCulprits(AbstractBuild.java:330) at jenkins.scm.RunWithSCM.calculateCulprits(RunWithSCM.java:129) at hudson.model.AbstractBuild.calculateCulprits(AbstractBuild.java:341) at jenkins.scm.RunWithSCM.getCulprits(RunWithSCM.java:93) at hudson.model.AbstractBuild.getCulprits(AbstractBuild.java:330) at jenkins.scm.RunWithSCM.calculateCulprits(RunWithSCM.java:129) at hudson.model.AbstractBuild.calculateCulprits(AbstractBuild.java:341) at jenkins.scm.RunWithSCM.getCulprits(RunWithSCM.java:93) at hudson.model.AbstractBuild.getCulprits(AbstractBuild.java:330) at jenkins.scm.RunWithSCM.calculateCulprits(RunWithSCM.java:129) at hudson.model.AbstractBuild.calculateCulprits(AbstractBuild.java:341) at jenkins.scm.RunWithSCM.getCulprits(RunWithSCM.java:93) at hudson.model.AbstractBuild.getCulprits(AbstractBuild.java:330) at jenkins.scm.RunWithSCM.calculateCulprits(RunWithSCM.java:129) at hudson.model.AbstractBuild.calculateCulprits(AbstractBuild.java:341) at jenkins.scm.RunWithSCM.getCulprits(RunWithSCM.java:93) at hudson.model.AbstractBuild.getCulprits(AbstractBuild.java:330) at jenkins.scm.RunWithSCM.calculateCulprits(RunWithSCM.java:129) at hudson.model.AbstractBuild.calculateCulprits(AbstractBuild.java:341) at jenkins.scm.RunWithSCM.getCulprits(RunWithSCM.java:93) at hudson.model.AbstractBuild.getCulprits(AbstractBuild.java:330) at jenkins.scm.RunWithSCM.calculateCulprits(RunWithSCM.java:129) at hudson.model.AbstractBuild.calculateCulprits(AbstractBuild.java:341) at jenkins.scm.RunWithSCM.getCulprits(RunWithSCM.java:93) at hudson.model.AbstractBuild.getCulprits(AbstractBuild.java:330) at jenkins.scm.RunWithSCM.calculateCulprits(RunWithSCM.java:129) at hudson.model.AbstractBuild.calculateCulprits(AbstractBuild.java:341) at jenkins.scm.RunWithSCM.getCulprits(RunWithSCM.java:93) at hudson.model.AbstractBuild.getCulprits(AbstractBuild.java:330) at jenkins.scm.RunWithSCM.calculateCulprits(RunWithSCM.java:129) at hudson.model.AbstractBuild.calculateCulprits(AbstractBuild.java:341) at jenkins.scm.RunWithSCM.getCulprits(RunWithSCM.java:93) at hudson.model.AbstractBuild.getCulprits(AbstractBuild.java:330) at hudson.model.AbstractBuild$AbstractBuildExecution.post(AbstractBuild.java:639) at hudson.model.Run.execute(Run.java:1749) at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43) at hudson.model.ResourceController.execute(ResourceController.java:97) at hudson.model.Executor.run(Executor.java:421)
          Hide
          jeremymclain Jeremy McLain added a comment - - edited

          Trevor Squillario I'm seeing the exact same error at the very end of a job and it causes the job to fail. 

          I just installed and enabled the Active Directory plug in. Users can log in using AD creds but some builds (not all) fail with this error.

          One of the jobs builds on a timer every hour and still errors out. It has the name of the user that last ran the job manually in the error message. Very strange that it would be trying to do anything with a users credentials that who didn't start the job.

          I don't have the "Enable cache" checkbox checked in the Global security configuration.

          Jenkins 2.80
          Active Directory 2.6

          Show
          jeremymclain Jeremy McLain added a comment - - edited Trevor Squillario I'm seeing the exact same error at the very end of a job and it causes the job to fail.  I just installed and enabled the Active Directory plug in. Users can log in using AD creds but some builds (not all) fail with this error. One of the jobs builds on a timer every hour and still errors out. It has the name of the user that last ran the job manually in the error message. Very strange that it would be trying to do anything with a users credentials that who didn't start the job. I don't have the "Enable cache" checkbox checked in the Global security configuration. Jenkins 2.80 Active Directory 2.6
          Hide
          spoorcc Ben Spoor added a comment -

          Seeing same issue with some builds but not all.

          • Jenkins 2.89.4
          • Active Directory 2.6
          Show
          spoorcc Ben Spoor added a comment - Seeing same issue with some builds but not all. Jenkins 2.89.4 Active Directory 2.6
          Hide
          meathouse meat house added a comment - - edited

          same thing

          • jenkins 2.107.3
          • AD plugin  2.6
          • java 1.8.0_162
          • debian 8
          Show
          meathouse meat house added a comment - - edited same thing jenkins 2.107.3 AD plugin  2.6 java 1.8.0_162 debian 8
          Hide
          kenneho Kenneth H added a comment - - edited

          Looks like the same issue I'm having.

          My job consist of the SCM fetching code from a Git repo, and then during the build step it executes a few lines of bash code, something like this:

          value=${input}
          python3 dosomething.py --parameter value
          
          

          Even though the build step finishes successfully, the job throws this error:

          FATAL: hudson.plugins.active_directory.CacheAuthenticationException: Authentication failed because there was a problem caching user John Doe; nested exception is java.util.concurrent.ExecutionException: javax.naming.NamingException: [LDAP: error code 1 - 000004DC: LdapErr: DSID-0C090A22, comment: In order to perform this operation a successful bind must be completed on the connection., data 0, v3839]; remaining name 'DC=company,DC=com'
          <snip>
          Caused: java.util.concurrent.ExecutionException
          

          Environment:

          • Jenkins version: 2.129
          • Active Directory plugin 2.8
          • Git client plugin: 2.7.2
          • Git plugin: 3.9.1
          • OS: Debian 9
          • "Enable cache" it not checked

           

           

          Show
          kenneho Kenneth H added a comment - - edited Looks like the same issue I'm having. My job consist of the SCM fetching code from a Git repo, and then during the build step it executes a few lines of bash code, something like this: value=${input} python3 dosomething.py --parameter value Even though the build step finishes successfully, the job throws this error: FATAL: hudson.plugins.active_directory.CacheAuthenticationException: Authentication failed because there was a problem caching user John Doe; nested exception is java.util.concurrent.ExecutionException: javax.naming.NamingException: [LDAP: error code 1 - 000004DC: LdapErr: DSID-0C090A22, comment: In order to perform this operation a successful bind must be completed on the connection., data 0, v3839]; remaining name 'DC=company,DC=com' <snip> Caused: java.util.concurrent.ExecutionException Environment: Jenkins version: 2.129 Active Directory plugin 2.8 Git client plugin: 2.7.2 Git plugin: 3.9.1 OS: Debian 9 "Enable cache" it not checked    

            People

            • Assignee:
              fbelzunc Félix Belzunce Arcos
              Reporter:
              zioschild Sven Appenrodt
            • Votes:
              12 Vote for this issue
              Watchers:
              20 Start watching this issue

              Dates

              • Created:
                Updated: