Hi Team,
I’m trying to add my code coverage from below project into sonar cloud. I have followed all the steps which are required. like creating soanr-project.properties file with relevant details running through ci-cd pipeline providing project details every thing but I still get code coverage as 0% only.
all my test files are within test folder and source code is within src folder.
When I run npm run test:coverage on my local I can see coverage folder is getting creating and lcov.info file is also getting created.
Project: GitHub - Dhruv-Techapps/core-common
ci-cd:
name: Coverage
on:
workflow_call:
secrets:
SONARCLOUD_TOKEN:
required: true
jobs:
coverage:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
always-auth: true
node-version: 16
registry-url: https://npm.pkg.github.com
scope: "@dhruv-techapps"
cache: "npm"
- run: npm ci
env:
NODE_AUTH_TOKEN: ${{secrets.GITHUB_TOKEN}}
- run: npm run test:coverage
- name: SonarCloud Scan
uses: SonarSource/sonarcloud-github-action@master
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
SONAR_TOKEN: ${{ secrets.SONARCLOUD_TOKEN }}
Package.json:
"test:coverage": "jest --coverage",
sonar-project.properties
sonar.organization=dhruv-techapps
sonar.projectKey=Dhruv-Techapps_core-common
sonar.sources=src/
sonar.language=js
sonar.tests=test/
sonar.javascript.lcov.reportPaths=./coverage/lcov.info
sonar.sourceEncoding=UTF-8
Pipe-line log:
Sensor JavaScript analysis [javascript]
INFO: 25 source files to be analyzed
INFO: 25/25 source files have been analyzed
INFO: Hit the cache for 25 out of 25
INFO: Miss the cache for 0 out of 25
INFO: Sensor JavaScript analysis [javascript] (done) | time=4407ms
INFO: Sensor TypeScript analysis [javascript]
Lena
(Elena Vilchik)
March 17, 2023, 9:34am
3
Hey,
Could you provide the full log? The coverage is imported by another sensor.
/usr/bin/docker run --name a5c76be7bf8fb7b7e34c7996482e4c0a95f863_eef234 --label a5c76b --workdir /github/workspace --rm -e "NPM_CONFIG_USERCONFIG" -e "NODE_AUTH_TOKEN" -e "GITHUB_TOKEN" -e "SONAR_TOKEN" -e "INPUT_ARGS" -e "INPUT_PROJECTBASEDIR" -e "HOME" -e "GITHUB_JOB" -e "GITHUB_REF" -e "GITHUB_SHA" -e "GITHUB_REPOSITORY" -e "GITHUB_REPOSITORY_OWNER" -e "GITHUB_REPOSITORY_OWNER_ID" -e "GITHUB_RUN_ID" -e "GITHUB_RUN_NUMBER" -e "GITHUB_RETENTION_DAYS" -e "GITHUB_RUN_ATTEMPT" -e "GITHUB_REPOSITORY_ID" -e "GITHUB_ACTOR_ID" -e "GITHUB_ACTOR" -e "GITHUB_TRIGGERING_ACTOR" -e "GITHUB_WORKFLOW" -e "GITHUB_HEAD_REF" -e "GITHUB_BASE_REF" -e "GITHUB_EVENT_NAME" -e "GITHUB_SERVER_URL" -e "GITHUB_API_URL" -e "GITHUB_GRAPHQL_URL" -e "GITHUB_REF_NAME" -e "GITHUB_REF_PROTECTED" -e "GITHUB_REF_TYPE" -e "GITHUB_WORKFLOW_REF" -e "GITHUB_WORKFLOW_SHA" -e "GITHUB_WORKSPACE" -e "GITHUB_ACTION" -e "GITHUB_EVENT_PATH" -e "GITHUB_ACTION_REPOSITORY" -e "GITHUB_ACTION_REF" -e "GITHUB_PATH" -e "GITHUB_ENV" -e "GITHUB_STEP_SUMMARY" -e "GITHUB_STATE" -e "GITHUB_OUTPUT" -e "RUNNER_OS" -e "RUNNER_ARCH" -e "RUNNER_NAME" -e "RUNNER_TOOL_CACHE" -e "RUNNER_TEMP" -e "RUNNER_WORKSPACE" -e "ACTIONS_RUNTIME_URL" -e "ACTIONS_RUNTIME_TOKEN" -e "ACTIONS_CACHE_URL" -e GITHUB_ACTIONS=true -e CI=true -v "/var/run/docker.sock":"/var/run/docker.sock" -v "/home/runner/work/_temp/_github_home":"/github/home" -v "/home/runner/work/_temp/_github_workflow":"/github/workflow" -v "/home/runner/work/_temp/_runner_file_commands":"/github/file_commands" -v "/home/runner/work/core-common/core-common":"/github/workspace" a5c76b:e7bf8fb7b7e34c7996482e4c0a95f863
[10](https://github.com/Dhruv-Techapps/core-common/actions/runs/4382436008/jobs/7671478287#step:7:11)INFO: Scanner configuration file: /opt/sonar-scanner/conf/sonar-scanner.properties
[11](https://github.com/Dhruv-Techapps/core-common/actions/runs/4382436008/jobs/7671478287#step:7:12)INFO: Project root configuration file: /github/workspace/sonar-project.properties
[12](https://github.com/Dhruv-Techapps/core-common/actions/runs/4382436008/jobs/7671478287#step:7:13)INFO: SonarScanner 4.8.0.2856
[13](https://github.com/Dhruv-Techapps/core-common/actions/runs/4382436008/jobs/7671478287#step:7:14)INFO: Java 11.0.18 Alpine (64-bit)
[14](https://github.com/Dhruv-Techapps/core-common/actions/runs/4382436008/jobs/7671478287#step:7:15)INFO: Linux 5.15.0-1034-azure amd64
[15](https://github.com/Dhruv-Techapps/core-common/actions/runs/4382436008/jobs/7671478287#step:7:16)INFO: User cache: /opt/sonar-scanner/.sonar/cache
[16](https://github.com/Dhruv-Techapps/core-common/actions/runs/4382436008/jobs/7671478287#step:7:17)INFO: Analyzing on SonarCloud
[17](https://github.com/Dhruv-Techapps/core-common/actions/runs/4382436008/jobs/7671478287#step:7:18)INFO: Default locale: "en_US", source code encoding: "UTF-8" (analysis is platform dependent)
[18](https://github.com/Dhruv-Techapps/core-common/actions/runs/4382436008/jobs/7671478287#step:7:19)INFO: Load global settings
[19](https://github.com/Dhruv-Techapps/core-common/actions/runs/4382436008/jobs/7671478287#step:7:20)INFO: Load global settings (done) | time=545ms
[20](https://github.com/Dhruv-Techapps/core-common/actions/runs/4382436008/jobs/7671478287#step:7:21)INFO: Server id: 1BD809FA-AWHW8ct9-T_TB3XqouNu
[21](https://github.com/Dhruv-Techapps/core-common/actions/runs/4382436008/jobs/7671478287#step:7:22)INFO: User cache: /opt/sonar-scanner/.sonar/cache
[22](https://github.com/Dhruv-Techapps/core-common/actions/runs/4382436008/jobs/7671478287#step:7:23)INFO: Load/download plugins
[23](https://github.com/Dhruv-Techapps/core-common/actions/runs/4382436008/jobs/7671478287#step:7:24)INFO: Load plugins index
[24](https://github.com/Dhruv-Techapps/core-common/actions/runs/4382436008/jobs/7671478287#step:7:25)INFO: Load plugins index (done) | time=512ms
[25](https://github.com/Dhruv-Techapps/core-common/actions/runs/4382436008/jobs/7671478287#step:7:26)INFO: Load/download plugins (done) | time=3499ms
[26](https://github.com/Dhruv-Techapps/core-common/actions/runs/4382436008/jobs/7671478287#step:7:27)INFO: Loaded core extensions: developer-scanner
[27](https://github.com/Dhruv-Techapps/core-common/actions/runs/4382436008/jobs/7671478287#step:7:28)INFO: Found an active CI vendor: 'Github Actions'
[28](https://github.com/Dhruv-Techapps/core-common/actions/runs/4382436008/jobs/7671478287#step:7:29)INFO: Load project settings for component key: 'Dhruv-Techapps_core-common'
[29](https://github.com/Dhruv-Techapps/core-common/actions/runs/4382436008/jobs/7671478287#step:7:30)INFO: Load project settings for component key: 'Dhruv-Techapps_core-common' (done) | time=493ms
[30](https://github.com/Dhruv-Techapps/core-common/actions/runs/4382436008/jobs/7671478287#step:7:31)INFO: Process project properties
[31](https://github.com/Dhruv-Techapps/core-common/actions/runs/4382436008/jobs/7671478287#step:7:32)INFO: Execute project builders
[32](https://github.com/Dhruv-Techapps/core-common/actions/runs/4382436008/jobs/7671478287#step:7:33)INFO: Execute project builders (done) | time=8ms
[33](https://github.com/Dhruv-Techapps/core-common/actions/runs/4382436008/jobs/7671478287#step:7:34)INFO: Project key: Dhruv-Techapps_core-common
[34](https://github.com/Dhruv-Techapps/core-common/actions/runs/4382436008/jobs/7671478287#step:7:35)INFO: Base dir: /github/workspace
[35](https://github.com/Dhruv-Techapps/core-common/actions/runs/4382436008/jobs/7671478287#step:7:36)INFO: Working dir: /github/workspace/.scannerwork
[36](https://github.com/Dhruv-Techapps/core-common/actions/runs/4382436008/jobs/7671478287#step:7:37)INFO: Load project branches
[37](https://github.com/Dhruv-Techapps/core-common/actions/runs/4382436008/jobs/7671478287#step:7:38)INFO: Load project branches (done) | time=545ms
[38](https://github.com/Dhruv-Techapps/core-common/actions/runs/4382436008/jobs/7671478287#step:7:39)INFO: Check ALM binding of project 'Dhruv-Techapps_core-common'
[39](https://github.com/Dhruv-Techapps/core-common/actions/runs/4382436008/jobs/7671478287#step:7:40)INFO: Detected project binding: BOUND
[40](https://github.com/Dhruv-Techapps/core-common/actions/runs/4382436008/jobs/7671478287#step:7:41)INFO: Check ALM binding of project 'Dhruv-Techapps_core-common' (done) | time=477ms
[41](https://github.com/Dhruv-Techapps/core-common/actions/runs/4382436008/jobs/7671478287#step:7:42)INFO: Load project pull requests
[42](https://github.com/Dhruv-Techapps/core-common/actions/runs/4382436008/jobs/7671478287#step:7:43)INFO: Load project pull requests (done) | time=525ms
[43](https://github.com/Dhruv-Techapps/core-common/actions/runs/4382436008/jobs/7671478287#step:7:44)INFO: Load branch configuration
[44](https://github.com/Dhruv-Techapps/core-common/actions/runs/4382436008/jobs/7671478287#step:7:45)INFO: Github event: pull_request
[45](https://github.com/Dhruv-Techapps/core-common/actions/runs/4382436008/jobs/7671478287#step:7:46)INFO: Auto-configuring pull request 29
[46](https://github.com/Dhruv-Techapps/core-common/actions/runs/4382436008/jobs/7671478287#step:7:47)INFO: Load branch configuration (done) | time=1061ms
[47](https://github.com/Dhruv-Techapps/core-common/actions/runs/4382436008/jobs/7671478287#step:7:48)INFO: Load quality profiles
[48](https://github.com/Dhruv-Techapps/core-common/actions/runs/4382436008/jobs/7671478287#step:7:49)INFO: Load quality profiles (done) | time=552ms
[49](https://github.com/Dhruv-Techapps/core-common/actions/runs/4382436008/jobs/7671478287#step:7:50)INFO: Load active rules
[50](https://github.com/Dhruv-Techapps/core-common/actions/runs/4382436008/jobs/7671478287#step:7:51)INFO: Load active rules (done) | time=6622ms
[51](https://github.com/Dhruv-Techapps/core-common/actions/runs/4382436008/jobs/7671478287#step:7:52)INFO: Organization key: dhruv-techapps
[52](https://github.com/Dhruv-Techapps/core-common/actions/runs/4382436008/jobs/7671478287#step:7:53)INFO: Pull request 29 for merge into master from sonar-fixes
[53](https://github.com/Dhruv-Techapps/core-common/actions/runs/4382436008/jobs/7671478287#step:7:54)INFO: Load project repositories
[54](https://github.com/Dhruv-Techapps/core-common/actions/runs/4382436008/jobs/7671478287#step:7:55)INFO: Load project repositories (done) | time=517ms
[55](https://github.com/Dhruv-Techapps/core-common/actions/runs/4382436008/jobs/7671478287#step:7:56)INFO: SCM collecting changed files in the branch
[56](https://github.com/Dhruv-Techapps/core-common/actions/runs/4382436008/jobs/7671478287#step:7:57)WARN: Could not find ref: master in refs/heads, refs/remotes/upstream or refs/remotes/origin
[57](https://github.com/Dhruv-Techapps/core-common/actions/runs/4382436008/jobs/7671478287#step:7:58)INFO: SCM collecting changed files in the branch (done) | time=80ms
[58](https://github.com/Dhruv-Techapps/core-common/actions/runs/4382436008/jobs/7671478287#step:7:59)INFO: Indexing files...
[59](https://github.com/Dhruv-Techapps/core-common/actions/runs/4382436008/jobs/7671478287#step:7:60)INFO: Project configuration:
[60](https://github.com/Dhruv-Techapps/core-common/actions/runs/4382436008/jobs/7671478287#step:7:61)INFO: Excluded sources: **/build-wrapper-dump.json
[61](https://github.com/Dhruv-Techapps/core-common/actions/runs/4382436008/jobs/7671478287#step:7:62)INFO: 34 files indexed
[62](https://github.com/Dhruv-Techapps/core-common/actions/runs/4382436008/jobs/7671478287#step:7:63)INFO: 0 files ignored because of inclusion/exclusion patterns
[63](https://github.com/Dhruv-Techapps/core-common/actions/runs/4382436008/jobs/7671478287#step:7:64)INFO: 10665 files ignored because of scm ignore settings
[64](https://github.com/Dhruv-Techapps/core-common/actions/runs/4382436008/jobs/7671478287#step:7:65)INFO: Quality profile for js: Sonar way
[65](https://github.com/Dhruv-Techapps/core-common/actions/runs/4382436008/jobs/7671478287#step:7:66)INFO: Quality profile for json: Sonar way
[66](https://github.com/Dhruv-Techapps/core-common/actions/runs/4382436008/jobs/7671478287#step:7:67)INFO: ------------- Run sensors on module Dhruv-Techapps_core-common
[67](https://github.com/Dhruv-Techapps/core-common/actions/runs/4382436008/jobs/7671478287#step:7:68)INFO: Load metrics repository
[68](https://github.com/Dhruv-Techapps/core-common/actions/runs/4382436008/jobs/7671478287#step:7:69)INFO: Load metrics repository (done) | time=946ms
[69](https://github.com/Dhruv-Techapps/core-common/actions/runs/4382436008/jobs/7671478287#step:7:70)INFO: Sensor cache enabled
[70](https://github.com/Dhruv-Techapps/core-common/actions/runs/4382436008/jobs/7671478287#step:7:71)INFO: Load sensor cache
[71](https://github.com/Dhruv-Techapps/core-common/actions/runs/4382436008/jobs/7671478287#step:7:72)INFO: Load sensor cache (43 KB) | time=1131ms
[72](https://github.com/Dhruv-Techapps/core-common/actions/runs/4382436008/jobs/7671478287#step:7:73)INFO: Sensor IaC CloudFormation Sensor [iac]
[73](https://github.com/Dhruv-Techapps/core-common/actions/runs/4382436008/jobs/7671478287#step:7:74)INFO: 0 source files to be analyzed
[74](https://github.com/Dhruv-Techapps/core-common/actions/runs/4382436008/jobs/7671478287#step:7:75)INFO: 0/0 source files have been analyzed
[75](https://github.com/Dhruv-Techapps/core-common/actions/runs/4382436008/jobs/7671478287#step:7:76)INFO: Sensor IaC CloudFormation Sensor [iac] (done) | time=80ms
[76](https://github.com/Dhruv-Techapps/core-common/actions/runs/4382436008/jobs/7671478287#step:7:77)INFO: Sensor IaC Kubernetes Sensor [iac]
[77](https://github.com/Dhruv-Techapps/core-common/actions/runs/4382436008/jobs/7671478287#step:7:78)INFO: 0 source files to be analyzed
[78](https://github.com/Dhruv-Techapps/core-common/actions/runs/4382436008/jobs/7671478287#step:7:79)INFO: 0/0 source files have been analyzed
[79](https://github.com/Dhruv-Techapps/core-common/actions/runs/4382436008/jobs/7671478287#step:7:80)INFO: Sensor IaC Kubernetes Sensor [iac] (done) | time=7ms
[80](https://github.com/Dhruv-Techapps/core-common/actions/runs/4382436008/jobs/7671478287#step:7:81)INFO: Sensor C# Project Type Information [csharp]
[81](https://github.com/Dhruv-Techapps/core-common/actions/runs/4382436008/jobs/7671478287#step:7:82)INFO: Sensor C# Project Type Information [csharp] (done) | time=1ms
[82](https://github.com/Dhruv-Techapps/core-common/actions/runs/4382436008/jobs/7671478287#step:7:83)INFO: Sensor C# Analysis Log [csharp]
[83](https://github.com/Dhruv-Techapps/core-common/actions/runs/4382436008/jobs/7671478287#step:7:84)INFO: Sensor C# Analysis Log [csharp] (done) | time=15ms
[84](https://github.com/Dhruv-Techapps/core-common/actions/runs/4382436008/jobs/7671478287#step:7:85)INFO: Sensor C# Properties [csharp]
[85](https://github.com/Dhruv-Techapps/core-common/actions/runs/4382436008/jobs/7671478287#step:7:86)INFO: Sensor C# Properties [csharp] (done) | time=0ms
[86](https://github.com/Dhruv-Techapps/core-common/actions/runs/4382436008/jobs/7671478287#step:7:87)INFO: Sensor HTML [web]
[87](https://github.com/Dhruv-Techapps/core-common/actions/runs/4382436008/jobs/7671478287#step:7:88)INFO: Sensor HTML is restricted to changed files only
[88](https://github.com/Dhruv-Techapps/core-common/actions/runs/4382436008/jobs/7671478287#step:7:89)INFO: Sensor HTML [web] (done) | time=4ms
[89](https://github.com/Dhruv-Techapps/core-common/actions/runs/4382436008/jobs/7671478287#step:7:90)INFO: Sensor TextAndSecretsSensor [text]
[90](https://github.com/Dhruv-Techapps/core-common/actions/runs/4382436008/jobs/7671478287#step:7:91)INFO: Sensor TextAndSecretsSensor is restricted to changed files only
[91](https://github.com/Dhruv-Techapps/core-common/actions/runs/4382436008/jobs/7671478287#step:7:92)INFO: 1 source file to be analyzed
[92](https://github.com/Dhruv-Techapps/core-common/actions/runs/4382436008/jobs/7671478287#step:7:93)INFO: 1/1 source file has been analyzed
[93](https://github.com/Dhruv-Techapps/core-common/actions/runs/4382436008/jobs/7671478287#step:7:94)INFO: Sensor TextAndSecretsSensor [text] (done) | time=34ms
[94](https://github.com/Dhruv-Techapps/core-common/actions/runs/4382436008/jobs/7671478287#step:7:95)INFO: Sensor VB.NET Project Type Information [vbnet]
[95](https://github.com/Dhruv-Techapps/core-common/actions/runs/4382436008/jobs/7671478287#step:7:96)INFO: Sensor VB.NET Project Type Information [vbnet] (done) | time=1ms
[96](https://github.com/Dhruv-Techapps/core-common/actions/runs/4382436008/jobs/7671478287#step:7:97)INFO: Sensor VB.NET Analysis Log [vbnet]
[97](https://github.com/Dhruv-Techapps/core-common/actions/runs/4382436008/jobs/7671478287#step:7:98)INFO: Sensor VB.NET Analysis Log [vbnet] (done) | time=14ms
[98](https://github.com/Dhruv-Techapps/core-common/actions/runs/4382436008/jobs/7671478287#step:7:99)INFO: Sensor VB.NET Properties [vbnet]
[99](https://github.com/Dhruv-Techapps/core-common/actions/runs/4382436008/jobs/7671478287#step:7:100)INFO: Sensor VB.NET Properties [vbnet] (done) | time=1ms
[100](https://github.com/Dhruv-Techapps/core-common/actions/runs/4382436008/jobs/7671478287#step:7:101)INFO: Sensor JaCoCo XML Report Importer [jacoco]
[101](https://github.com/Dhruv-Techapps/core-common/actions/runs/4382436008/jobs/7671478287#step:7:102)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
[102](https://github.com/Dhruv-Techapps/core-common/actions/runs/4382436008/jobs/7671478287#step:7:103)INFO: No report imported, no coverage information will be imported by JaCoCo XML Report Importer
[103](https://github.com/Dhruv-Techapps/core-common/actions/runs/4382436008/jobs/7671478287#step:7:104)INFO: Sensor JaCoCo XML Report Importer [jacoco] (done) | time=3ms
[104](https://github.com/Dhruv-Techapps/core-common/actions/runs/4382436008/jobs/7671478287#step:7:105)INFO: Sensor JavaScript analysis [javascript]
[105](https://github.com/Dhruv-Techapps/core-common/actions/runs/4382436008/jobs/7671478287#step:7:106)INFO: 27 source files to be analyzed
[106](https://github.com/Dhruv-Techapps/core-common/actions/runs/4382436008/jobs/7671478287#step:7:107)INFO: 27/27 source files have been analyzed
[107](https://github.com/Dhruv-Techapps/core-common/actions/runs/4382436008/jobs/7671478287#step:7:108)INFO: Hit the cache for 27 out of 27
[108](https://github.com/Dhruv-Techapps/core-common/actions/runs/4382436008/jobs/7671478287#step:7:109)INFO: Miss the cache for 0 out of 27
[109](https://github.com/Dhruv-Techapps/core-common/actions/runs/4382436008/jobs/7671478287#step:7:110)INFO: Sensor JavaScript analysis [javascript] (done) | time=4396ms
[110](https://github.com/Dhruv-Techapps/core-common/actions/runs/4382436008/jobs/7671478287#step:7:111)INFO: Sensor TypeScript analysis [javascript]
[111](https://github.com/Dhruv-Techapps/core-common/actions/runs/4382436008/jobs/7671478287#step:7:112)INFO: No input files found for analysis
[112](https://github.com/Dhruv-Techapps/core-common/actions/runs/4382436008/jobs/7671478287#step:7:113)INFO: Hit the cache for 0 out of 0
[113](https://github.com/Dhruv-Techapps/core-common/actions/runs/4382436008/jobs/7671478287#step:7:114)INFO: Miss the cache for 0 out of 0
[114](https://github.com/Dhruv-Techapps/core-common/actions/runs/4382436008/jobs/7671478287#step:7:115)INFO: Sensor TypeScript analysis [javascript] (done) | time=1ms
[115](https://github.com/Dhruv-Techapps/core-common/actions/runs/4382436008/jobs/7671478287#step:7:116)INFO: Sensor CSS Rules [javascript]
[116](https://github.com/Dhruv-Techapps/core-common/actions/runs/4382436008/jobs/7671478287#step:7:117)INFO: Sensor CSS Rules is restricted to changed files only
[117](https://github.com/Dhruv-Techapps/core-common/actions/runs/4382436008/jobs/7671478287#step:7:118)INFO: No CSS, PHP, HTML or VueJS files are found in the project. CSS analysis is skipped.
[118](https://github.com/Dhruv-Techapps/core-common/actions/runs/4382436008/jobs/7671478287#step:7:119)INFO: Sensor CSS Rules [javascript] (done) | time=1ms
[119](https://github.com/Dhruv-Techapps/core-common/actions/runs/4382436008/jobs/7671478287#step:7:120)INFO: Sensor JavaScript/TypeScript Coverage [javascript]
[120](https://github.com/Dhruv-Techapps/core-common/actions/runs/4382436008/jobs/7671478287#step:7:121)INFO: Analysing [/github/workspace/./coverage/lcov.info]
[121](https://github.com/Dhruv-Techapps/core-common/actions/runs/4382436008/jobs/7671478287#step:7:122)INFO: Sensor JavaScript/TypeScript Coverage [javascript] (done) | time=22ms
[122](https://github.com/Dhruv-Techapps/core-common/actions/runs/4382436008/jobs/7671478287#step:7:123)INFO: Sensor ThymeLeaf template sensor [securityjavafrontend]
[123](https://github.com/Dhruv-Techapps/core-common/actions/runs/4382436008/jobs/7671478287#step:7:124)INFO: Sensor ThymeLeaf template sensor [securityjavafrontend] (done) | time=0ms
[124](https://github.com/Dhruv-Techapps/core-common/actions/runs/4382436008/jobs/7671478287#step:7:125)INFO: Sensor IaC Docker Sensor [iac]
[125](https://github.com/Dhruv-Techapps/core-common/actions/runs/4382436008/jobs/7671478287#step:7:126)INFO: Sensor IaC Docker Sensor is restricted to changed files only
[126](https://github.com/Dhruv-Techapps/core-common/actions/runs/4382436008/jobs/7671478287#step:7:127)INFO: 0 source files to be analyzed
[127](https://github.com/Dhruv-Techapps/core-common/actions/runs/4382436008/jobs/7671478287#step:7:128)INFO: 0/0 source files have been analyzed
[128](https://github.com/Dhruv-Techapps/core-common/actions/runs/4382436008/jobs/7671478287#step:7:129)INFO: Sensor IaC Docker Sensor [iac] (done) | time=88ms
[129](https://github.com/Dhruv-Techapps/core-common/actions/runs/4382436008/jobs/7671478287#step:7:130)INFO: Sensor Serverless configuration file sensor [security]
[130](https://github.com/Dhruv-Techapps/core-common/actions/runs/4382436008/jobs/7671478287#step:7:131)INFO: 0 Serverless function entries were found in the project
[131](https://github.com/Dhruv-Techapps/core-common/actions/runs/4382436008/jobs/7671478287#step:7:132)INFO: 0 Serverless function handlers were kept as entrypoints
[132](https://github.com/Dhruv-Techapps/core-common/actions/runs/4382436008/jobs/7671478287#step:7:133)INFO: Sensor Serverless configuration file sensor [security] (done) | time=2ms
[133](https://github.com/Dhruv-Techapps/core-common/actions/runs/4382436008/jobs/7671478287#step:7:134)INFO: Sensor AWS SAM template file sensor [security]
[134](https://github.com/Dhruv-Techapps/core-common/actions/runs/4382436008/jobs/7671478287#step:7:135)INFO: Sensor AWS SAM template file sensor [security] (done) | time=1ms
[135](https://github.com/Dhruv-Techapps/core-common/actions/runs/4382436008/jobs/7671478287#step:7:136)INFO: Sensor AWS SAM Inline template file sensor [security]
[136](https://github.com/Dhruv-Techapps/core-common/actions/runs/4382436008/jobs/7671478287#step:7:137)INFO: Sensor AWS SAM Inline template file sensor [security] (done) | time=0ms
[137](https://github.com/Dhruv-Techapps/core-common/actions/runs/4382436008/jobs/7671478287#step:7:138)INFO: Sensor javabugs [dbd]
[138](https://github.com/Dhruv-Techapps/core-common/actions/runs/4382436008/jobs/7671478287#step:7:139)INFO: Reading IR files from: /github/workspace/.scannerwork/ir/java
[139](https://github.com/Dhruv-Techapps/core-common/actions/runs/4382436008/jobs/7671478287#step:7:140)INFO: No IR files have been included for analysis.
[140](https://github.com/Dhruv-Techapps/core-common/actions/runs/4382436008/jobs/7671478287#step:7:141)INFO: Sensor javabugs [dbd] (done) | time=2ms
[141](https://github.com/Dhruv-Techapps/core-common/actions/runs/4382436008/jobs/7671478287#step:7:142)INFO: Sensor pythonbugs [dbd]
[142](https://github.com/Dhruv-Techapps/core-common/actions/runs/4382436008/jobs/7671478287#step:7:143)INFO: Reading IR files from: /github/workspace/.scannerwork/ir/python
[143](https://github.com/Dhruv-Techapps/core-common/actions/runs/4382436008/jobs/7671478287#step:7:144)INFO: No IR files have been included for analysis.
[144](https://github.com/Dhruv-Techapps/core-common/actions/runs/4382436008/jobs/7671478287#step:7:145)INFO: Sensor pythonbugs [dbd] (done) | time=0ms
[145](https://github.com/Dhruv-Techapps/core-common/actions/runs/4382436008/jobs/7671478287#step:7:146)INFO: Sensor JavaSecuritySensor [security]
[146](https://github.com/Dhruv-Techapps/core-common/actions/runs/4382436008/jobs/7671478287#step:7:147)INFO: Reading type hierarchy from: /github/workspace/.scannerwork/ucfg2/java
[147](https://github.com/Dhruv-Techapps/core-common/actions/runs/4382436008/jobs/7671478287#step:7:148)INFO: Read 0 type definitions
[148](https://github.com/Dhruv-Techapps/core-common/actions/runs/4382436008/jobs/7671478287#step:7:149)INFO: No UCFGs have been included for analysis.
[149](https://github.com/Dhruv-Techapps/core-common/actions/runs/4382436008/jobs/7671478287#step:7:150)INFO: Sensor JavaSecuritySensor [security] (done) | time=4ms
[150](https://github.com/Dhruv-Techapps/core-common/actions/runs/4382436008/jobs/7671478287#step:7:151)INFO: Sensor CSharpSecuritySensor [security]
[151](https://github.com/Dhruv-Techapps/core-common/actions/runs/4382436008/jobs/7671478287#step:7:152)INFO: Reading type hierarchy from: /github/workspace/ucfg_cs2
[152](https://github.com/Dhruv-Techapps/core-common/actions/runs/4382436008/jobs/7671478287#step:7:153)INFO: Read 0 type definitions
[153](https://github.com/Dhruv-Techapps/core-common/actions/runs/4382436008/jobs/7671478287#step:7:154)INFO: No UCFGs have been included for analysis.
[154](https://github.com/Dhruv-Techapps/core-common/actions/runs/4382436008/jobs/7671478287#step:7:155)INFO: Sensor CSharpSecuritySensor [security] (done) | time=0ms
[155](https://github.com/Dhruv-Techapps/core-common/actions/runs/4382436008/jobs/7671478287#step:7:156)INFO: Sensor PhpSecuritySensor [security]
[156](https://github.com/Dhruv-Techapps/core-common/actions/runs/4382436008/jobs/7671478287#step:7:157)INFO: Reading type hierarchy from: /github/workspace/.scannerwork/ucfg2/php
[157](https://github.com/Dhruv-Techapps/core-common/actions/runs/4382436008/jobs/7671478287#step:7:158)INFO: Read 0 type definitions
[158](https://github.com/Dhruv-Techapps/core-common/actions/runs/4382436008/jobs/7671478287#step:7:159)INFO: No UCFGs have been included for analysis.
[159](https://github.com/Dhruv-Techapps/core-common/actions/runs/4382436008/jobs/7671478287#step:7:160)INFO: Sensor PhpSecuritySensor [security] (done) | time=1ms
[160](https://github.com/Dhruv-Techapps/core-common/actions/runs/4382436008/jobs/7671478287#step:7:161)INFO: Sensor PythonSecuritySensor [security]
[161](https://github.com/Dhruv-Techapps/core-common/actions/runs/4382436008/jobs/7671478287#step:7:162)INFO: Reading type hierarchy from: /github/workspace/.scannerwork/ucfg2/python
[162](https://github.com/Dhruv-Techapps/core-common/actions/runs/4382436008/jobs/7671478287#step:7:163)INFO: Read 0 type definitions
[163](https://github.com/Dhruv-Techapps/core-common/actions/runs/4382436008/jobs/7671478287#step:7:164)INFO: No UCFGs have been included for analysis.
[164](https://github.com/Dhruv-Techapps/core-common/actions/runs/4382436008/jobs/7671478287#step:7:165)INFO: Sensor PythonSecuritySensor [security] (done) | time=0ms
[165](https://github.com/Dhruv-Techapps/core-common/actions/runs/4382436008/jobs/7671478287#step:7:166)INFO: Sensor JsSecuritySensor [security]
[166](https://github.com/Dhruv-Techapps/core-common/actions/runs/4382436008/jobs/7671478287#step:7:167)INFO: Reading type hierarchy from: /github/workspace/.scannerwork/ucfg2/js
[167](https://github.com/Dhruv-Techapps/core-common/actions/runs/4382436008/jobs/7671478287#step:7:168)INFO: Read 0 type definitions
[168](https://github.com/Dhruv-Techapps/core-common/actions/runs/4382436008/jobs/7671478287#step:7:169)INFO: Reading UCFGs from: /github/workspace/.scannerwork/ucfg2/js
[169](https://github.com/Dhruv-Techapps/core-common/actions/runs/4382436008/jobs/7671478287#step:7:170)INFO: 07:52:56.539043 Building Runtime Type propagation graph
[170](https://github.com/Dhruv-Techapps/core-common/actions/runs/4382436008/jobs/7671478287#step:7:171)INFO: 07:52:56.552359 Running Tarjan on 356 nodes
[171](https://github.com/Dhruv-Techapps/core-common/actions/runs/4382436008/jobs/7671478287#step:7:172)INFO: 07:52:56.558391 Tarjan found 356 components
[172](https://github.com/Dhruv-Techapps/core-common/actions/runs/4382436008/jobs/7671478287#step:7:173)INFO: 07:52:56.564507 Variable type analysis: done
[173](https://github.com/Dhruv-Techapps/core-common/actions/runs/4382436008/jobs/7671478287#step:7:174)INFO: 07:52:56.56809 Building Runtime Type propagation graph
[174](https://github.com/Dhruv-Techapps/core-common/actions/runs/4382436008/jobs/7671478287#step:7:175)INFO: 07:52:56.574062 Running Tarjan on 356 nodes
[175](https://github.com/Dhruv-Techapps/core-common/actions/runs/4382436008/jobs/7671478287#step:7:176)INFO: 07:52:56.576811 Tarjan found 356 components
[176](https://github.com/Dhruv-Techapps/core-common/actions/runs/4382436008/jobs/7671478287#step:7:177)INFO: 07:52:56.578978 Variable type analysis: done
[177](https://github.com/Dhruv-Techapps/core-common/actions/runs/4382436008/jobs/7671478287#step:7:178)INFO: Analyzing 112 ucfgs to detect vulnerabilities.
[178](https://github.com/Dhruv-Techapps/core-common/actions/runs/4382436008/jobs/7671478287#step:7:179)INFO: Taint analysis starting. Entrypoints: 28
[179](https://github.com/Dhruv-Techapps/core-common/actions/runs/4382436008/jobs/7671478287#step:7:180)INFO: Running symbolic analysis for 'JS'
[180](https://github.com/Dhruv-Techapps/core-common/actions/runs/4382436008/jobs/7671478287#step:7:181)INFO: Taint analysis: done.
[181](https://github.com/Dhruv-Techapps/core-common/actions/runs/4382436008/jobs/7671478287#step:7:182)INFO: Sensor JsSecuritySensor [security] (done) | time=2230ms
[182](https://github.com/Dhruv-Techapps/core-common/actions/runs/4382436008/jobs/7671478287#step:7:183)INFO: ------------- Run sensors on project
[183](https://github.com/Dhruv-Techapps/core-common/actions/runs/4382436008/jobs/7671478287#step:7:184)INFO: Sensor Analysis Warnings import [csharp]
[184](https://github.com/Dhruv-Techapps/core-common/actions/runs/4382436008/jobs/7671478287#step:7:185)INFO: Sensor Analysis Warnings import [csharp] (done) | time=12ms
[185](https://github.com/Dhruv-Techapps/core-common/actions/runs/4382436008/jobs/7671478287#step:7:186)INFO: Sensor Zero Coverage Sensor
[186](https://github.com/Dhruv-Techapps/core-common/actions/runs/4382436008/jobs/7671478287#step:7:187)INFO: Sensor Zero Coverage Sensor (done) | time=1ms
[187](https://github.com/Dhruv-Techapps/core-common/actions/runs/4382436008/jobs/7671478287#step:7:188)INFO: SCM Publisher SCM provider for this project is: git
[188](https://github.com/Dhruv-Techapps/core-common/actions/runs/4382436008/jobs/7671478287#step:7:189)INFO: SCM Publisher 1 source file to be analyzed
[189](https://github.com/Dhruv-Techapps/core-common/actions/runs/4382436008/jobs/7671478287#step:7:190)WARN: Shallow clone detected, no blame information will be provided. You can convert to non-shallow with 'git fetch --unshallow'.
[190](https://github.com/Dhruv-Techapps/core-common/actions/runs/4382436008/jobs/7671478287#step:7:191)INFO: SCM Publisher 0/1 source files have been analyzed (done) | time=7ms
[191](https://github.com/Dhruv-Techapps/core-common/actions/runs/4382436008/jobs/7671478287#step:7:192)WARN: Missing blame information for the following files:
[192](https://github.com/Dhruv-Techapps/core-common/actions/runs/4382436008/jobs/7671478287#step:7:193)WARN: * package.json
[193](https://github.com/Dhruv-Techapps/core-common/actions/runs/4382436008/jobs/7671478287#step:7:194)WARN: This may lead to missing/broken features in SonarCloud
[194](https://github.com/Dhruv-Techapps/core-common/actions/runs/4382436008/jobs/7671478287#step:7:195)INFO: CPD Executor 14 files had no CPD blocks
[195](https://github.com/Dhruv-Techapps/core-common/actions/runs/4382436008/jobs/7671478287#step:7:196)INFO: CPD Executor Calculating CPD for 13 files
[196](https://github.com/Dhruv-Techapps/core-common/actions/runs/4382436008/jobs/7671478287#step:7:197)INFO: CPD Executor CPD calculation finished (done) | time=12ms
[197](https://github.com/Dhruv-Techapps/core-common/actions/runs/4382436008/jobs/7671478287#step:7:198)INFO: SCM writing changed lines
[198](https://github.com/Dhruv-Techapps/core-common/actions/runs/4382436008/jobs/7671478287#step:7:199)WARN: Could not find ref: master in refs/heads, refs/remotes/upstream or refs/remotes/origin
[199](https://github.com/Dhruv-Techapps/core-common/actions/runs/4382436008/jobs/7671478287#step:7:200)INFO: SCM writing changed lines (done) | time=4ms
[200](https://github.com/Dhruv-Techapps/core-common/actions/runs/4382436008/jobs/7671478287#step:7:201)INFO: Analysis report generated in 165ms, dir size=211 KB
[201](https://github.com/Dhruv-Techapps/core-common/actions/runs/4382436008/jobs/7671478287#step:7:202)INFO: Analysis report compressed in 26ms, zip size=50 KB
[202](https://github.com/Dhruv-Techapps/core-common/actions/runs/4382436008/jobs/7671478287#step:7:203)INFO: Analysis report uploaded in 826ms
[203](https://github.com/Dhruv-Techapps/core-common/actions/runs/4382436008/jobs/7671478287#step:7:204)INFO: ANALYSIS SUCCESSFUL, you can find the results at: https://sonarcloud.io/dashboard?id=Dhruv-Techapps_core-common&pullRequest=29
[204](https://github.com/Dhruv-Techapps/core-common/actions/runs/4382436008/jobs/7671478287#step:7:205)INFO: Note that you will be able to access the updated dashboard once the server has processed the submitted analysis report
[205](https://github.com/Dhruv-Techapps/core-common/actions/runs/4382436008/jobs/7671478287#step:7:206)INFO: More about the report processing at https://sonarcloud.io/api/ce/task?id=AYbKgkIadam2tRoxAnrM
[206](https://github.com/Dhruv-Techapps/core-common/actions/runs/4382436008/jobs/7671478287#step:7:207)INFO: Time spent writing ucfgs 0ms
[207](https://github.com/Dhruv-Techapps/core-common/actions/runs/4382436008/jobs/7671478287#step:7:208)INFO: Analysis total time: 31.969 s
[208](https://github.com/Dhruv-Techapps/core-common/actions/runs/4382436008/jobs/7671478287#step:7:209)INFO: ------------------------------------------------------------------------
[209](https://github.com/Dhruv-Techapps/core-common/actions/runs/4382436008/jobs/7671478287#step:7:210)INFO: EXECUTION SUCCESS
[210](https://github.com/Dhruv-Techapps/core-common/actions/runs/4382436008/jobs/7671478287#step:7:211)INFO: ------------------------------------------------------------------------
[211](https://github.com/Dhruv-Techapps/core-common/actions/runs/4382436008/jobs/7671478287#step:7:212)INFO: Total time: 41.252s
[212](https://github.com/Dhruv-Techapps/core-common/actions/runs/4382436008/jobs/7671478287#step:7:213)INFO: Final Memory: 71M/211M
[213](https://github.com/Dhruv-Techapps/core-common/actions/runs/4382436008/jobs/7671478287#step:7:214)INFO: ------------------------------------------------------------------------
Lena
(Elena Vilchik)
March 20, 2023, 12:14pm
5
Hey,
Thanks for the logs, unfortunately, there is nothing helping us there.
Could you get the debug logs?
Also could you check the content of the coverage file?