Updated libssl in unittests workflow #3038
Merged
Jenkins EKS - SOAR / Jenkins
succeeded
Jan 9, 2025 in 4m 44s
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-09T10:59:41.833Z] + /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-09T10:59:41.833Z] Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8
[2025-01-09T10:59:41.833Z] INFO: Scanner configuration file: /home/jenkins/agent/tools/hudson.plugins.sonar.SonarRunnerInstallation/SonarQube/conf/sonar-scanner.properties
[2025-01-09T10:59:41.833Z] INFO: Project root configuration file: NONE
[2025-01-09T10:59:41.833Z] INFO: SonarScanner 5.0.1.3006
[2025-01-09T10:59:41.833Z] INFO: Java 17.0.13 Eclipse Adoptium (64-bit)
[2025-01-09T10:59:41.833Z] INFO: Linux 6.1.119-129.201.amzn2023.x86_64 amd64
[2025-01-09T10:59:42.116Z] INFO: User cache: /home/jenkins/.sonar/cache
[2025-01-09T10:59:43.479Z] INFO: Analyzing on SonarQube server 10.8.0.100206
[2025-01-09T10:59:43.479Z] INFO: Default locale: "en_US", source code encoding: "UTF-8" (analysis is platform dependent)
[2025-01-09T10:59:44.404Z] INFO: Load global settings
[2025-01-09T10:59:44.404Z] INFO: Load global settings (done) | time=222ms
[2025-01-09T10:59:44.404Z] INFO: Server id: 3482B4BD-AYxjbeHzB0-CTE8TC-sh
[2025-01-09T10:59:44.404Z] INFO: Loading required plugins
[2025-01-09T10:59:44.404Z] INFO: Load plugins index
[2025-01-09T10:59:44.404Z] INFO: Load plugins index (done) | time=69ms
[2025-01-09T10:59:44.404Z] INFO: Load/download plugins
[2025-01-09T10:59:44.964Z] INFO: Load/download plugins (done) | time=565ms
[2025-01-09T10:59:45.219Z] INFO: Loaded core extensions: developer-scanner, sca, server-common
[2025-01-09T10:59:45.475Z] INFO: Process project properties
[2025-01-09T10:59:45.475Z] INFO: Process project properties (done) | time=0ms
[2025-01-09T10:59:45.475Z] INFO: Project key: insightconnect-plugins
[2025-01-09T10:59:45.475Z] INFO: Base dir: /home/jenkins/agent/workspace/onnect-plugins_gha_unittests_fix
[2025-01-09T10:59:45.475Z] INFO: Working dir: /home/jenkins/agent/workspace/onnect-plugins_gha_unittests_fix/.scannerwork
[2025-01-09T10:59:45.475Z] INFO: Load project settings for component key: 'insightconnect-plugins'
[2025-01-09T10:59:45.475Z] INFO: Load project branches
[2025-01-09T10:59:45.475Z] INFO: Load project branches (done) | time=16ms
[2025-01-09T10:59:45.475Z] INFO: Load branch configuration
[2025-01-09T10:59:45.475Z] INFO: Detected branch/PR in 'Jenkins'
[2025-01-09T10:59:45.475Z] INFO: Auto-configuring branch 'gha_unittests_fix'
[2025-01-09T10:59:45.475Z] INFO: Load branch configuration (done) | time=2ms
[2025-01-09T10:59:45.475Z] INFO: Load quality profiles
[2025-01-09T10:59:45.730Z] INFO: Load quality profiles (done) | time=102ms
[2025-01-09T10:59:45.730Z] INFO: Auto-configuring with CI 'Jenkins'
[2025-01-09T10:59:45.730Z] INFO: Load active rules
[2025-01-09T10:59:48.990Z] INFO: Load active rules (done) | time=3095ms
[2025-01-09T10:59:48.991Z] INFO: Load analysis cache
[2025-01-09T10:59:48.991Z] INFO: Load analysis cache (404) | time=6ms
[2025-01-09T10:59:48.991Z] INFO: Branch name: gha_unittests_fix
[2025-01-09T10:59:48.991Z] INFO: Preprocessing files...
[2025-01-09T10:59:53.150Z] INFO: 4 languages detected in 14854 preprocessed files
[2025-01-09T10:59:53.150Z] INFO: 1 file ignored because of scm ignore settings
[2025-01-09T10:59:53.150Z] INFO: Loading plugins for detected languages
[2025-01-09T10:59:53.150Z] INFO: Load/download plugins
[2025-01-09T10:59:53.721Z] INFO: Load/download plugins (done) | time=1024ms
[2025-01-09T10:59:53.721Z] INFO: Sonar Cryptography initialized in context (SONARQUBE)
[2025-01-09T10:59:53.976Z] INFO: Load project repositories
[2025-01-09T10:59:53.976Z] INFO: Load project repositories (done) | time=9ms
[2025-01-09T10:59:53.976Z] INFO: Indexing files...
[2025-01-09T10:59:53.976Z] INFO: Project configuration:
[2025-01-09T10:59:54.899Z] INFO: 14854 files indexed
[2025-01-09T10:59:54.899Z] INFO: Quality profile for docker: Sonar way
[2025-01-09T10:59:54.899Z] INFO: Quality profile for json: Sonar way
[2025-01-09T10:59:54.899Z] INFO: Quality profile for py: Sonar way
[2025-01-09T10:59:54.899Z] INFO: Quality profile for yaml: Sonar way
[2025-01-09T10:59:54.899Z] INFO: ------------- Run sensors on module insightconnect-plugins
[2025-01-09T10:59:54.899Z] INFO: Sonar Cryptography initialized in context (SONARQUBE)
[2025-01-09T10:59:54.899Z] INFO: Load metrics repository
[2025-01-09T10:59:55.154Z] INFO: Load metrics repository (done) | time=18ms
[2025-01-09T10:59:55.722Z] INFO: Sensor Python Sensor [python]
[2025-01-09T10:59:55.722Z] 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-09T10:59:56.649Z] INFO: Starting global symbols computation
[2025-01-09T10:59:56.649Z] INFO: 9535 source files to be analyzed
[2025-01-09T11:00:06.623Z] INFO: 2771/9535 files analyzed, current file: plugins/cylance_protect/icon_cylance_protect/util/find_helpers.py
[2025-01-09T11:00:16.549Z] INFO: 6763/9535 files analyzed, current file: plugins/trendmicro_visionone/icon_trendmicro_visionone/actions/get_api_key/action.py
[2025-01-09T11:00:24.654Z] WARN: Invalid character encountered in file /home/jenkins/agent/workspace/onnect-plugins_gha_unittests_fix/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-09T11:00:24.654Z] INFO: 9535/9535 source files have been analyzed
[2025-01-09T11:00:24.654Z] INFO: Starting rules execution
[2025-01-09T11:00:24.654Z] INFO: 9535 source files to be analyzed
[2025-01-09T11:00:34.618Z] INFO: 369/9535 files analyzed, current file: plugins/cisco_umbrella_destinations/unit_test/test_dlDelete.py
[2025-01-09T11:00:44.548Z] INFO: 985/9535 files analyzed, current file: plugins/azure_sentinel/unit_test/test_replace_tags.py
[2025-01-09T11:00:54.483Z] INFO: 1622/9535 files analyzed, current file: plugins/orca_security/icon_orca_security/actions/get_assets/schema.py
[2025-01-09T11:01:06.638Z] INFO: 2284/9535 files analyzed, current file: plugins/mxtoolbox_dns/komand_mxtoolbox_dns/actions/dns/schema.py
[2025-01-09T11:01:14.708Z] INFO: 3017/9535 files analyzed, current file: plugins/palo_alto_cortex_xdr/icon_palo_alto_cortex_xdr/actions/get_file_quarantine_status/schema.py
[2025-01-09T11:01:24.637Z] INFO: 3799/9535 files analyzed, current file: plugins/proofpoint_url_defense/setup.py
[2025-01-09T11:01:34.562Z] INFO: 4591/9535 files analyzed, current file: plugins/rapid7_insightidr/komand_rapid7_insightidr/actions/get_account_information/action.py
[2025-01-09T11:01:44.484Z] INFO: 5396/9535 files analyzed, current file: plugins/azure_blob_storage/icon_azure_blob_storage/connection/schema.py
[2025-01-09T11:01:56.654Z] INFO: 6262/9535 files analyzed, current file: plugins/echotrail/komand_echotrail/actions/hash_lookup/schema.py
[2025-01-09T11:02:04.724Z] INFO: 7020/9535 files analyzed, current file: plugins/kolide/komand_kolide/actions/get_query/schema.py
[2025-01-09T11:02:14.647Z] INFO: 7815/9535 files analyzed, current file: plugins/palo_alto_pan_os/komand_palo_alto_pan_os/actions/set_address_object/action.py
[2025-01-09T11:02:24.595Z] INFO: 8503/9535 files analyzed, current file: plugins/okta/komand_okta/actions/update_blacklist_zones/action.py
[2025-01-09T11:02:34.520Z] INFO: 9171/9535 files analyzed, current file: plugins/github/komand_github/connection/connection.py
[2025-01-09T11:02:41.044Z] INFO: 9535/9535 source files have been analyzed
[2025-01-09T11:02:41.044Z] 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-09T11:02:41.044Z] INFO: Sensor Python Sensor [python] (done) | time=164360ms
[2025-01-09T11:02:41.044Z] INFO: Sensor Cobertura Sensor for Python coverage [python]
[2025-01-09T11:02:41.603Z] INFO: Sensor Cobertura Sensor for Python coverage [python] (done) | time=1268ms
[2025-01-09T11:02:41.603Z] INFO: Sensor PythonXUnitSensor [python]
[2025-01-09T11:02:42.526Z] INFO: Sensor PythonXUnitSensor [python] (done) | time=1204ms
[2025-01-09T11:02:42.527Z] INFO: Sensor JaCoCo XML Report Importer [jacoco]
[2025-01-09T11:02:42.527Z] 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-09T11:02:42.527Z] INFO: No report imported, no coverage information will be imported by JaCoCo XML Report Importer
[2025-01-09T11:02:42.527Z] INFO: Sensor JaCoCo XML Report Importer [jacoco] (done) | time=1ms
[2025-01-09T11:02:42.527Z] INFO: Sensor IaC Ansible Sensor [iacenterprise]
[2025-01-09T11:02:43.085Z] INFO: 0 source files to be analyzed
[2025-01-09T11:02:43.085Z] INFO: 0/0 source files have been analyzed
[2025-01-09T11:02:43.085Z] INFO: Sensor IaC Ansible Sensor [iacenterprise] (done) | time=447ms
[2025-01-09T11:02:43.085Z] INFO: Sensor IaC CloudFormation Sensor [iac]
[2025-01-09T11:02:43.085Z] INFO: 0 source files to be analyzed
[2025-01-09T11:02:43.085Z] INFO: 0/0 source files have been analyzed
[2025-01-09T11:02:43.085Z] INFO: Sensor IaC CloudFormation Sensor [iac] (done) | time=58ms
[2025-01-09T11:02:43.085Z] INFO: Sensor IaC Kubernetes Sensor [iac]
[2025-01-09T11:02:43.340Z] INFO: 0 source files to be parsed
[2025-01-09T11:02:43.340Z] INFO: 0/0 source files have been parsed
[2025-01-09T11:02:43.340Z] INFO: 0 source files to be analyzed
[2025-01-09T11:02:43.340Z] INFO: 0/0 source files have been analyzed
[2025-01-09T11:02:43.340Z] INFO: 0 source files to be checked
[2025-01-09T11:02:43.340Z] INFO: 0/0 source files have been checked
[2025-01-09T11:02:43.340Z] INFO: Sensor IaC Kubernetes Sensor [iac] (done) | time=164ms
[2025-01-09T11:02:43.340Z] INFO: Sensor IaC AzureResourceManager Sensor [iac]
[2025-01-09T11:02:43.340Z] INFO: 0 source files to be analyzed
[2025-01-09T11:02:43.340Z] INFO: 0/0 source files have been analyzed
[2025-01-09T11:02:43.340Z] INFO: Sensor IaC AzureResourceManager Sensor [iac] (done) | time=70ms
[2025-01-09T11:02:43.340Z] INFO: Sensor Java Config Sensor [iac]
[2025-01-09T11:02:43.340Z] INFO: 0 source files to be analyzed
[2025-01-09T11:02:43.340Z] INFO: 0/0 source files have been analyzed
[2025-01-09T11:02:43.340Z] INFO: Sensor Java Config Sensor [iac] (done) | time=63ms
[2025-01-09T11:02:43.340Z] INFO: Sensor JavaScript inside YAML analysis [javascript]
[2025-01-09T11:02:43.898Z] INFO: No input files found for analysis
[2025-01-09T11:02:43.898Z] INFO: Hit the cache for 0 out of 0
[2025-01-09T11:02:43.898Z] INFO: Miss the cache for 0 out of 0
[2025-01-09T11:02:43.898Z] INFO: Sensor JavaScript inside YAML analysis [javascript] (done) | time=379ms
[2025-01-09T11:02:43.899Z] INFO: Sensor CSS Rules [javascript]
[2025-01-09T11:02:43.899Z] INFO: No CSS, PHP, HTML or VueJS files are found in the project. CSS analysis is skipped.
[2025-01-09T11:02:43.899Z] INFO: Sensor CSS Rules [javascript] (done) | time=18ms
[2025-01-09T11:02:43.899Z] INFO: Sensor Python HTML templates processing [securitypythonfrontend]
[2025-01-09T11:02:44.458Z] INFO: Sensor Python HTML templates processing [securitypythonfrontend] (done) | time=699ms
[2025-01-09T11:02:44.458Z] INFO: Sensor IaC Docker Sensor [iac]
[2025-01-09T11:02:44.717Z] INFO: 263 source files to be analyzed
[2025-01-09T11:02:46.077Z] INFO: 263/263 source files have been analyzed
[2025-01-09T11:02:46.077Z] INFO: Sensor IaC Docker Sensor [iac] (done) | time=1536ms
[2025-01-09T11:02:46.077Z] INFO: Sensor Serverless configuration file sensor [security]
[2025-01-09T11:02:46.077Z] INFO: 0 Serverless function entries were found in the project
[2025-01-09T11:02:46.077Z] INFO: 0 Serverless function handlers were kept as entrypoints
[2025-01-09T11:02:46.077Z] INFO: Sensor Serverless configuration file sensor [security] (done) | time=16ms
[2025-01-09T11:02:46.077Z] INFO: Sensor AWS SAM template file sensor [security]
[2025-01-09T11:02:46.332Z] INFO: Sensor AWS SAM template file sensor [security] (done) | time=136ms
[2025-01-09T11:02:46.332Z] INFO: Sensor AWS SAM Inline template file sensor [security]
[2025-01-09T11:02:46.332Z] INFO: Sensor AWS SAM Inline template file sensor [security] (done) | time=168ms
[2025-01-09T11:02:46.332Z] INFO: Sensor javabugs [dbd]
[2025-01-09T11:02:46.332Z] INFO: Reading IR files from: /home/jenkins/agent/workspace/onnect-plugins_gha_unittests_fix/.scannerwork/ir/java
[2025-01-09T11:02:46.332Z] INFO: No IR files have been included for analysis.
[2025-01-09T11:02:46.332Z] INFO: Sensor javabugs [dbd] (done) | time=1ms
[2025-01-09T11:02:46.332Z] INFO: Sensor pythonbugs [dbd]
[2025-01-09T11:02:47.255Z] INFO: Reading IR files from: /home/jenkins/agent/workspace/onnect-plugins_gha_unittests_fix/.scannerwork/ir/python
[2025-01-09T11:02:47.255Z] INFO: Analyzing 13390 functions to detect bugs.
[2025-01-09T11:03:25.915Z] INFO: ------------------------------------------------------------------------
[2025-01-09T11:03:25.915Z] INFO: EXECUTION FAILURE
[2025-01-09T11:03:25.915Z] INFO: ------------------------------------------------------------------------
[2025-01-09T11:03:25.915Z] INFO: Total time: 3:38.039s
[2025-01-09T11:03:25.915Z] INFO: Final Memory: 244M/817M
[2025-01-09T11:03:25.915Z] INFO: ------------------------------------------------------------------------
[2025-01-09T11:03:25.915Z] ERROR: Error during SonarScanner execution
[2025-01-09T11:03:25.915Z] java.lang.OutOfMemoryError: Java heap space
[2025-01-09T11:03:25.915Z] at java.base/java.util.LinkedList.addAll(Unknown Source)
[2025-01-09T11:03:25.915Z] at java.base/java.util.LinkedList.addAll(Unknown Source)
[2025-01-09T11:03:25.915Z] at com.sonarsource.A.J.B(na:782)
[2025-01-09T11:03:25.915Z] at com.sonarsource.A.F.executeChecks(na:2678)
[2025-01-09T11:03:25.915Z] at com.sonarsource.A.F.executeSensor(na:1978)
[2025-01-09T11:03:25.915Z] at com.sonarsource.A.F.execute(na:2033)
[2025-01-09T11:03:25.915Z] at org.sonar.scanner.sensor.AbstractSensorWrapper.analyse(AbstractSensorWrapper.java:64)
[2025-01-09T11:03:25.915Z] at org.sonar.scanner.sensor.ModuleSensorsExecutor.execute(ModuleSensorsExecutor.java:88)
[2025-01-09T11:03:25.915Z] at org.sonar.scanner.sensor.ModuleSensorsExecutor.execute(ModuleSensorsExecutor.java:64)
[2025-01-09T11:03:25.915Z] at org.sonar.scanner.scan.SpringModuleScanContainer.doAfterStart(SpringModuleScanContainer.java:82)
[2025-01-09T11:03:25.915Z] at org.sonar.core.platform.SpringComponentContainer.startComponents(SpringComponentContainer.java:226)
[2025-01-09T11:03:25.915Z] at org.sonar.core.platform.SpringComponentContainer.execute(SpringComponentContainer.java:205)
[2025-01-09T11:03:25.915Z] at org.sonar.scanner.scan.SpringProjectScanContainer.scan(SpringProjectScanContainer.java:201)
[2025-01-09T11:03:25.915Z] at org.sonar.scanner.scan.SpringProjectScanContainer.scanRecursively(SpringProjectScanContainer.java:197)
[2025-01-09T11:03:25.915Z] at org.sonar.scanner.scan.SpringProjectScanContainer.doAfterStart(SpringProjectScanContainer.java:170)
[2025-01-09T11:03:25.916Z] at org.sonar.core.platform.SpringComponentContainer.startComponents(SpringComponentContainer.java:226)
[2025-01-09T11:03:25.916Z] at org.sonar.core.platform.SpringComponentContainer.execute(SpringComponentContainer.java:205)
[2025-01-09T11:03:25.916Z] at org.sonar.scanner.bootstrap.SpringScannerContainer.doAfterStart(SpringScannerContainer.java:355)
[2025-01-09T11:03:25.916Z] at org.sonar.core.platform.SpringComponentContainer.startComponents(SpringComponentContainer.java:226)
[2025-01-09T11:03:25.916Z] at org.sonar.core.platform.SpringComponentContainer.execute(SpringComponentContainer.java:205)
[2025-01-09T11:03:25.916Z] at org.sonar.scanner.bootstrap.SpringGlobalContainer.doAfterStart(SpringGlobalContainer.java:144)
[2025-01-09T11:03:25.916Z] at org.sonar.core.platform.SpringComponentContainer.startComponents(SpringComponentContainer.java:226)
[2025-01-09T11:03:25.916Z] at org.sonar.core.platform.SpringComponentContainer.execute(SpringComponentContainer.java:205)
[2025-01-09T11:03:25.916Z] at org.sonar.batch.bootstrapper.Batch.doExecute(Batch.java:73)
[2025-01-09T11:03:25.916Z] at org.sonar.batch.bootstrapper.Batch.execute(Batch.java:67)
[2025-01-09T11:03:25.916Z] at org.sonarsource.scanner.api.internal.batch.BatchIsolatedLauncher.execute(BatchIsolatedLauncher.java:46)
[2025-01-09T11:03:25.916Z] at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[2025-01-09T11:03:25.916Z] at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
[2025-01-09T11:03:25.916Z] at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
[2025-01-09T11:03:25.916Z] at java.base/java.lang.reflect.Method.invoke(Unknown Source)
[2025-01-09T11:03:25.916Z] at org.sonarsource.scanner.api.internal.IsolatedLauncherProxy.invoke(IsolatedLauncherProxy.java:60)
[2025-01-09T11:03:25.916Z] at jdk.proxy1/jdk.proxy1.$Proxy0.execute(Unknown Source)
[2025-01-09T11:03:25.916Z] ERROR:
[2025-01-09T11:03:25.916Z] 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.74 sec)
- Retrieve git tag on SCM (0.61 sec)
- Retrieve plugin details and announce release (0.69 sec)
- Build plugin image using buildpacks (0.61 sec)
- Initialize plugin release (0.68 sec)
- SonarQube Analysis (3 min 47 sec)
Error: script returned exit code 1 - Push to Alliance Govcloud (0.79 sec)
- Declarative: Post Actions (3.2 sec)
Loading