[SOAR-18525] InsightCloudSec SDK bump #3019
Merged
Jenkins EKS - SOAR / Jenkins
succeeded
Dec 19, 2024 in 4m 11s
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-12-19T16:00:56.243Z] + /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-12-19T16:00:56.243Z] Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8
[2024-12-19T16:00:56.243Z] INFO: Scanner configuration file: /home/jenkins/agent/tools/hudson.plugins.sonar.SonarRunnerInstallation/SonarQube/conf/sonar-scanner.properties
[2024-12-19T16:00:56.243Z] INFO: Project root configuration file: NONE
[2024-12-19T16:00:56.243Z] INFO: SonarScanner 5.0.1.3006
[2024-12-19T16:00:56.243Z] INFO: Java 17.0.13 Eclipse Adoptium (64-bit)
[2024-12-19T16:00:56.244Z] INFO: Linux 6.1.119-129.201.amzn2023.x86_64 amd64
[2024-12-19T16:00:56.499Z] INFO: User cache: /home/jenkins/.sonar/cache
[2024-12-19T16:00:57.858Z] INFO: Analyzing on SonarQube server 10.8.0.100206
[2024-12-19T16:00:57.858Z] INFO: Default locale: "en_US", source code encoding: "UTF-8" (analysis is platform dependent)
[2024-12-19T16:00:58.417Z] INFO: Load global settings
[2024-12-19T16:00:58.417Z] INFO: Load global settings (done) | time=111ms
[2024-12-19T16:00:58.417Z] INFO: Server id: 3482B4BD-AYxjbeHzB0-CTE8TC-sh
[2024-12-19T16:00:58.417Z] INFO: Loading required plugins
[2024-12-19T16:00:58.417Z] INFO: Load plugins index
[2024-12-19T16:00:58.675Z] INFO: Load plugins index (done) | time=18ms
[2024-12-19T16:00:58.675Z] INFO: Load/download plugins
[2024-12-19T16:00:58.929Z] INFO: Load/download plugins (done) | time=316ms
[2024-12-19T16:00:58.929Z] INFO: Loaded core extensions: developer-scanner, sca, server-common
[2024-12-19T16:00:59.184Z] INFO: Process project properties
[2024-12-19T16:00:59.184Z] INFO: Process project properties (done) | time=0ms
[2024-12-19T16:00:59.184Z] INFO: Project key: insightconnect-plugins
[2024-12-19T16:00:59.184Z] INFO: Base dir: /home/jenkins/agent/workspace/htconnect-plugins_SOAR-18525-ics
[2024-12-19T16:00:59.184Z] INFO: Working dir: /home/jenkins/agent/workspace/htconnect-plugins_SOAR-18525-ics/.scannerwork
[2024-12-19T16:00:59.184Z] INFO: Load project settings for component key: 'insightconnect-plugins'
[2024-12-19T16:00:59.184Z] INFO: Load project branches
[2024-12-19T16:00:59.184Z] INFO: Load project branches (done) | time=6ms
[2024-12-19T16:00:59.184Z] INFO: Load branch configuration
[2024-12-19T16:00:59.184Z] INFO: Detected branch/PR in 'Jenkins'
[2024-12-19T16:00:59.184Z] INFO: Auto-configuring branch 'SOAR-18525-ics'
[2024-12-19T16:00:59.184Z] INFO: Load branch configuration (done) | time=2ms
[2024-12-19T16:00:59.184Z] INFO: Load quality profiles
[2024-12-19T16:00:59.439Z] INFO: Load quality profiles (done) | time=54ms
[2024-12-19T16:00:59.439Z] INFO: Auto-configuring with CI 'Jenkins'
[2024-12-19T16:00:59.439Z] INFO: Load active rules
[2024-12-19T16:01:01.945Z] INFO: Load active rules (done) | time=2529ms
[2024-12-19T16:01:01.945Z] INFO: Load analysis cache
[2024-12-19T16:01:01.945Z] INFO: Load analysis cache (404) | time=6ms
[2024-12-19T16:01:01.945Z] INFO: Branch name: SOAR-18525-ics
[2024-12-19T16:01:01.945Z] INFO: Preprocessing files...
[2024-12-19T16:01:05.206Z] INFO: 4 languages detected in 14854 preprocessed files
[2024-12-19T16:01:05.475Z] INFO: 1 file ignored because of scm ignore settings
[2024-12-19T16:01:05.475Z] INFO: Loading plugins for detected languages
[2024-12-19T16:01:05.475Z] INFO: Load/download plugins
[2024-12-19T16:01:06.397Z] INFO: Load/download plugins (done) | time=1074ms
[2024-12-19T16:01:06.397Z] INFO: Sonar Cryptography initialized in context (SONARQUBE)
[2024-12-19T16:01:06.652Z] INFO: Load project repositories
[2024-12-19T16:01:06.652Z] INFO: Load project repositories (done) | time=7ms
[2024-12-19T16:01:06.652Z] INFO: Indexing files...
[2024-12-19T16:01:06.652Z] INFO: Project configuration:
[2024-12-19T16:01:07.574Z] INFO: 14854 files indexed
[2024-12-19T16:01:07.574Z] INFO: Quality profile for docker: Sonar way
[2024-12-19T16:01:07.574Z] INFO: Quality profile for json: Sonar way
[2024-12-19T16:01:07.574Z] INFO: Quality profile for py: Sonar way
[2024-12-19T16:01:07.574Z] INFO: Quality profile for yaml: Sonar way
[2024-12-19T16:01:07.574Z] INFO: ------------- Run sensors on module insightconnect-plugins
[2024-12-19T16:01:07.574Z] INFO: Sonar Cryptography initialized in context (SONARQUBE)
[2024-12-19T16:01:07.574Z] INFO: Load metrics repository
[2024-12-19T16:01:07.574Z] INFO: Load metrics repository (done) | time=15ms
[2024-12-19T16:01:08.133Z] INFO: Sensor Python Sensor [python]
[2024-12-19T16:01:08.133Z] 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-12-19T16:01:08.691Z] INFO: Starting global symbols computation
[2024-12-19T16:01:08.691Z] INFO: 9535 source files to be analyzed
[2024-12-19T16:01:20.875Z] INFO: 3165/9535 files analyzed, current file: plugins/crowdstrike_falcon_intelligence/icon_crowdstrike_falcon_intelligence/actions/getSubmissionsIDs/action.py
[2024-12-19T16:01:28.964Z] INFO: 7626/9535 files analyzed, current file: plugins/typo_squatter/komand_typo_squatter/actions/score_domain/__init__.py
[2024-12-19T16:01:33.117Z] WARN: Invalid character encountered in file /home/jenkins/agent/workspace/htconnect-plugins_SOAR-18525-ics/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-12-19T16:01:33.117Z] INFO: 9535/9535 source files have been analyzed
[2024-12-19T16:01:33.678Z] INFO: Starting rules execution
[2024-12-19T16:01:33.678Z] INFO: 9535 source files to be analyzed
[2024-12-19T16:01:45.841Z] INFO: 451/9535 files analyzed, current file: plugins/easyvista/icon_easyvista/util/api.py
[2024-12-19T16:01:53.904Z] INFO: 1208/9535 files analyzed, current file: plugins/okta/komand_okta/actions/delete_user/action.py
[2024-12-19T16:02:03.822Z] INFO: 2031/9535 files analyzed, current file: plugins/microsoft_log_analytics/unit_test/test_list_all_searches.py
[2024-12-19T16:02:13.741Z] INFO: 2913/9535 files analyzed, current file: plugins/html/icon_html/actions/html5/__init__.py
[2024-12-19T16:02:23.700Z] INFO: 3813/9535 files analyzed, current file: plugins/bitwarden/icon_bitwarden/actions/listAllCollections/schema.py
[2024-12-19T16:02:35.846Z] INFO: 4655/9535 files analyzed, current file: plugins/basename/komand_basename/triggers/__init__.py
[2024-12-19T16:02:43.908Z] INFO: 5475/9535 files analyzed, current file: plugins/grep/icon_grep/actions/match_string/schema.py
[2024-12-19T16:02:53.829Z] INFO: 6337/9535 files analyzed, current file: plugins/recorded_future/komand_recorded_future/util/api.py
[2024-12-19T16:03:03.748Z] INFO: 7176/9535 files analyzed, current file: plugins/salesforce/komand_salesforce/actions/update_record/__init__.py
[2024-12-19T16:03:13.682Z] INFO: 8080/9535 files analyzed, current file: plugins/jamf/icon_jamf/util/api.py
[2024-12-19T16:03:25.848Z] INFO: 8895/9535 files analyzed, current file: plugins/extractit/icon_extractit/actions/filepath_extractor/schema.py
[2024-12-19T16:03:32.363Z] INFO: 9535/9535 source files have been analyzed
[2024-12-19T16:03:32.364Z] INFO: The Python analyzer was able to leverage cached data from previous analyses for 0 out of 9535 files. These files were not parsed.
[2024-12-19T16:03:32.364Z] INFO: Sensor Python Sensor [python] (done) | time=143288ms
[2024-12-19T16:03:32.364Z] INFO: Sensor Cobertura Sensor for Python coverage [python]
[2024-12-19T16:03:32.617Z] INFO: Sensor Cobertura Sensor for Python coverage [python] (done) | time=1090ms
[2024-12-19T16:03:32.617Z] INFO: Sensor PythonXUnitSensor [python]
[2024-12-19T16:03:33.974Z] INFO: Sensor PythonXUnitSensor [python] (done) | time=1075ms
[2024-12-19T16:03:33.974Z] INFO: Sensor JaCoCo XML Report Importer [jacoco]
[2024-12-19T16:03:33.974Z] 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-12-19T16:03:33.974Z] INFO: No report imported, no coverage information will be imported by JaCoCo XML Report Importer
[2024-12-19T16:03:33.974Z] INFO: Sensor JaCoCo XML Report Importer [jacoco] (done) | time=1ms
[2024-12-19T16:03:33.974Z] INFO: Sensor IaC Ansible Sensor [iacenterprise]
[2024-12-19T16:03:33.974Z] INFO: 0 source files to be analyzed
[2024-12-19T16:03:33.974Z] INFO: 0/0 source files have been analyzed
[2024-12-19T16:03:33.974Z] INFO: Sensor IaC Ansible Sensor [iacenterprise] (done) | time=368ms
[2024-12-19T16:03:33.974Z] INFO: Sensor IaC CloudFormation Sensor [iac]
[2024-12-19T16:03:33.974Z] INFO: 0 source files to be analyzed
[2024-12-19T16:03:33.974Z] INFO: 0/0 source files have been analyzed
[2024-12-19T16:03:33.974Z] INFO: Sensor IaC CloudFormation Sensor [iac] (done) | time=51ms
[2024-12-19T16:03:33.974Z] INFO: Sensor IaC Kubernetes Sensor [iac]
[2024-12-19T16:03:34.228Z] INFO: 0 source files to be parsed
[2024-12-19T16:03:34.228Z] INFO: 0/0 source files have been parsed
[2024-12-19T16:03:34.228Z] INFO: 0 source files to be analyzed
[2024-12-19T16:03:34.228Z] INFO: 0/0 source files have been analyzed
[2024-12-19T16:03:34.228Z] INFO: 0 source files to be checked
[2024-12-19T16:03:34.228Z] INFO: 0/0 source files have been checked
[2024-12-19T16:03:34.228Z] INFO: Sensor IaC Kubernetes Sensor [iac] (done) | time=129ms
[2024-12-19T16:03:34.228Z] INFO: Sensor IaC AzureResourceManager Sensor [iac]
[2024-12-19T16:03:34.228Z] INFO: 0 source files to be analyzed
[2024-12-19T16:03:34.228Z] INFO: 0/0 source files have been analyzed
[2024-12-19T16:03:34.228Z] INFO: Sensor IaC AzureResourceManager Sensor [iac] (done) | time=56ms
[2024-12-19T16:03:34.228Z] INFO: Sensor Java Config Sensor [iac]
[2024-12-19T16:03:34.228Z] INFO: 0 source files to be analyzed
[2024-12-19T16:03:34.228Z] INFO: 0/0 source files have been analyzed
[2024-12-19T16:03:34.228Z] INFO: Sensor Java Config Sensor [iac] (done) | time=53ms
[2024-12-19T16:03:34.228Z] INFO: Sensor JavaScript inside YAML analysis [javascript]
[2024-12-19T16:03:34.785Z] INFO: No input files found for analysis
[2024-12-19T16:03:34.785Z] INFO: Hit the cache for 0 out of 0
[2024-12-19T16:03:34.785Z] INFO: Miss the cache for 0 out of 0
[2024-12-19T16:03:34.785Z] INFO: Sensor JavaScript inside YAML analysis [javascript] (done) | time=421ms
[2024-12-19T16:03:34.786Z] INFO: Sensor CSS Rules [javascript]
[2024-12-19T16:03:34.786Z] INFO: No CSS, PHP, HTML or VueJS files are found in the project. CSS analysis is skipped.
[2024-12-19T16:03:34.786Z] INFO: Sensor CSS Rules [javascript] (done) | time=10ms
[2024-12-19T16:03:34.786Z] INFO: Sensor Python HTML templates processing [securitypythonfrontend]
[2024-12-19T16:03:35.375Z] INFO: Sensor Python HTML templates processing [securitypythonfrontend] (done) | time=610ms
[2024-12-19T16:03:35.375Z] INFO: Sensor IaC Docker Sensor [iac]
[2024-12-19T16:03:35.375Z] INFO: 263 source files to be analyzed
[2024-12-19T16:03:36.731Z] INFO: 263/263 source files have been analyzed
[2024-12-19T16:03:36.731Z] INFO: Sensor IaC Docker Sensor [iac] (done) | time=1141ms
[2024-12-19T16:03:36.731Z] INFO: Sensor Serverless configuration file sensor [security]
[2024-12-19T16:03:36.731Z] INFO: 0 Serverless function entries were found in the project
[2024-12-19T16:03:36.731Z] INFO: 0 Serverless function handlers were kept as entrypoints
[2024-12-19T16:03:36.731Z] INFO: Sensor Serverless configuration file sensor [security] (done) | time=12ms
[2024-12-19T16:03:36.731Z] INFO: Sensor AWS SAM template file sensor [security]
[2024-12-19T16:03:36.732Z] INFO: Sensor AWS SAM template file sensor [security] (done) | time=102ms
[2024-12-19T16:03:36.732Z] INFO: Sensor AWS SAM Inline template file sensor [security]
[2024-12-19T16:03:36.732Z] INFO: Sensor AWS SAM Inline template file sensor [security] (done) | time=102ms
[2024-12-19T16:03:36.732Z] INFO: Sensor javabugs [dbd]
[2024-12-19T16:03:36.732Z] INFO: Reading IR files from: /home/jenkins/agent/workspace/htconnect-plugins_SOAR-18525-ics/.scannerwork/ir/java
[2024-12-19T16:03:36.732Z] INFO: No IR files have been included for analysis.
[2024-12-19T16:03:36.732Z] INFO: Sensor javabugs [dbd] (done) | time=1ms
[2024-12-19T16:03:36.732Z] INFO: Sensor pythonbugs [dbd]
[2024-12-19T16:03:37.289Z] INFO: Reading IR files from: /home/jenkins/agent/workspace/htconnect-plugins_SOAR-18525-ics/.scannerwork/ir/python
[2024-12-19T16:03:37.543Z] INFO: Analyzing 13390 functions to detect bugs.
[2024-12-19T16:04:04.004Z] INFO: ------------------------------------------------------------------------
[2024-12-19T16:04:04.004Z] INFO: EXECUTION FAILURE
[2024-12-19T16:04:04.004Z] INFO: ------------------------------------------------------------------------
[2024-12-19T16:04:04.004Z] INFO: Total time: 3:04.241s
[2024-12-19T16:04:04.004Z] INFO: Final Memory: 245M/820M
[2024-12-19T16:04:04.004Z] INFO: ------------------------------------------------------------------------
[2024-12-19T16:04:04.004Z] ERROR: Error during SonarScanner execution
[2024-12-19T16:04:04.004Z] java.lang.OutOfMemoryError: Java heap space
[2024-12-19T16:04:04.004Z] at java.base/java.util.LinkedList.addAll(Unknown Source)
[2024-12-19T16:04:04.004Z] at java.base/java.util.LinkedList.addAll(Unknown Source)
[2024-12-19T16:04:04.004Z] at com.sonarsource.A.J.B(na:782)
[2024-12-19T16:04:04.004Z] at com.sonarsource.A.F.executeChecks(na:2678)
[2024-12-19T16:04:04.004Z] at com.sonarsource.A.F.executeSensor(na:1978)
[2024-12-19T16:04:04.004Z] at com.sonarsource.A.F.execute(na:2033)
[2024-12-19T16:04:04.004Z] at org.sonar.scanner.sensor.AbstractSensorWrapper.analyse(AbstractSensorWrapper.java:64)
[2024-12-19T16:04:04.004Z] at org.sonar.scanner.sensor.ModuleSensorsExecutor.execute(ModuleSensorsExecutor.java:88)
[2024-12-19T16:04:04.004Z] at org.sonar.scanner.sensor.ModuleSensorsExecutor.execute(ModuleSensorsExecutor.java:64)
[2024-12-19T16:04:04.004Z] at org.sonar.scanner.scan.SpringModuleScanContainer.doAfterStart(SpringModuleScanContainer.java:82)
[2024-12-19T16:04:04.004Z] at org.sonar.core.platform.SpringComponentContainer.startComponents(SpringComponentContainer.java:226)
[2024-12-19T16:04:04.004Z] at org.sonar.core.platform.SpringComponentContainer.execute(SpringComponentContainer.java:205)
[2024-12-19T16:04:04.004Z] at org.sonar.scanner.scan.SpringProjectScanContainer.scan(SpringProjectScanContainer.java:201)
[2024-12-19T16:04:04.004Z] at org.sonar.scanner.scan.SpringProjectScanContainer.scanRecursively(SpringProjectScanContainer.java:197)
[2024-12-19T16:04:04.004Z] at org.sonar.scanner.scan.SpringProjectScanContainer.doAfterStart(SpringProjectScanContainer.java:170)
[2024-12-19T16:04:04.004Z] at org.sonar.core.platform.SpringComponentContainer.startComponents(SpringComponentContainer.java:226)
[2024-12-19T16:04:04.004Z] at org.sonar.core.platform.SpringComponentContainer.execute(SpringComponentContainer.java:205)
[2024-12-19T16:04:04.004Z] at org.sonar.scanner.bootstrap.SpringScannerContainer.doAfterStart(SpringScannerContainer.java:355)
[2024-12-19T16:04:04.004Z] at org.sonar.core.platform.SpringComponentContainer.startComponents(SpringComponentContainer.java:226)
[2024-12-19T16:04:04.005Z] at org.sonar.core.platform.SpringComponentContainer.execute(SpringComponentContainer.java:205)
[2024-12-19T16:04:04.005Z] at org.sonar.scanner.bootstrap.SpringGlobalContainer.doAfterStart(SpringGlobalContainer.java:144)
[2024-12-19T16:04:04.005Z] at org.sonar.core.platform.SpringComponentContainer.startComponents(SpringComponentContainer.java:226)
[2024-12-19T16:04:04.005Z] at org.sonar.core.platform.SpringComponentContainer.execute(SpringComponentContainer.java:205)
[2024-12-19T16:04:04.005Z] at org.sonar.batch.bootstrapper.Batch.doExecute(Batch.java:73)
[2024-12-19T16:04:04.005Z] at org.sonar.batch.bootstrapper.Batch.execute(Batch.java:67)
[2024-12-19T16:04:04.005Z] at org.sonarsource.scanner.api.internal.batch.BatchIsolatedLauncher.execute(BatchIsolatedLauncher.java:46)
[2024-12-19T16:04:04.005Z] at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[2024-12-19T16:04:04.005Z] at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
[2024-12-19T16:04:04.005Z] at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
[2024-12-19T16:04:04.005Z] at java.base/java.lang.reflect.Method.invoke(Unknown Source)
[2024-12-19T16:04:04.005Z] at org.sonarsource.scanner.api.internal.IsolatedLauncherProxy.invoke(IsolatedLauncherProxy.java:60)
[2024-12-19T16:04:04.005Z] at jdk.proxy1/jdk.proxy1.$Proxy0.execute(Unknown Source)
[2024-12-19T16:04:04.005Z] ERROR:
[2024-12-19T16:04:04.005Z] 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.84 sec)
- Retrieve git tag on SCM (0.74 sec)
- Retrieve plugin details and announce release (0.76 sec)
- Build plugin image using buildpacks (0.81 sec)
- Initialize plugin release (0.7 sec)
- SonarQube Analysis (3 min 11 sec)
Error: script returned exit code 1 - Push to Alliance Govcloud (0.81 sec)
- Declarative: Post Actions (3.5 sec)
Loading