Parasoft Findings Plugin in Jenkins integration Error

WooJunWooJun Posts: 1


I had Installed Parasoft C/C++ Test and 'Parasoft Findings Plugin' in our Jenkins server(Ubuntu 16.04.6 LTS). I'd like to display the C/C++ test report that built in Jenkins. I created a new item and filled out the following in the build and post-build action area: When building the item, the following log was printed. What should I do?

  • Execute Shell
    cd /home/testuser1/parasoft/cpptest/10.4
    ./cpptestcli -data '/root/Parasoft/cpptest/10.4/workspace/' -resource timer -config 'builtin://MISRA C 2012' -report '/var/lib/jenkins/space/Parasoft'

Post-Build Action

  • Record compiler warnings and static analysis results
    Tool : 'Parasoft Findings'
    Report Encoding: 'EUC-KR'

Started by user tester
Running as SYSTEM
Building in workspace /var/lib/jenkins/workspace/Parasoft
[Parasoft] $ /bin/sh -xe /tmp/

  • cd /home/testuser1/parasoft/cpptest/10.4
  • ./cpptestcli -data /root/Parasoft/cpptest/10.4/workspace/ -resource timer -config boiltin://MISRA C 2012 -report /var/lib/jenkins/workspace/Parasoft
    Parasoft C/C++test Professional -- Copyright (C) 2019 Parasoft Corporation
    Parasoft Test -- Copyright (C) 2010-2019 Parasoft Corporation
    java.lang.RuntimeException: Error initializing storage.
    at org.eclipse.osgi.internal.framework.EquinoxContainer.(
    at oorg.eclipse.osgi.launchEquinox.(
    at org.eclipse.core.runtime.adaptor.EclipseStarter.startup(
    at sun.reflect.NativeMethodAccessorImplInvoke0 (Native Method)
    at sun.reflect.NativeMethodAccessorImplInvoke (
    at sun.reflect.DelegatingMethodAccessorImplInvoke (
    at java.lang.reflect.Method.invoke(
    at org.eclipse.equinox.launcher.Main.invokeFramework (
    at org.eclipse.equinox.launcher.Main.basicRun(
    Caused by: /home/testuser1/parasoft/test/10.4/configuration/org.eclipse.osgi/.manager/.fileTableLock (denied)
    at Method)
    at org.eclipse.osgi.storagemanager.StorageManager.lock (
    at (
    at (
    at (
    at org.eclipse.osgi.internal.framework.EquinoxContainer.(
    ... 11 more
    An error has occurred.
    Build step 'Execute shell' marked build as failure
    Skipping issues blue once Git is the only supported SCM up to now.
    [Parasoft Findings] Using default pattern '*/report.xml' since user defined pattern is not set
    [Parasoft Findings] [-ERROR-] No files found for pattern '**/report.xml' Configuration error?
    [Parasoft Findings] Searching for all files in '/var/lib/jenkins/workspace/Parasoft' that match the pattern '*/report.xml'
    [Parasoft Findings] Attaching ResultAction with ID 'parasoft-findings' to run 'Parasoft #25'.
    [Parasoft Findings] Using reference building 'Parasoft #8' to compute new, fixed, and outstanding issues
    [Parasoft Findings] Issues delta (vs. reference build): outstanding: 0, new: 0, fixed: 0
    [Parasoft Findings] No quality gates have been set - skipping
    [Parasoft Findings] Health report is disabled - skipping
    [Parasoft Findings] Created analysis result for 0 issues (found 0 new issues, fixed 0 issues)

Finished: FAILURE


  • brian_nucklesbrian_nuckles Posts: 32 admin

    Hello @WooJun, this seems to be a problem with starting the Parasoft build in the Eclipse workspace used by your Jenkins CI build. This is indicated by

    java.lang.RuntimeException: Error initializing storage.
    at org.eclipse.osgi.internal.framework.EquinoxContainer.

    The second message

    [Parasoft Findings] [-ERROR-] No files found for pattern '**/report.xml' Configuration error?

    Is a result of the Parasoft build not completing properly so it is searching for a report.xml which is never generated. Can you attach the file {workspace}/./metadata/.log from your Jenkins build workspace to this discussion or create a support case through the Parasoft Customer Portal with the same log attached?

Sign In or Register to comment.