Jenkins ошибка обработки запроса logging id

I’m a beginner in Jenkins.
I’m trying to help my boss with the issue below
The Jenkins version is: Jenkins 2.332.2.

A problem occurred while processing the request. Logging ID=7aab0cca-a721-4d34-b319-2ea90bd6b005 in the Dashboard Page.

ERROR LOG in a spoiler below
May 06, 2022 8:36:50 AM WARNING hudson.ExpressionFactory2$JexlExpression evaluate
Caught exception evaluating: h.printLogRecordHtml(logRecord, prior) in /log/all. Reason: java.lang.NullPointerException
java.lang.NullPointerException
at hudson.Functions.printLogRecordHtml(Functions.java:562)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:566)
at org.apache.commons.jexl.util.introspection.UberspectImpl$VelMethodImpl.invoke(UberspectImpl.java:258)
at org.apache.commons.jexl.parser.ASTMethod.execute(ASTMethod.java:104)
at org.apache.commons.jexl.parser.ASTReference.execute(ASTReference.java:83)
at org.apache.commons.jexl.parser.ASTReference.value(ASTReference.java:57)
at org.apache.commons.jexl.parser.ASTReferenceExpression.value(ASTReferenceExpression.java:51)
at org.apache.commons.jexl.ExpressionImpl.evaluate(ExpressionImpl.java:80)
at hudson.ExpressionFactory2$JexlExpression.evaluate(ExpressionFactory2.java:76)
at org.apache.commons.jelly.tags.core.CoreTagLibrary$3.run(CoreTagLibrary.java:134)
at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95)
at org.apache.commons.jelly.TagSupport.invokeBody(TagSupport.java:161)
at org.apache.commons.jelly.tags.core.ForEachTag.doTag(ForEachTag.java:150)
at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:269)
at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95)
at org.apache.commons.jelly.tags.core.CoreTagLibrary$2.run(CoreTagLibrary.java:105)
at org.kohsuke.stapler.jelly.CallTagLibScript.run(CallTagLibScript.java:122)
at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95)
at org.kohsuke.stapler.jelly.CallTagLibScript$1.run(CallTagLibScript.java:101)
at org.apache.commons.jelly.tags.define.InvokeBodyTag.doTag(InvokeBodyTag.java:91)
at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:269)
at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95)
at org.apache.commons.jelly.tags.core.CoreTagLibrary$1.run(CoreTagLibrary.java:98)
at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95)
at org.apache.commons.jelly.tags.core.CoreTagLibrary$2.run(CoreTagLibrary.java:105)
at org.kohsuke.stapler.jelly.CallTagLibScript.run(CallTagLibScript.java:122)
at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95)
at org.kohsuke.stapler.jelly.CallTagLibScript$1.run(CallTagLibScript.java:101)
at org.apache.commons.jelly.tags.define.InvokeBodyTag.doTag(InvokeBodyTag.java:91)
at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:269)
at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95)
at org.kohsuke.stapler.jelly.ReallyStaticTagLibrary$1.run(ReallyStaticTagLibrary.java:101)
at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95)
at org.kohsuke.stapler.jelly.ReallyStaticTagLibrary$1.run(ReallyStaticTagLibrary.java:101)
at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95)
at org.kohsuke.stapler.jelly.ReallyStaticTagLibrary$1.run(ReallyStaticTagLibrary.java:101)
at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95)
at org.kohsuke.stapler.jelly.ReallyStaticTagLibrary$1.run(ReallyStaticTagLibrary.java:101)
at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95)
at org.kohsuke.stapler.jelly.CallTagLibScript$1.run(CallTagLibScript.java:101)
at org.apache.commons.jelly.tags.define.InvokeBodyTag.doTag(InvokeBodyTag.java:91)
at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:269)
at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95)
at org.apache.commons.jelly.tags.core.CoreTagLibrary$2.run(CoreTagLibrary.java:105)
at org.kohsuke.stapler.jelly.CallTagLibScript.run(CallTagLibScript.java:122)
at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95)
at org.apache.commons.jelly.tags.core.CoreTagLibrary$2.run(CoreTagLibrary.java:105)
at org.kohsuke.stapler.jelly.CallTagLibScript.run(CallTagLibScript.java:122)
at org.apache.commons.jelly.tags.core.CoreTagLibrary$2.run(CoreTagLibrary.java:105)
at org.kohsuke.stapler.jelly.JellyViewScript.run(JellyViewScript.java:99)
at org.kohsuke.stapler.jelly.DefaultScriptInvoker.invokeScript(DefaultScriptInvoker.java:66)
at org.kohsuke.stapler.jelly.DefaultScriptInvoker.invokeScript(DefaultScriptInvoker.java:55)
at org.kohsuke.stapler.jelly.ScriptInvoker.execute(ScriptInvoker.java:56)
at org.kohsuke.stapler.jelly.ScriptInvoker.execute(ScriptInvoker.java:43)
at org.kohsuke.stapler.Facet$1.dispatch(Facet.java:240)
at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:766)
at org.kohsuke.stapler.Stapler.invoke(Stapler.java:898)
at org.kohsuke.stapler.MetaClass$2.doDispatch(MetaClass.java:224)
at org.kohsuke.stapler.NameBasedDispatcher.dispatch(NameBasedDispatcher.java:59)
at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:766)
at org.kohsuke.stapler.Stapler.invoke(Stapler.java:898)
at org.kohsuke.stapler.Stapler.invoke(Stapler.java:694)
at org.kohsuke.stapler.Stapler.service(Stapler.java:240)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:790)
at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:799)
at org.eclipse.jetty.servlet.ServletHandler$ChainEnd.doFilter(ServletHandler.java:1626)
at hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:157)
at org.jenkinsci.plugins.ssegateway.Endpoint$SSEListenChannelFilter.doFilter(Endpoint.java:248)
at hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:154)
at jenkins.security.ResourceDomainFilter.doFilter(ResourceDomainFilter.java:81)
at hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:154)
at jenkins.telemetry.impl.UserLanguages$AcceptLanguageFilter.doFilter(UserLanguages.java:129)
at hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:154)
at io.jenkins.blueocean.ResourceCacheControl.doFilter(ResourceCacheControl.java:134)
at hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:154)
at io.jenkins.blueocean.auth.jwt.impl.JwtAuthenticationFilter.doFilter(JwtAuthenticationFilter.java:60)
at hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:154)
at hudson.util.PluginServletFilter.doFilter(PluginServletFilter.java:160)
at org.eclipse.jetty.servlet.FilterHolder.doFilter(FilterHolder.java:193)
at org.eclipse.jetty.servlet.ServletHandler$Chain.doFilter(ServletHandler.java:1601)
at hudson.security.csrf.CrumbFilter.doFilter(CrumbFilter.java:160)
at org.eclipse.jetty.servlet.FilterHolder.doFilter(FilterHolder.java:193)
at org.eclipse.jetty.servlet.ServletHandler$Chain.doFilter(ServletHandler.java:1601)
at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:94)
at jenkins.security.AcegiSecurityExceptionFilter.doFilter(AcegiSecurityExceptionFilter.java:52)
at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:99)
at hudson.security.UnwrapSecurityExceptionFilter.doFilter(UnwrapSecurityExceptionFilter.java:54)
at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:99)
at org.springframework.security.web.access.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:122)
at org.springframework.security.web.access.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:116)
at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:99)
at org.springframework.security.web.authentication.AnonymousAuthenticationFilter.doFilter(AnonymousAuthenticationFilter.java:109)
at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:99)
at org.springframework.security.web.authentication.rememberme.RememberMeAuthenticationFilter.doFilter(RememberMeAuthenticationFilter.java:102)
at org.springframework.security.web.authentication.rememberme.RememberMeAuthenticationFilter.doFilter(RememberMeAuthenticationFilter.java:93)
at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:99)
at org.springframework.security.web.authentication.AbstractAuthenticationProcessingFilter.doFilter(AbstractAuthenticationProcessingFilter.java:219)
at org.springframework.security.web.authentication.AbstractAuthenticationProcessingFilter.doFilter(AbstractAuthenticationProcessingFilter.java:213)
at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:99)
at jenkins.security.BasicHeaderProcessor.doFilter(BasicHeaderProcessor.java:97)
at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:99)
at org.springframework.security.web.context.SecurityContextPersistenceFilter.doFilter(SecurityContextPersistenceFilter.java:110)
at org.springframework.security.web.context.SecurityContextPersistenceFilter.doFilter(SecurityContextPersistenceFilter.java:80)
at hudson.security.HttpSessionContextIntegrationFilter2.doFilter(HttpSessionContextIntegrationFilter2.java:63)
at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:99)
at hudson.security.ChainedServletFilter.doFilter(ChainedServletFilter.java:111)
at hudson.security.HudsonFilter.doFilter(HudsonFilter.java:172)
at org.eclipse.jetty.servlet.FilterHolder.doFilter(FilterHolder.java:193)
at org.eclipse.jetty.servlet.ServletHandler$Chain.doFilter(ServletHandler.java:1601)
at org.kohsuke.stapler.compression.CompressionFilter.doFilter(CompressionFilter.java:53)
at org.eclipse.jetty.servlet.FilterHolder.doFilter(FilterHolder.java:193)
at org.eclipse.jetty.servlet.ServletHandler$Chain.doFilter(ServletHandler.java:1601)
at hudson.util.CharacterEncodingFilter.doFilter(CharacterEncodingFilter.java:86)
at org.eclipse.jetty.servlet.FilterHolder.doFilter(FilterHolder.java:193)
at org.eclipse.jetty.servlet.ServletHandler$Chain.doFilter(ServletHandler.java:1601)
at org.kohsuke.stapler.DiagnosticThreadNameFilter.doFilter(DiagnosticThreadNameFilter.java:30)
at org.eclipse.jetty.servlet.FilterHolder.doFilter(FilterHolder.java:193)
at org.eclipse.jetty.servlet.ServletHandler$Chain.doFilter(ServletHandler.java:1601)
at jenkins.security.SuspiciousRequestFilter.doFilter(SuspiciousRequestFilter.java:38)
at org.eclipse.jetty.servlet.FilterHolder.doFilter(FilterHolder.java:193)
at org.eclipse.jetty.servlet.ServletHandler$Chain.doFilter(ServletHandler.java:1601)
at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:548)
at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:143)
at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:578)
at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:127)
at org.eclipse.jetty.server.handler.ScopedHandler.nextHandle(ScopedHandler.java:235)
at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:1624)
at org.eclipse.jetty.server.handler.ScopedHandler.nextHandle(ScopedHandler.java:233)
at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1434)
at org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:188)
at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:501)
at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:1594)
at org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:186)
at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1349)
at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:141)
at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:127)
at org.eclipse.jetty.server.Server.handle(Server.java:516)
at org.eclipse.jetty.server.HttpChannel.lambda$handle$1(HttpChannel.java:388)
at org.eclipse.jetty.server.HttpChannel.dispatch(HttpChannel.java:633)
at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:380)
at org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:277)
at org.eclipse.jetty.io.AbstractConnection$ReadCallback.succeeded(AbstractConnection.java:311)
at org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:105)
at org.eclipse.jetty.io.ChannelEndPoint$1.run(ChannelEndPoint.java:104)
at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.runTask(EatWhatYouKill.java:338)
at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.doProduce(EatWhatYouKill.java:315)
at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.tryProduce(EatWhatYouKill.java:173)
at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.run(EatWhatYouKill.java:131)
at org.eclipse.jetty.util.thread.ReservedThreadExecutor$ReservedThread.run(ReservedThreadExecutor.java:386)
at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:883)
at org.eclipse.jetty.util.thread.QueuedThreadPool$Runner.run(QueuedThreadPool.java:1034)
at java.base/java.lang.Thread.run(Thread.java:834)

May 06, 2022 8:36:50 AM WARNING hudson.ExpressionFactory2$JexlExpression evaluate
Caught exception evaluating: h.printLogRecordHtml(logRecord, prior) in /log/all. Reason: java.lang.NullPointerException
java.lang.NullPointerException
at hudson.Functions.printLogRecordHtml(Functions.java:562)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:566)
at org.apache.commons.jexl.util.introspection.UberspectImpl$VelMethodImpl.invoke(UberspectImpl.java:258)
at org.apache.commons.jexl.parser.ASTMethod.execute(ASTMethod.java:104)
at org.apache.commons.jexl.parser.ASTReference.execute(ASTReference.java:83)
at org.apache.commons.jexl.parser.ASTReference.value(ASTReference.java:57)
at org.apache.commons.jexl.parser.ASTReferenceExpression.value(ASTReferenceExpression.java:51)
at org.apache.commons.jexl.ExpressionImpl.evaluate(ExpressionImpl.java:80)
at hudson.ExpressionFactory2$JexlExpression.evaluate(ExpressionFactory2.java:76)
at org.apache.commons.jelly.tags.core.CoreTagLibrary$3.run(CoreTagLibrary.java:134)
at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95)
at org.apache.commons.jelly.TagSupport.invokeBody(TagSupport.java:161)
at org.apache.commons.jelly.tags.core.ForEachTag.doTag(ForEachTag.java:150)
at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:269)
at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95)
at org.apache.commons.jelly.tags.core.CoreTagLibrary$2.run(CoreTagLibrary.java:105)
at org.kohsuke.stapler.jelly.CallTagLibScript.run(CallTagLibScript.java:122)
at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95)
at org.kohsuke.stapler.jelly.CallTagLibScript$1.run(CallTagLibScript.java:101)
at org.apache.commons.jelly.tags.define.InvokeBodyTag.doTag(InvokeBodyTag.java:91)
at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:269)
at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95)
at org.apache.commons.jelly.tags.core.CoreTagLibrary$1.run(CoreTagLibrary.java:98)
at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95)
at org.apache.commons.jelly.tags.core.CoreTagLibrary$2.run(CoreTagLibrary.java:105)
at org.kohsuke.stapler.jelly.CallTagLibScript.run(CallTagLibScript.java:122)
at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95)
at org.kohsuke.stapler.jelly.CallTagLibScript$1.run(CallTagLibScript.java:101)
at org.apache.commons.jelly.tags.define.InvokeBodyTag.doTag(InvokeBodyTag.java:91)
at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:269)
at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95)
at org.kohsuke.stapler.jelly.ReallyStaticTagLibrary$1.run(ReallyStaticTagLibrary.java:101)
at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95)
at org.kohsuke.stapler.jelly.ReallyStaticTagLibrary$1.run(ReallyStaticTagLibrary.java:101)
at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95)
at org.kohsuke.stapler.jelly.ReallyStaticTagLibrary$1.run(ReallyStaticTagLibrary.java:101)
at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95)
at org.kohsuke.stapler.jelly.ReallyStaticTagLibrary$1.run(ReallyStaticTagLibrary.java:101)
at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95)
at org.kohsuke.stapler.jelly.CallTagLibScript$1.run(CallTagLibScript.java:101)
at org.apache.commons.jelly.tags.define.InvokeBodyTag.doTag(InvokeBodyTag.java:91)
at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:269)
at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95)
at org.apache.commons.jelly.tags.core.CoreTagLibrary$2.run(CoreTagLibrary.java:105)
at org.kohsuke.stapler.jelly.CallTagLibScript.run(CallTagLibScript.java:122)
at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95)
at org.apache.commons.jelly.tags.core.CoreTagLibrary$2.run(CoreTagLibrary.java:105)
at org.kohsuke.stapler.jelly.CallTagLibScript.run(CallTagLibScript.java:122)
at org.apache.commons.jelly.tags.core.CoreTagLibrary$2.run(CoreTagLibrary.java:105)
at org.kohsuke.stapler.jelly.JellyViewScript.run(JellyViewScript.java:99)
at org.kohsuke.stapler.jelly.DefaultScriptInvoker.invokeScript(DefaultScriptInvoker.java:66)
at org.kohsuke.stapler.jelly.DefaultScriptInvoker.invokeScript(DefaultScriptInvoker.java:55)
at org.kohsuke.stapler.jelly.ScriptInvoker.execute(ScriptInvoker.java:56)
at org.kohsuke.stapler.jelly.ScriptInvoker.execute(ScriptInvoker.java:43)
at org.kohsuke.stapler.Facet$1.dispatch(Facet.java:240)
at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:766)
at org.kohsuke.stapler.Stapler.invoke(Stapler.java:898)
at org.kohsuke.stapler.MetaClass$2.doDispatch(MetaClass.java:224)
at org.kohsuke.stapler.NameBasedDispatcher.dispatch(NameBasedDispatcher.java:59)
at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:766)
at org.kohsuke.stapler.Stapler.invoke(Stapler.java:898)
at org.kohsuke.stapler.Stapler.invoke(Stapler.java:694)
at org.kohsuke.stapler.Stapler.service(Stapler.java:240)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:790)
at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:799)
at org.eclipse.jetty.servlet.ServletHandler$ChainEnd.doFilter(ServletHandler.java:1626)
at hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:157)
at org.jenkinsci.plugins.ssegateway.Endpoint$SSEListenChannelFilter.doFilter(Endpoint.java:248)
at hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:154)
at jenkins.security.ResourceDomainFilter.doFilter(ResourceDomainFilter.java:81)
at hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:154)
at jenkins.telemetry.impl.UserLanguages$AcceptLanguageFilter.doFilter(UserLanguages.java:129)
at hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:154)
at io.jenkins.blueocean.ResourceCacheControl.doFilter(ResourceCacheControl.java:134)
at hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:154)
at io.jenkins.blueocean.auth.jwt.impl.JwtAuthenticationFilter.doFilter(JwtAuthenticationFilter.java:60)
at hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:154)
at hudson.util.PluginServletFilter.doFilter(PluginServletFilter.java:160)
at org.eclipse.jetty.servlet.FilterHolder.doFilter(FilterHolder.java:193)
at org.eclipse.jetty.servlet.ServletHandler$Chain.doFilter(ServletHandler.java:1601)
at hudson.security.csrf.CrumbFilter.doFilter(CrumbFilter.java:160)
at org.eclipse.jetty.servlet.FilterHolder.doFilter(FilterHolder.java:193)
at org.eclipse.jetty.servlet.ServletHandler$Chain.doFilter(ServletHandler.java:1601)
at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:94)
at jenkins.security.AcegiSecurityExceptionFilter.doFilter(AcegiSecurityExceptionFilter.java:52)
at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:99)
at hudson.security.UnwrapSecurityExceptionFilter.doFilter(UnwrapSecurityExceptionFilter.java:54)
at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:99)
at org.springframework.security.web.access.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:122)
at org.springframework.security.web.access.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:116)
at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:99)
at org.springframework.security.web.authentication.AnonymousAuthenticationFilter.doFilter(AnonymousAuthenticationFilter.java:109)
at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:99)
at org.springframework.security.web.authentication.rememberme.RememberMeAuthenticationFilter.doFilter(RememberMeAuthenticationFilter.java:102)
at org.springframework.security.web.authentication.rememberme.RememberMeAuthenticationFilter.doFilter(RememberMeAuthenticationFilter.java:93)
at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:99)
at org.springframework.security.web.authentication.AbstractAuthenticationProcessingFilter.doFilter(AbstractAuthenticationProcessingFilter.java:219)
at org.springframework.security.web.authentication.AbstractAuthenticationProcessingFilter.doFilter(AbstractAuthenticationProcessingFilter.java:213)
at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:99)
at jenkins.security.BasicHeaderProcessor.doFilter(BasicHeaderProcessor.java:97)
at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:99)
at org.springframework.security.web.context.SecurityContextPersistenceFilter.doFilter(SecurityContextPersistenceFilter.java:110)
at org.springframework.security.web.context.SecurityContextPersistenceFilter.doFilter(SecurityContextPersistenceFilter.java:80)
at hudson.security.HttpSessionContextIntegrationFilter2.doFilter(HttpSessionContextIntegrationFilter2.java:63)
at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:99)
at hudson.security.ChainedServletFilter.doFilter(ChainedServletFilter.java:111)
at hudson.security.HudsonFilter.doFilter(HudsonFilter.java:172)
at org.eclipse.jetty.servlet.FilterHolder.doFilter(FilterHolder.java:193)
at org.eclipse.jetty.servlet.ServletHandler$Chain.doFilter(ServletHandler.java:1601)
at org.kohsuke.stapler.compression.CompressionFilter.doFilter(CompressionFilter.java:53)
at org.eclipse.jetty.servlet.FilterHolder.doFilter(FilterHolder.java:193)
at org.eclipse.jetty.servlet.ServletHandler$Chain.doFilter(ServletHandler.java:1601)
at hudson.util.CharacterEncodingFilter.doFilter(CharacterEncodingFilter.java:86)
at org.eclipse.jetty.servlet.FilterHolder.doFilter(FilterHolder.java:193)
at org.eclipse.jetty.servlet.ServletHandler$Chain.doFilter(ServletHandler.java:1601)
at org.kohsuke.stapler.DiagnosticThreadNameFilter.doFilter(DiagnosticThreadNameFilter.java:30)
at org.eclipse.jetty.servlet.FilterHolder.doFilter(FilterHolder.java:193)
at org.eclipse.jetty.servlet.ServletHandler$Chain.doFilter(ServletHandler.java:1601)
at jenkins.security.SuspiciousRequestFilter.doFilter(SuspiciousRequestFilter.java:38)
at org.eclipse.jetty.servlet.FilterHolder.doFilter(FilterHolder.java:193)
at org.eclipse.jetty.servlet.ServletHandler$Chain.doFilter(ServletHandler.java:1601)
at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:548)
at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:143)
at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:578)
at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:127)
at org.eclipse.jetty.server.handler.ScopedHandler.nextHandle(ScopedHandler.java:235)
at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:1624)
at org.eclipse.jetty.server.handler.ScopedHandler.nextHandle(ScopedHandler.java:233)
at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1434)
at org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:188)
at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:501)
at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:1594)
at org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:186)
at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1349)
at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:141)
at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:127)
at org.eclipse.jetty.server.Server.handle(Server.java:516)
at org.eclipse.jetty.server.HttpChannel.lambda$handle$1(HttpChannel.java:388)
at org.eclipse.jetty.server.HttpChannel.dispatch(HttpChannel.java:633)
at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:380)
at org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:277)
at org.eclipse.jetty.io.AbstractConnection$ReadCallback.succeeded(AbstractConnection.java:311)
at org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:105)
at org.eclipse.jetty.io.ChannelEndPoint$1.run(ChannelEndPoint.java:104)
at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.runTask(EatWhatYouKill.java:338)
at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.doProduce(EatWhatYouKill.java:315)
at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.tryProduce(EatWhatYouKill.java:173)
at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.run(EatWhatYouKill.java:131)
at org.eclipse.jetty.util.thread.ReservedThreadExecutor$ReservedThread.run(ReservedThreadExecutor.java:386)
at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:883)
at org.eclipse.jetty.util.thread.QueuedThreadPool$Runner.run(QueuedThreadPool.java:1034)
at java.base/java.lang.Thread.run(Thread.java:834)

If anyone can help I would be grateful.

Introduction

Jenkins offers an open-source CI/CD automation solution for developers. One of the features Jenkins offers is automatically logging the performance of builds.

Reviewing Jenkins logs can offer a wealth of insight into how well your code works. This is particularly useful when identifying problems or looking for elements that can be better optimized.

In this tutorial, we will show you how to find, view, and edit Jenkins log files.

Jenkins logs - viewing and customizing

Prerequisites

  • A copy of Jenkins installed and ready to use.
  • Access to a web browser.
  • Access to a text editor, such as Nano, Vim, or Notepad.

Where are Jenkins Logs Stored?

Where Jenkins logs are stored depends on the underlying operating system.

  • Linux and macOS — Jenkins logs are stored along with other log files in the /var/log directory.
  • Windows — Jenkins log files are stored in the Jenkins home folder, which is determined during installation.

It is possible to change the Jenkins log location by modifying its service configuration file. The name and location of that file depends on the underlying OS:

  • Debian-based system /etc/default/Jenkins
  • Red Hat-based systems /etc/sysconfig/Jenkins
  • MacOS org.jenkins-ci.plist
  • Windows[JENKINS HOME]/jenkins.xml

How to View Jenkins Logs?

To view a Jenkins log file, open it with a text editor of your choice. Below are the default locations of Jenkins log files depending on the operating system.

Jenkins UI

By default, Jenkins keeps a constant log of all activity as a part of the Jenkins dashboard.

1. To access this log, click the Manage Jenkins link on the right-hand side of the dashboard.

Open Jenkins settings

2. Click the System Log button in the Status Information section.

Click the System Log button in the Status Information section

3. Click the All Jenkins Logs link to access the default log.

Open All Jenkins Logs

Each line of the log details the time and date of the action, the level of logging, the element of Jenkins performing the action, and the action being performed, followed by a brief description.

Jenkins log example

Linux

The default location for Jenkins logs on Linux is /var/log/jenkins/jenkins.log. To view the log file, open it using a text editor such as Nano:

sudo nano /var/log/jenkins/jenkins.log

Windows

On Windows, Jenkins log files are stored as jenkins.out (console output logs) and jenkins.err (error logs) in the Jenkins home folder.

Note: Jenkins logs may be stored in the Jenkins installation folder in Program Files on some Windows systems.

The location of the Jenkins home folder is specified during the installation. The default location is C:ProgramDataJenkins.jenkins.

Important: The ProgramData folder is hidden by default. Make sure you enable viewing hidden items before trying to view Jenkins logs.

If you are not sure which folder you set as the Jenkins home folder, click the Manage Jenkins link on the left-hand side of the Jenkins dashboard.

Open Jenkins settings

Under the System Configuration section, click the Configure System button.

Under the System Configuration section, click the Configure System button

The location of the Jenkins home folder is listed at the top of the page, under Home directory.

Location of the Jenkins home directory

MacOS

On MacOS, Jenkins logs are located at /var/log/jenkins/jenkins.log by default:

sudo nano /var/log/jenkins/jenkins.log

Docker

Viewing Jenkins logs in Docker requires running Jenkins inside a detached container. Open Jenkins logs using the Docker logs command and the ID for the detached container:

docker logs [container ID]

How to Enable Debug Logs in Jenkins?

Jenkins allows users to set up new log recorders when using the System Log page. These recorders collect and display information on specific elements of your code and you can fine-tune them to provide a more detailed output.

Having a more detailed log available makes it easier to spot and determine the cause of potential errors in the code. This is very helpful when debugging issues.

1. To set up a new log recorder, first click the Add new log recorder button in the Log Recorders section of the System Log page.

Click the Add new log recorder button in the Log Recorders section of the System Log page

2. Next, enter the name of the new log recorder and click the OK button. For this example, we will name our log recorder Dig Debug.

Enter the log recorder name and click OK

3. To customize the output the new log recorder collects and displays, click the Add button to add a new logger. Use the input field to search for an element and select the log level from the drop-down menu. It is generally best to use the ALL or FINE logging level for debugging purposes.

Add new loggers to the log recorder

Note: Selecting the ALL or FINE logging level tends to produce substantial levels of output. To increase performance, consider removing the log recorder once you are finished with debugging.

4. For our example, we want to debug plugins related to Git. To do this, we will add new loggers monitoring these plugins and set the logging level to ALL.

5. Once you are done adding new loggers, click the Save button to save the new Jenkins log recorder.

Click Save to finish adding loggers

6. Once you’ve set up the new log recorder, open it by clicking its name in the Log Recorders section. With the log recorder open, click the Log records link on the left-hand side to review the new log records.

Review the records for the new log recorder

What Jenkins Logs Should You Monitor?

Certain events in the Jenkins log can indicate issues with the code or the Jenkins application itself. Monitoring these events is an easy way to diagnose and prevent performance issues quickly.

Receiving an OutOfMemoryError message indicates that Jenkins has run out of system memory. To resolve this issue, use a smaller Java heap or check for old saved data at:

[Jenkins URL]/administrativeMonitor/OldData/manage

Note: The Jenkins URL is a combination of your system’s hostname and the port number Jenkins is running on. For instance, when logging into Jenkins on the host system, the default Jenkins URL is http://localhost:8080/.

A java.lang.OutOfMemoryError: GC overhead limit exceeded error happens when the Java Garbage Collector exceeds its memory limit. A quick solution is to clear old builds that may be taking up memory.

Another common issue is CPU consumption, indicated by an OutOfMemoryError: PermGen space error. You can avoid this by minimizing the number of builds running on the master node, limiting build history, ensuring all Jenkins plugins are updated, and monitoring how other applications use the CPU.

How to Customize Jenkins Logs?

The formatting of Jenkins logs can sometimes make them difficult to read, especially when using higher logging levels. Long pipelines with dozens or hundreds of lines of code also present a challenge.

Below is an example log for a simple pipeline that prints out the build version number:

Jenkins pipeline log example

In the output above, it isn’t easy to see where a stage starts and ends. The only indication is the stage output at the beginning and // stage at the end, both displayed in light gray.

Adding a message with the echo command at the beginning of a stage makes separating different stages when looking at the console output easier. This also allows users to add brief descriptions, making it even easier to understand the output.

Another method is to add an echo command without any message text. This creates a blank line and makes the output easier to read.

Jenkins pipeline log with banners and breaks

Conclusion

After reading this tutorial, you should be able to find and view Jenkins logs and use them to diagnose potential issues with your project build.

#unit-testing #jenkins #testng #maven-surefire-plugin

Вопрос:

При выполнении модульных тестов я получаю следующее исключение в Jenkins, но не в локальной среде. Я могу получить полную трассировку стека ошибки следующим образом. Прерванное исключение — это выбрасывание при выполнении future.get(). Каков наилучший подход, чтобы избежать этой ошибки в Дженкинсе

 Test class: com.xxx.xx.xxxxxxx.job.controller.XXXXJobTriggerControllerTest  java.lang.AssertionError: failed due to exception :   at com.xxx.xx.xxxxxxx.job.controller.XXXXJobTriggerControllerTest.invokeMultipleInstance(XXXXJobTriggerControllerTest.java:193) Caused by: org.springframework.web.util.NestedServletException: Request processing failed; nested exception is java.lang.InterruptedException  at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:982)  at org.springframework.web.servlet.FrameworkServlet.doPost(FrameworkServlet.java:877)  at javax.servlet.http.HttpServlet.service(HttpServlet.java:661)  at org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:851)  at org.springframework.test.web.servlet.TestDispatcherServlet.service(TestDispatcherServlet.java:71)  at javax.servlet.http.HttpServlet.service(HttpServlet.java:742)  at org.springframework.mock.web.MockFilterChain$ServletFilterProxy.doFilter(MockFilterChain.java:166)  at org.springframework.mock.web.MockFilterChain.doFilter(MockFilterChain.java:133)  at org.springframework.test.web.servlet.MockMvc.perform(MockMvc.java:165)  at com.xxx.xx.xxxxxxx.job.controller.XXXXJobTriggerControllerTest.invokeMultipleInstance(XXXXJobTriggerControllerTest.java:188)  ... 29 more Caused by: java.lang.InterruptedException  at java.util.concurrent.FutureTask.awaitDone(FutureTask.java:404)  at java.util.concurrent.FutureTask.get(FutureTask.java:191)  at com.xxx.xx.xxxxxxx.job.controller.XXXXJobTriggerController.invokeMultipleInstance(XXXXJobTriggerController.java:172)  at org.springframework.web.method.support.InvocableHandlerMethod.doInvoke(InvocableHandlerMethod.java:209)  at org.springframework.web.method.support.InvocableHandlerMethod.invokeForRequest(InvocableHandlerMethod.java:136)  at org.springframework.web.servlet.mvc.method.annotation.ServletInvocableHandlerMethod.invokeAndHandle(ServletInvocableHandlerMethod.java:102)  at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.invokeHandlerMethod(RequestMappingHandlerAdapter.java:891)  at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.handleInternal(RequestMappingHandlerAdapter.java:797)  at org.springframework.web.servlet.mvc.method.AbstractHandlerMethodAdapter.handle(AbstractHandlerMethodAdapter.java:87)  at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:991)  at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:925)  at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:974)  ... 38 more ... Removed 34 stack frames  ```  

Содержание

Spread load evenly by using
jenkins doesn’t have label XXXXX
Pipeline Debug
groovy.lang.MissingPropertyException: No such property: XXX for class: groovy.lang.Binding
Статьи про Jenkins

Spread load evenly

Spread load evenly by using ‘H/5 * * * *’ rather than ‘*/5 * * * *’

Это рекомендация не запускать задания одновременно, а дать Jenkins распределить нагрузку
более равномерно. Подробнее

здесь

jenkins doesn’t have label XXXXX

jenkins doesn’t have label XXXXX

Это сообщение очень часто можно увидеть при ошибке в конфигурации.

Сообщение часто не соответсвует действительности!

label может сущестововать но при этом
где-то забыта или неправильно дана какая-то настройка.

Это яркий пример плохой работы с пользовательским опытом. Проблема известа давно, но
разработчики Jenkins считают, что это нормально.

Посмотрите какой лог выдаёт Jenkins если просто забыть указать
Remote File System Root
в настройках агента.

jenkins | 2023-01-12 10:56:40.308+0000 [id=3120] WARNING c.n.j.p.d.u.PortUtils$ConnectionCheck#execute: Could not connect to 10.15.253.223 port 49276. Are you sure this location is contactable from Jenkins?
jenkins | 2023-01-12 10:56:41.943+0000 [id=3120] SEVERE c.n.j.p.docker.DockerCloud$1#run: Error in provisioning; template=’DockerTemplate{configVersion=2, labelString=’docker_slave_ssh’, connector=DockerComputerSSHConnector{sshKeyStrategy=ManuallyConfiguredSSHKey{credentialsId=’fbe72464-8935-4a5c-966c-8e96c76a82fc’, sshHostKeyVerificationStrategy=hudson.plugins.sshslaves.verifiers.NonVerifyingKeyVerificationStrategy@38e4341e}, port=22, maxNumRetries=10, retryWaitTime=15}, instanceCap=2147483647, mode=NORMAL, retentionStrategy=com.nirima.jenkins.plugins.docker.strategy.DockerOnceRetentionStrategy@2c, dockerTemplateBase=DockerTemplateBase{image=’andreissh/jenkins-docker-slave:latest’, bindAllPorts=false, cpuPeriod=0, cpuQuota=0, privileged=false, tty=false}, removeVolumes=false, stopTimeout=10, pullStrategy=PULL_ALWAYS, pullTimeout=300, disabled=BySystem,0 ms,4 min 59 sec,Template provisioning failed., name=’docker_slave_ssh’}’ for cloud=’docker_ubuntu_esxi2′
jenkins | java.io.IOException: SSH service hadn’t started after 150 seconds and 15 milliseconds.Try increasing the number of retries (currently 10) and/or the retry wait time (currently 15) to allow for containers taking longer to start.
jenkins | at io.jenkins.docker.connector.DockerComputerSSHConnector.createLauncher(DockerComputerSSHConnector.java:326)
jenkins | at io.jenkins.docker.connector.DockerComputerConnector.createLauncher(DockerComputerConnector.java:176)
jenkins | at com.nirima.jenkins.plugins.docker.DockerTemplate.doProvisionNode(DockerTemplate.java:746)
jenkins | at com.nirima.jenkins.plugins.docker.DockerTemplate.provisionNode(DockerTemplate.java:683)
jenkins | at com.nirima.jenkins.plugins.docker.DockerCloud$1.run(DockerCloud.java:376)
jenkins | at jenkins.util.ContextResettingExecutorService$1.run(ContextResettingExecutorService.java:30)
jenkins | at jenkins.security.ImpersonatingExecutorService$1.run(ImpersonatingExecutorService.java:70)
jenkins | at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515)
jenkins | at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
jenkins | at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
jenkins | at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
jenkins | at java.base/java.lang.Thread.run(Thread.java:829)
jenkins | 2023-01-12 10:56:46.120+0000 [id=53] WARNING hudson.slaves.NodeProvisioner#update: Unexpected exception encountered while provisioning agent Image of andreissh/jenkins-docker-slave:latest
jenkins | java.io.IOException: SSH service hadn’t started after 150 seconds and 15 milliseconds.Try increasing the number of retries (currently 10) and/or the retry wait time (currently 15) to allow for containers taking longer to start.
jenkins | at io.jenkins.docker.connector.DockerComputerSSHConnector.createLauncher(DockerComputerSSHConnector.java:326)
jenkins | at io.jenkins.docker.connector.DockerComputerConnector.createLauncher(DockerComputerConnector.java:176)
jenkins | at com.nirima.jenkins.plugins.docker.DockerTemplate.doProvisionNode(DockerTemplate.java:746)
jenkins | at com.nirima.jenkins.plugins.docker.DockerTemplate.provisionNode(DockerTemplate.java:683)
jenkins | at com.nirima.jenkins.plugins.docker.DockerCloud$1.run(DockerCloud.java:376)
jenkins | at jenkins.util.ContextResettingExecutorService$1.run(ContextResettingExecutorService.java:30)
jenkins | at jenkins.security.ImpersonatingExecutorService$1.run(ImpersonatingExecutorService.java:70)
jenkins | at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515)
jenkins | at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
jenkins | at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
jenkins | at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
jenkins | at java.base/java.lang.Thread.run(Thread.java:829)

jenkins | 2023-01-12 11:56:16.124+0000 [id=51] INFO c.n.j.plugins.docker.DockerCloud#canAddProvisionedAgent: Provisioning ‘andreissh/jenkins-docker-slave:latest’ on ‘docker_ubuntu_esxi2’; Total containers: 0 (of 100)
jenkins | 2023-01-12 11:56:16.124+0000 [id=51] INFO c.n.j.plugins.docker.DockerCloud#provision: Will provision ‘andreissh/jenkins-docker-slave:latest’, for label: ‘docker_slave_ssh’, in cloud: ‘docker_ubuntu_esxi2’
jenkins | 2023-01-12 11:56:16.124+0000 [id=51] INFO h.s.NodeProvisioner$StandardStrategyImpl#apply: Started provisioning Image of andreissh/jenkins-docker-slave:latest from docker_ubuntu_esxi2 with 1 executors. Remaining excess workload: 0
jenkins | 2023-01-12 11:56:16.125+0000 [id=3264] INFO c.n.j.p.docker.DockerTemplate#pullImage: Pulling image ‘andreissh/jenkins-docker-slave:latest’. This may take awhile…
jenkins | 2023-01-12 11:56:17.460+0000 [id=3264] INFO c.n.j.p.docker.DockerTemplate#pullImage: Finished pulling image ‘andreissh/jenkins-docker-slave:latest’, took 1335 ms
jenkins | 2023-01-12 11:56:17.464+0000 [id=3264] INFO c.n.j.p.docker.DockerTemplate#doProvisionNode: Trying to run container for image «andreissh/jenkins-docker-slave:latest»
jenkins | 2023-01-12 11:56:17.464+0000 [id=3264] INFO c.n.j.p.docker.DockerTemplate#doProvisionNode: Trying to run container for node docker_slave_ssh-000hxyehdkxzs from image: andreissh/jenkins-docker-slave:latest
jenkins | 2023-01-12 11:56:18.518+0000 [id=3264] INFO c.n.j.p.docker.DockerTemplate#doProvisionNode: Started container ID 9773e98eb12b5b6b7e24a52f734465242949ab563b3c927dbe05627a3dda615b for node docker_slave_ssh-000hxyehdkxzs from image: andreissh/jenkins-docker-slave:latest

На докер облаке

docker ps -a

CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
9773e98eb12b andreissh/jenkins-docker-slave:latest «/usr/sbin/sshd -D -…» About a minute ago Up About a minute 0.0.0.0:49284->22/tcp, :::49283->22/tcp mystifying_johnson

Jenkins logs

jenkins | 2023-01-12 11:59:30.280+0000 [id=3267] INFO c.n.j.p.d.DockerContainerWatchdog#execute: Docker Container Watchdog has been triggered
jenkins | 2023-01-12 11:59:30.280+0000 [id=3267] INFO c.n.j.p.d.DockerContainerWatchdog$Statistics#writeStatisticsToLog: Watchdog Statistics: Number of overall executions: 239, Executions with processing timeout: 0, Containers removed gracefully: 10, Containers removed with force: 0, Containers removal failed: 0, Nodes removed successfully: 0, Nodes removal failed: 0, Container removal average duration (gracefully): 1153 ms, Container removal average duration (force): 0 ms, Average overall runtime of watchdog: 50 ms, Average runtime of container retrieval: 15 ms
jenkins | 2023-01-12 11:59:30.280+0000 [id=3267] INFO c.n.j.p.d.DockerContainerWatchdog#loadNodeMap: We currently have 0 nodes assigned to this Jenkins instance, which we will check
jenkins | 2023-01-12 11:59:30.281+0000 [id=3267] INFO c.n.j.p.d.DockerContainerWatchdog#execute: Checking Docker Cloud docker_ubuntu_esxi2 at tcp://10.15.253.223:2375
jenkins | 2023-01-12 11:59:30.288+0000 [id=3267] INFO c.n.j.p.d.DockerContainerWatchdog#cleanUpSuperfluousContainers: Container 9773e98eb12b5b6b7e24a52f734465242949ab563b3c927dbe05627a3dda615b, which is reported to be assigned to node docker_slave_ssh-000hxyehdkxzs, is no longer associated (node might be gone already?). The container’s last status is Up 3 minutes; it was created on 1673524577
jenkins | 2023-01-12 11:59:32.041+0000 [id=3267] INFO i.j.docker.DockerTransientNode$2#println: Stopped container ‘9773e98eb12b5b6b7e24a52f734465242949ab563b3c927dbe05627a3dda615b’ (orphaned container found by DockerContainerWatchdog).
jenkins | 2023-01-12 11:59:32.206+0000 [id=3267] INFO i.j.docker.DockerTransientNode$2#println: Removed container ‘9773e98eb12b5b6b7e24a52f734465242949ab563b3c927dbe05627a3dda615b’ (orphaned container found by DockerContainerWatchdog).
jenkins | 2023-01-12 11:59:32.207+0000 [id=3267] INFO c.n.j.p.d.DockerContainerWatchdog#terminateContainerGracefully: Successfully terminated orphaned container 9773e98eb12b5b6b7e24a52f734465242949ab563b3c927dbe05627a3dda615b
jenkins | 2023-01-12 11:59:32.207+0000 [id=3267] INFO c.n.j.p.d.DockerContainerWatchdog#execute: Docker Container Watchdog check has been completed
jenkins | 2023-01-12 11:59:49.803+0000 [id=3264] WARNING c.n.j.p.d.u.PortUtils$ConnectionCheck#execute: Could not connect to 10.15.253.223 port 49283. Are you sure this location is contactable from Jenkins?
jenkins | 2023-01-12 11:59:49.808+0000 [id=485] SEVERE c.g.d.a.a.ResultCallbackTemplate#onError: Error during callback
jenkins | com.github.dockerjava.api.exception.NotFoundException: Status 404: {«message»:»No such container: 9773e98eb12b5b6b7e24a52f734465242949ab563b3c927dbe05627a3dda615b»}
jenkins |
jenkins | at com.github.dockerjava.netty.handler.HttpResponseHandler.channelRead0(HttpResponseHandler.java:97)
jenkins | at com.github.dockerjava.netty.handler.HttpResponseHandler.channelRead0(HttpResponseHandler.java:32)
jenkins | at io.netty.channel.SimpleChannelInboundHandler.channelRead(SimpleChannelInboundHandler.java:99)
jenkins | at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:377)
jenkins | at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:363)
jenkins | at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:355)
jenkins | at io.netty.handler.logging.LoggingHandler.channelRead(LoggingHandler.java:271)
jenkins | at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:377)
jenkins | at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:363)
jenkins | at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:355)
jenkins | at io.netty.handler.codec.MessageToMessageDecoder.channelRead(MessageToMessageDecoder.java:102)
jenkins | at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:377)
jenkins | at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:363)
jenkins | at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:355)
jenkins | at io.netty.channel.CombinedChannelDuplexHandler$DelegatingChannelHandlerContext.fireChannelRead(CombinedChannelDuplexHandler.java:436)
jenkins | at io.netty.handler.codec.ByteToMessageDecoder.fireChannelRead(ByteToMessageDecoder.java:321)
jenkins | at io.netty.handler.codec.ByteToMessageDecoder.channelRead(ByteToMessageDecoder.java:295)
jenkins | at io.netty.channel.CombinedChannelDuplexHandler.channelRead(CombinedChannelDuplexHandler.java:251)
jenkins | at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:377)
jenkins | at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:363)
jenkins | at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:355)
jenkins | at io.netty.handler.timeout.IdleStateHandler.channelRead(IdleStateHandler.java:286)
jenkins | at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:377)
jenkins | at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:363)
jenkins | at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:355)
jenkins | at io.netty.channel.DefaultChannelPipeline$HeadContext.channelRead(DefaultChannelPipeline.java:1410)
jenkins | at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:377)
jenkins | at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:363)
jenkins | at io.netty.channel.DefaultChannelPipeline.fireChannelRead(DefaultChannelPipeline.java:919)
jenkins | at io.netty.channel.nio.AbstractNioByteChannel$NioByteUnsafe.read(AbstractNioByteChannel.java:163)
jenkins | at io.netty.channel.nio.NioEventLoop.processSelectedKey(NioEventLoop.java:714)
jenkins | at io.netty.channel.nio.NioEventLoop.processSelectedKeysOptimized(NioEventLoop.java:650)
jenkins | at io.netty.channel.nio.NioEventLoop.processSelectedKeys(NioEventLoop.java:576)
jenkins | at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:493)
jenkins | at io.netty.util.concurrent.SingleThreadEventExecutor$4.run(SingleThreadEventExecutor.java:989)
jenkins | at io.netty.util.internal.ThreadExecutorMap$2.run(ThreadExecutorMap.java:74)
jenkins | at io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30)
jenkins | at java.base/java.lang.Thread.run(Thread.java:829)
jenkins | 2023-01-12 11:59:49.809+0000 [id=3264] INFO c.n.j.p.docker.DockerTemplate#doProvisionNode: Unable to remove container ‘9773e98eb12b5b6b7e24a52f734465242949ab563b3c927dbe05627a3dda615b’ as it had already gone.
jenkins | 2023-01-12 11:59:49.810+0000 [id=3264] SEVERE c.n.j.p.docker.DockerCloud$1#run: Error in provisioning; template=’DockerTemplate{configVersion=2, labelString=’docker_slave_ssh’, connector=DockerComputerSSHConnector{sshKeyStrategy=ManuallyConfiguredSSHKey{credentialsId=’fbe72464-8935-4a5c-966c-8e96c76a82fc’, sshHostKeyVerificationStrategy=hudson.plugins.sshslaves.verifiers.NonVerifyingKeyVerificationStrategy@4b94c769}, port=22, maxNumRetries=10, retryWaitTime=21}, instanceCap=2147483647, mode=NORMAL, retentionStrategy=com.nirima.jenkins.plugins.docker.strategy.DockerOnceRetentionStrategy@2c, dockerTemplateBase=DockerTemplateBase{image=’andreissh/jenkins-docker-slave:latest’, bindAllPorts=false, cpuPeriod=0, cpuQuota=0, privileged=false, tty=false}, removeVolumes=false, stopTimeout=10, pullStrategy=PULL_ALWAYS, pullTimeout=300, disabled=BySystem,0 ms,4 min 59 sec,Template provisioning failed., name=’docker_slave_ssh’}’ for cloud=’docker_ubuntu_esxi2′
jenkins | java.io.IOException: SSH service hadn’t started after 210 seconds and 15 milliseconds.Try increasing the number of retries (currently 10) and/or the retry wait time (currently 21) to allow for containers taking longer to start.
jenkins | at io.jenkins.docker.connector.DockerComputerSSHConnector.createLauncher(DockerComputerSSHConnector.java:326)
jenkins | at io.jenkins.docker.connector.DockerComputerConnector.createLauncher(DockerComputerConnector.java:176)
jenkins | at com.nirima.jenkins.plugins.docker.DockerTemplate.doProvisionNode(DockerTemplate.java:746)
jenkins | at com.nirima.jenkins.plugins.docker.DockerTemplate.provisionNode(DockerTemplate.java:683)
jenkins | at com.nirima.jenkins.plugins.docker.DockerCloud$1.run(DockerCloud.java:376)
jenkins | at jenkins.util.ContextResettingExecutorService$1.run(ContextResettingExecutorService.java:30)
jenkins | at jenkins.security.ImpersonatingExecutorService$1.run(ImpersonatingExecutorService.java:70)
jenkins | at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515)
jenkins | at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
jenkins | at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
jenkins | at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
jenkins | at java.base/java.lang.Thread.run(Thread.java:829)
jenkins | 2023-01-12 11:59:56.120+0000 [id=50] WARNING hudson.slaves.NodeProvisioner#update: Unexpected exception encountered while provisioning agent Image of andreissh/jenkins-docker-slave:latest
jenkins | java.io.IOException: SSH service hadn’t started after 210 seconds and 15 milliseconds.Try increasing the number of retries (currently 10) and/or the retry wait time (currently 21) to allow for containers taking longer to start.
jenkins | at io.jenkins.docker.connector.DockerComputerSSHConnector.createLauncher(DockerComputerSSHConnector.java:326)
jenkins | at io.jenkins.docker.connector.DockerComputerConnector.createLauncher(DockerComputerConnector.java:176)
jenkins | at com.nirima.jenkins.plugins.docker.DockerTemplate.doProvisionNode(DockerTemplate.java:746)
jenkins | at com.nirima.jenkins.plugins.docker.DockerTemplate.provisionNode(DockerTemplate.java:683)
jenkins | at com.nirima.jenkins.plugins.docker.DockerCloud$1.run(DockerCloud.java:376)
jenkins | at jenkins.util.ContextResettingExecutorService$1.run(ContextResettingExecutorService.java:30)
jenkins | at jenkins.security.ImpersonatingExecutorService$1.run(ImpersonatingExecutorService.java:70)
jenkins | at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515)
jenkins | at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
jenkins | at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
jenkins | at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
jenkins | at java.base/java.lang.Thread.run(Thread.java:829)
jenkins | 2023-01-12 12:04:30.280+0000 [id=3276] INFO c.n.j.p.d.DockerContainerWatchdog#execute: Docker Container Watchdog has been triggered
jenkins | 2023-01-12 12:04:30.280+0000 [id=3276] INFO c.n.j.p.d.DockerContainerWatchdog$Statistics#writeStatisticsToLog: Watchdog Statistics: Number of overall executions: 240, Executions with processing timeout: 0, Containers removed gracefully: 11, Containers removed with force: 0, Containers removal failed: 0, Nodes removed successfully: 0, Nodes removal failed: 0, Container removal average duration (gracefully): 1223 ms, Container removal average duration (force): 0 ms, Average overall runtime of watchdog: 57 ms, Average runtime of container retrieval: 15 ms
jenkins | 2023-01-12 12:04:30.280+0000 [id=3276] INFO c.n.j.p.d.DockerContainerWatchdog#loadNodeMap: We currently have 0 nodes assigned to this Jenkins instance, which we will check
jenkins | 2023-01-12 12:04:30.280+0000 [id=3276] INFO c.n.j.p.d.DockerContainerWatchdog#execute: Checking Docker Cloud docker_ubuntu_esxi2 at tcp://10.15.253.223:2375
jenkins | 2023-01-12 12:04:30.285+0000 [id=3276] INFO i.j.docker.client.DockerAPI$1#entryDroppedFromCache: Dropped connection io.jenkins.docker.client.DockerAPI$SharableDockerClient@6d93f1c6 to DockerClientParameters{dockerUri=’tcp://10.15.253.223:2375′, credentialsId=’null’, readTimeoutInMsOrNull=300000, connectTimeoutInMsOrNull=60000}
jenkins | 2023-01-12 12:04:30.293+0000 [id=3276] INFO c.n.j.p.d.DockerContainerWatchdog#execute: Docker Container Watchdog check has been completed

Failed to capture container inspection data: No serializer found for class java.lang.Object and no properties discovered to create BeanSerializer (to avoid exception, disable SerializationFeature.FAIL_ON_EMPTY_BEANS) (through reference chain: com.github.dockerjava.api.command.InspectContainerResponse[«Config»]->com.github.dockerjava.api.model.ContainerConfig[«ExposedPorts»]->java.util.HashMap[«22/tcp»])

Pipeline Debug

Создайте файл

Jenkinsfile.template

и скопируйте его содержание в Pipeline → Definition → Pipeline script

В нём содержится ошибка, которую мы обнаружим в процессе

pipeline {
agent {
node {
label ‘jenkins-agent-goes-here’
}
}
stages {
stage(‘Build’) {
steps {
echo «Building..»
sh »’
echo «doing build stuff..»
»’
}
}
stage(‘Test’) {
steps {
echo «Testing..»
sh »’
echo «doing test stuff..
»’
}
}
stage(‘Deliver’) {
steps {
echo ‘Deliver….’
sh »’
echo «doing delivery stuff..»
»’
}
}
}
}

Jenkins Pipeline script изображение с сайта www.andreyolegovich.ru

Declarative Pipeline


www.andreyolegovich.ru

label нужно заменить на label вашего агента, который подходит для данного задания. В прошлом примере
это был demo-docker-slave, сейчас я переименовал его в docker_slave_ssh

pipeline {
agent {
node {
label ‘docker_slave_ssh
}
}

Запустим Pipeline и изучим статус

Jenkins Pipeline script изображение с сайта www.andreyolegovich.ru

Pipeline завалилась на тестах


www.andreyolegovich.ru

Jenkins Pipeline test logs изображение с сайта www.andreyolegovich.ru

Pipeline Test Logs


www.andreyolegovich.ru

/home/jenkins/workspace/my_first_build_pipeline@tmp/durable-9a278627/script.sh: 3: Syntax error: Unterminated quoted string

В скрипте забыта закрывающая кавычка в стадии Test

groovy.lang.MissingPropertyException: No such property: XXX for class: groovy.lang.Binding

groovy.lang.MissingPropertyException: No such property: USER_NAME for class: groovy.lang.Binding

Эта ошибка может возникнуть, когда вы забыли взять какое-либо значение в кавычки

withCredentials([
usernamePassword(credentialsId: ‘my_credentials’,
usernameVariable: USER_NAME,
passwordVariable: ‘MY_PWD’)])
{
echo «USER: ${MY_USER} PWD: ${MY_PWD}»
}

Нужно добавить кавычки.

withCredentials([
usernamePassword(credentialsId: ‘my_credentials’,
usernameVariable: ‘USER_NAME’,
passwordVariable: ‘MY_PWD’)])
{
echo «USER: ${MY_USER} PWD: ${MY_PWD}»
}

Я видел на Youtube ролик с полумиллионом просмотров, где девушка показывает переменные без кавычек
и не запускает джобу, возможно ваша проблема родом оттуда.

Статьи про Jenkins

Jenkins
Установка Jenkins
Основы Jenkins
Jenkins Pipeline
Задания по расписанию
Разбор ошибок
DevOps
Docker
Make
Collectives™ on Stack Overflow

Find centralized, trusted content and collaborate around the technologies you use most.

Learn more about Collectives

Ask Question

Asked
1 year, 1 month ago

Modified
1 year, 1 month ago

Viewed
326 times

1

I am Using Jenkins under tomcat and getting error

A problem occurred while processing the request.

every time when trying to apply changes in the Job. Not able to apply and save the changes in the Job.

  • jenkins

edited Dec 9, 2021 at 15:34

James Z's user avatar

James Z

12.2k10 gold badges28 silver badges44 bronze badges

asked Dec 9, 2021 at 13:00

kritika pandey's user avatar

kritika pandeykritika pandey

111 bronze badge

1

  • I recall it has something to do with cache and session in your browser due that Jenkins stores a lot per request. So if you could clear them for your browser you should be able to save and apply your changes.

    – SvdTweel

    Dec 9, 2021 at 13:15

Add a comment
 | 

Sorted by:

Reset to default

Your Answer

Sign up or log in

Sign up using Google

Sign up using Email and Password

Post as a guest

Name

Email

Required, but never shown

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged

  • jenkins

or ask your own question.

  • The Overflow Blog
  • Comparing tag trends with our Most Loved programming languages

  • The less JavaScript, the better (Ep. 532)

  • Featured on Meta
  • Accessibility Update: Colors

  • Introducing a new close reason specifically for non-English questions

  • We’re bringing advertisements for technology courses to Stack Overflow

  • 2022: a year in moderation

  • Temporary policy: ChatGPT is banned

Related

588

Error — trustAnchors parameter must be non-empty

365

How do I schedule jobs in Jenkins?

200

Jenkins Host key verification failed

0

Not getting parameter value while using Jenkins job trigger using URL

4

Apply and save buttons won’t work on Jenkins

3

Not able to save Jenkins Job after changes , no error is visible

0

Jenkins with Azure AD integration fails with «A problem occurred while processing the request»

0

A problem occurred while processing the request (Jenkins)

1

Getting error «A problem occurred while processing the request» while integrating ZAP with Jenkins

Hot Network Questions

  • Consequences of Nash-Tognoli Theorem

  • Got accepted to top-choice PhD program. Drop other interviews?

  • Are the powers of a Divine Soul sorcerer at the mercy of their deity’s will?

  • Philosophers answering «what happens to a society that does not believe in free wıll?»

  • Do cats know instinctively which plants are safe to eat?

  • I connected two BJT NPN transistors and don’t quite understand how it works

  • Replace empty lines in one file with lines from another file

  • Why can’t we spell a diminished 3rd or an augmented 5th using only the notes in a major scale?

  • Does using a car’s electricity use up more fuel?

  • When an author sells the underlying copyright to a third party, where does the publisher now send the royalties?

  • Rigorous but elementary statistics for self study

  • What is this fictional element named Redstone and which comic does it come from?

  • What is the bond length of O2—?

  • Is there a notation for borrowing a beat from the next measure?

  • Salacious Bacon Tripod

  • Does Germany have a law on foreign influence agents (similar to the US’ or Russia’s)? Or proposals for something like that?

  • Am I doing anything wrong by getting a greeting card for an employee who is leaving?

  • Why is the current the same after passing through a resistor even when the drift velocity goes down?

  • What is contact means asked for in HKSAR Department of Health Health Declaration Form

  • Boxplot | 5-Number-Summary

  • I’m getting the error «The following security updates require Ubuntu Pro with ‘esm-apps’ enabled» when updating Ubuntu 22.04

  • Align Image correctly using minipages

  • Velocities in space without using massive numbers

  • Bash command find with exec and grep not working properly, anything wrong?

more hot questions

Question feed

Your privacy

By clicking “Accept all cookies”, you agree Stack Exchange can store cookies on your device and disclose information in accordance with our Cookie Policy.

Collectives™ on Stack Overflow

Find centralized, trusted content and collaborate around the technologies you use most.

Learn more about Collectives

Ask Question

Asked
1 year, 1 month ago

Modified
1 year, 1 month ago

Viewed
326 times

1

I am Using Jenkins under tomcat and getting error

A problem occurred while processing the request.

every time when trying to apply changes in the Job. Not able to apply and save the changes in the Job.

  • jenkins

edited Dec 9, 2021 at 15:34

James Z's user avatar

James Z

12.2k10 gold badges28 silver badges44 bronze badges

asked Dec 9, 2021 at 13:00

kritika pandey's user avatar

kritika pandeykritika pandey

111 bronze badge

1

  • I recall it has something to do with cache and session in your browser due that Jenkins stores a lot per request. So if you could clear them for your browser you should be able to save and apply your changes.

    – SvdTweel

    Dec 9, 2021 at 13:15

Add a comment
 | 

Sorted by:

Reset to default

Your Answer

Sign up or log in

Sign up using Google

Sign up using Facebook

Sign up using Email and Password

Post as a guest

Name

Email

Required, but never shown

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged

  • jenkins

or ask your own question.

  • The Overflow Blog
  • Comparing tag trends with our Most Loved programming languages

  • The less JavaScript, the better (Ep. 532)

  • Featured on Meta
  • Accessibility Update: Colors

  • Introducing a new close reason specifically for non-English questions

  • We’re bringing advertisements for technology courses to Stack Overflow

  • 2022: a year in moderation

  • Temporary policy: ChatGPT is banned

Related

588

Error — trustAnchors parameter must be non-empty

365

How do I schedule jobs in Jenkins?

200

Jenkins Host key verification failed

0

Not getting parameter value while using Jenkins job trigger using URL

4

Apply and save buttons won’t work on Jenkins

3

Not able to save Jenkins Job after changes , no error is visible

0

Jenkins with Azure AD integration fails with «A problem occurred while processing the request»

0

A problem occurred while processing the request (Jenkins)

1

Getting error «A problem occurred while processing the request» while integrating ZAP with Jenkins

Hot Network Questions

  • Can there be acceleration without work?

  • Event functionality in C

  • What popularized the idea of aliens having a pair of antennae on their heads?

  • I connected two BJT NPN transistors and don’t quite understand how it works

  • Delete faces of a mesh that are fully immerged into another one via Geometry Nodes

  • Overestimating the lower values and underestimating the higher values in Regression

  • Short story titled «Sometimes, It’s Better Not To Know»

  • Attach USB docking station to wooden panel

  • As a game master, what to do when the player fails an ability check?

  • A bit complicated 20 card games

  • Is there a notation for borrowing a beat from the next measure?

  • What is the «revolving door of death»?

  • How do you say idiomatically that a clock on the wall is not showing the correct time?

  • If we had just invented the first clock, and we only had a calendar system, how would we set the time of day for the first time?

  • Salacious Bacon Tripod

  • How to deindent text within itemize

  • Specify average of grades in cv

  • What is the relevance of the Lorentz factor in general relativity?

  • Consequences of Nash-Tognoli Theorem

  • ‘Lies to children’ in mathematics and statistics education

  • When and how would clocks be invented on a cloud-enshrouded planet?

  • What is the musical term for a song that uses a higher octave for its last chorus?

  • Am I doing anything wrong by getting a greeting card for an employee who is leaving?

  • Why would high-ranking politicians take classified documents to their personal residence?

more hot questions

Question feed

Your privacy

By clicking “Accept all cookies”, you agree Stack Exchange can store cookies on your device and disclose information in accordance with our Cookie Policy.

I’m a beginner in Jenkins.
I’m trying to help my boss with the issue below
The Jenkins version is: Jenkins 2.332.2.

A problem occurred while processing the request. Logging ID=7aab0cca-a721-4d34-b319-2ea90bd6b005 in the Dashboard Page.

ERROR LOG in a spoiler below
May 06, 2022 8:36:50 AM WARNING hudson.ExpressionFactory2$JexlExpression evaluate
Caught exception evaluating: h.printLogRecordHtml(logRecord, prior) in /log/all. Reason: java.lang.NullPointerException
java.lang.NullPointerException
at hudson.Functions.printLogRecordHtml(Functions.java:562)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:566)
at org.apache.commons.jexl.util.introspection.UberspectImpl$VelMethodImpl.invoke(UberspectImpl.java:258)
at org.apache.commons.jexl.parser.ASTMethod.execute(ASTMethod.java:104)
at org.apache.commons.jexl.parser.ASTReference.execute(ASTReference.java:83)
at org.apache.commons.jexl.parser.ASTReference.value(ASTReference.java:57)
at org.apache.commons.jexl.parser.ASTReferenceExpression.value(ASTReferenceExpression.java:51)
at org.apache.commons.jexl.ExpressionImpl.evaluate(ExpressionImpl.java:80)
at hudson.ExpressionFactory2$JexlExpression.evaluate(ExpressionFactory2.java:76)
at org.apache.commons.jelly.tags.core.CoreTagLibrary$3.run(CoreTagLibrary.java:134)
at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95)
at org.apache.commons.jelly.TagSupport.invokeBody(TagSupport.java:161)
at org.apache.commons.jelly.tags.core.ForEachTag.doTag(ForEachTag.java:150)
at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:269)
at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95)
at org.apache.commons.jelly.tags.core.CoreTagLibrary$2.run(CoreTagLibrary.java:105)
at org.kohsuke.stapler.jelly.CallTagLibScript.run(CallTagLibScript.java:122)
at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95)
at org.kohsuke.stapler.jelly.CallTagLibScript$1.run(CallTagLibScript.java:101)
at org.apache.commons.jelly.tags.define.InvokeBodyTag.doTag(InvokeBodyTag.java:91)
at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:269)
at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95)
at org.apache.commons.jelly.tags.core.CoreTagLibrary$1.run(CoreTagLibrary.java:98)
at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95)
at org.apache.commons.jelly.tags.core.CoreTagLibrary$2.run(CoreTagLibrary.java:105)
at org.kohsuke.stapler.jelly.CallTagLibScript.run(CallTagLibScript.java:122)
at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95)
at org.kohsuke.stapler.jelly.CallTagLibScript$1.run(CallTagLibScript.java:101)
at org.apache.commons.jelly.tags.define.InvokeBodyTag.doTag(InvokeBodyTag.java:91)
at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:269)
at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95)
at org.kohsuke.stapler.jelly.ReallyStaticTagLibrary$1.run(ReallyStaticTagLibrary.java:101)
at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95)
at org.kohsuke.stapler.jelly.ReallyStaticTagLibrary$1.run(ReallyStaticTagLibrary.java:101)
at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95)
at org.kohsuke.stapler.jelly.ReallyStaticTagLibrary$1.run(ReallyStaticTagLibrary.java:101)
at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95)
at org.kohsuke.stapler.jelly.ReallyStaticTagLibrary$1.run(ReallyStaticTagLibrary.java:101)
at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95)
at org.kohsuke.stapler.jelly.CallTagLibScript$1.run(CallTagLibScript.java:101)
at org.apache.commons.jelly.tags.define.InvokeBodyTag.doTag(InvokeBodyTag.java:91)
at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:269)
at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95)
at org.apache.commons.jelly.tags.core.CoreTagLibrary$2.run(CoreTagLibrary.java:105)
at org.kohsuke.stapler.jelly.CallTagLibScript.run(CallTagLibScript.java:122)
at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95)
at org.apache.commons.jelly.tags.core.CoreTagLibrary$2.run(CoreTagLibrary.java:105)
at org.kohsuke.stapler.jelly.CallTagLibScript.run(CallTagLibScript.java:122)
at org.apache.commons.jelly.tags.core.CoreTagLibrary$2.run(CoreTagLibrary.java:105)
at org.kohsuke.stapler.jelly.JellyViewScript.run(JellyViewScript.java:99)
at org.kohsuke.stapler.jelly.DefaultScriptInvoker.invokeScript(DefaultScriptInvoker.java:66)
at org.kohsuke.stapler.jelly.DefaultScriptInvoker.invokeScript(DefaultScriptInvoker.java:55)
at org.kohsuke.stapler.jelly.ScriptInvoker.execute(ScriptInvoker.java:56)
at org.kohsuke.stapler.jelly.ScriptInvoker.execute(ScriptInvoker.java:43)
at org.kohsuke.stapler.Facet$1.dispatch(Facet.java:240)
at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:766)
at org.kohsuke.stapler.Stapler.invoke(Stapler.java:898)
at org.kohsuke.stapler.MetaClass$2.doDispatch(MetaClass.java:224)
at org.kohsuke.stapler.NameBasedDispatcher.dispatch(NameBasedDispatcher.java:59)
at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:766)
at org.kohsuke.stapler.Stapler.invoke(Stapler.java:898)
at org.kohsuke.stapler.Stapler.invoke(Stapler.java:694)
at org.kohsuke.stapler.Stapler.service(Stapler.java:240)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:790)
at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:799)
at org.eclipse.jetty.servlet.ServletHandler$ChainEnd.doFilter(ServletHandler.java:1626)
at hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:157)
at org.jenkinsci.plugins.ssegateway.Endpoint$SSEListenChannelFilter.doFilter(Endpoint.java:248)
at hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:154)
at jenkins.security.ResourceDomainFilter.doFilter(ResourceDomainFilter.java:81)
at hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:154)
at jenkins.telemetry.impl.UserLanguages$AcceptLanguageFilter.doFilter(UserLanguages.java:129)
at hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:154)
at io.jenkins.blueocean.ResourceCacheControl.doFilter(ResourceCacheControl.java:134)
at hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:154)
at io.jenkins.blueocean.auth.jwt.impl.JwtAuthenticationFilter.doFilter(JwtAuthenticationFilter.java:60)
at hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:154)
at hudson.util.PluginServletFilter.doFilter(PluginServletFilter.java:160)
at org.eclipse.jetty.servlet.FilterHolder.doFilter(FilterHolder.java:193)
at org.eclipse.jetty.servlet.ServletHandler$Chain.doFilter(ServletHandler.java:1601)
at hudson.security.csrf.CrumbFilter.doFilter(CrumbFilter.java:160)
at org.eclipse.jetty.servlet.FilterHolder.doFilter(FilterHolder.java:193)
at org.eclipse.jetty.servlet.ServletHandler$Chain.doFilter(ServletHandler.java:1601)
at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:94)
at jenkins.security.AcegiSecurityExceptionFilter.doFilter(AcegiSecurityExceptionFilter.java:52)
at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:99)
at hudson.security.UnwrapSecurityExceptionFilter.doFilter(UnwrapSecurityExceptionFilter.java:54)
at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:99)
at org.springframework.security.web.access.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:122)
at org.springframework.security.web.access.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:116)
at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:99)
at org.springframework.security.web.authentication.AnonymousAuthenticationFilter.doFilter(AnonymousAuthenticationFilter.java:109)
at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:99)
at org.springframework.security.web.authentication.rememberme.RememberMeAuthenticationFilter.doFilter(RememberMeAuthenticationFilter.java:102)
at org.springframework.security.web.authentication.rememberme.RememberMeAuthenticationFilter.doFilter(RememberMeAuthenticationFilter.java:93)
at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:99)
at org.springframework.security.web.authentication.AbstractAuthenticationProcessingFilter.doFilter(AbstractAuthenticationProcessingFilter.java:219)
at org.springframework.security.web.authentication.AbstractAuthenticationProcessingFilter.doFilter(AbstractAuthenticationProcessingFilter.java:213)
at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:99)
at jenkins.security.BasicHeaderProcessor.doFilter(BasicHeaderProcessor.java:97)
at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:99)
at org.springframework.security.web.context.SecurityContextPersistenceFilter.doFilter(SecurityContextPersistenceFilter.java:110)
at org.springframework.security.web.context.SecurityContextPersistenceFilter.doFilter(SecurityContextPersistenceFilter.java:80)
at hudson.security.HttpSessionContextIntegrationFilter2.doFilter(HttpSessionContextIntegrationFilter2.java:63)
at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:99)
at hudson.security.ChainedServletFilter.doFilter(ChainedServletFilter.java:111)
at hudson.security.HudsonFilter.doFilter(HudsonFilter.java:172)
at org.eclipse.jetty.servlet.FilterHolder.doFilter(FilterHolder.java:193)
at org.eclipse.jetty.servlet.ServletHandler$Chain.doFilter(ServletHandler.java:1601)
at org.kohsuke.stapler.compression.CompressionFilter.doFilter(CompressionFilter.java:53)
at org.eclipse.jetty.servlet.FilterHolder.doFilter(FilterHolder.java:193)
at org.eclipse.jetty.servlet.ServletHandler$Chain.doFilter(ServletHandler.java:1601)
at hudson.util.CharacterEncodingFilter.doFilter(CharacterEncodingFilter.java:86)
at org.eclipse.jetty.servlet.FilterHolder.doFilter(FilterHolder.java:193)
at org.eclipse.jetty.servlet.ServletHandler$Chain.doFilter(ServletHandler.java:1601)
at org.kohsuke.stapler.DiagnosticThreadNameFilter.doFilter(DiagnosticThreadNameFilter.java:30)
at org.eclipse.jetty.servlet.FilterHolder.doFilter(FilterHolder.java:193)
at org.eclipse.jetty.servlet.ServletHandler$Chain.doFilter(ServletHandler.java:1601)
at jenkins.security.SuspiciousRequestFilter.doFilter(SuspiciousRequestFilter.java:38)
at org.eclipse.jetty.servlet.FilterHolder.doFilter(FilterHolder.java:193)
at org.eclipse.jetty.servlet.ServletHandler$Chain.doFilter(ServletHandler.java:1601)
at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:548)
at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:143)
at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:578)
at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:127)
at org.eclipse.jetty.server.handler.ScopedHandler.nextHandle(ScopedHandler.java:235)
at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:1624)
at org.eclipse.jetty.server.handler.ScopedHandler.nextHandle(ScopedHandler.java:233)
at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1434)
at org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:188)
at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:501)
at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:1594)
at org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:186)
at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1349)
at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:141)
at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:127)
at org.eclipse.jetty.server.Server.handle(Server.java:516)
at org.eclipse.jetty.server.HttpChannel.lambda$handle$1(HttpChannel.java:388)
at org.eclipse.jetty.server.HttpChannel.dispatch(HttpChannel.java:633)
at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:380)
at org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:277)
at org.eclipse.jetty.io.AbstractConnection$ReadCallback.succeeded(AbstractConnection.java:311)
at org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:105)
at org.eclipse.jetty.io.ChannelEndPoint$1.run(ChannelEndPoint.java:104)
at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.runTask(EatWhatYouKill.java:338)
at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.doProduce(EatWhatYouKill.java:315)
at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.tryProduce(EatWhatYouKill.java:173)
at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.run(EatWhatYouKill.java:131)
at org.eclipse.jetty.util.thread.ReservedThreadExecutor$ReservedThread.run(ReservedThreadExecutor.java:386)
at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:883)
at org.eclipse.jetty.util.thread.QueuedThreadPool$Runner.run(QueuedThreadPool.java:1034)
at java.base/java.lang.Thread.run(Thread.java:834)

May 06, 2022 8:36:50 AM WARNING hudson.ExpressionFactory2$JexlExpression evaluate
Caught exception evaluating: h.printLogRecordHtml(logRecord, prior) in /log/all. Reason: java.lang.NullPointerException
java.lang.NullPointerException
at hudson.Functions.printLogRecordHtml(Functions.java:562)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:566)
at org.apache.commons.jexl.util.introspection.UberspectImpl$VelMethodImpl.invoke(UberspectImpl.java:258)
at org.apache.commons.jexl.parser.ASTMethod.execute(ASTMethod.java:104)
at org.apache.commons.jexl.parser.ASTReference.execute(ASTReference.java:83)
at org.apache.commons.jexl.parser.ASTReference.value(ASTReference.java:57)
at org.apache.commons.jexl.parser.ASTReferenceExpression.value(ASTReferenceExpression.java:51)
at org.apache.commons.jexl.ExpressionImpl.evaluate(ExpressionImpl.java:80)
at hudson.ExpressionFactory2$JexlExpression.evaluate(ExpressionFactory2.java:76)
at org.apache.commons.jelly.tags.core.CoreTagLibrary$3.run(CoreTagLibrary.java:134)
at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95)
at org.apache.commons.jelly.TagSupport.invokeBody(TagSupport.java:161)
at org.apache.commons.jelly.tags.core.ForEachTag.doTag(ForEachTag.java:150)
at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:269)
at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95)
at org.apache.commons.jelly.tags.core.CoreTagLibrary$2.run(CoreTagLibrary.java:105)
at org.kohsuke.stapler.jelly.CallTagLibScript.run(CallTagLibScript.java:122)
at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95)
at org.kohsuke.stapler.jelly.CallTagLibScript$1.run(CallTagLibScript.java:101)
at org.apache.commons.jelly.tags.define.InvokeBodyTag.doTag(InvokeBodyTag.java:91)
at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:269)
at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95)
at org.apache.commons.jelly.tags.core.CoreTagLibrary$1.run(CoreTagLibrary.java:98)
at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95)
at org.apache.commons.jelly.tags.core.CoreTagLibrary$2.run(CoreTagLibrary.java:105)
at org.kohsuke.stapler.jelly.CallTagLibScript.run(CallTagLibScript.java:122)
at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95)
at org.kohsuke.stapler.jelly.CallTagLibScript$1.run(CallTagLibScript.java:101)
at org.apache.commons.jelly.tags.define.InvokeBodyTag.doTag(InvokeBodyTag.java:91)
at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:269)
at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95)
at org.kohsuke.stapler.jelly.ReallyStaticTagLibrary$1.run(ReallyStaticTagLibrary.java:101)
at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95)
at org.kohsuke.stapler.jelly.ReallyStaticTagLibrary$1.run(ReallyStaticTagLibrary.java:101)
at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95)
at org.kohsuke.stapler.jelly.ReallyStaticTagLibrary$1.run(ReallyStaticTagLibrary.java:101)
at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95)
at org.kohsuke.stapler.jelly.ReallyStaticTagLibrary$1.run(ReallyStaticTagLibrary.java:101)
at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95)
at org.kohsuke.stapler.jelly.CallTagLibScript$1.run(CallTagLibScript.java:101)
at org.apache.commons.jelly.tags.define.InvokeBodyTag.doTag(InvokeBodyTag.java:91)
at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:269)
at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95)
at org.apache.commons.jelly.tags.core.CoreTagLibrary$2.run(CoreTagLibrary.java:105)
at org.kohsuke.stapler.jelly.CallTagLibScript.run(CallTagLibScript.java:122)
at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95)
at org.apache.commons.jelly.tags.core.CoreTagLibrary$2.run(CoreTagLibrary.java:105)
at org.kohsuke.stapler.jelly.CallTagLibScript.run(CallTagLibScript.java:122)
at org.apache.commons.jelly.tags.core.CoreTagLibrary$2.run(CoreTagLibrary.java:105)
at org.kohsuke.stapler.jelly.JellyViewScript.run(JellyViewScript.java:99)
at org.kohsuke.stapler.jelly.DefaultScriptInvoker.invokeScript(DefaultScriptInvoker.java:66)
at org.kohsuke.stapler.jelly.DefaultScriptInvoker.invokeScript(DefaultScriptInvoker.java:55)
at org.kohsuke.stapler.jelly.ScriptInvoker.execute(ScriptInvoker.java:56)
at org.kohsuke.stapler.jelly.ScriptInvoker.execute(ScriptInvoker.java:43)
at org.kohsuke.stapler.Facet$1.dispatch(Facet.java:240)
at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:766)
at org.kohsuke.stapler.Stapler.invoke(Stapler.java:898)
at org.kohsuke.stapler.MetaClass$2.doDispatch(MetaClass.java:224)
at org.kohsuke.stapler.NameBasedDispatcher.dispatch(NameBasedDispatcher.java:59)
at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:766)
at org.kohsuke.stapler.Stapler.invoke(Stapler.java:898)
at org.kohsuke.stapler.Stapler.invoke(Stapler.java:694)
at org.kohsuke.stapler.Stapler.service(Stapler.java:240)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:790)
at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:799)
at org.eclipse.jetty.servlet.ServletHandler$ChainEnd.doFilter(ServletHandler.java:1626)
at hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:157)
at org.jenkinsci.plugins.ssegateway.Endpoint$SSEListenChannelFilter.doFilter(Endpoint.java:248)
at hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:154)
at jenkins.security.ResourceDomainFilter.doFilter(ResourceDomainFilter.java:81)
at hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:154)
at jenkins.telemetry.impl.UserLanguages$AcceptLanguageFilter.doFilter(UserLanguages.java:129)
at hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:154)
at io.jenkins.blueocean.ResourceCacheControl.doFilter(ResourceCacheControl.java:134)
at hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:154)
at io.jenkins.blueocean.auth.jwt.impl.JwtAuthenticationFilter.doFilter(JwtAuthenticationFilter.java:60)
at hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:154)
at hudson.util.PluginServletFilter.doFilter(PluginServletFilter.java:160)
at org.eclipse.jetty.servlet.FilterHolder.doFilter(FilterHolder.java:193)
at org.eclipse.jetty.servlet.ServletHandler$Chain.doFilter(ServletHandler.java:1601)
at hudson.security.csrf.CrumbFilter.doFilter(CrumbFilter.java:160)
at org.eclipse.jetty.servlet.FilterHolder.doFilter(FilterHolder.java:193)
at org.eclipse.jetty.servlet.ServletHandler$Chain.doFilter(ServletHandler.java:1601)
at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:94)
at jenkins.security.AcegiSecurityExceptionFilter.doFilter(AcegiSecurityExceptionFilter.java:52)
at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:99)
at hudson.security.UnwrapSecurityExceptionFilter.doFilter(UnwrapSecurityExceptionFilter.java:54)
at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:99)
at org.springframework.security.web.access.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:122)
at org.springframework.security.web.access.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:116)
at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:99)
at org.springframework.security.web.authentication.AnonymousAuthenticationFilter.doFilter(AnonymousAuthenticationFilter.java:109)
at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:99)
at org.springframework.security.web.authentication.rememberme.RememberMeAuthenticationFilter.doFilter(RememberMeAuthenticationFilter.java:102)
at org.springframework.security.web.authentication.rememberme.RememberMeAuthenticationFilter.doFilter(RememberMeAuthenticationFilter.java:93)
at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:99)
at org.springframework.security.web.authentication.AbstractAuthenticationProcessingFilter.doFilter(AbstractAuthenticationProcessingFilter.java:219)
at org.springframework.security.web.authentication.AbstractAuthenticationProcessingFilter.doFilter(AbstractAuthenticationProcessingFilter.java:213)
at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:99)
at jenkins.security.BasicHeaderProcessor.doFilter(BasicHeaderProcessor.java:97)
at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:99)
at org.springframework.security.web.context.SecurityContextPersistenceFilter.doFilter(SecurityContextPersistenceFilter.java:110)
at org.springframework.security.web.context.SecurityContextPersistenceFilter.doFilter(SecurityContextPersistenceFilter.java:80)
at hudson.security.HttpSessionContextIntegrationFilter2.doFilter(HttpSessionContextIntegrationFilter2.java:63)
at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:99)
at hudson.security.ChainedServletFilter.doFilter(ChainedServletFilter.java:111)
at hudson.security.HudsonFilter.doFilter(HudsonFilter.java:172)
at org.eclipse.jetty.servlet.FilterHolder.doFilter(FilterHolder.java:193)
at org.eclipse.jetty.servlet.ServletHandler$Chain.doFilter(ServletHandler.java:1601)
at org.kohsuke.stapler.compression.CompressionFilter.doFilter(CompressionFilter.java:53)
at org.eclipse.jetty.servlet.FilterHolder.doFilter(FilterHolder.java:193)
at org.eclipse.jetty.servlet.ServletHandler$Chain.doFilter(ServletHandler.java:1601)
at hudson.util.CharacterEncodingFilter.doFilter(CharacterEncodingFilter.java:86)
at org.eclipse.jetty.servlet.FilterHolder.doFilter(FilterHolder.java:193)
at org.eclipse.jetty.servlet.ServletHandler$Chain.doFilter(ServletHandler.java:1601)
at org.kohsuke.stapler.DiagnosticThreadNameFilter.doFilter(DiagnosticThreadNameFilter.java:30)
at org.eclipse.jetty.servlet.FilterHolder.doFilter(FilterHolder.java:193)
at org.eclipse.jetty.servlet.ServletHandler$Chain.doFilter(ServletHandler.java:1601)
at jenkins.security.SuspiciousRequestFilter.doFilter(SuspiciousRequestFilter.java:38)
at org.eclipse.jetty.servlet.FilterHolder.doFilter(FilterHolder.java:193)
at org.eclipse.jetty.servlet.ServletHandler$Chain.doFilter(ServletHandler.java:1601)
at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:548)
at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:143)
at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:578)
at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:127)
at org.eclipse.jetty.server.handler.ScopedHandler.nextHandle(ScopedHandler.java:235)
at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:1624)
at org.eclipse.jetty.server.handler.ScopedHandler.nextHandle(ScopedHandler.java:233)
at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1434)
at org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:188)
at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:501)
at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:1594)
at org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:186)
at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1349)
at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:141)
at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:127)
at org.eclipse.jetty.server.Server.handle(Server.java:516)
at org.eclipse.jetty.server.HttpChannel.lambda$handle$1(HttpChannel.java:388)
at org.eclipse.jetty.server.HttpChannel.dispatch(HttpChannel.java:633)
at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:380)
at org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:277)
at org.eclipse.jetty.io.AbstractConnection$ReadCallback.succeeded(AbstractConnection.java:311)
at org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:105)
at org.eclipse.jetty.io.ChannelEndPoint$1.run(ChannelEndPoint.java:104)
at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.runTask(EatWhatYouKill.java:338)
at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.doProduce(EatWhatYouKill.java:315)
at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.tryProduce(EatWhatYouKill.java:173)
at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.run(EatWhatYouKill.java:131)
at org.eclipse.jetty.util.thread.ReservedThreadExecutor$ReservedThread.run(ReservedThreadExecutor.java:386)
at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:883)
at org.eclipse.jetty.util.thread.QueuedThreadPool$Runner.run(QueuedThreadPool.java:1034)
at java.base/java.lang.Thread.run(Thread.java:834)

If anyone can help I would be grateful.

Удалите плагины везде, где вы видите предупреждения на странице управления Jenkins в Jenkins. Выполните следующие шаги:

  1. Перейдите к Jenkins Ex: http: // localhost:8080/
  2. Нажмите «Управление Дженкинсом».
  3. Вы увидите несколько предупреждений. Пример: предупреждения были опубликованы для следующих установленных компонентов: ядро ​​и библиотеки Jenkins 2.289.1 Множественные уязвимости безопасности в Jenkins 2.299 и более ранних, LTS 2.289.1 и более ранних версиях Примечание: вы можете получать разные предупреждения (одно или несколько предупреждений)
  4. Щелкните правой кнопкой мыши по каждому предупреждению (пожалуйста, делайте это одно за другим, если у вас более одного предупреждения)
  5. Теперь перейдите в «Управление плагинами» (на той же странице .. или «Управление Jenkins -> Управление плагинами»).
  6. Перейдите на вкладку «Установлено».
  7. Вставьте скопированную ссылку в поле поиска
  8. Удалите плагин
  9. Перезапустите Jenkins после удаления всех нежелательных или незащищенных плагинов.

Повторяйте вышеуказанные шаги, пока не удалите все нежелательные плагины, которые отображались в виде предупреждений на странице «Управление Jenkins».

После удаления вы не получите никаких сообщений об ошибках Logging ID во время настройки. Juts убедитесь, что вы не видите никаких предупреждений.

Надеюсь это поможет! Пожалуйста, оцените, если это сработало, или непохоже, если оно вам не помогло.

Спасибо. :)

The OpenShift Login plugin implements authentication but also manipulates authorization.

What’s the correct fix, then? Should the plugin define its own authorization-strategy class and advise administrators to set both the authentication realm and the authorization strategy? That way, administrators might be able to use OpenShift users and roles with other authorization strategies if desired.

Minimally, I think the plugin should check the type of the authentication realm and log a message that clearly assigns the blame to this plugin, rather than let the ClassCastException propagate.

I am trying to migrate jenkins from old server to newer one. I have imported all the jobs and config from old server. But after making changes to job configuration in new jenkins, I am facing «A problem occurred while processing the request» error while applying and saving that job.

Old Jenkins Version: 2.289.1
New Jenkins Version: 2.289.1
openjdk version:11.0.11
Error Screenshot
Error Screenshot

asked Jul 28, 2021 at 8:30

Yoda's user avatar

The issue has been resolved.
It was happening because the permissions inside jenkins jobs directory were not set to jenkins:jenkins

answered Jul 29, 2021 at 8:35

Yoda's user avatar

YodaYoda

111 silver badge2 bronze badges

0

Содержание

Spread load evenly by using
jenkins doesn’t have label XXXXX
Pipeline Debug
groovy.lang.MissingPropertyException: No such property: XXX for class: groovy.lang.Binding
Статьи про Jenkins

Spread load evenly

Spread load evenly by using ‘H/5 * * * *’ rather than ‘*/5 * * * *’

Это рекомендация не запускать задания одновременно, а дать Jenkins распределить нагрузку
более равномерно. Подробнее

здесь

jenkins doesn’t have label XXXXX

jenkins doesn’t have label XXXXX

Это сообщение очень часто можно увидеть при ошибке в конфигурации.

Сообщение часто не соответсвует действительности!

label может сущестововать но при этом
где-то забыта или неправильно дана какая-то настройка.

Это яркий пример плохой работы с пользовательским опытом. Проблема известа давно, но
разработчики Jenkins считают, что это нормально.

Посмотрите какой лог выдаёт Jenkins если просто забыть указать
Remote File System Root
в настройках агента.

jenkins | 2023-01-12 10:56:40.308+0000 [id=3120] WARNING c.n.j.p.d.u.PortUtils$ConnectionCheck#execute: Could not connect to 10.15.253.223 port 49276. Are you sure this location is contactable from Jenkins?
jenkins | 2023-01-12 10:56:41.943+0000 [id=3120] SEVERE c.n.j.p.docker.DockerCloud$1#run: Error in provisioning; template=’DockerTemplate{configVersion=2, labelString=’docker_slave_ssh’, connector=DockerComputerSSHConnector{sshKeyStrategy=ManuallyConfiguredSSHKey{credentialsId=’fbe72464-8935-4a5c-966c-8e96c76a82fc’, sshHostKeyVerificationStrategy=hudson.plugins.sshslaves.verifiers.NonVerifyingKeyVerificationStrategy@38e4341e}, port=22, maxNumRetries=10, retryWaitTime=15}, instanceCap=2147483647, mode=NORMAL, retentionStrategy=com.nirima.jenkins.plugins.docker.strategy.DockerOnceRetentionStrategy@2c, dockerTemplateBase=DockerTemplateBase{image=’andreissh/jenkins-docker-slave:latest’, bindAllPorts=false, cpuPeriod=0, cpuQuota=0, privileged=false, tty=false}, removeVolumes=false, stopTimeout=10, pullStrategy=PULL_ALWAYS, pullTimeout=300, disabled=BySystem,0 ms,4 min 59 sec,Template provisioning failed., name=’docker_slave_ssh’}’ for cloud=’docker_ubuntu_esxi2′
jenkins | java.io.IOException: SSH service hadn’t started after 150 seconds and 15 milliseconds.Try increasing the number of retries (currently 10) and/or the retry wait time (currently 15) to allow for containers taking longer to start.
jenkins | at io.jenkins.docker.connector.DockerComputerSSHConnector.createLauncher(DockerComputerSSHConnector.java:326)
jenkins | at io.jenkins.docker.connector.DockerComputerConnector.createLauncher(DockerComputerConnector.java:176)
jenkins | at com.nirima.jenkins.plugins.docker.DockerTemplate.doProvisionNode(DockerTemplate.java:746)
jenkins | at com.nirima.jenkins.plugins.docker.DockerTemplate.provisionNode(DockerTemplate.java:683)
jenkins | at com.nirima.jenkins.plugins.docker.DockerCloud$1.run(DockerCloud.java:376)
jenkins | at jenkins.util.ContextResettingExecutorService$1.run(ContextResettingExecutorService.java:30)
jenkins | at jenkins.security.ImpersonatingExecutorService$1.run(ImpersonatingExecutorService.java:70)
jenkins | at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515)
jenkins | at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
jenkins | at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
jenkins | at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
jenkins | at java.base/java.lang.Thread.run(Thread.java:829)
jenkins | 2023-01-12 10:56:46.120+0000 [id=53] WARNING hudson.slaves.NodeProvisioner#update: Unexpected exception encountered while provisioning agent Image of andreissh/jenkins-docker-slave:latest
jenkins | java.io.IOException: SSH service hadn’t started after 150 seconds and 15 milliseconds.Try increasing the number of retries (currently 10) and/or the retry wait time (currently 15) to allow for containers taking longer to start.
jenkins | at io.jenkins.docker.connector.DockerComputerSSHConnector.createLauncher(DockerComputerSSHConnector.java:326)
jenkins | at io.jenkins.docker.connector.DockerComputerConnector.createLauncher(DockerComputerConnector.java:176)
jenkins | at com.nirima.jenkins.plugins.docker.DockerTemplate.doProvisionNode(DockerTemplate.java:746)
jenkins | at com.nirima.jenkins.plugins.docker.DockerTemplate.provisionNode(DockerTemplate.java:683)
jenkins | at com.nirima.jenkins.plugins.docker.DockerCloud$1.run(DockerCloud.java:376)
jenkins | at jenkins.util.ContextResettingExecutorService$1.run(ContextResettingExecutorService.java:30)
jenkins | at jenkins.security.ImpersonatingExecutorService$1.run(ImpersonatingExecutorService.java:70)
jenkins | at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515)
jenkins | at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
jenkins | at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
jenkins | at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
jenkins | at java.base/java.lang.Thread.run(Thread.java:829)

jenkins | 2023-01-12 11:56:16.124+0000 [id=51] INFO c.n.j.plugins.docker.DockerCloud#canAddProvisionedAgent: Provisioning ‘andreissh/jenkins-docker-slave:latest’ on ‘docker_ubuntu_esxi2’; Total containers: 0 (of 100)
jenkins | 2023-01-12 11:56:16.124+0000 [id=51] INFO c.n.j.plugins.docker.DockerCloud#provision: Will provision ‘andreissh/jenkins-docker-slave:latest’, for label: ‘docker_slave_ssh’, in cloud: ‘docker_ubuntu_esxi2’
jenkins | 2023-01-12 11:56:16.124+0000 [id=51] INFO h.s.NodeProvisioner$StandardStrategyImpl#apply: Started provisioning Image of andreissh/jenkins-docker-slave:latest from docker_ubuntu_esxi2 with 1 executors. Remaining excess workload: 0
jenkins | 2023-01-12 11:56:16.125+0000 [id=3264] INFO c.n.j.p.docker.DockerTemplate#pullImage: Pulling image ‘andreissh/jenkins-docker-slave:latest’. This may take awhile…
jenkins | 2023-01-12 11:56:17.460+0000 [id=3264] INFO c.n.j.p.docker.DockerTemplate#pullImage: Finished pulling image ‘andreissh/jenkins-docker-slave:latest’, took 1335 ms
jenkins | 2023-01-12 11:56:17.464+0000 [id=3264] INFO c.n.j.p.docker.DockerTemplate#doProvisionNode: Trying to run container for image «andreissh/jenkins-docker-slave:latest»
jenkins | 2023-01-12 11:56:17.464+0000 [id=3264] INFO c.n.j.p.docker.DockerTemplate#doProvisionNode: Trying to run container for node docker_slave_ssh-000hxyehdkxzs from image: andreissh/jenkins-docker-slave:latest
jenkins | 2023-01-12 11:56:18.518+0000 [id=3264] INFO c.n.j.p.docker.DockerTemplate#doProvisionNode: Started container ID 9773e98eb12b5b6b7e24a52f734465242949ab563b3c927dbe05627a3dda615b for node docker_slave_ssh-000hxyehdkxzs from image: andreissh/jenkins-docker-slave:latest

На докер облаке

docker ps -a

CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
9773e98eb12b andreissh/jenkins-docker-slave:latest «/usr/sbin/sshd -D -…» About a minute ago Up About a minute 0.0.0.0:49284->22/tcp, :::49283->22/tcp mystifying_johnson

Jenkins logs

jenkins | 2023-01-12 11:59:30.280+0000 [id=3267] INFO c.n.j.p.d.DockerContainerWatchdog#execute: Docker Container Watchdog has been triggered
jenkins | 2023-01-12 11:59:30.280+0000 [id=3267] INFO c.n.j.p.d.DockerContainerWatchdog$Statistics#writeStatisticsToLog: Watchdog Statistics: Number of overall executions: 239, Executions with processing timeout: 0, Containers removed gracefully: 10, Containers removed with force: 0, Containers removal failed: 0, Nodes removed successfully: 0, Nodes removal failed: 0, Container removal average duration (gracefully): 1153 ms, Container removal average duration (force): 0 ms, Average overall runtime of watchdog: 50 ms, Average runtime of container retrieval: 15 ms
jenkins | 2023-01-12 11:59:30.280+0000 [id=3267] INFO c.n.j.p.d.DockerContainerWatchdog#loadNodeMap: We currently have 0 nodes assigned to this Jenkins instance, which we will check
jenkins | 2023-01-12 11:59:30.281+0000 [id=3267] INFO c.n.j.p.d.DockerContainerWatchdog#execute: Checking Docker Cloud docker_ubuntu_esxi2 at tcp://10.15.253.223:2375
jenkins | 2023-01-12 11:59:30.288+0000 [id=3267] INFO c.n.j.p.d.DockerContainerWatchdog#cleanUpSuperfluousContainers: Container 9773e98eb12b5b6b7e24a52f734465242949ab563b3c927dbe05627a3dda615b, which is reported to be assigned to node docker_slave_ssh-000hxyehdkxzs, is no longer associated (node might be gone already?). The container’s last status is Up 3 minutes; it was created on 1673524577
jenkins | 2023-01-12 11:59:32.041+0000 [id=3267] INFO i.j.docker.DockerTransientNode$2#println: Stopped container ‘9773e98eb12b5b6b7e24a52f734465242949ab563b3c927dbe05627a3dda615b’ (orphaned container found by DockerContainerWatchdog).
jenkins | 2023-01-12 11:59:32.206+0000 [id=3267] INFO i.j.docker.DockerTransientNode$2#println: Removed container ‘9773e98eb12b5b6b7e24a52f734465242949ab563b3c927dbe05627a3dda615b’ (orphaned container found by DockerContainerWatchdog).
jenkins | 2023-01-12 11:59:32.207+0000 [id=3267] INFO c.n.j.p.d.DockerContainerWatchdog#terminateContainerGracefully: Successfully terminated orphaned container 9773e98eb12b5b6b7e24a52f734465242949ab563b3c927dbe05627a3dda615b
jenkins | 2023-01-12 11:59:32.207+0000 [id=3267] INFO c.n.j.p.d.DockerContainerWatchdog#execute: Docker Container Watchdog check has been completed
jenkins | 2023-01-12 11:59:49.803+0000 [id=3264] WARNING c.n.j.p.d.u.PortUtils$ConnectionCheck#execute: Could not connect to 10.15.253.223 port 49283. Are you sure this location is contactable from Jenkins?
jenkins | 2023-01-12 11:59:49.808+0000 [id=485] SEVERE c.g.d.a.a.ResultCallbackTemplate#onError: Error during callback
jenkins | com.github.dockerjava.api.exception.NotFoundException: Status 404: {«message»:»No such container: 9773e98eb12b5b6b7e24a52f734465242949ab563b3c927dbe05627a3dda615b»}
jenkins |
jenkins | at com.github.dockerjava.netty.handler.HttpResponseHandler.channelRead0(HttpResponseHandler.java:97)
jenkins | at com.github.dockerjava.netty.handler.HttpResponseHandler.channelRead0(HttpResponseHandler.java:32)
jenkins | at io.netty.channel.SimpleChannelInboundHandler.channelRead(SimpleChannelInboundHandler.java:99)
jenkins | at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:377)
jenkins | at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:363)
jenkins | at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:355)
jenkins | at io.netty.handler.logging.LoggingHandler.channelRead(LoggingHandler.java:271)
jenkins | at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:377)
jenkins | at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:363)
jenkins | at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:355)
jenkins | at io.netty.handler.codec.MessageToMessageDecoder.channelRead(MessageToMessageDecoder.java:102)
jenkins | at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:377)
jenkins | at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:363)
jenkins | at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:355)
jenkins | at io.netty.channel.CombinedChannelDuplexHandler$DelegatingChannelHandlerContext.fireChannelRead(CombinedChannelDuplexHandler.java:436)
jenkins | at io.netty.handler.codec.ByteToMessageDecoder.fireChannelRead(ByteToMessageDecoder.java:321)
jenkins | at io.netty.handler.codec.ByteToMessageDecoder.channelRead(ByteToMessageDecoder.java:295)
jenkins | at io.netty.channel.CombinedChannelDuplexHandler.channelRead(CombinedChannelDuplexHandler.java:251)
jenkins | at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:377)
jenkins | at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:363)
jenkins | at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:355)
jenkins | at io.netty.handler.timeout.IdleStateHandler.channelRead(IdleStateHandler.java:286)
jenkins | at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:377)
jenkins | at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:363)
jenkins | at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:355)
jenkins | at io.netty.channel.DefaultChannelPipeline$HeadContext.channelRead(DefaultChannelPipeline.java:1410)
jenkins | at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:377)
jenkins | at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:363)
jenkins | at io.netty.channel.DefaultChannelPipeline.fireChannelRead(DefaultChannelPipeline.java:919)
jenkins | at io.netty.channel.nio.AbstractNioByteChannel$NioByteUnsafe.read(AbstractNioByteChannel.java:163)
jenkins | at io.netty.channel.nio.NioEventLoop.processSelectedKey(NioEventLoop.java:714)
jenkins | at io.netty.channel.nio.NioEventLoop.processSelectedKeysOptimized(NioEventLoop.java:650)
jenkins | at io.netty.channel.nio.NioEventLoop.processSelectedKeys(NioEventLoop.java:576)
jenkins | at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:493)
jenkins | at io.netty.util.concurrent.SingleThreadEventExecutor$4.run(SingleThreadEventExecutor.java:989)
jenkins | at io.netty.util.internal.ThreadExecutorMap$2.run(ThreadExecutorMap.java:74)
jenkins | at io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30)
jenkins | at java.base/java.lang.Thread.run(Thread.java:829)
jenkins | 2023-01-12 11:59:49.809+0000 [id=3264] INFO c.n.j.p.docker.DockerTemplate#doProvisionNode: Unable to remove container ‘9773e98eb12b5b6b7e24a52f734465242949ab563b3c927dbe05627a3dda615b’ as it had already gone.
jenkins | 2023-01-12 11:59:49.810+0000 [id=3264] SEVERE c.n.j.p.docker.DockerCloud$1#run: Error in provisioning; template=’DockerTemplate{configVersion=2, labelString=’docker_slave_ssh’, connector=DockerComputerSSHConnector{sshKeyStrategy=ManuallyConfiguredSSHKey{credentialsId=’fbe72464-8935-4a5c-966c-8e96c76a82fc’, sshHostKeyVerificationStrategy=hudson.plugins.sshslaves.verifiers.NonVerifyingKeyVerificationStrategy@4b94c769}, port=22, maxNumRetries=10, retryWaitTime=21}, instanceCap=2147483647, mode=NORMAL, retentionStrategy=com.nirima.jenkins.plugins.docker.strategy.DockerOnceRetentionStrategy@2c, dockerTemplateBase=DockerTemplateBase{image=’andreissh/jenkins-docker-slave:latest’, bindAllPorts=false, cpuPeriod=0, cpuQuota=0, privileged=false, tty=false}, removeVolumes=false, stopTimeout=10, pullStrategy=PULL_ALWAYS, pullTimeout=300, disabled=BySystem,0 ms,4 min 59 sec,Template provisioning failed., name=’docker_slave_ssh’}’ for cloud=’docker_ubuntu_esxi2′
jenkins | java.io.IOException: SSH service hadn’t started after 210 seconds and 15 milliseconds.Try increasing the number of retries (currently 10) and/or the retry wait time (currently 21) to allow for containers taking longer to start.
jenkins | at io.jenkins.docker.connector.DockerComputerSSHConnector.createLauncher(DockerComputerSSHConnector.java:326)
jenkins | at io.jenkins.docker.connector.DockerComputerConnector.createLauncher(DockerComputerConnector.java:176)
jenkins | at com.nirima.jenkins.plugins.docker.DockerTemplate.doProvisionNode(DockerTemplate.java:746)
jenkins | at com.nirima.jenkins.plugins.docker.DockerTemplate.provisionNode(DockerTemplate.java:683)
jenkins | at com.nirima.jenkins.plugins.docker.DockerCloud$1.run(DockerCloud.java:376)
jenkins | at jenkins.util.ContextResettingExecutorService$1.run(ContextResettingExecutorService.java:30)
jenkins | at jenkins.security.ImpersonatingExecutorService$1.run(ImpersonatingExecutorService.java:70)
jenkins | at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515)
jenkins | at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
jenkins | at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
jenkins | at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
jenkins | at java.base/java.lang.Thread.run(Thread.java:829)
jenkins | 2023-01-12 11:59:56.120+0000 [id=50] WARNING hudson.slaves.NodeProvisioner#update: Unexpected exception encountered while provisioning agent Image of andreissh/jenkins-docker-slave:latest
jenkins | java.io.IOException: SSH service hadn’t started after 210 seconds and 15 milliseconds.Try increasing the number of retries (currently 10) and/or the retry wait time (currently 21) to allow for containers taking longer to start.
jenkins | at io.jenkins.docker.connector.DockerComputerSSHConnector.createLauncher(DockerComputerSSHConnector.java:326)
jenkins | at io.jenkins.docker.connector.DockerComputerConnector.createLauncher(DockerComputerConnector.java:176)
jenkins | at com.nirima.jenkins.plugins.docker.DockerTemplate.doProvisionNode(DockerTemplate.java:746)
jenkins | at com.nirima.jenkins.plugins.docker.DockerTemplate.provisionNode(DockerTemplate.java:683)
jenkins | at com.nirima.jenkins.plugins.docker.DockerCloud$1.run(DockerCloud.java:376)
jenkins | at jenkins.util.ContextResettingExecutorService$1.run(ContextResettingExecutorService.java:30)
jenkins | at jenkins.security.ImpersonatingExecutorService$1.run(ImpersonatingExecutorService.java:70)
jenkins | at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515)
jenkins | at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
jenkins | at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
jenkins | at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
jenkins | at java.base/java.lang.Thread.run(Thread.java:829)
jenkins | 2023-01-12 12:04:30.280+0000 [id=3276] INFO c.n.j.p.d.DockerContainerWatchdog#execute: Docker Container Watchdog has been triggered
jenkins | 2023-01-12 12:04:30.280+0000 [id=3276] INFO c.n.j.p.d.DockerContainerWatchdog$Statistics#writeStatisticsToLog: Watchdog Statistics: Number of overall executions: 240, Executions with processing timeout: 0, Containers removed gracefully: 11, Containers removed with force: 0, Containers removal failed: 0, Nodes removed successfully: 0, Nodes removal failed: 0, Container removal average duration (gracefully): 1223 ms, Container removal average duration (force): 0 ms, Average overall runtime of watchdog: 57 ms, Average runtime of container retrieval: 15 ms
jenkins | 2023-01-12 12:04:30.280+0000 [id=3276] INFO c.n.j.p.d.DockerContainerWatchdog#loadNodeMap: We currently have 0 nodes assigned to this Jenkins instance, which we will check
jenkins | 2023-01-12 12:04:30.280+0000 [id=3276] INFO c.n.j.p.d.DockerContainerWatchdog#execute: Checking Docker Cloud docker_ubuntu_esxi2 at tcp://10.15.253.223:2375
jenkins | 2023-01-12 12:04:30.285+0000 [id=3276] INFO i.j.docker.client.DockerAPI$1#entryDroppedFromCache: Dropped connection io.jenkins.docker.client.DockerAPI$SharableDockerClient@6d93f1c6 to DockerClientParameters{dockerUri=’tcp://10.15.253.223:2375′, credentialsId=’null’, readTimeoutInMsOrNull=300000, connectTimeoutInMsOrNull=60000}
jenkins | 2023-01-12 12:04:30.293+0000 [id=3276] INFO c.n.j.p.d.DockerContainerWatchdog#execute: Docker Container Watchdog check has been completed

Failed to capture container inspection data: No serializer found for class java.lang.Object and no properties discovered to create BeanSerializer (to avoid exception, disable SerializationFeature.FAIL_ON_EMPTY_BEANS) (through reference chain: com.github.dockerjava.api.command.InspectContainerResponse[«Config»]->com.github.dockerjava.api.model.ContainerConfig[«ExposedPorts»]->java.util.HashMap[«22/tcp»])

Pipeline Debug

Создайте файл

Jenkinsfile.template

и скопируйте его содержание в Pipeline → Definition → Pipeline script

В нём содержится ошибка, которую мы обнаружим в процессе

pipeline {
agent {
node {
label ‘jenkins-agent-goes-here’
}
}
stages {
stage(‘Build’) {
steps {
echo «Building..»
sh »’
echo «doing build stuff..»
»’
}
}
stage(‘Test’) {
steps {
echo «Testing..»
sh »’
echo «doing test stuff..
»’
}
}
stage(‘Deliver’) {
steps {
echo ‘Deliver….’
sh »’
echo «doing delivery stuff..»
»’
}
}
}
}

Jenkins Pipeline script изображение с сайта www.andreyolegovich.ru

Declarative Pipeline


www.andreyolegovich.ru

label нужно заменить на label вашего агента, который подходит для данного задания. В прошлом примере
это был demo-docker-slave, сейчас я переименовал его в docker_slave_ssh

pipeline {
agent {
node {
label ‘docker_slave_ssh
}
}

Запустим Pipeline и изучим статус

Jenkins Pipeline script изображение с сайта www.andreyolegovich.ru

Pipeline завалилась на тестах


www.andreyolegovich.ru

Jenkins Pipeline test logs изображение с сайта www.andreyolegovich.ru
Pipeline Test Logs


www.andreyolegovich.ru

/home/jenkins/workspace/my_first_build_pipeline@tmp/durable-9a278627/script.sh: 3: Syntax error: Unterminated quoted string

В скрипте забыта закрывающая кавычка в стадии Test

groovy.lang.MissingPropertyException: No such property: XXX for class: groovy.lang.Binding

groovy.lang.MissingPropertyException: No such property: USER_NAME for class: groovy.lang.Binding

Эта ошибка может возникнуть, когда вы забыли взять какое-либо значение в кавычки

withCredentials([
usernamePassword(credentialsId: ‘my_credentials’,
usernameVariable: USER_NAME,
passwordVariable: ‘MY_PWD’)])
{
echo «USER: ${MY_USER} PWD: ${MY_PWD}»
}

Нужно добавить кавычки.

withCredentials([
usernamePassword(credentialsId: ‘my_credentials’,
usernameVariable: ‘USER_NAME’,
passwordVariable: ‘MY_PWD’)])
{
echo «USER: ${MY_USER} PWD: ${MY_PWD}»
}

Я видел на Youtube ролик с полумиллионом просмотров, где девушка показывает переменные без кавычек
и не запускает джобу, возможно ваша проблема родом оттуда.

Статьи про Jenkins

Jenkins
Установка Jenkins
Основы Jenkins
Jenkins Pipeline
Задания по расписанию
Разбор ошибок
DevOps
Docker
Make

automated-testing.info

Загрузка…

  • testomat.io управление авто тестами
  • Python
  • Реклама
  • Работа
  • Консультации
  • Обучение

Like this post? Please share to your friends:
  • Jungheinrich ere 120 коды ошибок
  • Jungheinrich eje 116 коды ошибок
  • Jungheinrich ejc 112 коды ошибок
  • Jungheinrich 1123 ошибка
  • Jump to case label ошибка