[JIRA] (JENKINS-62166) Failing to get SAST scan results

6 views
Skip to first unread message

greg.sternberg@sungardas.com (JIRA)

unread,
May 5, 2020, 12:10:02 PM5/5/20
to jenkinsc...@googlegroups.com
Greg Sternberg created an issue
 
Jenkins / Bug JENKINS-62166
Failing to get SAST scan results
Issue Type: Bug Bug
Assignee: Sergey Kadaner
Components: checkmarx-plugin, dependency-check-jenkins-plugin
Created: 2020-05-05 16:09
Environment: Checkmarx plugin ver 8.90.4
Dependency check ver 5.1.1
Jenkins ver 2.222.3
Windows Server 2012
AWS EC2 instance
Priority: Major Major
Reporter: Greg Sternberg

Frequently when I run a scan via the pipeline it fails with:

[Cx-Info]: Generating PDF report
[Cx-Info]: Waiting for server to generate pdf report. 495 seconds left to timeout
...
[Cx-Info]: Waiting for server to generate pdf report. -2 seconds left to timeout
[Cx-Error]: Failed to get SAST scan results: Failed to perform Scan report: Scan report has been automatically aborted: reached the user-specified timeout (8 minutes)

These scans never failed before I updated Jenkins & the plugins. Downgrading really isn't an option because I need functionality in these versions. I get a similar message if I turn off PDF generation and simply use the XML file. These files are all <10MB.

I also turned off synchronous mode in the Checkmarx plugin but get:

[Cx-Info]: Waiting for server to generate xml report. 495 seconds left to timeout
...
[Cx-Info]: Waiting for server to generate xml report. 345 seconds left to timeout
[Cx-Error]: Failed to get SAST scan results: Server is unavailable

So I have a couple of questions:

1) Why isn't the scan able to copy files it used to be able to copy?

2) Where is the 'user-specified timeout (8 minutes)'? I can't find it to update it to >8

3) What server is unavailable? It all runs on the same machine and same filesystem

 

Add Comment Add Comment
 
This message was sent by Atlassian Jira (v7.13.12#713012-sha1:6e07c38)
Atlassian logo

greg.sternberg@sungardas.com (JIRA)

unread,
May 5, 2020, 12:26:06 PM5/5/20
to jenkinsc...@googlegroups.com
Greg Sternberg updated an issue
Change By: Greg Sternberg
Frequently when I run a scan via the pipeline it fails with:
{noformat}

[Cx-Info]: Generating PDF report
[Cx-Info]: Waiting for server to generate pdf report. 495 seconds left to timeout
...
[Cx-Info]: Waiting for server to generate pdf report. -2 seconds left to timeout
[Cx-Error]: Failed to get SAST scan results: Failed to perform Scan report: Scan report has been automatically aborted: reached the user-specified timeout (8 minutes){noformat}

These scans never failed before I updated Jenkins & the plugins. Downgrading really isn't an option because I need functionality in these versions. I get a similar message if I turn off PDF generation and simply use the XML file. These files are all <10MB.

I also turned off synchronous mode in the Checkmarx plugin but get:
{noformat}

[Cx-Info]: Waiting for server to generate xml report. 495 seconds left to timeout
...
[Cx-Info]: Waiting for server to generate xml report. 345 seconds left to timeout
[Cx-Error]: Failed to get SAST scan results: Server is unavailable{noformat}

So I have a couple of questions:

1) Why isn't the scan able to copy files it used to be able to copy?

2) Where is the 'user-specified timeout (8 minutes)'? I can't find it to update it to >8

3) What server is unavailable? It all runs on the same machine and same filesystem

(Additional information)

Using or not using dependency checker has no affect - still get he same behavior.

 

greg.sternberg@sungardas.com (JIRA)

unread,
May 7, 2020, 7:46:02 PM5/7/20
to jenkinsc...@googlegroups.com
Greg Sternberg updated an issue
Change By: Greg Sternberg
Priority: Major Blocker
Reply all
Reply to author
Forward
0 new messages