[SOAR-18441] Rapid7 InsightVM 8.0.8 Release #2992
Merged
Jenkins EKS - SOAR / Jenkins
succeeded
Dec 10, 2024 in 3m 55s
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-10T12:14:21.730Z] + /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-10T12:14:21.731Z] Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8
[2024-12-10T12:14:21.731Z] INFO: Scanner configuration file: /home/jenkins/agent/tools/hudson.plugins.sonar.SonarRunnerInstallation/SonarQube/conf/sonar-scanner.properties
[2024-12-10T12:14:21.731Z] INFO: Project root configuration file: NONE
[2024-12-10T12:14:21.731Z] INFO: SonarScanner 5.0.1.3006
[2024-12-10T12:14:21.731Z] INFO: Java 17.0.13 Eclipse Adoptium (64-bit)
[2024-12-10T12:14:21.731Z] INFO: Linux 6.1.115-126.197.amzn2023.x86_64 amd64
[2024-12-10T12:14:21.988Z] INFO: User cache: /home/jenkins/.sonar/cache
[2024-12-10T12:14:23.357Z] INFO: Analyzing on SonarQube server 10.8.0.100206
[2024-12-10T12:14:23.357Z] INFO: Default locale: "en_US", source code encoding: "UTF-8" (analysis is platform dependent)
[2024-12-10T12:14:23.927Z] INFO: Load global settings
[2024-12-10T12:14:23.927Z] INFO: Load global settings (done) | time=103ms
[2024-12-10T12:14:23.927Z] INFO: Server id: 3482B4BD-AYxjbeHzB0-CTE8TC-sh
[2024-12-10T12:14:23.927Z] INFO: Loading required plugins
[2024-12-10T12:14:23.927Z] INFO: Load plugins index
[2024-12-10T12:14:23.927Z] INFO: Load plugins index (done) | time=18ms
[2024-12-10T12:14:23.927Z] INFO: Load/download plugins
[2024-12-10T12:14:24.490Z] INFO: Load/download plugins (done) | time=412ms
[2024-12-10T12:14:24.490Z] INFO: Loaded core extensions: developer-scanner, sca, server-common
[2024-12-10T12:14:24.747Z] INFO: Process project properties
[2024-12-10T12:14:24.747Z] INFO: Process project properties (done) | time=0ms
[2024-12-10T12:14:24.747Z] INFO: Project key: insightconnect-plugins
[2024-12-10T12:14:24.747Z] INFO: Base dir: /home/jenkins/agent/workspace/_plugins_insightvm-8.0.8-release
[2024-12-10T12:14:24.747Z] INFO: Working dir: /home/jenkins/agent/workspace/_plugins_insightvm-8.0.8-release/.scannerwork
[2024-12-10T12:14:24.747Z] INFO: Load project settings for component key: 'insightconnect-plugins'
[2024-12-10T12:14:24.747Z] INFO: Load project branches
[2024-12-10T12:14:24.747Z] INFO: Load project branches (done) | time=5ms
[2024-12-10T12:14:24.747Z] INFO: Load branch configuration
[2024-12-10T12:14:24.747Z] INFO: Detected branch/PR in 'Jenkins'
[2024-12-10T12:14:24.747Z] INFO: Auto-configuring branch 'insightvm-8.0.8-release'
[2024-12-10T12:14:24.747Z] INFO: Load branch configuration (done) | time=1ms
[2024-12-10T12:14:24.747Z] INFO: Load quality profiles
[2024-12-10T12:14:24.748Z] INFO: Load quality profiles (done) | time=51ms
[2024-12-10T12:14:24.748Z] INFO: Auto-configuring with CI 'Jenkins'
[2024-12-10T12:14:24.748Z] INFO: Load active rules
[2024-12-10T12:14:27.267Z] INFO: Load active rules (done) | time=2361ms
[2024-12-10T12:14:27.267Z] INFO: Load analysis cache
[2024-12-10T12:14:27.267Z] INFO: Load analysis cache (404) | time=6ms
[2024-12-10T12:14:27.267Z] INFO: Branch name: insightvm-8.0.8-release
[2024-12-10T12:14:27.268Z] INFO: Preprocessing files...
[2024-12-10T12:14:30.532Z] INFO: 4 languages detected in 14891 preprocessed files
[2024-12-10T12:14:30.532Z] INFO: 1 file ignored because of scm ignore settings
[2024-12-10T12:14:30.788Z] INFO: Loading plugins for detected languages
[2024-12-10T12:14:30.788Z] INFO: Load/download plugins
[2024-12-10T12:14:31.751Z] INFO: Load/download plugins (done) | time=1050ms
[2024-12-10T12:14:31.751Z] INFO: Sonar Cryptography initialized in context (SONARQUBE)
[2024-12-10T12:14:32.008Z] INFO: Load project repositories
[2024-12-10T12:14:32.008Z] INFO: Load project repositories (done) | time=20ms
[2024-12-10T12:14:32.008Z] INFO: Indexing files...
[2024-12-10T12:14:32.008Z] INFO: Project configuration:
[2024-12-10T12:14:32.934Z] INFO: 14891 files indexed
[2024-12-10T12:14:32.934Z] INFO: Quality profile for docker: Sonar way
[2024-12-10T12:14:32.934Z] INFO: Quality profile for json: Sonar way
[2024-12-10T12:14:32.934Z] INFO: Quality profile for py: Sonar way
[2024-12-10T12:14:32.934Z] INFO: Quality profile for yaml: Sonar way
[2024-12-10T12:14:32.934Z] INFO: ------------- Run sensors on module insightconnect-plugins
[2024-12-10T12:14:32.934Z] INFO: Sonar Cryptography initialized in context (SONARQUBE)
[2024-12-10T12:14:32.934Z] INFO: Load metrics repository
[2024-12-10T12:14:32.934Z] INFO: Load metrics repository (done) | time=17ms
[2024-12-10T12:14:33.863Z] INFO: Sensor Python Sensor [python]
[2024-12-10T12:14:33.863Z] 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-10T12:14:34.126Z] INFO: Starting global symbols computation
[2024-12-10T12:14:34.126Z] INFO: 9554 source files to be analyzed
[2024-12-10T12:14:46.357Z] INFO: 2950/9554 files analyzed, current file: plugins/markdown/unit_test/test_markdown_to_html.py
[2024-12-10T12:14:54.442Z] INFO: 7347/9554 files analyzed, current file: plugins/cloudflare/icon_cloudflare/actions/createZoneAccessRule/__init__.py
[2024-12-10T12:14:58.630Z] WARN: Invalid character encountered in file /home/jenkins/agent/workspace/_plugins_insightvm-8.0.8-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-12-10T12:14:59.191Z] INFO: 9554/9554 source files have been analyzed
[2024-12-10T12:14:59.753Z] INFO: Starting rules execution
[2024-12-10T12:14:59.753Z] INFO: 9554 source files to be analyzed
[2024-12-10T12:15:09.709Z] INFO: 458/9554 files analyzed, current file: plugins/snortlabslist/setup.py
[2024-12-10T12:15:19.643Z] INFO: 1229/9554 files analyzed, current file: plugins/automox/unit_test/test_list_vulnerability_sync_action_set_issues.py
[2024-12-10T12:15:29.587Z] INFO: 2002/9554 files analyzed, current file: plugins/microsoft_teams/icon_microsoft_teams/util/teams_utils.py
[2024-12-10T12:15:41.754Z] INFO: 2840/9554 files analyzed, current file: plugins/microsoft_defender_incidents/icon_microsoft_defender_incidents/util/tools.py
[2024-12-10T12:15:49.833Z] INFO: 3704/9554 files analyzed, current file: plugins/wazuh_ossec/komand_wazuh_ossec/actions/manager_info/action.py
[2024-12-10T12:15:59.773Z] INFO: 4536/9554 files analyzed, current file: plugins/duo_auth/vendor/duo_client_python/tests/test_admin.py
[2024-12-10T12:16:09.708Z] INFO: 5327/9554 files analyzed, current file: plugins/rapid7_intsights/icon_rapid7_intsights/triggers/__init__.py
[2024-12-10T12:16:19.644Z] INFO: 6125/9554 files analyzed, current file: plugins/aws_ec2/icon_aws_ec2/actions/describe_instances/schema.py
[2024-12-10T12:16:29.615Z] INFO: 6899/9554 files analyzed, current file: plugins/orca_security/icon_orca_security/actions/get_alerts/schema.py
[2024-12-10T12:16:41.779Z] INFO: 7731/9554 files analyzed, current file: plugins/microsoft_teams/icon_microsoft_teams/actions/send_html_message/schema.py
[2024-12-10T12:16:49.857Z] INFO: 8476/9554 files analyzed, current file: plugins/netskope/unit_test/test_apply_pending_url_list_changes.py
[2024-12-10T12:16:59.795Z] INFO: 9203/9554 files analyzed, current file: plugins/mxtoolbox_dns/komand_mxtoolbox_dns/actions/blacklist/schema.py
[2024-12-10T12:17:05.041Z] INFO: 9554/9554 source files have been analyzed
[2024-12-10T12:17:05.041Z] INFO: The Python analyzer was able to leverage cached data from previous analyses for 0 out of 9554 files. These files were not parsed.
[2024-12-10T12:17:05.041Z] INFO: Sensor Python Sensor [python] (done) | time=150835ms
[2024-12-10T12:17:05.041Z] INFO: Sensor Cobertura Sensor for Python coverage [python]
[2024-12-10T12:17:05.966Z] INFO: Sensor Cobertura Sensor for Python coverage [python] (done) | time=1171ms
[2024-12-10T12:17:05.966Z] INFO: Sensor PythonXUnitSensor [python]
[2024-12-10T12:17:06.891Z] INFO: Sensor PythonXUnitSensor [python] (done) | time=1182ms
[2024-12-10T12:17:06.891Z] INFO: Sensor JaCoCo XML Report Importer [jacoco]
[2024-12-10T12:17:06.891Z] 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-10T12:17:06.891Z] INFO: No report imported, no coverage information will be imported by JaCoCo XML Report Importer
[2024-12-10T12:17:06.891Z] INFO: Sensor JaCoCo XML Report Importer [jacoco] (done) | time=2ms
[2024-12-10T12:17:06.891Z] INFO: Sensor IaC Ansible Sensor [iacenterprise]
[2024-12-10T12:17:07.451Z] INFO: 0 source files to be analyzed
[2024-12-10T12:17:07.451Z] INFO: 0/0 source files have been analyzed
[2024-12-10T12:17:07.451Z] INFO: Sensor IaC Ansible Sensor [iacenterprise] (done) | time=391ms
[2024-12-10T12:17:07.451Z] INFO: Sensor IaC CloudFormation Sensor [iac]
[2024-12-10T12:17:07.452Z] INFO: 0 source files to be analyzed
[2024-12-10T12:17:07.452Z] INFO: 0/0 source files have been analyzed
[2024-12-10T12:17:07.452Z] INFO: Sensor IaC CloudFormation Sensor [iac] (done) | time=60ms
[2024-12-10T12:17:07.452Z] INFO: Sensor IaC Kubernetes Sensor [iac]
[2024-12-10T12:17:07.452Z] INFO: 0 source files to be parsed
[2024-12-10T12:17:07.452Z] INFO: 0/0 source files have been parsed
[2024-12-10T12:17:07.452Z] INFO: 0 source files to be analyzed
[2024-12-10T12:17:07.452Z] INFO: 0/0 source files have been analyzed
[2024-12-10T12:17:07.452Z] INFO: 0 source files to be checked
[2024-12-10T12:17:07.452Z] INFO: 0/0 source files have been checked
[2024-12-10T12:17:07.452Z] INFO: Sensor IaC Kubernetes Sensor [iac] (done) | time=145ms
[2024-12-10T12:17:07.452Z] INFO: Sensor IaC AzureResourceManager Sensor [iac]
[2024-12-10T12:17:07.452Z] INFO: 0 source files to be analyzed
[2024-12-10T12:17:07.452Z] INFO: 0/0 source files have been analyzed
[2024-12-10T12:17:07.452Z] INFO: Sensor IaC AzureResourceManager Sensor [iac] (done) | time=62ms
[2024-12-10T12:17:07.452Z] INFO: Sensor Java Config Sensor [iac]
[2024-12-10T12:17:07.707Z] INFO: 0 source files to be analyzed
[2024-12-10T12:17:07.707Z] INFO: 0/0 source files have been analyzed
[2024-12-10T12:17:07.707Z] INFO: Sensor Java Config Sensor [iac] (done) | time=45ms
[2024-12-10T12:17:07.707Z] INFO: Sensor JavaScript inside YAML analysis [javascript]
[2024-12-10T12:17:07.979Z] INFO: No input files found for analysis
[2024-12-10T12:17:07.979Z] INFO: Hit the cache for 0 out of 0
[2024-12-10T12:17:07.979Z] INFO: Miss the cache for 0 out of 0
[2024-12-10T12:17:07.979Z] INFO: Sensor JavaScript inside YAML analysis [javascript] (done) | time=351ms
[2024-12-10T12:17:07.979Z] INFO: Sensor CSS Rules [javascript]
[2024-12-10T12:17:07.979Z] INFO: No CSS, PHP, HTML or VueJS files are found in the project. CSS analysis is skipped.
[2024-12-10T12:17:07.979Z] INFO: Sensor CSS Rules [javascript] (done) | time=13ms
[2024-12-10T12:17:07.979Z] INFO: Sensor Python HTML templates processing [securitypythonfrontend]
[2024-12-10T12:17:08.538Z] INFO: Sensor Python HTML templates processing [securitypythonfrontend] (done) | time=662ms
[2024-12-10T12:17:08.538Z] INFO: Sensor IaC Docker Sensor [iac]
[2024-12-10T12:17:08.793Z] INFO: 266 source files to be analyzed
[2024-12-10T12:17:09.719Z] INFO: 266/266 source files have been analyzed
[2024-12-10T12:17:09.719Z] INFO: Sensor IaC Docker Sensor [iac] (done) | time=1188ms
[2024-12-10T12:17:09.719Z] INFO: Sensor Serverless configuration file sensor [security]
[2024-12-10T12:17:09.719Z] INFO: 0 Serverless function entries were found in the project
[2024-12-10T12:17:09.974Z] INFO: 0 Serverless function handlers were kept as entrypoints
[2024-12-10T12:17:09.974Z] INFO: Sensor Serverless configuration file sensor [security] (done) | time=28ms
[2024-12-10T12:17:09.974Z] INFO: Sensor AWS SAM template file sensor [security]
[2024-12-10T12:17:09.975Z] INFO: Sensor AWS SAM template file sensor [security] (done) | time=121ms
[2024-12-10T12:17:09.975Z] INFO: Sensor AWS SAM Inline template file sensor [security]
[2024-12-10T12:17:09.975Z] INFO: Sensor AWS SAM Inline template file sensor [security] (done) | time=112ms
[2024-12-10T12:17:09.975Z] INFO: Sensor javabugs [dbd]
[2024-12-10T12:17:09.975Z] INFO: Reading IR files from: /home/jenkins/agent/workspace/_plugins_insightvm-8.0.8-release/.scannerwork/ir/java
[2024-12-10T12:17:09.975Z] INFO: No IR files have been included for analysis.
[2024-12-10T12:17:09.975Z] INFO: Sensor javabugs [dbd] (done) | time=1ms
[2024-12-10T12:17:09.975Z] INFO: Sensor pythonbugs [dbd]
[2024-12-10T12:17:10.900Z] INFO: Reading IR files from: /home/jenkins/agent/workspace/_plugins_insightvm-8.0.8-release/.scannerwork/ir/python
[2024-12-10T12:17:11.155Z] INFO: Analyzing 13418 functions to detect bugs.
[2024-12-10T12:17:37.643Z] INFO: ------------------------------------------------------------------------
[2024-12-10T12:17:37.644Z] INFO: EXECUTION FAILURE
[2024-12-10T12:17:37.644Z] INFO: ------------------------------------------------------------------------
[2024-12-10T12:17:37.644Z] INFO: Total time: 3:15.686s
[2024-12-10T12:17:37.644Z] INFO: Final Memory: 244M/820M
[2024-12-10T12:17:37.644Z] INFO: ------------------------------------------------------------------------
[2024-12-10T12:17:37.644Z] ERROR: Error during SonarScanner execution
[2024-12-10T12:17:37.644Z] java.lang.OutOfMemoryError: Java heap space
[2024-12-10T12:17:37.644Z] at java.base/java.util.LinkedList.addAll(Unknown Source)
[2024-12-10T12:17:37.644Z] at java.base/java.util.LinkedList.addAll(Unknown Source)
[2024-12-10T12:17:37.644Z] at com.sonarsource.A.J.B(na:782)
[2024-12-10T12:17:37.644Z] at com.sonarsource.A.F.executeChecks(na:2678)
[2024-12-10T12:17:37.644Z] at com.sonarsource.A.F.executeSensor(na:1978)
[2024-12-10T12:17:37.644Z] at com.sonarsource.A.F.execute(na:2033)
[2024-12-10T12:17:37.644Z] at org.sonar.scanner.sensor.AbstractSensorWrapper.analyse(AbstractSensorWrapper.java:64)
[2024-12-10T12:17:37.644Z] at org.sonar.scanner.sensor.ModuleSensorsExecutor.execute(ModuleSensorsExecutor.java:88)
[2024-12-10T12:17:37.644Z] at org.sonar.scanner.sensor.ModuleSensorsExecutor.execute(ModuleSensorsExecutor.java:64)
[2024-12-10T12:17:37.644Z] at org.sonar.scanner.scan.SpringModuleScanContainer.doAfterStart(SpringModuleScanContainer.java:82)
[2024-12-10T12:17:37.644Z] at org.sonar.core.platform.SpringComponentContainer.startComponents(SpringComponentContainer.java:226)
[2024-12-10T12:17:37.644Z] at org.sonar.core.platform.SpringComponentContainer.execute(SpringComponentContainer.java:205)
[2024-12-10T12:17:37.644Z] at org.sonar.scanner.scan.SpringProjectScanContainer.scan(SpringProjectScanContainer.java:201)
[2024-12-10T12:17:37.644Z] at org.sonar.scanner.scan.SpringProjectScanContainer.scanRecursively(SpringProjectScanContainer.java:197)
[2024-12-10T12:17:37.644Z] at org.sonar.scanner.scan.SpringProjectScanContainer.doAfterStart(SpringProjectScanContainer.java:170)
[2024-12-10T12:17:37.644Z] at org.sonar.core.platform.SpringComponentContainer.startComponents(SpringComponentContainer.java:226)
[2024-12-10T12:17:37.644Z] at org.sonar.core.platform.SpringComponentContainer.execute(SpringComponentContainer.java:205)
[2024-12-10T12:17:37.644Z] at org.sonar.scanner.bootstrap.SpringScannerContainer.doAfterStart(SpringScannerContainer.java:355)
[2024-12-10T12:17:37.644Z] at org.sonar.core.platform.SpringComponentContainer.startComponents(SpringComponentContainer.java:226)
[2024-12-10T12:17:37.644Z] at org.sonar.core.platform.SpringComponentContainer.execute(SpringComponentContainer.java:205)
[2024-12-10T12:17:37.644Z] at org.sonar.scanner.bootstrap.SpringGlobalContainer.doAfterStart(SpringGlobalContainer.java:144)
[2024-12-10T12:17:37.644Z] at org.sonar.core.platform.SpringComponentContainer.startComponents(SpringComponentContainer.java:226)
[2024-12-10T12:17:37.644Z] at org.sonar.core.platform.SpringComponentContainer.execute(SpringComponentContainer.java:205)
[2024-12-10T12:17:37.644Z] at org.sonar.batch.bootstrapper.Batch.doExecute(Batch.java:73)
[2024-12-10T12:17:37.644Z] at org.sonar.batch.bootstrapper.Batch.execute(Batch.java:67)
[2024-12-10T12:17:37.644Z] at org.sonarsource.scanner.api.internal.batch.BatchIsolatedLauncher.execute(BatchIsolatedLauncher.java:46)
[2024-12-10T12:17:37.644Z] at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[2024-12-10T12:17:37.644Z] at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
[2024-12-10T12:17:37.645Z] at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
[2024-12-10T12:17:37.645Z] at java.base/java.lang.reflect.Method.invoke(Unknown Source)
[2024-12-10T12:17:37.645Z] at org.sonarsource.scanner.api.internal.IsolatedLauncherProxy.invoke(IsolatedLauncherProxy.java:60)
[2024-12-10T12:17:37.645Z] at jdk.proxy1/jdk.proxy1.$Proxy0.execute(Unknown Source)
[2024-12-10T12:17:37.645Z] ERROR:
[2024-12-10T12:17:37.645Z] ERROR: Re-run SonarScanner using the -X switch to enable full debug logging.
Details
- Declarative: Checkout SCM (13 sec)
- Setup Python virtual environment and tooling (0.72 sec)
- Retrieve git tag on SCM (0.7 sec)
- Retrieve plugin details and announce release (0.75 sec)
- Build plugin image using buildpacks (1 sec)
- Initialize plugin release (0.78 sec)
- SonarQube Analysis (3 min 19 sec)
Error: script returned exit code 1 - Push to Alliance Govcloud (1 sec)
- Declarative: Post Actions (3.2 sec)
Loading