I've tried it with 2.235.5 and 2.263.4 with the same stacktrace.

My PR is up at https://github.com/jenkinsci/digitalocean-plugin/pull/50 I
don't see anything I might have changed related to it. I'll try it again
without my changes to see if i caused it. I looked at the PR linked inside
the jira ticket and it looks like its only core changes.

Gavin

On Thu, Feb 11, 2021 at 12:53 AM Oleg Nenashev <[email protected]>
wrote:

> It is a known error fixed in 2.235.
> https://issues.jenkins.io/browse/JENKINS-62006
>
>
> On Thursday, February 11, 2021 at 8:19:30 AM UTC+1 [email protected]
> wrote:
>
>> I'm trying to fix the plain text credentials issue in the digital ocean
>> plugin. I've updated it to use credentials, on to testing it, and having an
>> agent issue. The droplet spins up, it connects, the job runs, and then
>> errors with a stacktrace (at the end of email). Then if i run it again it
>> runs on the same agent just fine without error.
>>
>> Its complaining about `java.lang.ClassNotFoundException:
>> javax.servlet.ServletException` does this mean that some do api is
>> returning a servletexception and then remoting can't seralize it? or is it
>> a known error with 2.222.4? am I missing the plugins somewhere in these
>> stacktraces?
>>
>> Gavin
>>
>> Started by user unknown or anonymous
>> Running as SYSTEM
>> Building remotely on jenkins-do-do-f0a19f9e-351c-48e3-9c45-3ca58d524eff in 
>> workspace /jenkins/workspace/testdo
>> [testdo] $ /bin/sh -xe /tmp/jenkins4548124856065621833.sh
>> + whoami
>> root
>> + hostname
>> jenkins-do-do-f0a19f9e-351c-48e3-9c45-3ca58d524eff
>> + uptime
>>  07:03:51 up 1 min,  0 users,  load average: 2.58, 1.11, 0.42
>> + uname -a
>> Linux jenkins-do-do-f0a19f9e-351c-48e3-9c45-3ca58d524eff 5.4.0-52-generic 
>> #57-Ubuntu SMP Thu Oct 15 10:57:00 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux
>> FATAL: Remote call on jenkins-do-do-f0a19f9e-351c-48e3-9c45-3ca58d524eff 
>> failed
>> Also:   hudson.remoting.Channel$CallSiteStackTrace: Remote call to channel
>>              at 
>> hudson.remoting.Channel.attachCallSiteStackTrace(Channel.java:1788)
>>              at hudson.remoting.Request.call(Request.java:202)
>>              at 
>> hudson.remoting.RemoteInvocationHandler.invoke(RemoteInvocationHandler.java:288)
>>              at com.sun.proxy.$Proxy5.fetch(Unknown Source)
>>              at 
>> hudson.remoting.RemoteClassLoader.findClass(RemoteClassLoader.java:317)
>>              at java.lang.ClassLoader.loadClass(ClassLoader.java:418)
>>              at java.lang.ClassLoader.loadClass(ClassLoader.java:351)
>>              at hudson.util.ProcessTree.get(ProcessTree.java:432)
>>              at 
>> hudson.Launcher$RemoteLauncher$KillTask.call(Launcher.java:1100)
>>              at 
>> hudson.Launcher$RemoteLauncher$KillTask.call(Launcher.java:1091)
>>              at hudson.remoting.UserRequest.perform(UserRequest.java:211)
>>              at hudson.remoting.UserRequest.perform(UserRequest.java:54)
>>              at hudson.remoting.Request$2.run(Request.java:369)
>>              at 
>> hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecutorService.java:72)
>> java.lang.ClassNotFoundException: javax.servlet.ServletException
>>      at 
>> hudson.remoting.RemoteClassLoader$ClassLoaderProxy.fetch(RemoteClassLoader.java:811)
>>      at sun.reflect.GeneratedMethodAccessor132.invoke(Unknown Source)
>>      at 
>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>>      at java.lang.reflect.Method.invoke(Method.java:498)
>>      at 
>> hudson.remoting.RemoteInvocationHandler$RPCRequest.perform(RemoteInvocationHandler.java:931)
>>      at hudson.remoting.Request$2.run(Request.java:369)
>>      at 
>> hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecutorService.java:72)
>>      at 
>> org.jenkinsci.remoting.CallableDecorator.call(CallableDecorator.java:18)
>>      at 
>> hudson.remoting.CallableDecoratorList$1.call(CallableDecoratorList.java:21)
>>      at 
>> jenkins.util.ContextResettingExecutorService$2.call(ContextResettingExecutorService.java:46)
>>      at 
>> jenkins.security.ImpersonatingExecutorService$2.call(ImpersonatingExecutorService.java:71)
>> Also:   hudson.remoting.Channel$CallSiteStackTrace: Remote call to 
>> jenkins-do-do-f0a19f9e-351c-48e3-9c45-3ca58d524eff
>>              at 
>> hudson.remoting.Channel.attachCallSiteStackTrace(Channel.java:1788)
>>              at 
>> hudson.remoting.UserRequest$ExceptionResponse.retrieve(UserRequest.java:356)
>>              at hudson.remoting.Channel.call(Channel.java:998)
>>              at hudson.Launcher$RemoteLauncher.kill(Launcher.java:1083)
>>              at 
>> hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:510)
>>              at hudson.model.Run.execute(Run.java:1856)
>>              at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43)
>>              at 
>> hudson.model.ResourceController.execute(ResourceController.java:97)
>>              at hudson.model.Executor.run(Executor.java:428)
>> Caused: java.lang.NoClassDefFoundError: javax/servlet/ServletException
>>      at hudson.util.ProcessTree.get(ProcessTree.java:432)
>>      at hudson.Launcher$RemoteLauncher$KillTask.call(Launcher.java:1100)
>>      at hudson.Launcher$RemoteLauncher$KillTask.call(Launcher.java:1091)
>>      at hudson.remoting.UserRequest.perform(UserRequest.java:211)
>>      at hudson.remoting.UserRequest.perform(UserRequest.java:54)
>>      at hudson.remoting.Request$2.run(Request.java:369)
>>      at 
>> hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecutorService.java:72)
>>      at java.util.concurrent.FutureTask.run(FutureTask.java:266)
>>      at 
>> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
>>      at 
>> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
>>      at java.lang.Thread.run(Thread.java:748)
>> Caused: java.io.IOException: Remote call on 
>> jenkins-do-do-f0a19f9e-351c-48e3-9c45-3ca58d524eff failed
>>      at hudson.remoting.Channel.call(Channel.java:1004)
>>      at hudson.Launcher$RemoteLauncher.kill(Launcher.java:1083)
>>      at 
>> hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:510)
>>      at hudson.model.Run.execute(Run.java:1856)
>>      at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43)
>>      at hudson.model.ResourceController.execute(ResourceController.java:97)
>>      at hudson.model.Executor.run(Executor.java:428)
>> Finished: FAILURE
>>
>> --
> You received this message because you are subscribed to the Google Groups
> "Jenkins Developers" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/jenkinsci-dev/ca060873-eeba-4fc4-baa5-6e38aab7f597n%40googlegroups.com
> <https://groups.google.com/d/msgid/jenkinsci-dev/ca060873-eeba-4fc4-baa5-6e38aab7f597n%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-dev/CAG%3D_DuuHQUF1mDx8k9PGVqG4x_jeBse-RpZSFPtAatfSLSybzg%40mail.gmail.com.

Reply via email to