Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-62166

Failing to get SAST scan results

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Blocker Blocker
    • checkmarx-plugin
    • None
    • Checkmarx plugin ver 8.90.4
      Dependency check ver 5.1.1
      Jenkins ver 2.222.3
      Windows Server 2012
      AWS EC2 instance

      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

      (Additional information)

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

       

            sergeyk Sergey Kadaner
            greg_sternberg Greg Sternberg
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: