Palo Alto Cortex XDR 4.0.5 Release #3030
Merged
Jenkins EKS - SOAR / Jenkins
succeeded
Jan 6, 2025 in 3m 56s
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
[2025-01-06T15:29:34.873Z] + /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
[2025-01-06T15:29:34.873Z] Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8
[2025-01-06T15:29:34.873Z] INFO: Scanner configuration file: /home/jenkins/agent/tools/hudson.plugins.sonar.SonarRunnerInstallation/SonarQube/conf/sonar-scanner.properties
[2025-01-06T15:29:34.873Z] INFO: Project root configuration file: NONE
[2025-01-06T15:29:34.873Z] INFO: SonarScanner 5.0.1.3006
[2025-01-06T15:29:34.873Z] INFO: Java 17.0.13 Eclipse Adoptium (64-bit)
[2025-01-06T15:29:34.873Z] INFO: Linux 6.1.119-129.201.amzn2023.x86_64 amd64
[2025-01-06T15:29:35.128Z] INFO: User cache: /home/jenkins/.sonar/cache
[2025-01-06T15:29:36.501Z] INFO: Analyzing on SonarQube server 10.8.0.100206
[2025-01-06T15:29:36.501Z] INFO: Default locale: "en_US", source code encoding: "UTF-8" (analysis is platform dependent)
[2025-01-06T15:29:37.073Z] INFO: Load global settings
[2025-01-06T15:29:37.073Z] INFO: Load global settings (done) | time=123ms
[2025-01-06T15:29:37.073Z] INFO: Server id: 3482B4BD-AYxjbeHzB0-CTE8TC-sh
[2025-01-06T15:29:37.073Z] INFO: Loading required plugins
[2025-01-06T15:29:37.073Z] INFO: Load plugins index
[2025-01-06T15:29:37.073Z] INFO: Load plugins index (done) | time=28ms
[2025-01-06T15:29:37.073Z] INFO: Load/download plugins
[2025-01-06T15:29:37.670Z] INFO: Load/download plugins (done) | time=521ms
[2025-01-06T15:29:37.670Z] INFO: Loaded core extensions: developer-scanner, sca, server-common
[2025-01-06T15:29:37.925Z] INFO: Process project properties
[2025-01-06T15:29:37.925Z] INFO: Process project properties (done) | time=0ms
[2025-01-06T15:29:37.925Z] INFO: Project key: insightconnect-plugins
[2025-01-06T15:29:37.925Z] INFO: Base dir: /home/jenkins/agent/workspace/lo_alto_cortex_xdr-4.0.5-release
[2025-01-06T15:29:37.925Z] INFO: Working dir: /home/jenkins/agent/workspace/lo_alto_cortex_xdr-4.0.5-release/.scannerwork
[2025-01-06T15:29:37.925Z] INFO: Load project settings for component key: 'insightconnect-plugins'
[2025-01-06T15:29:38.180Z] INFO: Load project branches
[2025-01-06T15:29:38.180Z] INFO: Load project branches (done) | time=6ms
[2025-01-06T15:29:38.180Z] INFO: Load branch configuration
[2025-01-06T15:29:38.180Z] INFO: Detected branch/PR in 'Jenkins'
[2025-01-06T15:29:38.180Z] INFO: Auto-configuring branch 'palo_alto_cortex_xdr-4.0.5-release'
[2025-01-06T15:29:38.180Z] INFO: Load branch configuration (done) | time=2ms
[2025-01-06T15:29:38.180Z] INFO: Load quality profiles
[2025-01-06T15:29:38.180Z] INFO: Load quality profiles (done) | time=116ms
[2025-01-06T15:29:38.180Z] INFO: Auto-configuring with CI 'Jenkins'
[2025-01-06T15:29:38.180Z] INFO: Load active rules
[2025-01-06T15:29:41.437Z] INFO: Load active rules (done) | time=3268ms
[2025-01-06T15:29:41.437Z] INFO: Load analysis cache
[2025-01-06T15:29:41.437Z] INFO: Load analysis cache (404) | time=7ms
[2025-01-06T15:29:41.437Z] INFO: Branch name: palo_alto_cortex_xdr-4.0.5-release
[2025-01-06T15:29:41.691Z] INFO: Preprocessing files...
[2025-01-06T15:29:44.965Z] INFO: 4 languages detected in 14854 preprocessed files
[2025-01-06T15:29:44.965Z] INFO: 1 file ignored because of scm ignore settings
[2025-01-06T15:29:44.965Z] INFO: Loading plugins for detected languages
[2025-01-06T15:29:44.965Z] INFO: Load/download plugins
[2025-01-06T15:29:46.325Z] INFO: Load/download plugins (done) | time=1227ms
[2025-01-06T15:29:46.325Z] INFO: Sonar Cryptography initialized in context (SONARQUBE)
[2025-01-06T15:29:46.325Z] INFO: Load project repositories
[2025-01-06T15:29:46.325Z] INFO: Load project repositories (done) | time=18ms
[2025-01-06T15:29:46.325Z] INFO: Indexing files...
[2025-01-06T15:29:46.325Z] INFO: Project configuration:
[2025-01-06T15:29:47.265Z] INFO: 14854 files indexed
[2025-01-06T15:29:47.265Z] INFO: Quality profile for docker: Sonar way
[2025-01-06T15:29:47.265Z] INFO: Quality profile for json: Sonar way
[2025-01-06T15:29:47.265Z] INFO: Quality profile for py: Sonar way
[2025-01-06T15:29:47.265Z] INFO: Quality profile for yaml: Sonar way
[2025-01-06T15:29:47.265Z] INFO: ------------- Run sensors on module insightconnect-plugins
[2025-01-06T15:29:47.265Z] INFO: Sonar Cryptography initialized in context (SONARQUBE)
[2025-01-06T15:29:47.519Z] INFO: Load metrics repository
[2025-01-06T15:29:47.519Z] INFO: Load metrics repository (done) | time=25ms
[2025-01-06T15:29:48.077Z] INFO: Sensor Python Sensor [python]
[2025-01-06T15:29:48.077Z] 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"
[2025-01-06T15:29:48.664Z] INFO: Starting global symbols computation
[2025-01-06T15:29:48.664Z] INFO: 9535 source files to be analyzed
[2025-01-06T15:29:58.605Z] INFO: 3232/9535 files analyzed, current file: plugins/topdesk/unit_test/test_create_incident.py
[2025-01-06T15:30:10.764Z] INFO: 7692/9535 files analyzed, current file: plugins/rapid7_insightcloudsec/unit_test/test_create_exemption.py
[2025-01-06T15:30:12.122Z] WARN: Invalid character encountered in file /home/jenkins/agent/workspace/lo_alto_cortex_xdr-4.0.5-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'.
[2025-01-06T15:30:12.680Z] INFO: 9535/9535 source files have been analyzed
[2025-01-06T15:30:13.238Z] INFO: Starting rules execution
[2025-01-06T15:30:13.238Z] INFO: 9535 source files to be analyzed
[2025-01-06T15:30:23.185Z] INFO: 476/9535 files analyzed, current file: plugins/cisco_umbrella_enforcement/unit_test/test_delete_domain_by_name.py
[2025-01-06T15:30:33.104Z] INFO: 1163/9535 files analyzed, current file: plugins/red_canary/komand_red_canary/triggers/new_activity_monitor_matches/__init__.py
[2025-01-06T15:30:45.256Z] INFO: 1943/9535 files analyzed, current file: plugins/crowdstrike_falcon_intelligence/icon_crowdstrike_falcon_intelligence/actions/getShortReport/schema.py
[2025-01-06T15:30:53.320Z] INFO: 2840/9535 files analyzed, current file: plugins/chaosreader/komand_chaosreader/triggers/__init__.py
[2025-01-06T15:31:03.259Z] INFO: 3723/9535 files analyzed, current file: plugins/chaosreader/komand_chaosreader/util/__init__.py
[2025-01-06T15:31:13.177Z] INFO: 4563/9535 files analyzed, current file: plugins/netskope/unit_test/test_connection.py
[2025-01-06T15:31:23.095Z] INFO: 5409/9535 files analyzed, current file: plugins/azure_sentinel/icon_azure_sentinel/actions/create_update_incident/action.py
[2025-01-06T15:31:35.240Z] INFO: 6307/9535 files analyzed, current file: plugins/azure_sentinel/unit_test/test_query_indicator.py
[2025-01-06T15:31:43.304Z] INFO: 7136/9535 files analyzed, current file: plugins/get_url/unit_test/util.py
[2025-01-06T15:31:53.225Z] INFO: 8016/9535 files analyzed, current file: plugins/topdesk/icon_topdesk/actions/createIncident/schema.py
[2025-01-06T15:32:03.165Z] INFO: 8803/9535 files analyzed, current file: plugins/domaintools/komand_domaintools/actions/reverse_whois/schema.py
[2025-01-06T15:32:13.082Z] INFO: 9535/9535 source files have been analyzed
[2025-01-06T15:32:13.082Z] INFO: The Python analyzer was able to leverage cached data from previous analyses for 0 out of 9535 files. These files were not parsed.
[2025-01-06T15:32:13.082Z] INFO: Sensor Python Sensor [python] (done) | time=144550ms
[2025-01-06T15:32:13.082Z] INFO: Sensor Cobertura Sensor for Python coverage [python]
[2025-01-06T15:32:14.003Z] INFO: Sensor Cobertura Sensor for Python coverage [python] (done) | time=1136ms
[2025-01-06T15:32:14.003Z] INFO: Sensor PythonXUnitSensor [python]
[2025-01-06T15:32:14.925Z] INFO: Sensor PythonXUnitSensor [python] (done) | time=1095ms
[2025-01-06T15:32:14.925Z] INFO: Sensor JaCoCo XML Report Importer [jacoco]
[2025-01-06T15:32:14.925Z] 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
[2025-01-06T15:32:14.925Z] INFO: No report imported, no coverage information will be imported by JaCoCo XML Report Importer
[2025-01-06T15:32:14.925Z] INFO: Sensor JaCoCo XML Report Importer [jacoco] (done) | time=2ms
[2025-01-06T15:32:14.925Z] INFO: Sensor IaC Ansible Sensor [iacenterprise]
[2025-01-06T15:32:15.179Z] INFO: 0 source files to be analyzed
[2025-01-06T15:32:15.179Z] INFO: 0/0 source files have been analyzed
[2025-01-06T15:32:15.179Z] INFO: Sensor IaC Ansible Sensor [iacenterprise] (done) | time=387ms
[2025-01-06T15:32:15.179Z] INFO: Sensor IaC CloudFormation Sensor [iac]
[2025-01-06T15:32:15.432Z] INFO: 0 source files to be analyzed
[2025-01-06T15:32:15.432Z] INFO: 0/0 source files have been analyzed
[2025-01-06T15:32:15.432Z] INFO: Sensor IaC CloudFormation Sensor [iac] (done) | time=60ms
[2025-01-06T15:32:15.432Z] INFO: Sensor IaC Kubernetes Sensor [iac]
[2025-01-06T15:32:15.432Z] INFO: 0 source files to be parsed
[2025-01-06T15:32:15.432Z] INFO: 0/0 source files have been parsed
[2025-01-06T15:32:15.432Z] INFO: 0 source files to be analyzed
[2025-01-06T15:32:15.432Z] INFO: 0/0 source files have been analyzed
[2025-01-06T15:32:15.432Z] INFO: 0 source files to be checked
[2025-01-06T15:32:15.432Z] INFO: 0/0 source files have been checked
[2025-01-06T15:32:15.432Z] INFO: Sensor IaC Kubernetes Sensor [iac] (done) | time=151ms
[2025-01-06T15:32:15.432Z] INFO: Sensor IaC AzureResourceManager Sensor [iac]
[2025-01-06T15:32:15.433Z] INFO: 0 source files to be analyzed
[2025-01-06T15:32:15.433Z] INFO: 0/0 source files have been analyzed
[2025-01-06T15:32:15.433Z] INFO: Sensor IaC AzureResourceManager Sensor [iac] (done) | time=58ms
[2025-01-06T15:32:15.433Z] INFO: Sensor Java Config Sensor [iac]
[2025-01-06T15:32:15.686Z] INFO: 0 source files to be analyzed
[2025-01-06T15:32:15.686Z] INFO: 0/0 source files have been analyzed
[2025-01-06T15:32:15.686Z] INFO: Sensor Java Config Sensor [iac] (done) | time=46ms
[2025-01-06T15:32:15.686Z] INFO: Sensor JavaScript inside YAML analysis [javascript]
[2025-01-06T15:32:15.940Z] INFO: No input files found for analysis
[2025-01-06T15:32:15.940Z] INFO: Hit the cache for 0 out of 0
[2025-01-06T15:32:15.940Z] INFO: Miss the cache for 0 out of 0
[2025-01-06T15:32:15.940Z] INFO: Sensor JavaScript inside YAML analysis [javascript] (done) | time=363ms
[2025-01-06T15:32:15.940Z] INFO: Sensor CSS Rules [javascript]
[2025-01-06T15:32:15.940Z] INFO: No CSS, PHP, HTML or VueJS files are found in the project. CSS analysis is skipped.
[2025-01-06T15:32:15.940Z] INFO: Sensor CSS Rules [javascript] (done) | time=16ms
[2025-01-06T15:32:15.940Z] INFO: Sensor Python HTML templates processing [securitypythonfrontend]
[2025-01-06T15:32:16.498Z] INFO: Sensor Python HTML templates processing [securitypythonfrontend] (done) | time=616ms
[2025-01-06T15:32:16.498Z] INFO: Sensor IaC Docker Sensor [iac]
[2025-01-06T15:32:16.752Z] INFO: 263 source files to be analyzed
[2025-01-06T15:32:17.683Z] INFO: 263/263 source files have been analyzed
[2025-01-06T15:32:17.683Z] INFO: Sensor IaC Docker Sensor [iac] (done) | time=1181ms
[2025-01-06T15:32:17.683Z] INFO: Sensor Serverless configuration file sensor [security]
[2025-01-06T15:32:17.683Z] INFO: 0 Serverless function entries were found in the project
[2025-01-06T15:32:17.683Z] INFO: 0 Serverless function handlers were kept as entrypoints
[2025-01-06T15:32:17.683Z] INFO: Sensor Serverless configuration file sensor [security] (done) | time=12ms
[2025-01-06T15:32:17.683Z] INFO: Sensor AWS SAM template file sensor [security]
[2025-01-06T15:32:17.937Z] INFO: Sensor AWS SAM template file sensor [security] (done) | time=131ms
[2025-01-06T15:32:17.938Z] INFO: Sensor AWS SAM Inline template file sensor [security]
[2025-01-06T15:32:17.938Z] INFO: Sensor AWS SAM Inline template file sensor [security] (done) | time=132ms
[2025-01-06T15:32:17.938Z] INFO: Sensor javabugs [dbd]
[2025-01-06T15:32:17.938Z] INFO: Reading IR files from: /home/jenkins/agent/workspace/lo_alto_cortex_xdr-4.0.5-release/.scannerwork/ir/java
[2025-01-06T15:32:17.938Z] INFO: No IR files have been included for analysis.
[2025-01-06T15:32:17.938Z] INFO: Sensor javabugs [dbd] (done) | time=1ms
[2025-01-06T15:32:17.938Z] INFO: Sensor pythonbugs [dbd]
[2025-01-06T15:32:18.495Z] INFO: Reading IR files from: /home/jenkins/agent/workspace/lo_alto_cortex_xdr-4.0.5-release/.scannerwork/ir/python
[2025-01-06T15:32:19.052Z] INFO: Analyzing 13390 functions to detect bugs.
[2025-01-06T15:32:45.516Z] INFO: ------------------------------------------------------------------------
[2025-01-06T15:32:45.517Z] INFO: EXECUTION FAILURE
[2025-01-06T15:32:45.517Z] INFO: ------------------------------------------------------------------------
[2025-01-06T15:32:45.517Z] INFO: Total time: 3:10.151s
[2025-01-06T15:32:45.517Z] INFO: Final Memory: 244M/817M
[2025-01-06T15:32:45.517Z] INFO: ------------------------------------------------------------------------
[2025-01-06T15:32:45.517Z] ERROR: Error during SonarScanner execution
[2025-01-06T15:32:45.517Z] java.lang.OutOfMemoryError: Java heap space
[2025-01-06T15:32:45.517Z] at java.base/java.util.LinkedList.addAll(Unknown Source)
[2025-01-06T15:32:45.517Z] at java.base/java.util.LinkedList.addAll(Unknown Source)
[2025-01-06T15:32:45.517Z] at com.sonarsource.A.J.B(na:782)
[2025-01-06T15:32:45.517Z] at com.sonarsource.A.F.executeChecks(na:2678)
[2025-01-06T15:32:45.517Z] at com.sonarsource.A.F.executeSensor(na:1978)
[2025-01-06T15:32:45.517Z] at com.sonarsource.A.F.execute(na:2033)
[2025-01-06T15:32:45.517Z] at org.sonar.scanner.sensor.AbstractSensorWrapper.analyse(AbstractSensorWrapper.java:64)
[2025-01-06T15:32:45.517Z] at org.sonar.scanner.sensor.ModuleSensorsExecutor.execute(ModuleSensorsExecutor.java:88)
[2025-01-06T15:32:45.517Z] at org.sonar.scanner.sensor.ModuleSensorsExecutor.execute(ModuleSensorsExecutor.java:64)
[2025-01-06T15:32:45.517Z] at org.sonar.scanner.scan.SpringModuleScanContainer.doAfterStart(SpringModuleScanContainer.java:82)
[2025-01-06T15:32:45.517Z] at org.sonar.core.platform.SpringComponentContainer.startComponents(SpringComponentContainer.java:226)
[2025-01-06T15:32:45.517Z] at org.sonar.core.platform.SpringComponentContainer.execute(SpringComponentContainer.java:205)
[2025-01-06T15:32:45.517Z] at org.sonar.scanner.scan.SpringProjectScanContainer.scan(SpringProjectScanContainer.java:201)
[2025-01-06T15:32:45.517Z] at org.sonar.scanner.scan.SpringProjectScanContainer.scanRecursively(SpringProjectScanContainer.java:197)
[2025-01-06T15:32:45.517Z] at org.sonar.scanner.scan.SpringProjectScanContainer.doAfterStart(SpringProjectScanContainer.java:170)
[2025-01-06T15:32:45.517Z] at org.sonar.core.platform.SpringComponentContainer.startComponents(SpringComponentContainer.java:226)
[2025-01-06T15:32:45.517Z] at org.sonar.core.platform.SpringComponentContainer.execute(SpringComponentContainer.java:205)
[2025-01-06T15:32:45.517Z] at org.sonar.scanner.bootstrap.SpringScannerContainer.doAfterStart(SpringScannerContainer.java:355)
[2025-01-06T15:32:45.517Z] at org.sonar.core.platform.SpringComponentContainer.startComponents(SpringComponentContainer.java:226)
[2025-01-06T15:32:45.517Z] at org.sonar.core.platform.SpringComponentContainer.execute(SpringComponentContainer.java:205)
[2025-01-06T15:32:45.517Z] at org.sonar.scanner.bootstrap.SpringGlobalContainer.doAfterStart(SpringGlobalContainer.java:144)
[2025-01-06T15:32:45.517Z] at org.sonar.core.platform.SpringComponentContainer.startComponents(SpringComponentContainer.java:226)
[2025-01-06T15:32:45.517Z] at org.sonar.core.platform.SpringComponentContainer.execute(SpringComponentContainer.java:205)
[2025-01-06T15:32:45.517Z] at org.sonar.batch.bootstrapper.Batch.doExecute(Batch.java:73)
[2025-01-06T15:32:45.517Z] at org.sonar.batch.bootstrapper.Batch.execute(Batch.java:67)
[2025-01-06T15:32:45.517Z] at org.sonarsource.scanner.api.internal.batch.BatchIsolatedLauncher.execute(BatchIsolatedLauncher.java:46)
[2025-01-06T15:32:45.517Z] at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[2025-01-06T15:32:45.518Z] at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
[2025-01-06T15:32:45.518Z] at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
[2025-01-06T15:32:45.518Z] at java.base/java.lang.reflect.Method.invoke(Unknown Source)
[2025-01-06T15:32:45.518Z] at org.sonarsource.scanner.api.internal.IsolatedLauncherProxy.invoke(IsolatedLauncherProxy.java:60)
[2025-01-06T15:32:45.518Z] at jdk.proxy1/jdk.proxy1.$Proxy0.execute(Unknown Source)
[2025-01-06T15:32:45.518Z] ERROR:
[2025-01-06T15:32:45.518Z] 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.96 sec)
- Retrieve git tag on SCM (0.84 sec)
- Retrieve plugin details and announce release (0.82 sec)
- Build plugin image using buildpacks (0.91 sec)
- Initialize plugin release (0.72 sec)
- SonarQube Analysis (3 min 14 sec)
Error: script returned exit code 1 - Push to Alliance Govcloud (0.78 sec)
- Declarative: Post Actions (3.3 sec)
Loading