[JIRA] (JENKINS-54209) Can't read file: Can't access the file

16 views
Skip to first unread message

ter-08@inbox.ru (JIRA)

unread,
Oct 23, 2018, 1:57:02 PM10/23/18
to jenkinsc...@googlegroups.com
Amo Mamo created an issue
 
Jenkins / Bug JENKINS-54209
Can't read file: Can't access the file
Issue Type: Bug Bug
Assignee: Marco Steffan
Attachments: 1.png
Components: cppcheck-plugin
Created: 2018-10-23 17:56
Priority: Major Major
Reporter: Amo Mamo

Hello
I have:
Jenkins ver. 2.138.2 for NAT.
Cppcheck 1.85
Cppcheck Plugin 1.24

When I try to view a detailed scan result (example: https://wiki.jenkins.io/download/attachments/37749668/1.15_code.png?version=1&modificationDate=1395260940000&api=v2) I get the error "Can't read file: Can ' t access the file: file: ".
Inside the local network everything is allowed.
Connection to the node via SSH.
Jenkins on Linux, node on Linux.

What should I do?

Add Comment Add Comment
 
This message was sent by Atlassian Jira (v7.11.2#711002-sha1:fdc329d)

mike.scholze@preh.de (JIRA)

unread,
Oct 24, 2018, 12:42:02 AM10/24/18
to jenkinsc...@googlegroups.com
Mike Scholze commented on Bug JENKINS-54209
 
Re: Can't read file: Can't access the file

Same here!

  • jenkins 2.138.2
  • cppcheck plugin 1.24
  • cppcheck 1.85

mike.scholze@preh.de (JIRA)

unread,
Oct 24, 2018, 12:44:02 AM10/24/18
to jenkinsc...@googlegroups.com
Mike Scholze edited a comment on Bug JENKINS-54209
Same here after update from jenkins 2.107.3 to 2.138.2 and cppcheck plugin update from 1.21 to 1.24 !
* jenkins 2.138.2
* cppcheck plugin 1.24
* cppcheck 1.85

mike.scholze@preh.de (JIRA)

unread,
Oct 24, 2018, 12:46:02 AM10/24/18
to jenkinsc...@googlegroups.com
Mike Scholze edited a comment on Bug JENKINS-54209
Same here after update from jenkins 2.107.3 to 2.138.2 and cppcheck plugin update from 1.21 to 1.24!
* jenkins 2.138.2
* cppcheck plugin 1.24
* cppcheck 1.85


Report not located in subdirectory.

mike.scholze@preh.de (JIRA)

unread,
Oct 24, 2018, 12:56:02 AM10/24/18
to jenkinsc...@googlegroups.com
Mike Scholze edited a comment on Bug JENKINS-54209
Same here after update from jenkins 2.107.3 to 2.138.2 and cppcheck plugin update from 1.21 to 1.24!
* jenkins 2.138.2
* cppcheck plugin 1.24
* cppcheck 1.85

Report not located in subdirectory.


Downgrade the cppcheck plugin to 1.21 is not a solution, because the plugin can't render the diff html file.

mike.scholze@preh.de (JIRA)

unread,
Oct 26, 2018, 3:37:01 AM10/26/18
to jenkinsc...@googlegroups.com
Mike Scholze edited a comment on Bug JENKINS-54209
Same here after update from jenkins 2.107.3 to 2.138.2 and cppcheck plugin update from 1.21 to 1.24!
* jenkins 2.138.2
* cppcheck plugin 1.24
* cppcheck 1.85

Report not located in subdirectory.

Downgrade the cppcheck plugin to 1.21 is not a solution, because the plugin can't render the diff html file.


We urgently need feedback as our qa pipeline is affected.

ter-08@inbox.ru (JIRA)

unread,
Nov 19, 2018, 3:33:02 PM11/19/18
to jenkinsc...@googlegroups.com
Amo Mamo commented on Bug JENKINS-54209

Something tells me that it's time to fork the plugin.

jishui0905@163.com (JIRA)

unread,
Jan 24, 2019, 1:47:02 AM1/24/19
to jenkinsc...@googlegroups.com
ice zeng commented on Bug JENKINS-54209

please tell me what is your plan that fixed it

jishui0905@163.com (JIRA)

unread,
Jan 24, 2019, 1:49:02 AM1/24/19
to jenkinsc...@googlegroups.com
ice zeng commented on Bug JENKINS-54209

The bug is up at jenkins 2.150.1, cppcheck plugin: 1.24, cppcheck: 1.82

powerlands@gmail.com (JIRA)

unread,
Jan 30, 2019, 8:10:02 PM1/30/19
to jenkinsc...@googlegroups.com

In my case, I updated the cppcheck from 1.21 to 1.24, then this issue happens. Jenkins 2.162.

supraja.muppala@gmail.com (JIRA)

unread,
Feb 25, 2019, 4:00:02 PM2/25/19
to jenkinsc...@googlegroups.com

Workaround I have achieved is by using custom workspace. With this I was able to access files

lihechao@gmail.com (JIRA)

unread,
Apr 26, 2019, 3:54:02 AM4/26/19
to jenkinsc...@googlegroups.com

i use custom workspace, but it can not work Supraja Muppala, just only do that? 

supraja.muppala@gmail.com (JIRA)

unread,
Apr 27, 2019, 1:07:02 AM4/27/19
to jenkinsc...@googlegroups.com

hi hechao, 

          I applied a fix (https://github.com/jenkinsci/cppcheck-plugin/pull/46) for the plugin and it worked. I followed below steps

 

Cppcheck 1.24 version had an issue and the fix was available online but the code was never pushed. Followed the below steps and it picked up the new code.

============================

Steps to have new plugin on your jenkins Instance.

login to jenkins server

cd to /var/lib/jenkins/plugins

rename cppcheck.jpi cppcheck.jpi.orig.v1.24

cppcheck cppcheck.orig.v1.24

download cppcheck.hpi file from https://ci.jenkins.io/blue/organizations/jenkins/Plugins%2Fcppcheck-plugin/detail/PR-46/2/artifacts/

Copy to /var/lib/jenkins/plugins dir

and restart the jenkins service

==============================

jishui0905@163.com (JIRA)

unread,
May 10, 2019, 8:29:01 AM5/10/19
to jenkinsc...@googlegroups.com

cldl@gmx.de (JIRA)

unread,
Jun 3, 2019, 10:47:02 AM6/3/19
to jenkinsc...@googlegroups.com

I got the same error. Is there any chance to get a working fix for this problem? Without the view for the detailed results, the plugin is not really useful for me.

mike.scholze@preh.de (JIRA)

unread,
Jun 4, 2019, 1:12:02 AM6/4/19
to jenkinsc...@googlegroups.com

I think cppcheck plugin project is more or less dead. But you can use the new warnings next generation plugin. It contains cppcheck and visualize issues perfect.

https://wiki.jenkins.io/display/JENKINS/Warnings+Next+Generation+Plugin

mike.scholze@preh.de (JIRA)

unread,
Jun 4, 2019, 1:13:02 AM6/4/19
to jenkinsc...@googlegroups.com
Mike Scholze edited a comment on Bug JENKINS-54209
I think cppcheck plugin project is more or less dead. But you can use the new *warnings next generation* plugin. It contains cppcheck and visualize issues perfect perfectly .

[https://wiki.jenkins.io/display/JENKINS/Warnings+Next+Generation+Plugin]

cldl@gmx.de (JIRA)

unread,
Jun 5, 2019, 2:20:02 AM6/5/19
to jenkinsc...@googlegroups.com

Thank you for that information. Now  i'm using the warnings next generation plugin.

udayreddyk7@gmail.com (JIRA)

unread,
Aug 14, 2019, 5:30:02 AM8/14/19
to jenkinsc...@googlegroups.com

Thanks Mike Scholze, warnings next generation plugin is able to read the file. 

Reply all
Reply to author
Forward
0 new messages