[JIRA] (JENKINS-60077) Cppcheck plugin failure on report analysis

8 views
Skip to first unread message

thrantir@gmail.com (JIRA)

unread,
Nov 6, 2019, 8:00:04 AM11/6/19
to jenkinsc...@googlegroups.com
Matteo Sciolla created an issue
 
Jenkins / Bug JENKINS-60077
Cppcheck plugin failure on report analysis
Issue Type: Bug Bug
Assignee: Marco Steffan
Components: cppcheck-plugin
Created: 2019-11-06 12:59
Environment: Jenkins 2.176.1
Cppcheck plugin 1.25
Priority: Minor Minor
Reporter: Matteo Sciolla

I'm having a problem running a code check job using this plugin. The code analysis is working and cppcheck creates a report in xml as expected. Than I think it should analyze that report, but something isn't working, from the console output I can read this:
[Cppcheck] Error on cppcheck analysis: java.io.IOException: Remote call on [host] failed
I can't find what the plugin is trying to do, maybe it's trying to remote execute a command on the node. No further informations in the log on master node.

Thanks in advance for the help

Add Comment Add Comment
 
This message was sent by Atlassian Jira (v7.13.6#713006-sha1:cc4451f)
Atlassian logo

xianpeng.shen@qq.com (JIRA)

unread,
Feb 16, 2020, 11:32:05 AM2/16/20
to jenkinsc...@googlegroups.com
Xianpeng Shen commented on Bug JENKINS-60077
 
Re: Cppcheck plugin failure on report analysis

I also met this problem. My Jenkins version is 2.176.3, Cppcheck plugin version is 1.25, OpenJDK version is "1.8.0_111", here is the output log, thanks.

 

00:07:23  [Cppcheck] Starting the cppcheck analysis.
00:07:23  [Cppcheck] Error on cppcheck analysis: java.io.IOException: Remote call on main-slave failed

 

xianpeng.shen@qq.com (JIRA)

unread,
Feb 16, 2020, 11:33:02 AM2/16/20
to jenkinsc...@googlegroups.com
Xianpeng Shen edited a comment on Bug JENKINS-60077
I also met this problem. My Jenkins version is 2.176.3, Cppcheck plugin version is 1.25, OpenJDK version is "1.8.0_111", here is the output log, thanks.

 
{code:java}

00:07:23  [Cppcheck] Starting the cppcheck analysis.
00:07:23  [Cppcheck] Error on cppcheck analysis: java.io.IOException: Remote call on main-slave failed
{code}
 

jcormier@criticallink.com (JIRA)

unread,
May 8, 2020, 10:42:02 AM5/8/20
to jenkinsc...@googlegroups.com

My Jenkins version is 2.176.3, Cppcheck plugin version is 1.25, OpenJDK version is openjdk 11.0.7

 

Slaves log is the following:

 

May 08, 2020 9:36:54 AM hudson.remoting.UserRequest perform WARNING: LinkageError while performing UserRequest:org.jenkinsci.plugins.cppcheck.CppcheckParserResult@197b3cdc java.lang.NoClassDefFoundError: javax/xml/bind/JAXBException at org.jenkinsci.plugins.cppcheck.CppcheckParserResult.invoke(CppcheckParserResult.java:69) at org.jenkinsci.plugins.cppcheck.CppcheckParserResult.invoke(CppcheckParserResult.java:24) at hudson.FilePath$FileCallableWrapper.call(FilePath.java:3069) 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.base/java.util.concurrent.FutureTask.run(FutureTask.java:264) at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128) at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628) at java.base/java.lang.Thread.run(Thread.java:834) Caused by: java.lang.ClassNotFoundException: Bootstrap pseudo-classloader disabled: javax.xml.bind.JAXBException via null at hudson.remoting.RemoteClassLoader$ClassLoaderProxy.fetch4(RemoteClassLoader.java:858) at hudson.remoting.RemoteClassLoader$ClassLoaderProxy.fetch3(RemoteClassLoader.java:893) at sun.reflect.GeneratedMethodAccessor32.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) 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) Suppressed: 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.$Proxy6.fetch3(Unknown Source) at hudson.remoting.RemoteClassLoader.findClass(RemoteClassLoader.java:211) at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:589) at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:522) at org.jenkinsci.plugins.cppcheck.CppcheckParserResult.invoke(CppcheckParserResult.java:69) at org.jenkinsci.plugins.cppcheck.CppcheckParserResult.invoke(CppcheckParserResult.java:24) at hudson.FilePath$FileCallableWrapper.call(FilePath.java:3069) 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.base/java.util.concurrent.FutureTask.run(FutureTask.java:264) at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128) at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628) at java.base/java.lang.Thread.run(Thread.java:834)

 

This message was sent by Atlassian Jira (v7.13.12#713012-sha1:6e07c38)
Atlassian logo
Reply all
Reply to author
Forward
0 new messages