- ALM used - Github
- CI system used - Buildkite
- Languages of the repository - Ruby
Hi all
We are having an issue with sonarcloud not reporting the check status back to the github pr. We are running sonar-scanner via Buildkite and everything goes well, the analysis is successful and reported back to sonarcloud however the PR waits for the check indefinitely.
sonar-project.properties
# Organization and project keys are displayed in the right sidebar of the project homepage
sonar.organization=***
sonar.projectKey=***
sonar.host.url=https://sonarcloud.io
# Path is relative to the sonar-project.properties file. Defaults to .
sonar.sources=app/,lib/,db/
sonar.inclusions=**/*.rb
sonar.tests=spec/
sonar.exclusions=app/assets/
sonar.scanner.keepReport=true
sonar.ruby.coverage.reportPaths=coverage/.resultset.json
sonar-scanner cli command
sonar-scanner -X -D sonar.newCode.referenceBranch=${BUILDKITE_PULL_REQUEST_BASE_BRANCH} -D sonar.pullrequest.branch=${BUILDKITE_BRANCH} -D sonar.pullrequest.base=${BUILDKITE_PULL_REQUEST_BASE_BRANCH} -D sonar.pullrequest.key=${BUILDKITE_PULL_REQUEST}
Sonarcloud task json
{"task":{"id":"****","type":"REPORT", "componentId":"****","componentKey":"***","componentName":"***","componentQualifier":"TRK","analysisId":"****","status":"SUCCESS","submittedAt":"2023-08-02T12:59:10+0200","submitterLogin":"****","startedAt":"2023-08-02T12:59:10+0200","executedAt":"2023-08-02T12:59:12+0200","executionTimeMs":2012,"logs":false,"hasScannerContext":true,"organization":"***","pullRequest":"66","warningCount":1,"warnings":[]}}
Github branch protection
Buildkite sonar-scanner logs
10:57:49.139 INFO: Scanner configuration file: /root/.sonar/sonar-scanner-4.7.0.2747-linux/conf/sonar-scanner.properties
10:57:49.140 INFO: Project root configuration file: /app/sonar-project.properties
10:57:49.158 INFO: SonarScanner 4.7.0.2747
10:57:49.158 INFO: Java 11.0.14.1 Eclipse Adoptium (64-bit)
10:57:49.158 INFO: Linux 4.14.275-207.503.amzn2.x86_64 amd64
10:57:49.158 INFO: SONAR_SCANNER_OPTS=-server
10:57:49.253 DEBUG: keyStore is :
10:57:49.253 DEBUG: keyStore type is : pkcs12
10:57:49.253 DEBUG: keyStore provider is :
10:57:49.253 DEBUG: init keystore
10:57:49.253 DEBUG: init keymanager of type SunX509
10:57:49.341 DEBUG: Create: /root/.sonar/cache
10:57:49.342 INFO: User cache: /root/.sonar/cache
10:57:49.342 DEBUG: Create: /root/.sonar/cache/_tmp
10:57:49.344 DEBUG: Extract sonar-scanner-api-batch in temp...
10:57:49.347 DEBUG: Get bootstrap index...
10:57:49.347 DEBUG: Download: https://sonarcloud.io/batch/index
10:57:50.473 DEBUG: Get bootstrap completed
10:57:50.477 DEBUG: Download https://sonarcloud.io/batch/file?name=scanner-sonarcloud-8.0.0.44548-all.jar to /root/.sonar/cache/_tmp/fileCache9895307687395065497.tmp
10:57:59.934 DEBUG: Create isolated classloader...
10:57:59.940 DEBUG: Start temp cleaning...
10:57:59.943 DEBUG: Temp cleaning done
10:57:59.943 INFO: Scanner configuration file: /root/.sonar/sonar-scanner-4.7.0.2747-linux/conf/sonar-scanner.properties
10:57:59.943 INFO: Project root configuration file: /app/sonar-project.properties
10:57:59.944 INFO: Analyzing on SonarCloud
10:57:59.944 INFO: Default locale: "en_US", source code encoding: "US-ASCII" (analysis is platform dependent)
10:57:59.945 DEBUG: Work directory: /app/.scannerwork
10:57:59.946 DEBUG: Execution execute
10:58:00.134 DEBUG: SonarCloud 10.0.0.695
10:58:00.299 INFO: Load global settings
10:58:01.358 DEBUG: GET 200 https://sonarcloud.io/api/settings/values.protobuf | time=1057ms
10:58:01.365 INFO: Load global settings (done) | time=1066ms
10:58:01.368 INFO: Server id: 1BD809FA-AWHW8ct9-T_TB3XqouNu
10:58:01.379 DEBUG: Create : /root/.sonar/_tmp
10:58:01.380 INFO: User cache: /root/.sonar/cache
10:58:01.384 INFO: Load/download plugins
10:58:01.384 INFO: Load plugins index
10:58:02.405 DEBUG: GET 200 https://sonarcloud.io/api/plugins/installed | time=1020ms
10:58:02.431 INFO: Load plugins index (done) | time=1047ms
10:58:02.432 DEBUG: Download plugin 'abap' to'/root/.sonar/_tmp/fileCache16824403869749132298.tmp'
10:58:03.012 DEBUG: GET 200 https://scanner.sonarcloud.io/plugins/abap/versions/e2ac6352745f756c0d99d03270e7ba55.jar.gz | time=580ms
10:58:34.871 DEBUG: Unpacking plugin securitypythonfrontend
10:58:34.980 DEBUG: Download plugin 'xml' to'/root/.sonar/_tmp/fileCache15307363886535526025.tmp'
10:58:35.120 DEBUG: GET 200 https://scanner.sonarcloud.io/plugins/xml/versions/d20c8e3cb94cd6938fad9b45c5688f6a.jar.gz | time=140ms
10:58:35.151 DEBUG: Unpacking plugin xml
10:58:35.367 INFO: Load/download plugins (done) | time=33983ms
10:58:35.603 DEBUG: Plugins:
10:58:35.603 DEBUG: * IaC Code Quality and Security 1.18.0.4757 (iac)
10:58:35.603 DEBUG: * PL/SQL Code Quality and Security 3.9.0.5181 (plsql)
10:58:35.603 DEBUG: * Scala Code Quality and Security 1.13.0.4374 (sonarscala)
10:58:35.603 DEBUG: * C# Code Quality and Security 9.6.0.74858 (csharp)
10:58:35.603 DEBUG: * Vulnerability Analysis 10.2.0-M1.21626 (security)
10:58:35.603 DEBUG: * Java Code Quality and Security 7.22.0.31918 (java)
10:58:35.603 DEBUG: * HTML Code Quality and Security 3.8.0.3510 (web)
10:58:35.603 DEBUG: * Flex Code Quality and Security 2.9.0.3375 (flex)
10:58:35.603 DEBUG: * XML Code Quality and Security 2.9.0.4055 (xml)
10:58:35.603 DEBUG: * Text Code Quality and Security 2.1.0.1163 (text)
10:58:35.603 DEBUG: * VB.NET Code Quality and Security 9.6.0.74858 (vbnet)
10:58:35.603 DEBUG: * Swift Code Quality and Security 4.9.0.5915 (swift)
10:58:35.604 DEBUG: * CFamily Code Quality and Security 6.47.0.62356 (cpp)
10:58:35.604 DEBUG: * Python Code Quality and Security 4.5.0.11949 (python)
10:58:35.604 DEBUG: * Dataflow Bug Detection Rules for Python 1.16.0.4300 (dbdpythonfrontend)
10:58:35.604 DEBUG: * Dataflow Bug Detection 1.16.0.4300 (dbd)
10:58:35.604 DEBUG: * Go Code Quality and Security 1.13.0.4374 (go)
10:58:35.604 DEBUG: * JaCoCo 1.3.0.1538 (jacoco)
10:58:35.604 DEBUG: * Kotlin Code Quality and Security 2.16.0.2832 (kotlin)
10:58:35.604 DEBUG: * Dataflow Bug Detection Rules for Java 1.16.0.4300 (dbdjavafrontend)
10:58:35.604 DEBUG: * T-SQL Code Quality and Security 1.9.0.5692 (tsql)
10:58:35.604 DEBUG: * Apex Code Quality and Security 1.13.0.4374 (sonarapex)
10:58:35.604 DEBUG: * JavaScript/TypeScript/CSS Code Quality and Security 10.3.2.22047 (javascript)
10:58:35.604 DEBUG: * Ruby Code Quality and Security 1.13.0.4374 (ruby)
10:58:35.604 DEBUG: * Vulnerability Rules for C# 10.2.0-M1.21626 (securitycsharpfrontend)
10:58:35.604 DEBUG: * Vulnerability Rules for Java 10.2.0-M1.21626 (securityjavafrontend)
10:58:35.604 DEBUG: * License for SonarLint 8.0.0.44548 (license)
10:58:35.604 DEBUG: * Vulnerability Rules for JS 10.2.0-M1.21626 (securityjsfrontend)
10:58:35.604 DEBUG: * COBOL Code Quality 5.4.0.6318 (cobol)
10:58:35.604 DEBUG: * Vulnerability Rules for Python 10.2.0-M1.21626 (securitypythonfrontend)
10:58:35.604 DEBUG: * PHP Code Quality and Security 3.30.0.9766 (php)
10:58:35.604 DEBUG: * ABAP Code Quality and Security 3.12.0.4303 (abap)
10:58:35.604 DEBUG: * Configuration detection fot Code Quality and Security 1.2.0.267 (config)
10:58:35.604 DEBUG: * Vulnerability Rules for PHP 10.2.0-M1.21626 (securityphpfrontend)
10:58:36.763 DEBUG: GET 200 https://sonarcloud.io/api/server/version | time=1158ms
10:58:36.765 DEBUG: Updated analysis started with a difference of -155 milliseconds
10:58:36.770 DEBUG: Started at Wed Aug 02 10:58:01 UTC 2023
10:58:36.794 INFO: Loaded core extensions: developer-scanner
10:58:36.809 DEBUG: Installed core extension: com.sonarsource.branch.DeveloperScannerCoreExtension@42fcc7e6
10:58:37.188 DEBUG: Could not detect any CI vendor
10:58:37.200 INFO: Load project settings for component key: '****'
10:58:38.384 DEBUG: GET 200 https://sonarcloud.io/api/settings/values.protobuf?component=**** | time=1183ms
10:58:38.385 INFO: Load project settings for component key: '****' (done) | time=1185ms
10:58:38.389 INFO: Process project properties
10:58:38.394 DEBUG: Process project properties (done) | time=5ms
10:58:38.395 INFO: Execute project builders
10:58:38.395 DEBUG: Execute project builder: org.sonar.plugins.csharp.CSharpGlobalProtobufFileProcessor
10:58:38.396 DEBUG: Execute project builder: org.sonar.plugins.vbnet.VbNetGlobalProtobufFileProcessor
10:58:38.396 INFO: Execute project builders (done) | time=1ms
10:58:38.398 INFO: Project key: ****
10:58:38.398 INFO: Base dir: /app
10:58:38.398 INFO: Working dir: /app/.scannerwork
10:58:38.398 DEBUG: Project global encoding: US-ASCII, default locale: en_US
10:58:38.399 DEBUG: Creating module hierarchy
10:58:38.399 DEBUG: Init module '****'
10:58:38.400 DEBUG: Base dir: /app
10:58:38.400 DEBUG: Working dir: /app/.scannerwork
10:58:38.400 DEBUG: Module global encoding: US-ASCII, default locale: en_US
10:58:38.454 INFO: Load project branches
10:58:39.641 DEBUG: GET 200 https://sonarcloud.io/api/project_branches/list?project=**** | time=1186ms
10:58:39.645 INFO: Load project branches (done) | time=1190ms
10:58:39.647 INFO: Check ALM binding of project '****'
10:58:40.815 DEBUG: GET 200 https://sonarcloud.io/api/alm_integration/is_project_bound?project=**** | time=1168ms
10:58:40.817 INFO: Detected project binding: BOUND
10:58:40.817 INFO: Check ALM binding of project '****' (done) | time=1170ms
10:58:40.819 INFO: Load project pull requests
10:58:41.995 DEBUG: GET 200 https://sonarcloud.io/api/project_pull_requests/list?project=**** | time=1176ms
10:58:41.998 INFO: Load project pull requests (done) | time=1179ms
10:58:42.001 INFO: Load branch configuration
10:58:42.002 DEBUG: Found manual configuration of branch/PR analysis. Skipping automatic configuration.
10:58:43.929 DEBUG: GET 200 https://sonarcloud.io/api/alm_integration/show_pullrequest?project=****&pullrequestKey=66 | time=1926ms
10:58:43.931 INFO: Load branch configuration (done) | time=1930ms
10:58:43.954 INFO: Load quality profiles
10:58:45.154 DEBUG: GET 200 https://sonarcloud.io/api/qualityprofiles/search.protobuf?projectKey=****&organization=**** | time=1199ms
10:58:45.168 INFO: Load quality profiles (done) | time=1214ms
10:58:45.172 INFO: Load active rules
10:59:00.412 INFO: Load active rules (done) | time=15240ms
10:59:00.432 WARN: SCM provider autodetection failed. Please use "sonar.scm.provider" to define SCM of your project, or disable the SCM Sensor in the project settings.
10:59:00.436 INFO: Organization key: ****
10:59:00.437 INFO: Pull request 66 for merge into master from sonarcloud3
10:59:00.447 INFO: Load project repositories
10:59:01.718 DEBUG: GET 200 https://sonarcloud.io/batch/project.protobuf?key=****&branch=master | time=1271ms
10:59:01.724 INFO: Load project repositories (done) | time=1277ms
10:59:01.725 DEBUG: SCM information about changed files in the branch is not available
10:59:01.734 DEBUG: Declared extensions of language Terraform were converted to sonar.lang.patterns.terraform : **/*.tf
10:59:01.734 DEBUG: Declared extensions of language CloudFormation were converted to sonar.lang.patterns.cloudformation :
10:59:01.734 DEBUG: Declared extensions of language Kubernetes were converted to sonar.lang.patterns.kubernetes :
10:59:01.734 DEBUG: Declared extensions of language Docker were converted to sonar.lang.patterns.docker :
10:59:01.734 DEBUG: Declared extensions of language AzureResourceManager were converted to sonar.lang.patterns.azureresourcemanager :
10:59:01.735 DEBUG: Declared extensions of language PL/SQL were converted to sonar.lang.patterns.plsql : **/*.sql,**/*.tab,**/*.pkb
10:59:01.735 DEBUG: Declared extensions of language Scala were converted to sonar.lang.patterns.scala : **/*.scala
10:59:01.735 DEBUG: Declared extensions of language C# were converted to sonar.lang.patterns.cs : **/*.cs
10:59:01.735 DEBUG: Declared extensions of language Java were converted to sonar.lang.patterns.java : **/*.java,**/*.jav
10:59:01.735 DEBUG: Declared extensions of language HTML were converted to sonar.lang.patterns.web : **/*.html,**/*.xhtml,**/*.cshtml,**/*.vbhtml,**/*.aspx,**/*.ascx,**/*.rhtml,**/*.erb,**/*.shtm,**/*.shtml,**/*.cmp,**/*.twig
10:59:01.736 DEBUG: Declared extensions of language JSP were converted to sonar.lang.patterns.jsp : **/*.jsp,**/*.jspf,**/*.jspx
10:59:01.736 DEBUG: Declared extensions of language Flex were converted to sonar.lang.patterns.flex : **/*.as
10:59:01.736 DEBUG: Declared extensions of language XML were converted to sonar.lang.patterns.xml : **/*.xml,**/*.xsd,**/*.xsl,**/*.config
10:59:01.736 DEBUG: Declared extensions of language Text were converted to sonar.lang.patterns.text :
10:59:01.736 DEBUG: Declared extensions of language Secrets were converted to sonar.lang.patterns.secrets :
10:59:01.736 DEBUG: Declared extensions of language VB.NET were converted to sonar.lang.patterns.vbnet : **/*.vb
10:59:01.736 DEBUG: Declared extensions of language Swift were converted to sonar.lang.patterns.swift : **/*.swift
10:59:01.737 DEBUG: Declared extensions of language C were converted to sonar.lang.patterns.c : **/*.c,**/*.h
10:59:01.737 DEBUG: Declared extensions of language C++ were converted to sonar.lang.patterns.cpp : **/*.cc,**/*.cpp,**/*.cxx,**/*.c++,**/*.hh,**/*.hpp,**/*.hxx,**/*.h++,**/*.ipp
10:59:01.737 DEBUG: Declared extensions of language Objective-C were converted to sonar.lang.patterns.objc : **/*.m
10:59:01.737 DEBUG: Declared extensions of language Python were converted to sonar.lang.patterns.py : **/*.py
10:59:01.737 DEBUG: Declared extensions of language Go were converted to sonar.lang.patterns.go : **/*.go
10:59:01.737 DEBUG: Declared extensions of language Kotlin were converted to sonar.lang.patterns.kotlin : **/*.kt,**/*.kts
10:59:01.737 DEBUG: Declared extensions of language T-SQL were converted to sonar.lang.patterns.tsql : **/*.tsql
10:59:01.738 DEBUG: Declared extensions of language Apex were converted to sonar.lang.patterns.apex : **/*.cls,**/*.trigger
10:59:01.738 DEBUG: Declared extensions of language JavaScript were converted to sonar.lang.patterns.js : **/*.js,**/*.jsx,**/*.cjs,**/*.mjs,**/*.vue
10:59:01.738 DEBUG: Declared extensions of language TypeScript were converted to sonar.lang.patterns.ts : **/*.ts,**/*.tsx,**/*.cts,**/*.mts
10:59:01.738 DEBUG: Declared extensions of language CSS were converted to sonar.lang.patterns.css : **/*.css,**/*.less,**/*.scss
10:59:01.738 DEBUG: Declared extensions of language Ruby were converted to sonar.lang.patterns.ruby : **/*.rb
10:59:01.738 DEBUG: Declared extensions of language COBOL were converted to sonar.lang.patterns.cobol :
10:59:01.739 DEBUG: Declared extensions of language PHP were converted to sonar.lang.patterns.php : **/*.php,**/*.php3,**/*.php4,**/*.php5,**/*.phtml,**/*.inc
10:59:01.739 DEBUG: Declared extensions of language ABAP were converted to sonar.lang.patterns.abap : **/*.abap,**/*.ab4,**/*.flow,**/*.asprog
10:59:01.739 DEBUG: Declared extensions of language YAML were converted to sonar.lang.patterns.yaml : **/*.yaml,**/*.yml
10:59:01.739 DEBUG: Declared extensions of language JSON were converted to sonar.lang.patterns.json : **/*.json
10:59:01.740 DEBUG: Will ignore generated code
10:59:01.741 DEBUG: Will ignore generated code
10:59:01.753 INFO: Indexing files...
10:59:01.756 INFO: Project configuration:
10:59:01.756 INFO: Included sources: **/*.rb
10:59:01.756 INFO: Excluded sources: **/build-wrapper-dump.json, app/assets/
10:59:01.876 INFO: 131 files indexed
10:59:01.876 INFO: 26 files ignored because of inclusion/exclusion patterns
10:59:01.877 INFO: Quality profile for ruby: Sonar way
10:59:01.877 INFO: Quality profile for yaml: Sonar way
10:59:01.886 DEBUG: Could not detect the node.js version.
10:59:01.886 INFO: ------------- Run sensors on module ****
10:59:01.984 INFO: Load metrics repository
10:59:03.160 DEBUG: GET 200 https://sonarcloud.io/api/metrics/search?f=name,description,direction,qualitative&ps=500&p=1 | time=1174ms
10:59:03.167 INFO: Load metrics repository (done) | time=1183ms
10:59:03.178 INFO: Sensor cache enabled
10:59:03.182 INFO: Load sensor cache
10:59:04.081 DEBUG: GET 200 https://ea6ne4j2sb.execute-api.eu-central-1.amazonaws.com/current/v1/sensor_cache/prepare_read?organization=****&project=****&branch=master | time=897ms
10:59:04.109 INFO: Load sensor cache (404) | time=927ms
10:59:06.053 DEBUG: Added 241 checks for language='ts', repository='typescript'
10:59:06.058 DEBUG: Added 15 checks for language='ts', repository='tssecurity'
10:59:06.060 DEBUG: Added 242 checks for language='js', repository='javascript'
10:59:06.061 DEBUG: Added 15 checks for language='js', repository='jssecurity'
10:59:06.475 DEBUG: 'JavaSensor' skipped because there is no related file in current project
10:59:06.476 DEBUG: 'CobolSquidSensor' skipped because there is no related file in current project
10:59:06.476 DEBUG: 'Import external issues report' skipped because one of the required properties is missing
10:59:06.477 DEBUG: 'IaC Terraform Sensor' skipped because there is no related file in current project
10:59:06.477 DEBUG: 'IaC AzureResourceManager Sensor' skipped because there is no related file in current project
10:59:06.478 DEBUG: 'PL/SQL Sensor' skipped because there is no related file in current project
10:59:06.478 DEBUG: 'Scala Sensor' skipped because there is no related file in current project
10:59:06.478 DEBUG: 'Scoverage sensor for Scala coverage' skipped because there is no related file in current project
10:59:06.479 DEBUG: 'Import of Scalastyle issues' skipped because there is no related file in current project
10:59:06.479 DEBUG: 'Import of Scapegoat issues' skipped because there is no related file in current project
10:59:06.479 DEBUG: 'Import of Checkstyle issues' skipped because there is no related file in current project
10:59:06.480 DEBUG: 'Import of PMD issues' skipped because one of the required properties is missing
10:59:06.480 DEBUG: 'Import of SpotBugs issues' skipped because there is no related file in current project
10:59:06.480 DEBUG: 'SurefireSensor' skipped because there is no related file in current project
10:59:06.480 DEBUG: 'Removed properties sensor' skipped because there is no related file in current project
10:59:06.481 DEBUG: 'Flex' skipped because there is no related file in current project
10:59:06.481 DEBUG: 'Flex Cobertura' skipped because there is no related file in current project
10:59:06.481 DEBUG: 'XML Sensor' skipped because there is no related file in current project
10:59:06.482 DEBUG: 'Swift Code Quality and Security' skipped because there is no related file in current project
10:59:06.482 DEBUG: 'Import of SwiftLint issues' skipped because there is no related file in current project
10:59:06.482 DEBUG: 'gcov' skipped because there is no related file in current project
10:59:06.483 DEBUG: 'llvm-cov' skipped because there is no related file in current project
10:59:06.483 DEBUG: 'cppunit' skipped because there is no related file in current project
10:59:06.483 DEBUG: 'VisualStudioCoverage' skipped because there is no related file in current project
10:59:06.484 DEBUG: 'bullseye' skipped because there is no related file in current project
10:59:06.484 DEBUG: 'cobertura' skipped because there is no related file in current project
10:59:06.484 DEBUG: 'Python Sensor' skipped because there is no related file in current project
10:59:06.484 DEBUG: 'Cobertura Sensor for Python coverage' skipped because there is no related file in current project
10:59:06.484 DEBUG: 'PythonXUnitSensor' skipped because there is no related file in current project
10:59:06.485 DEBUG: 'Import of Pylint issues' skipped because there is no related file in current project
10:59:06.485 DEBUG: 'Import of Bandit issues' skipped because there is no related file in current project
10:59:06.485 DEBUG: 'Import of Flake8 issues' skipped because there is no related file in current project
10:59:06.485 DEBUG: 'Import of Mypy issues' skipped because there is no related file in current project
10:59:06.486 DEBUG: 'Code Quality and Security for Go' skipped because there is no related file in current project
10:59:06.486 DEBUG: 'Go Unit Test Report' skipped because there is no related file in current project
10:59:06.486 DEBUG: 'Go Cover sensor for Go coverage' skipped because one of the required properties is missing
10:59:06.487 DEBUG: 'Import of go vet issues' skipped because there is no related file in current project
10:59:06.487 DEBUG: 'Import of Golint issues' skipped because there is no related file in current project
10:59:06.487 DEBUG: 'Import of GoMetaLinter issues' skipped because there is no related file in current project
10:59:06.487 DEBUG: 'Import of GolangCI-Lint issues' skipped because there is no related file in current project
10:59:06.487 DEBUG: 'Kotlin Sensor' skipped because there is no related file in current project
10:59:06.487 DEBUG: 'KotlinSurefireSensor' skipped because there is no related file in current project
10:59:06.488 DEBUG: 'Import of detekt issues' skipped because there is no related file in current project
10:59:06.488 DEBUG: 'Import of Android Lint issues' skipped because one of the required properties is missing
10:59:06.488 DEBUG: 'Import of ktlint issues' skipped because there is no related file in current project
10:59:06.488 DEBUG: 'T-SQL Sensor' skipped because there is no related file in current project
10:59:06.488 DEBUG: 'Apex Sensor' skipped because there is no related file in current project
10:59:06.489 DEBUG: 'Test coverage Sensor for Apex' skipped because there is no related file in current project
10:59:06.489 DEBUG: 'Import of PMD issues' skipped because there is no related file in current project
10:59:06.489 DEBUG: 'JavaScript/TypeScript analysis' skipped because there is no related file in current project
10:59:06.489 DEBUG: 'JavaScript inside HTML analysis' skipped because there is no related file in current project
10:59:06.490 DEBUG: 'JavaScript/TypeScript Coverage' skipped because there is no related file in current project
10:59:06.490 DEBUG: 'Import of ESLint issues' skipped because one of the required properties is missing
10:59:06.490 DEBUG: 'Import of TSLint issues' skipped because one of the required properties is missing
10:59:06.490 DEBUG: 'CSS Metrics' skipped because there is no related file in current project
10:59:06.490 DEBUG: 'Import of stylelint issues' skipped because there is no related file in current project
10:59:06.491 DEBUG: 'Import of RuboCop issues' skipped because one of the required properties is missing
10:59:06.491 DEBUG: 'Python HTML templates processing' skipped because there is no related file in current project
10:59:06.491 DEBUG: 'PHP sensor' skipped because there is no related file in current project
10:59:06.491 DEBUG: 'Analyzer for "php.ini" files' skipped because there is no related file in current project
10:59:06.491 DEBUG: 'PHPUnit report sensor' skipped because there is no related file in current project
10:59:06.492 DEBUG: 'Import of PHPStan issues' skipped because there is no related file in current project
10:59:06.492 DEBUG: 'Import of Psalm issues' skipped because there is no related file in current project
10:59:06.492 DEBUG: 'AbapSquidSensor' skipped because there is no related file in current project
10:59:06.500 DEBUG: 'Generic Coverage Report' skipped because one of the required properties is missing
10:59:06.500 DEBUG: 'Generic Test Executions Report' skipped because one of the required properties is missing
10:59:06.501 DEBUG: 'CFamily' skipped because there is no related file in current project
10:59:06.501 DEBUG: Sensors : IaC CloudFormation Sensor -> IaC Kubernetes Sensor -> C# Project Type Information -> C# Analysis Log -> C# Properties -> HTML -> TextAndSecretsSensor -> VB.NET Project Type Information -> VB.NET Analysis Log -> VB.NET Properties -> JaCoCo XML Report Importer -> JavaScript inside YAML analysis -> CSS Rules -> Ruby Sensor -> SimpleCov Sensor for Ruby coverage -> ThymeLeaf template sensor -> IaC Docker Sensor -> Serverless configuration file sensor -> AWS SAM template file sensor -> AWS SAM Inline template file sensor -> javabugs -> pythonbugs -> JavaSecuritySensor -> CSharpSecuritySensor -> PhpSecuritySensor -> PythonSecuritySensor -> JsSecuritySensor
10:59:06.502 INFO: Sensor IaC CloudFormation Sensor [iac]
10:59:06.513 INFO: 0 source files to be analyzed
10:59:06.543 INFO: 0/0 source files have been analyzed
10:59:06.543 INFO: Sensor IaC CloudFormation Sensor [iac] (done) | time=41ms
10:59:06.544 INFO: Sensor IaC Kubernetes Sensor [iac]
10:59:06.552 INFO: 0 source files to be analyzed
10:59:06.552 INFO: 0/0 source files have been analyzed
10:59:06.552 INFO: Sensor IaC Kubernetes Sensor [iac] (done) | time=8ms
10:59:06.552 INFO: Sensor C# Project Type Information [csharp]
10:59:06.553 INFO: Sensor C# Project Type Information [csharp] (done) | time=1ms
10:59:06.554 INFO: Sensor C# Analysis Log [csharp]
10:59:06.568 INFO: Sensor C# Analysis Log [csharp] (done) | time=14ms
10:59:06.568 INFO: Sensor C# Properties [csharp]
10:59:06.568 DEBUG: Project '****': No Roslyn issues reports have been found.
10:59:06.568 INFO: Sensor C# Properties [csharp] (done) | time=0ms
10:59:06.569 INFO: Sensor HTML [web]
10:59:06.569 INFO: Sensor HTML is restricted to changed files only
10:59:06.572 INFO: Sensor HTML [web] (done) | time=3ms
10:59:06.573 INFO: Sensor TextAndSecretsSensor [text]
10:59:06.573 INFO: Sensor TextAndSecretsSensor is restricted to changed files only
10:59:06.675 INFO: 1 source file to be analyzed
10:59:06.686 INFO: 1/1 source file has been analyzed
10:59:06.686 INFO: Sensor TextAndSecretsSensor [text] (done) | time=113ms
10:59:06.687 INFO: Sensor VB.NET Project Type Information [vbnet]
10:59:06.688 INFO: Sensor VB.NET Project Type Information [vbnet] (done) | time=1ms
10:59:06.688 INFO: Sensor VB.NET Analysis Log [vbnet]
10:59:06.699 INFO: Sensor VB.NET Analysis Log [vbnet] (done) | time=11ms
10:59:06.700 INFO: Sensor VB.NET Properties [vbnet]
10:59:06.700 DEBUG: Project '****': No Roslyn issues reports have been found.
10:59:06.700 INFO: Sensor VB.NET Properties [vbnet] (done) | time=0ms
10:59:06.700 INFO: Sensor JaCoCo XML Report Importer [jacoco]
10:59:06.701 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
10:59:06.702 INFO: No report imported, no coverage information will be imported by JaCoCo XML Report Importer
10:59:06.702 INFO: Sensor JaCoCo XML Report Importer [jacoco] (done) | time=2ms
10:59:06.702 INFO: Sensor JavaScript inside YAML analysis [javascript]
10:59:06.708 INFO: No input files found for analysis
10:59:06.708 INFO: Hit the cache for 0 out of 0
10:59:06.710 INFO: Miss the cache for 0 out of 0
10:59:06.710 INFO: Sensor JavaScript inside YAML analysis [javascript] (done) | time=8ms
10:59:06.710 INFO: Sensor CSS Rules [javascript]
10:59:06.710 INFO: Sensor CSS Rules is restricted to changed files only
10:59:06.711 INFO: No CSS, PHP, HTML or VueJS files are found in the project. CSS analysis is skipped.
10:59:06.711 INFO: Sensor CSS Rules [javascript] (done) | time=1ms
10:59:06.711 INFO: Sensor Ruby Sensor [ruby]
10:59:06.711 INFO: Sensor Ruby Sensor is restricted to changed files only
10:59:06.716 INFO: 1 source file to be analyzed
10:59:09.881 INFO: 1/1 source file has been analyzed
10:59:09.883 INFO: Sensor Ruby Sensor [ruby] (done) | time=3171ms
10:59:09.883 INFO: Sensor SimpleCov Sensor for Ruby coverage [ruby]
10:59:09.893 WARN: Importing SimpleCov resultset JSON will not be supported from simplecov 18.0. Consider using the JSON formatter, available from SimpleCov 20.0
10:59:09.921 INFO: Sensor SimpleCov Sensor for Ruby coverage [ruby] (done) | time=38ms
10:59:09.921 INFO: Sensor ThymeLeaf template sensor [securityjavafrontend]
10:59:09.922 INFO: Sensor ThymeLeaf template sensor [securityjavafrontend] (done) | time=1ms
10:59:09.922 INFO: Sensor IaC Docker Sensor [iac]
10:59:09.922 INFO: Sensor IaC Docker Sensor is restricted to changed files only
10:59:09.928 INFO: 0 source files to be analyzed
10:59:09.998 INFO: 0/0 source files have been analyzed
10:59:09.998 INFO: Sensor IaC Docker Sensor [iac] (done) | time=76ms
10:59:09.999 INFO: Sensor Serverless configuration file sensor [security]
10:59:10.000 INFO: 0 Serverless function entries were found in the project
10:59:10.003 INFO: 0 Serverless function handlers were kept as entrypoints
10:59:10.004 INFO: Sensor Serverless configuration file sensor [security] (done) | time=5ms
10:59:10.004 INFO: Sensor AWS SAM template file sensor [security]
10:59:10.009 DEBUG: 0 SAM template configuration files were found in the project. 0 SAM function entries were found in total. 0 were kept as potential entrypoints.
10:59:10.009 INFO: Sensor AWS SAM template file sensor [security] (done) | time=5ms
10:59:10.009 INFO: Sensor AWS SAM Inline template file sensor [security]
10:59:10.012 DEBUG: 0 SAM Inline template configuration files were found in the project. 0 SAM Inline function entries were found in total. 0 were kept as potential entrypoints.
10:59:10.012 INFO: Sensor AWS SAM Inline template file sensor [security] (done) | time=3ms
10:59:10.012 INFO: Sensor javabugs [dbd]
10:59:10.013 DEBUG: Could not load type definitions from /app/.scannerwork/ir/java/collected.typedefs: /app/.scannerwork/ir/java/collected.typedefs (No such file or directory)
10:59:10.014 INFO: Reading IR files from: /app/.scannerwork/ir/java
10:59:10.014 INFO: No IR files have been included for analysis.
10:59:10.014 INFO: Sensor javabugs [dbd] (done) | time=2ms
10:59:10.014 INFO: Sensor pythonbugs [dbd]
10:59:10.014 DEBUG: Could not load type definitions from /app/.scannerwork/ir/python/collected.typedefs: /app/.scannerwork/ir/python/collected.typedefs (No such file or directory)
10:59:10.015 INFO: Reading IR files from: /app/.scannerwork/ir/python
10:59:10.015 INFO: No IR files have been included for analysis.
10:59:10.015 INFO: Sensor pythonbugs [dbd] (done) | time=1ms
10:59:10.015 INFO: Sensor JavaSecuritySensor [security]
10:59:10.017 INFO: Reading type hierarchy from: /app/.scannerwork/ucfg2/java
10:59:10.017 INFO: Read 0 type definitions
10:59:10.019 INFO: No UCFGs have been included for analysis.
10:59:10.019 INFO: Sensor JavaSecuritySensor [security] (done) | time=4ms
10:59:10.019 INFO: Sensor CSharpSecuritySensor [security]
10:59:10.019 INFO: Reading type hierarchy from: /app/ucfg_cs2
10:59:10.019 INFO: Read 0 type definitions
10:59:10.019 INFO: No UCFGs have been included for analysis.
10:59:10.019 INFO: Sensor CSharpSecuritySensor [security] (done) | time=0ms
10:59:10.020 INFO: Sensor PhpSecuritySensor [security]
10:59:10.020 INFO: Reading type hierarchy from: /app/.scannerwork/ucfg2/php
10:59:10.020 INFO: Read 0 type definitions
10:59:10.020 INFO: No UCFGs have been included for analysis.
10:59:10.020 INFO: Sensor PhpSecuritySensor [security] (done) | time=0ms
10:59:10.020 INFO: Sensor PythonSecuritySensor [security]
10:59:10.020 INFO: Reading type hierarchy from: /app/.scannerwork/ucfg2/python
10:59:10.020 INFO: Read 0 type definitions
10:59:10.020 INFO: No UCFGs have been included for analysis.
10:59:10.020 INFO: Sensor PythonSecuritySensor [security] (done) | time=0ms
10:59:10.020 INFO: Sensor JsSecuritySensor [security]
10:59:10.020 INFO: Reading type hierarchy from: /app/.scannerwork/ucfg2/js
10:59:10.020 INFO: Read 0 type definitions
10:59:10.020 INFO: No UCFGs have been included for analysis.
10:59:10.020 INFO: Sensor JsSecuritySensor [security] (done) | time=0ms
10:59:10.023 INFO: ------------- Run sensors on project
10:59:10.054 DEBUG: 'C#' skipped because there is no related file in current project
10:59:10.055 DEBUG: 'C# File Caching Sensor' skipped because there is no related file in current project
10:59:10.055 DEBUG: 'C# Tests Coverage Report Import' skipped because there is no related file in current project
10:59:10.055 DEBUG: '[Deprecated] C# Integration Tests Coverage Report Import' skipped because there is no related file in current project
10:59:10.056 DEBUG: 'C# Unit Test Results Import' skipped because there is no related file in current project
10:59:10.056 DEBUG: 'VB.NET' skipped because there is no related file in current project
10:59:10.056 DEBUG: 'VB.NET File Caching Sensor' skipped because there is no related file in current project
10:59:10.057 DEBUG: 'VB.NET Tests Coverage Report Import' skipped because there is no related file in current project
10:59:10.057 DEBUG: '[Deprecated] VB.NET Integration Tests Coverage Report Import' skipped because there is no related file in current project
10:59:10.058 DEBUG: 'VB.NET Unit Test Results Import' skipped because there is no related file in current project
10:59:10.058 DEBUG: 'Java CPD Block Indexer' skipped because there is no related file in current project
10:59:10.058 DEBUG: Sensors : Analysis Warnings import -> Zero Coverage Sensor
10:59:10.058 INFO: Sensor Analysis Warnings import [csharp]
10:59:10.059 INFO: Sensor Analysis Warnings import [csharp] (done) | time=1ms
10:59:10.060 INFO: Sensor Zero Coverage Sensor
10:59:10.061 INFO: Sensor Zero Coverage Sensor (done) | time=1ms
10:59:10.062 INFO: SCM Publisher No SCM system was detected. You can use the 'sonar.scm.provider' property to explicitly specify it.
10:59:10.065 INFO: CPD Executor Calculating CPD for 1 file
10:59:10.068 DEBUG: Detection of duplications for /app/app/services/bad_klass.rb
10:59:10.077 INFO: CPD Executor CPD calculation finished (done) | time=9ms
10:59:10.150 DEBUG: Could not detect the dotnet / msbuild version
10:59:10.211 INFO: Analysis report generated in 131ms, dir size=246 KB
10:59:10.261 INFO: Analysis report compressed in 49ms, zip size=83 KB
10:59:10.261 INFO: Analysis report generated in /app/.scannerwork/scanner-report
10:59:10.261 DEBUG: Upload report
10:59:10.858 DEBUG: POST 200 https://sonarcloud.io/api/ce/submit?organization=****&projectKey=****&characteristic=pullRequest%3D66 | time=596ms
10:59:10.860 INFO: Analysis report uploaded in 599ms
10:59:10.862 DEBUG: Report metadata written to /app/.scannerwork/report-task.txt
10:59:10.862 INFO: ANALYSIS SUCCESSFUL, you can find the results at: https://sonarcloud.io/dashboard?id=****&pullRequest=66
10:59:10.862 INFO: Note that you will be able to access the updated dashboard once the server has processed the submitted analysis report
10:59:10.862 INFO: More about the report processing at https://sonarcloud.io/api/ce/task?id=***
10:59:10.864 DEBUG: Post-jobs :
10:59:10.865 INFO: Analysis total time: 34.071 s
10:59:10.867 INFO: ------------------------------------------------------------------------
10:59:10.867 INFO: EXECUTION SUCCESS
10:59:10.867 INFO: ------------------------------------------------------------------------
10:59:10.867 INFO: Total time: 1:21.741s
10:59:10.946 INFO: Final Memory: 57M/197M
10:59:10.946 INFO: ------------------------------------------------------------------------
