After successfully building and pushing the container image to the registry, the post-build email code seems to run and result in this:
From https://releases-jenkins.wikimedia.org/job/build-mw-container-image/3213/console
00:30:52 FATAL: org.springframework.security.authentication.DisabledException: The user "TheresNoTime" is administratively disabled. 00:30:52 org.springframework.security.authentication.DisabledException: The user "TheresNoTime" is administratively disabled. 00:30:52 at hudson.security.UserAttributesHelper.checkIfUserEnabled(UserAttributesHelper.java:104) 00:30:52 at hudson.security.LDAPSecurityRealm$LDAPUserDetailsService.loadUserByUsername(LDAPSecurityRealm.java:1315) 00:30:52 at hudson.security.LDAPSecurityRealm$DelegateLDAPUserDetailsService.loadUserByUsername(LDAPSecurityRealm.java:1228) 00:30:52 at hudson.security.LDAPSecurityRealm.loadUserByUsername2(LDAPSecurityRealm.java:763) 00:30:52 at jenkins.security.UserDetailsCache$Retriever.call(UserDetailsCache.java:170) 00:30:52 at jenkins.security.UserDetailsCache$Retriever.call(UserDetailsCache.java:159) 00:30:52 at com.google.common.cache.LocalCache$LocalManualCache$1.load(LocalCache.java:4868) 00:30:52 at com.google.common.cache.LocalCache$LoadingValueReference.loadFuture(LocalCache.java:3533) 00:30:52 at com.google.common.cache.LocalCache$Segment.loadSync(LocalCache.java:2282) 00:30:52 at com.google.common.cache.LocalCache$Segment.lockedGetOrLoad(LocalCache.java:2159) 00:30:52 at com.google.common.cache.LocalCache$Segment.get(LocalCache.java:2049) 00:30:52 Caused: com.google.common.util.concurrent.UncheckedExecutionException 00:30:52 at com.google.common.cache.LocalCache$Segment.get(LocalCache.java:2055) 00:30:52 at com.google.common.cache.LocalCache.get(LocalCache.java:3966) 00:30:52 at com.google.common.cache.LocalCache$LocalManualCache.get(LocalCache.java:4863) 00:30:52 at jenkins.security.UserDetailsCache.loadUserByUsername(UserDetailsCache.java:127) 00:30:52 at hudson.model.User$UserIDCanonicalIdResolver.resolveCanonicalId(User.java:1254) 00:30:52 at hudson.model.User$CanonicalIdResolver.resolve(User.java:1195) 00:30:52 at hudson.model.User.get(User.java:524) 00:30:52 at hudson.plugins.git.GitChangeSet.findOrCreateUser(GitChangeSet.java:450) 00:30:52 at hudson.plugins.git.GitChangeSet.getAuthor(GitChangeSet.java:546) 00:30:52 at jenkins.scm.RunWithSCM.calculateCulprits(RunWithSCM.java:141) 00:30:52 at hudson.model.AbstractBuild.calculateCulprits(AbstractBuild.java:351) 00:30:52 at jenkins.scm.RunWithSCM.getCulprits(RunWithSCM.java:96) 00:30:52 at hudson.model.AbstractBuild.getCulprits(AbstractBuild.java:340) 00:30:52 at hudson.model.AbstractBuild$AbstractBuildExecution.post(AbstractBuild.java:713) 00:30:52 at hudson.model.Run.execute(Run.java:1922) 00:30:52 at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:44) 00:30:52 at hudson.model.ResourceController.execute(ResourceController.java:101) 00:30:52 at hudson.model.Executor.run(Executor.java:442) 00:30:52 Email was triggered for: Failure - Any 00:30:52 Sending email for trigger: Failure - Any 00:30:52 Sending email to: releng@lists.wikimedia.org 00:30:52 Finished: FAILURE
Upstream issue: https://issues.jenkins.io/browse/JENKINS-67981
Reproducibility
One can attempt to retrieve the disabled user via the Jenkins script console at https://releases-jenkins.wikimedia.org/script:
println(User.get("theresnotime", false, Collections.emptyMap()));