Started by user Anji Running as SYSTEM Building in workspace /var/lib/jenkins/workspace/Cicd [Cicd] $ /var/lib/jenkins/tools/hudson.plugins.sonar.SonarRunnerInstallation/sonarqube/bin/sonar-scanner -Dsonar.host.url=http://144.126.147.143:9000/ ******** -Dsonar.projectKey=hk-backend -Dsonar.projectName=hk-backend -Dsonar.host.url=http://144.126.147.143:9000 -Dsonar.login=sqp_cd680f726667e3b35fd399aca0a8965d00df22d9 -Dsonar.javascript.lcov.reportPaths=./coverage/lcov.info -Dsonar.exclusions=**/*.java -Dsonar.projectBaseDir=/var/lib/jenkins/workspace/Cicd WARN: Property 'sonar.host.url' with value 'http://144.126.147.143:9000/' is overridden with value 'http://144.126.147.143:9000' WARN: Property 'sonar.login' with value 'sqp_cd680f726667e3b35fd399aca0a8965d00df22d9' is overridden with value 'sqp_cd680f726667e3b35fd399aca0a8965d00df22d9' INFO: Scanner configuration file: /var/lib/jenkins/tools/hudson.plugins.sonar.SonarRunnerInstallation/sonarqube/conf/sonar-scanner.properties INFO: Project root configuration file: NONE INFO: SonarScanner 4.8.0.2856 INFO: Java 17.0.6 Private Build (64-bit) INFO: Linux 5.4.0-146-generic amd64 INFO: User cache: /var/lib/jenkins/.sonar/cache INFO: Analyzing on SonarQube server 9.9.0.65466 INFO: Default locale: "en_US", source code encoding: "UTF-8" (analysis is platform dependent) INFO: Load global settings INFO: Load global settings (done) | time=518ms INFO: Server id: D0BA8F50-AYdZAqnSHg2kzABMiXE8 INFO: User cache: /var/lib/jenkins/.sonar/cache INFO: Load/download plugins INFO: Load plugins index INFO: Load plugins index (done) | time=379ms INFO: Load/download plugins (done) | time=1308ms INFO: Process project properties INFO: Process project properties (done) | time=1ms INFO: Execute project builders INFO: Execute project builders (done) | time=2ms INFO: Project key: hk-backend INFO: Base dir: /var/lib/jenkins/workspace/Cicd INFO: Working dir: /var/lib/jenkins/workspace/Cicd/.scannerwork INFO: Load project settings for component key: 'hk-backend' INFO: Load project settings for component key: 'hk-backend' (done) | time=307ms INFO: Auto-configuring with CI 'Jenkins' INFO: Load quality profiles INFO: Load quality profiles (done) | time=586ms INFO: Load active rules INFO: Load active rules (done) | time=7231ms INFO: Load analysis cache INFO: Load analysis cache | time=227ms INFO: Load project repositories INFO: Load project repositories (done) | time=245ms INFO: Indexing files... INFO: Project configuration: INFO: Excluded sources: **/*.java INFO: 82 files indexed INFO: 36 files ignored because of inclusion/exclusion patterns INFO: 0 files ignored because of scm ignore settings INFO: Quality profile for css: Sonar way INFO: Quality profile for js: Sonar way INFO: Quality profile for json: Sonar way INFO: Quality profile for web: Sonar way INFO: Quality profile for xml: Sonar way INFO: ------------- Run sensors on module hk-backend INFO: Load metrics repository INFO: Load metrics repository (done) | time=171ms INFO: Sensor JaCoCo XML Report Importer [jacoco] 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 INFO: No report imported, no coverage information will be imported by JaCoCo XML Report Importer INFO: Sensor JaCoCo XML Report Importer [jacoco] (done) | time=4ms INFO: Sensor IaC CloudFormation Sensor [iac] INFO: 0 source files to be analyzed INFO: 0/0 source files have been analyzed INFO: Sensor IaC CloudFormation Sensor [iac] (done) | time=885ms INFO: Sensor IaC Kubernetes Sensor [iac] INFO: 0 source files to be analyzed INFO: 0/0 source files have been analyzed INFO: Sensor IaC Kubernetes Sensor [iac] (done) | time=319ms INFO: Sensor JavaScript analysis [javascript] WARN: Using Node.js version 14 to execute analysis is deprecated and will stop being supported no earlier than May 1st, 2023. Please upgrade to a newer LTS version of Node.js [16, 18] INFO: 7 source files to be analyzed INFO: 4/7 files analyzed, current file: /var/lib/jenkins/workspace/Cicd/HK/test-output/testng-reports.js INFO: 7/7 source files have been analyzed INFO: Hit the cache for 0 out of 7 INFO: Miss the cache for 7 out of 7: ANALYSIS_MODE_INELIGIBLE [7/7] INFO: Sensor JavaScript analysis [javascript] (done) | time=45786ms INFO: Sensor TypeScript analysis [javascript] INFO: No input files found for analysis INFO: Hit the cache for 0 out of 0 INFO: Miss the cache for 0 out of 0 INFO: Sensor TypeScript analysis [javascript] (done) | time=2ms INFO: Sensor CSS Rules [javascript] INFO: 41 source files to be analyzed INFO: 41/41 source files have been analyzed INFO: Hit the cache for 0 out of 0 INFO: Miss the cache for 0 out of 0 INFO: Sensor CSS Rules [javascript] (done) | time=2977ms INFO: Sensor JavaScript/TypeScript Coverage [javascript] INFO: No LCOV files were found using ./coverage/lcov.info WARN: No coverage information will be saved because all LCOV files cannot be found. INFO: Sensor JavaScript/TypeScript Coverage [javascript] (done) | time=716ms INFO: Sensor CSS Metrics [javascript] INFO: Sensor CSS Metrics [javascript] (done) | time=195ms INFO: Sensor C# Project Type Information [csharp] INFO: Sensor C# Project Type Information [csharp] (done) | time=2ms INFO: Sensor C# Analysis Log [csharp] INFO: Sensor C# Analysis Log [csharp] (done) | time=55ms INFO: Sensor C# Properties [csharp] INFO: Sensor C# Properties [csharp] (done) | time=0ms INFO: Sensor HTML [web] INFO: Sensor HTML [web] (done) | time=10820ms INFO: Sensor XML Sensor [xml] INFO: 15 source files to be analyzed INFO: 15/15 source files have been analyzed INFO: Sensor XML Sensor [xml] (done) | time=3220ms INFO: Sensor TextAndSecretsSensor [text] INFO: 68 source files to be analyzed INFO: 68/68 source files have been analyzed INFO: Sensor TextAndSecretsSensor [text] (done) | time=1500ms INFO: Sensor VB.NET Project Type Information [vbnet] INFO: Sensor VB.NET Project Type Information [vbnet] (done) | time=4ms INFO: Sensor VB.NET Analysis Log [vbnet] INFO: Sensor VB.NET Analysis Log [vbnet] (done) | time=204ms INFO: Sensor VB.NET Properties [vbnet] INFO: Sensor VB.NET Properties [vbnet] (done) | time=0ms INFO: Sensor IaC Docker Sensor [iac] INFO: 0 source files to be analyzed INFO: 0/0 source files have been analyzed INFO: Sensor IaC Docker Sensor [iac] (done) | time=171ms INFO: ------------- Run sensors on project INFO: Sensor Analysis Warnings import [csharp] INFO: Sensor Analysis Warnings import [csharp] (done) | time=1ms INFO: Sensor Zero Coverage Sensor INFO: Sensor Zero Coverage Sensor (done) | time=23ms INFO: SCM Publisher SCM provider for this project is: git INFO: SCM Publisher 33 source files to be analyzed INFO: SCM Publisher 0/33 source files have been analyzed (done) | time=224ms WARN: Missing blame information for the following files: WARN: * test/clover.xml WARN: * lcov-report/financialsService/model/reconcilitations.js.html WARN: * lcov-report/financialsService/api/routes.js.html WARN: * lcov-report/financialsService/index.html WARN: * test/serverisMonit.test.js WARN: * lcov-report/financialsService/helper/index.html WARN: * lcov-report/financialsService/model/payablesummary.js.html WARN: * lcov-report/financialsService/api/index.html WARN: * lcov-report/financialsService/helper/repository.js.html WARN: * lcov-report/financialsService/config/index.html WARN: * lcov-report/financialsService/model/financials.js.html WARN: * lcov-report/financialsService/app.js.html WARN: * lcov-report/financialsService/helper/calculationSvc.js.html WARN: * lcov-report/financialsService/config/express.js.html WARN: * lcov-report/financialsService/helper/helper.js.html WARN: * lcov-report/financialsService/config/socket.js.html WARN: * lcov-report/financialsService/helper/middleware.js.html WARN: * lcov-report/sorter.js WARN: * lcov-report/financialsService/model/financialDisputes.js.html WARN: * lcov-report/financialsService/api/controller.js.html WARN: * financialsService/coverage/clover.xml WARN: * lcov-report/financialsService/config/mongo.js.html WARN: * lcov-report/financialsService/model/accounts.js.html WARN: * clover.xml WARN: * HK/test-output/old/Default suite/testng.xml.html WARN: * lcov-report/base.css WARN: * lcov-report/financialsService/helper/templates.js.html WARN: * lcov-report/financialsService/model/index.html WARN: * test/test.js WARN: * lcov-report/block-navigation.js WARN: * lcov-report/index.html WARN: * test/server.test.js WARN: * lcov-report/financialsService/config/redis.js.html WARN: This may lead to missing/broken features in SonarQube INFO: CPD Executor 6 files had no CPD blocks INFO: CPD Executor Calculating CPD for 38 files WARN: Too many duplication groups on file lcov-report/financialsService/api/controller.js.html. Keep only the first 100 groups. INFO: CPD Executor CPD calculation finished (done) | time=793ms INFO: Analysis report generated in 220ms, dir size=3.5 MB INFO: Analysis report compressed in 523ms, zip size=692.9 kB INFO: Analysis report uploaded in 321ms INFO: ANALYSIS SUCCESSFUL, you can find the results at: http://144.126.147.143:9000/dashboard?id=hk-backend INFO: Note that you will be able to access the updated dashboard once the server has processed the submitted analysis report INFO: More about the report processing at http://144.126.147.143:9000/api/ce/task?id=AYfxCtYYRjww68MSiVK7 INFO: Analysis total time: 1:44.097 s INFO: ------------------------------------------------------------------------ INFO: EXECUTION SUCCESS INFO: ------------------------------------------------------------------------ INFO: Total time: 1:53.551s INFO: Final Memory: 18M/67M INFO: ------------------------------------------------------------------------ [Jira] Updating issue HK-2231 Publishing Clover coverage report... Publishing Clover XML report... Publishing Clover coverage results... Publishing Clover coverage report... Clover HTML report '/var/lib/jenkins/workspace/Cicd/financialsService/coverage' does not exist and was not copied! Publishing Clover XML report... Processing Clover XML report ... Publishing Clover coverage results... TestNG Reports Processing: START Looking for TestNG results report in workspace using pattern: **/testng-results.xml testng-results.xml was last modified before this build started. Ignoring it. Saving reports... Found matching files but did not find any TestNG results. Triggering a new build of Cicd Backend-prod Finished: SUCCESS