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

Build failure due to disabled LDAP user

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Critical Critical
    • git-plugin
    • None
    • Jenkins: 2.319.1
      git plugin: 4.10.1
    • 4.10.2

      Hi, this issue is similar to JENKINS-64629 but I see the failure in git plugin:

      FATAL: org.springframework.security.authentication.DisabledException: The user "replaced" is administratively disabled.
      org.springframework.security.authentication.DisabledException: The user "replaced" is administratively disabled.
      	at hudson.security.UserAttributesHelper.checkIfUserEnabled(UserAttributesHelper.java:92)
      	at hudson.security.LDAPSecurityRealm$LDAPUserDetailsService.loadUserByUsername(LDAPSecurityRealm.java:1315)
      	at hudson.security.LDAPSecurityRealm$DelegateLDAPUserDetailsService.loadUserByUsername(LDAPSecurityRealm.java:1228)
      	at hudson.security.LDAPSecurityRealm.loadUserByUsername2(LDAPSecurityRealm.java:763)
      	at jenkins.security.UserDetailsCache$Retriever.call(UserDetailsCache.java:165)
      	at jenkins.security.UserDetailsCache$Retriever.call(UserDetailsCache.java:154)
      	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:122)
      	at hudson.model.User$UserIDCanonicalIdResolver.resolveCanonicalId(User.java:1251)
      	at hudson.model.User$CanonicalIdResolver.resolve(User.java:1192)
      	at hudson.model.User.get(User.java:523)
      	at hudson.plugins.git.GitChangeSet.findOrCreateUser(GitChangeSet.java:460)
      	at hudson.plugins.git.GitChangeSet.getAuthor(GitChangeSet.java:541)
      	at jenkins.scm.RunWithSCM.calculateCulprits(RunWithSCM.java:139)
      	at hudson.model.AbstractBuild.calculateCulprits(AbstractBuild.java:342)
      	at jenkins.scm.RunWithSCM.getCulprits(RunWithSCM.java:94)
      	at hudson.model.AbstractBuild.getCulprits(AbstractBuild.java:331)
      	at jenkins.scm.RunWithSCM.calculateCulprits(RunWithSCM.java:134)
      	at hudson.model.AbstractBuild.calculateCulprits(AbstractBuild.java:342)
      	at jenkins.scm.RunWithSCM.getCulprits(RunWithSCM.java:94)
      	at hudson.model.AbstractBuild.getCulprits(AbstractBuild.java:331)
      	at jenkins.scm.RunWithSCM.calculateCulprits(RunWithSCM.java:134)
      	at hudson.model.AbstractBuild.calculateCulprits(AbstractBuild.java:342)
      	at jenkins.scm.RunWithSCM.getCulprits(RunWithSCM.java:94)
      	at hudson.model.AbstractBuild.getCulprits(AbstractBuild.java:331)
      	at jenkins.scm.RunWithSCM.calculateCulprits(RunWithSCM.java:134)
      	at hudson.model.AbstractBuild.calculateCulprits(AbstractBuild.java:342)
      	at jenkins.scm.RunWithSCM.getCulprits(RunWithSCM.java:94)
      	at hudson.model.AbstractBuild.getCulprits(AbstractBuild.java:331)
      	at jenkins.scm.RunWithSCM.calculateCulprits(RunWithSCM.java:134)
      	at hudson.model.AbstractBuild.calculateCulprits(AbstractBuild.java:342)
      	at jenkins.scm.RunWithSCM.getCulprits(RunWithSCM.java:94)
      	at hudson.model.AbstractBuild.getCulprits(AbstractBuild.java:331)
      	at jenkins.scm.RunWithSCM.calculateCulprits(RunWithSCM.java:134)
      	at hudson.model.AbstractBuild.calculateCulprits(AbstractBuild.java:342)
      	at jenkins.scm.RunWithSCM.getCulprits(RunWithSCM.java:94)
      	at hudson.model.AbstractBuild.getCulprits(AbstractBuild.java:331)
      	at jenkins.scm.RunWithSCM.calculateCulprits(RunWithSCM.java:134)
      	at hudson.model.AbstractBuild.calculateCulprits(AbstractBuild.java:342)
      	at jenkins.scm.RunWithSCM.getCulprits(RunWithSCM.java:94)
      	at hudson.model.AbstractBuild.getCulprits(AbstractBuild.java:331)
      	at jenkins.scm.RunWithSCM.calculateCulprits(RunWithSCM.java:134)
      	at hudson.model.AbstractBuild.calculateCulprits(AbstractBuild.java:342)
      	at jenkins.scm.RunWithSCM.getCulprits(RunWithSCM.java:94)
      	at hudson.model.AbstractBuild.getCulprits(AbstractBuild.java:331)
      	at hudson.model.AbstractBuild$AbstractBuildExecution.post(AbstractBuild.java:703)
      	at hudson.model.Run.execute(Run.java:1913)
      	at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43)
      	at hudson.model.ResourceController.execute(ResourceController.java:99)
      	at hudson.model.Executor.run(Executor.java:432)
      Finished: FAILURE
      

      The actual username was replaced.

       

       

            markewaite Mark Waite
            hv2022 hleb v
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: