[SOAR-18089] Manage Engine Service Desk -1.0.2 Release #2930
Jenkins EKS - SOAR / Jenkins
succeeded
Nov 4, 2024 in 5m 29s
Success
SonarQube Analysis / Shell Script
Error in sh
step, with arguments /home/jenkins/agent/tools/hudson.plugins.sonar.SonarRunnerInstallation/SonarQube/bin/sonar-scanner -Dsonar.host.url=https://sonarqube.build.r7ops.com/ -Dsonar.projectKey=insightconnect-plugins -Dsonar.projectName=insightconnect-plugins
.
script returned exit code 1
Build log
[2024-11-04T15:24:40.442Z] + /home/jenkins/agent/tools/hudson.plugins.sonar.SonarRunnerInstallation/SonarQube/bin/sonar-scanner -Dsonar.host.url=https://sonarqube.build.r7ops.com/ -Dsonar.projectKey=insightconnect-plugins -Dsonar.projectName=insightconnect-plugins
[2024-11-04T15:24:40.443Z] Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8
[2024-11-04T15:24:40.443Z] INFO: Scanner configuration file: /home/jenkins/agent/tools/hudson.plugins.sonar.SonarRunnerInstallation/SonarQube/conf/sonar-scanner.properties
[2024-11-04T15:24:40.443Z] INFO: Project root configuration file: NONE
[2024-11-04T15:24:40.443Z] INFO: SonarScanner 5.0.1.3006
[2024-11-04T15:24:40.443Z] INFO: Java 17.0.12 Eclipse Adoptium (64-bit)
[2024-11-04T15:24:40.443Z] INFO: Linux 6.1.112-122.189.amzn2023.x86_64 amd64
[2024-11-04T15:24:40.698Z] INFO: User cache: /home/jenkins/.sonar/cache
[2024-11-04T15:24:41.622Z] INFO: Analyzing on SonarQube server 10.7.0.96327
[2024-11-04T15:24:41.622Z] INFO: Default locale: "en_US", source code encoding: "UTF-8" (analysis is platform dependent)
[2024-11-04T15:24:42.566Z] INFO: Load global settings
[2024-11-04T15:24:42.567Z] INFO: Load global settings (done) | time=106ms
[2024-11-04T15:24:42.567Z] INFO: Server id: 3482B4BD-AYxjbeHzB0-CTE8TC-sh
[2024-11-04T15:24:42.567Z] INFO: Loading required plugins
[2024-11-04T15:24:42.567Z] INFO: Load plugins index
[2024-11-04T15:24:42.567Z] INFO: Load plugins index (done) | time=17ms
[2024-11-04T15:24:42.567Z] INFO: Load/download plugins
[2024-11-04T15:24:43.126Z] INFO: Load/download plugins (done) | time=448ms
[2024-11-04T15:24:43.126Z] INFO: Loaded core extensions: developer-scanner, sca
[2024-11-04T15:24:43.381Z] INFO: Process project properties
[2024-11-04T15:24:43.381Z] INFO: Process project properties (done) | time=0ms
[2024-11-04T15:24:43.381Z] INFO: Project key: insightconnect-plugins
[2024-11-04T15:24:43.381Z] INFO: Base dir: /home/jenkins/agent/workspace/gins_manage_engine-1.0.2-release
[2024-11-04T15:24:43.381Z] INFO: Working dir: /home/jenkins/agent/workspace/gins_manage_engine-1.0.2-release/.scannerwork
[2024-11-04T15:24:43.381Z] INFO: Load project settings for component key: 'insightconnect-plugins'
[2024-11-04T15:24:43.381Z] INFO: Load project branches
[2024-11-04T15:24:43.381Z] INFO: Load project branches (done) | time=6ms
[2024-11-04T15:24:43.381Z] INFO: Load branch configuration
[2024-11-04T15:24:43.381Z] INFO: Detected branch/PR in 'Jenkins'
[2024-11-04T15:24:43.381Z] INFO: Auto-configuring branch 'manage_engine-1.0.2-release'
[2024-11-04T15:24:43.381Z] INFO: Load branch configuration (done) | time=2ms
[2024-11-04T15:24:43.381Z] INFO: Load quality profiles
[2024-11-04T15:24:43.381Z] INFO: Load quality profiles (done) | time=49ms
[2024-11-04T15:24:43.381Z] INFO: Auto-configuring with CI 'Jenkins'
[2024-11-04T15:24:43.381Z] INFO: Load active rules
[2024-11-04T15:24:45.889Z] INFO: Load active rules (done) | time=2353ms
[2024-11-04T15:24:45.889Z] INFO: Load analysis cache
[2024-11-04T15:24:45.889Z] INFO: Load analysis cache (404) | time=5ms
[2024-11-04T15:24:45.889Z] INFO: Branch name: manage_engine-1.0.2-release
[2024-11-04T15:24:45.889Z] INFO: Preprocessing files...
[2024-11-04T15:24:50.053Z] INFO: 4 languages detected in 14978 preprocessed files
[2024-11-04T15:24:50.053Z] INFO: 2 files ignored because of scm ignore settings
[2024-11-04T15:24:50.053Z] INFO: Loading plugins for detected languages
[2024-11-04T15:24:50.053Z] INFO: Load/download plugins
[2024-11-04T15:24:50.613Z] INFO: Load/download plugins (done) | time=940ms
[2024-11-04T15:24:50.613Z] INFO: Load project repositories
[2024-11-04T15:24:50.613Z] INFO: Load project repositories (done) | time=7ms
[2024-11-04T15:24:50.613Z] INFO: Indexing files...
[2024-11-04T15:24:50.613Z] INFO: Project configuration:
[2024-11-04T15:24:51.536Z] INFO: 14978 files indexed
[2024-11-04T15:24:51.536Z] INFO: Quality profile for docker: Sonar way
[2024-11-04T15:24:51.536Z] INFO: Quality profile for json: Sonar way
[2024-11-04T15:24:51.536Z] INFO: Quality profile for py: Sonar way
[2024-11-04T15:24:51.536Z] INFO: Quality profile for yaml: Sonar way
[2024-11-04T15:24:51.536Z] INFO: ------------- Run sensors on module insightconnect-plugins
[2024-11-04T15:24:51.537Z] INFO: Load metrics repository
[2024-11-04T15:24:51.537Z] INFO: Load metrics repository (done) | time=17ms
[2024-11-04T15:24:52.468Z] INFO: Sensor Python Sensor [python]
[2024-11-04T15:24:52.468Z] WARN: Your code is analyzed as compatible with all Python 3 versions by default. You can get a more precise analysis by setting the exact Python version in your configuration via the parameter "sonar.python.version"
[2024-11-04T15:24:53.027Z] INFO: Starting global symbols computation
[2024-11-04T15:24:53.027Z] INFO: 9625 source files to be analyzed
[2024-11-04T15:25:02.975Z] INFO: 4313/9625 files analyzed, current file: plugins/viper/icon_viper/actions/get_note/__init__.py
[2024-11-04T15:25:12.904Z] WARN: Invalid character encountered in file /home/jenkins/agent/workspace/gins_manage_engine-1.0.2-release/plugins/url_encoder/unit_test/test_decode.py at line 86 for encoding UTF-8. Please fix file content or configure the encoding to be used using property 'sonar.sourceEncoding'.
[2024-11-04T15:25:12.904Z] INFO: 9625/9625 source files have been analyzed
[2024-11-04T15:25:13.158Z] INFO: Starting rules execution
[2024-11-04T15:25:13.158Z] INFO: 9625 source files to be analyzed
[2024-11-04T15:25:23.133Z] INFO: 313/9625 files analyzed, current file: plugins/powershell/icon_powershell/actions/execute_script/__init__.py
[2024-11-04T15:25:33.067Z] INFO: 835/9625 files analyzed, current file: plugins/bitbucket/komand_bitbucket/actions/delete_repo/schema.py
[2024-11-04T15:25:43.005Z] INFO: 1340/9625 files analyzed, current file: plugins/opsgenie/icon_opsgenie/util/api.py
[2024-11-04T15:25:52.932Z] INFO: 1846/9625 files analyzed, current file: plugins/cisco_asa/icon_cisco_asa/util/__init__.py
[2024-11-04T15:26:05.084Z] INFO: 2331/9625 files analyzed, current file: plugins/bitwarden/icon_bitwarden/util/api.py
[2024-11-04T15:26:13.157Z] INFO: 2828/9625 files analyzed, current file: plugins/rapid7_intsights/unit_test/test_helpers.py
[2024-11-04T15:26:23.080Z] INFO: 3288/9625 files analyzed, current file: plugins/azure_sentinel/icon_azure_sentinel/actions/delete_indicator/action.py
[2024-11-04T15:26:33.024Z] INFO: 3758/9625 files analyzed, current file: plugins/google_admin/komand_google_admin/connection/__init__.py
[2024-11-04T15:26:42.952Z] INFO: 4203/9625 files analyzed, current file: plugins/carbon_black_response/icon_carbon_black_response/actions/blacklist_hash/action.py
[2024-11-04T15:26:55.103Z] INFO: 4631/9625 files analyzed, current file: plugins/rapid7_insightappsec/komand_rapid7_insightappsec/actions/delete_scan/schema.py
[2024-11-04T15:27:03.177Z] INFO: 5059/9625 files analyzed, current file: plugins/sqlmap/unit_test/test_scan.py
[2024-11-04T15:27:13.102Z] INFO: 5461/9625 files analyzed, current file: plugins/ibm_qradar/icon_ibm_qradar/actions/get_offense_note_by_id/schema.py
[2024-11-04T15:27:23.027Z] INFO: 5880/9625 files analyzed, current file: plugins/active_directory_ldap/komand_active_directory_ldap/actions/query_group_membership/action.py
[2024-11-04T15:27:32.952Z] INFO: 6277/9625 files analyzed, current file: plugins/anomali_threatstream/komand_anomali_threatstream/actions/submit_url/action.py
[2024-11-04T15:27:45.116Z] INFO: 6650/9625 files analyzed, current file: plugins/cisco_umbrella_investigate/unit_test/test_rr_history.py
[2024-11-04T15:27:53.181Z] INFO: 7020/9625 files analyzed, current file: plugins/rapid7_insightappsec/komand_rapid7_insightappsec/actions/create_scan_config/action.py
[2024-11-04T15:28:03.101Z] INFO: 7396/9625 files analyzed, current file: plugins/rapid7_insightvm/komand_rapid7_insightvm/actions/update_site_excluded_targets/schema.py
[2024-11-04T15:28:13.039Z] INFO: 7767/9625 files analyzed, current file: plugins/cloudflare/unit_test/test_helpers.py
[2024-11-04T15:28:22.961Z] INFO: 8131/9625 files analyzed, current file: plugins/viper/icon_viper/actions/get_note/action.py
[2024-11-04T15:28:35.102Z] INFO: 8473/9625 files analyzed, current file: plugins/rapid7_intsights/icon_rapid7_intsights/actions/add_manual_alert/schema.py
[2024-11-04T15:28:43.167Z] INFO: 8815/9625 files analyzed, current file: plugins/python_3_script/icon_python_3_script/connection/__init__.py
[2024-11-04T15:28:53.120Z] INFO: 9155/9625 files analyzed, current file: plugins/rapid7_insightidr/unit_test/test_search_accounts.py
[2024-11-04T15:29:03.035Z] INFO: 9491/9625 files analyzed, current file: plugins/palo_alto_cortex_xdr/icon_palo_alto_cortex_xdr/actions/get_endpoint_details/__init__.py
[2024-11-04T15:29:07.185Z] INFO: 9625/9625 source files have been analyzed
[2024-11-04T15:29:07.185Z] INFO: The Python analyzer was able to leverage cached data from previous analyses for 0 out of 9625 files. These files were not parsed.
[2024-11-04T15:29:07.185Z] INFO: Sensor Python Sensor [python] (done) | time=254776ms
[2024-11-04T15:29:07.185Z] INFO: Sensor Cobertura Sensor for Python coverage [python]
[2024-11-04T15:29:08.105Z] INFO: Sensor Cobertura Sensor for Python coverage [python] (done) | time=1065ms
[2024-11-04T15:29:08.105Z] INFO: Sensor PythonXUnitSensor [python]
[2024-11-04T15:29:09.462Z] INFO: Sensor PythonXUnitSensor [python] (done) | time=1064ms
[2024-11-04T15:29:09.462Z] INFO: Sensor JaCoCo XML Report Importer [jacoco]
[2024-11-04T15:29:09.462Z] INFO: 'sonar.coverage.jacoco.xmlReportPaths' is not defined. Using default locations: target/site/jacoco/jacoco.xml,target/site/jacoco-it/jacoco.xml,build/reports/jacoco/test/jacocoTestReport.xml
[2024-11-04T15:29:09.462Z] INFO: No report imported, no coverage information will be imported by JaCoCo XML Report Importer
[2024-11-04T15:29:09.462Z] INFO: Sensor JaCoCo XML Report Importer [jacoco] (done) | time=1ms
[2024-11-04T15:29:09.462Z] INFO: Sensor IaC CloudFormation Sensor [iac]
[2024-11-04T15:29:09.462Z] INFO: 0 source files to be analyzed
[2024-11-04T15:29:09.462Z] INFO: 0/0 source files have been analyzed
[2024-11-04T15:29:09.462Z] INFO: Sensor IaC CloudFormation Sensor [iac] (done) | time=201ms
[2024-11-04T15:29:09.463Z] INFO: Sensor IaC Kubernetes Sensor [iac]
[2024-11-04T15:29:09.463Z] INFO: 0 source files to be parsed
[2024-11-04T15:29:09.463Z] INFO: 0/0 source files have been parsed
[2024-11-04T15:29:09.463Z] INFO: 0 source files to be analyzed
[2024-11-04T15:29:09.463Z] INFO: 0/0 source files have been analyzed
[2024-11-04T15:29:09.463Z] INFO: 0 source files to be checked
[2024-11-04T15:29:09.463Z] INFO: 0/0 source files have been checked
[2024-11-04T15:29:09.463Z] INFO: Sensor IaC Kubernetes Sensor [iac] (done) | time=130ms
[2024-11-04T15:29:09.463Z] INFO: Sensor IaC AzureResourceManager Sensor [iac]
[2024-11-04T15:29:09.716Z] INFO: 0 source files to be analyzed
[2024-11-04T15:29:09.716Z] INFO: 0/0 source files have been analyzed
[2024-11-04T15:29:09.716Z] INFO: Sensor IaC AzureResourceManager Sensor [iac] (done) | time=54ms
[2024-11-04T15:29:09.716Z] INFO: Sensor Java Config Sensor [iac]
[2024-11-04T15:29:09.716Z] INFO: 0 source files to be analyzed
[2024-11-04T15:29:09.716Z] INFO: 0/0 source files have been analyzed
[2024-11-04T15:29:09.716Z] INFO: Sensor Java Config Sensor [iac] (done) | time=57ms
[2024-11-04T15:29:09.716Z] INFO: Sensor JavaScript inside YAML analysis [javascript]
[2024-11-04T15:29:10.274Z] INFO: No input files found for analysis
[2024-11-04T15:29:10.274Z] INFO: Hit the cache for 0 out of 0
[2024-11-04T15:29:10.274Z] INFO: Miss the cache for 0 out of 0
[2024-11-04T15:29:10.274Z] INFO: Sensor JavaScript inside YAML analysis [javascript] (done) | time=467ms
[2024-11-04T15:29:10.274Z] INFO: Sensor CSS Rules [javascript]
[2024-11-04T15:29:10.274Z] INFO: No CSS, PHP, HTML or VueJS files are found in the project. CSS analysis is skipped.
[2024-11-04T15:29:10.274Z] INFO: Sensor CSS Rules [javascript] (done) | time=11ms
[2024-11-04T15:29:10.274Z] INFO: Sensor Python HTML templates processing [securitypythonfrontend]
[2024-11-04T15:29:10.831Z] INFO: Sensor Python HTML templates processing [securitypythonfrontend] (done) | time=608ms
[2024-11-04T15:29:10.831Z] INFO: Sensor IaC Docker Sensor [iac]
[2024-11-04T15:29:10.831Z] INFO: 270 source files to be analyzed
[2024-11-04T15:29:11.787Z] INFO: 270/270 source files have been analyzed
[2024-11-04T15:29:11.787Z] INFO: Sensor IaC Docker Sensor [iac] (done) | time=1084ms
[2024-11-04T15:29:11.787Z] INFO: Sensor Serverless configuration file sensor [security]
[2024-11-04T15:29:11.787Z] INFO: 0 Serverless function entries were found in the project
[2024-11-04T15:29:11.787Z] INFO: 0 Serverless function handlers were kept as entrypoints
[2024-11-04T15:29:11.787Z] INFO: Sensor Serverless configuration file sensor [security] (done) | time=13ms
[2024-11-04T15:29:11.787Z] INFO: Sensor AWS SAM template file sensor [security]
[2024-11-04T15:29:12.041Z] INFO: Sensor AWS SAM template file sensor [security] (done) | time=110ms
[2024-11-04T15:29:12.041Z] INFO: Sensor AWS SAM Inline template file sensor [security]
[2024-11-04T15:29:12.041Z] INFO: Sensor AWS SAM Inline template file sensor [security] (done) | time=112ms
[2024-11-04T15:29:12.041Z] INFO: Sensor javabugs [dbd]
[2024-11-04T15:29:12.041Z] INFO: Reading IR files from: /home/jenkins/agent/workspace/gins_manage_engine-1.0.2-release/.scannerwork/ir/java
[2024-11-04T15:29:12.041Z] INFO: No IR files have been included for analysis.
[2024-11-04T15:29:12.041Z] INFO: Sensor javabugs [dbd] (done) | time=2ms
[2024-11-04T15:29:12.041Z] INFO: Sensor pythonbugs [dbd]
[2024-11-04T15:29:12.295Z] INFO: Reading IR files from: /home/jenkins/agent/workspace/gins_manage_engine-1.0.2-release/.scannerwork/ir/python
[2024-11-04T15:29:12.548Z] INFO: Analyzing 13455 functions to detect bugs.
[2024-11-04T15:29:27.359Z] INFO: ------------------------------------------------------------------------
[2024-11-04T15:29:27.359Z] INFO: EXECUTION FAILURE
[2024-11-04T15:29:27.359Z] INFO: ------------------------------------------------------------------------
[2024-11-04T15:29:27.359Z] INFO: Total time: 4:44.831s
[2024-11-04T15:29:27.359Z] INFO: Final Memory: 264M/884M
[2024-11-04T15:29:27.359Z] INFO: ------------------------------------------------------------------------
[2024-11-04T15:29:27.359Z] ERROR: Error during SonarScanner execution
[2024-11-04T15:29:27.359Z] java.lang.OutOfMemoryError: Java heap space
[2024-11-04T15:29:27.359Z] at java.base/java.util.Arrays.copyOf(Unknown Source)
[2024-11-04T15:29:27.359Z] at java.base/java.util.ArrayDeque.grow(Unknown Source)
[2024-11-04T15:29:27.359Z] at java.base/java.util.ArrayDeque.addFirst(Unknown Source)
[2024-11-04T15:29:27.359Z] at java.base/java.util.ArrayDeque.push(Unknown Source)
[2024-11-04T15:29:27.359Z] at com.sonarsource.A.A.X.A(na:1273)
[2024-11-04T15:29:27.359Z] at com.sonarsource.A.G.executeChecks(na:1082)
[2024-11-04T15:29:27.359Z] at com.sonarsource.A.G.executeSensor(na:2561)
[2024-11-04T15:29:27.359Z] at com.sonarsource.A.G.execute(na:1586)
[2024-11-04T15:29:27.359Z] at org.sonar.scanner.sensor.AbstractSensorWrapper.analyse(AbstractSensorWrapper.java:64)
[2024-11-04T15:29:27.360Z] at org.sonar.scanner.sensor.ModuleSensorsExecutor.execute(ModuleSensorsExecutor.java:88)
[2024-11-04T15:29:27.360Z] at org.sonar.scanner.sensor.ModuleSensorsExecutor.execute(ModuleSensorsExecutor.java:64)
[2024-11-04T15:29:27.360Z] at org.sonar.scanner.scan.SpringModuleScanContainer.doAfterStart(SpringModuleScanContainer.java:82)
[2024-11-04T15:29:27.360Z] at org.sonar.core.platform.SpringComponentContainer.startComponents(SpringComponentContainer.java:226)
[2024-11-04T15:29:27.360Z] at org.sonar.core.platform.SpringComponentContainer.execute(SpringComponentContainer.java:205)
[2024-11-04T15:29:27.360Z] at org.sonar.scanner.scan.SpringProjectScanContainer.scan(SpringProjectScanContainer.java:204)
[2024-11-04T15:29:27.360Z] at org.sonar.scanner.scan.SpringProjectScanContainer.scanRecursively(SpringProjectScanContainer.java:200)
[2024-11-04T15:29:27.360Z] at org.sonar.scanner.scan.SpringProjectScanContainer.doAfterStart(SpringProjectScanContainer.java:173)
[2024-11-04T15:29:27.360Z] at org.sonar.core.platform.SpringComponentContainer.startComponents(SpringComponentContainer.java:226)
[2024-11-04T15:29:27.360Z] at org.sonar.core.platform.SpringComponentContainer.execute(SpringComponentContainer.java:205)
[2024-11-04T15:29:27.360Z] at org.sonar.scanner.bootstrap.SpringScannerContainer.doAfterStart(SpringScannerContainer.java:351)
[2024-11-04T15:29:27.360Z] at org.sonar.core.platform.SpringComponentContainer.startComponents(SpringComponentContainer.java:226)
[2024-11-04T15:29:27.360Z] at org.sonar.core.platform.SpringComponentContainer.execute(SpringComponentContainer.java:205)
[2024-11-04T15:29:27.360Z] at org.sonar.scanner.bootstrap.SpringGlobalContainer.doAfterStart(SpringGlobalContainer.java:144)
[2024-11-04T15:29:27.360Z] at org.sonar.core.platform.SpringComponentContainer.startComponents(SpringComponentContainer.java:226)
[2024-11-04T15:29:27.360Z] at org.sonar.core.platform.SpringComponentContainer.execute(SpringComponentContainer.java:205)
[2024-11-04T15:29:27.360Z] at org.sonar.batch.bootstrapper.Batch.doExecute(Batch.java:73)
[2024-11-04T15:29:27.360Z] at org.sonar.batch.bootstrapper.Batch.execute(Batch.java:67)
[2024-11-04T15:29:27.360Z] at org.sonarsource.scanner.api.internal.batch.BatchIsolatedLauncher.execute(BatchIsolatedLauncher.java:46)
[2024-11-04T15:29:27.360Z] at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[2024-11-04T15:29:27.360Z] at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
[2024-11-04T15:29:27.360Z] at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
[2024-11-04T15:29:27.360Z] at java.base/java.lang.reflect.Method.invoke(Unknown Source)
[2024-11-04T15:29:27.360Z] ERROR:
[2024-11-04T15:29:27.360Z] ERROR: Re-run SonarScanner using the -X switch to enable full debug logging.
Details
- Declarative: Checkout SCM (12 sec)
- Setup Python virtual environment and tooling (0.66 sec)
- Retrieve git tag on SCM (0.77 sec)
- Retrieve plugin details and announce release (0.74 sec)
- Build plugin image using buildpacks (0.6 sec)
- Initialize plugin release (0.69 sec)
- SonarQube Analysis (4 min 50 sec)
Error: script returned exit code 1 - Declarative: Post Actions (3.1 sec)
Loading