Xcode Cloud Workflow with code coverage and SonarCloud analysis

Much of the way I implemented is shown in this forum thread
https://forums.developer.apple.com/forums/thread/733624

which versions are you using (SonarQube, Scanner, Plugin, and any relevant extension): It’s done using brew install in an xcode cloud pipeline, so the last version
how is SonarQube deployed: xcode cloud workflow with command brew install in post_clone and sonar-scanner script in post_xcodebuild
what are you trying to achieve: My sonar-cloud project to have an updated analysis report uploaded. It still shows the last review as 10 months ago
what have you tried so far to achieve this: Checked logs, permissions.

Additional information: this project was created using a bitbucket pipeline and I am switching it to xcode cloud workflow. Therefore the project is still connected via bitbucket (shouldn’t be relevant).

I run sonar-scanner with the following script

sonar-scanner -X \
   -Dsonar.login=$SONAR_TOKEN -Dsonar.organization=xxx -Dsonar.projectKey=xxx -Dsonar.projectVersion=${APP_VERSION}

Prior in the logs is the coverage data but here is the successful running. You can see I am finally getting a successful 200 response and that the . The link to https://sonarcloud.io/api/ce/task?id=AZACbMxrXG1IOIaomRMD shows

{“errors”:[{“msg”:“Project doesn\u0027t exist”}]}

06:53:21.716 INFO  Analysis report generated in /Volumes/workspace/repository/.scannerwork/scanner-report
06:53:21.716 DEBUG Upload report
06:53:21.720 DEBUG --> POST https://sonarcloud.io/api/ce/submit?organization=xxx&projectKey=xxx (3488028-byte body)
06:53:22.963 DEBUG <-- 200 https://sonarcloud.io/api/ce/submit?organization=xxx&projectKey=xxx (1241ms, 44-byte body)
06:53:22.965 INFO  Analysis report uploaded in 1250ms
06:53:22.968 DEBUG Report metadata written to /Volumes/workspace/repository/.scannerwork/report-task.txt
06:53:22.968 INFO  ANALYSIS SUCCESSFUL, you can find the results at: https://sonarcloud.io/dashboard?id=xxx
06:53:22.968 INFO  Note that you will be able to access the updated dashboard once the server has processed the submitted analysis report
06:53:22.968 INFO  More about the report processing at https://sonarcloud.io/api/ce/task?id=AZACbMxrXG1IOIaomRMD
06:53:22.968 DEBUG Sensor cache is empty, skipping publication.
06:53:22.970 DEBUG Post-jobs : 
06:53:22.972 INFO  Analysis total time: 53.610 s
06:53:22.973 INFO  SonarScanner Engine completed successfully

Hi,

You’ve mixed SonarQube and SonarCloud freely here in your post. Based on your log snippet, I’m assuming you’re analyzing on SonarCloud, so I’ve moved your thread to that category

How often does your pipeline run? Given that your analysis log snippet ends with SUCCESSFUL, perhaps the problem is just that your pipeline isn’t firing?

This looks like a permissions problem. Are you logged in to SonarCloud?

 
Ann

Thanks Ann, yes sonarcloud.
The previous pipeline was via bitbucket (run 10 months ago). This is a new cid/cd flow via xcode cloud workflow. The pipeline is now running on pushes to dev/prod and anytime there is an update to the feature/workflow-with-sonar branch. I am trying to do both code coverage and code analysis.

There shouldn’t be a permission issue in the upload - I was having issues before because I wasn’t using an admin token and was getting back a 403 response. Now I am getting a successful upload response. Below is the full code

ci_scripts/ci_post_clone.sh

brew install sonar-scanner
cd /Volumes/workspace/repository/ios

ci_scripts/ci_post_xcodebuild.sh

xcodebuild \
    -project "$PROJECT_NAME" \
    -destination 'platform=iOS Simulator,name=iPhone 15,OS=latest' \
    -scheme "$SCHEME" \
    -derivedDataPath DerivedData/ \
    -enableCodeCoverage YES \
    -resultBundlePath DerivedData/Logs/Test/ResultBundle.xcresult \
    clean build test

  # find profdata and binary
PROFDATA=$(find . -name "Coverage.profdata")
BINARY=$(find . -path "$BINARY_PATH")

  # check if we have profdata file
 if [[ -z $PROFDATA ]]; then
     echo "ERROR: Unable to find Coverage.profdata. Be sure to execute tests before running this script."
     exit 1
 fi
  
  # extract coverage data from project using xcode native tool
 xcrun --run llvm-cov show -instr-profile="${PROFDATA}" "${BINARY}" > sonarqube-coverage.report
  # run sonar scanner and upload coverage data with the current app version
 sonar-scanner -X \
   -Dsonar.login=$SONAR_TOKEN -Dsonar.organization=xxx -Dsonar.projectKey=xxx -Dsonar.projectVersion=${APP_VERSION}

You would expect based off of the successful upload that I would see a new code analysis and code coverage. Could it be because I am doing this anaylsis on a branch that isn’t dev or prod and doesn’t have a PR to dev or prod? This is a workflow that is being done from feature/workflow-with-sonar, so maybe I need to add that branch as one that accepts analysis? Not sure if any of this makes sense :blush:


Hi,

Can we have the full analysis log?

The analysis / scanner log is what’s output from the analysis command. Hopefully, the log you provide - redacted as necessary - will include that command as well.

This guide will help you find them.

 
Thx,
Ann

I didn’t include all of the lines that were debugs for detection of duplications or warns from the actual analysis. I think this would be what you want though. Thanks!

06:52:15.056 INFO  Scanner configuration file: /usr/local/Cellar/sonar-scanner/6.0.0.4432/libexec/conf/sonar-scanner.properties
06:52:15.062 INFO  Project root configuration file: NONE
06:52:15.082 INFO  SonarScanner CLI 6.0.0.4432
06:52:15.084 INFO  Java 22.0.1 Homebrew (64-bit)
06:52:15.089 INFO  Mac OS X 14.5 x86_64
06:52:15.098 DEBUG Scanner max available memory: 8 GB
06:52:15.144 DEBUG uname -m returned 'x86_64'
06:52:15.146 DEBUG Create: /Users/local/.sonar/cache
06:52:15.148 INFO  User cache: /Users/local/.sonar/cache
06:52:15.148 DEBUG Create: /Users/local/.sonar/cache/_tmp
06:52:15.413 DEBUG Successfully loaded KeyStore of the type [KeychainStore] having [3] entries
06:52:15.847 DEBUG Loaded [164] system trusted certificates
06:52:16.017 INFO  JRE provisioning: os[macos], arch[x86_64]
06:52:16.047 DEBUG --> GET https://api.sonarcloud.io/analysis/jres?os=macos&arch=x86_64
06:52:17.047 DEBUG <-- 200 https://api.sonarcloud.io/analysis/jres?os=macos&arch=x86_64 (998ms, 479-byte body)
06:52:17.112 DEBUG Download https://scanner.sonarcloud.io/jres/OpenJDK17U-jre_x64_mac_hotspot_17.0.11_9.tar.gz to /Users/local/.sonar/cache/_tmp/fileCache2530735427197947664.tmp
06:52:17.113 DEBUG --> GET https://scanner.sonarcloud.io/jres/OpenJDK17U-jre_x64_mac_hotspot_17.0.11_9.tar.gz
06:52:17.368 DEBUG <-- 200 https://scanner.sonarcloud.io/jres/OpenJDK17U-jre_x64_mac_hotspot_17.0.11_9.tar.gz (255ms, 37809734-byte body)
06:52:22.895 DEBUG Executing: /Users/local/.sonar/cache/232c40bebd6ddbb673862e86e7e6e09bcfe399e5a53c8a6b77bf1ceab8edefd0/OpenJDK17U-jre_x64_mac_hotspot_17.0.11_9.tar.gz_unzip/jdk-17.0.11+9-jre/Contents/Home/bin/java --version
06:52:23.935 DEBUG openjdk 17.0.11 2024-04-16
06:52:23.935 DEBUG OpenJDK Runtime Environment Temurin-17.0.11+9 (build 17.0.11+9)
06:52:23.935 DEBUG OpenJDK 64-Bit Server VM Temurin-17.0.11+9 (build 17.0.11+9, mixed mode)
06:52:23.940 DEBUG --> GET https://api.sonarcloud.io/analysis/engine
06:52:24.152 DEBUG <-- 200 https://api.sonarcloud.io/analysis/engine (212ms, 286-byte body)
06:52:24.155 DEBUG Download https://scanner.sonarcloud.io/engines/scanner-sonarcloud-8.0.0.55018-all.jar to /Users/local/.sonar/cache/_tmp/fileCache11275756456991185709.tmp
06:52:24.156 DEBUG --> GET https://scanner.sonarcloud.io/engines/scanner-sonarcloud-8.0.0.55018-all.jar
06:52:24.172 DEBUG <-- 200 https://scanner.sonarcloud.io/engines/scanner-sonarcloud-8.0.0.55018-all.jar (16ms, 53066381-byte body)
06:52:25.204 INFO  Communicating with SonarCloud
06:52:25.205 DEBUG Work directory: /Volumes/workspace/repository/.scannerwork
06:52:25.213 DEBUG Executing: /Users/local/.sonar/cache/232c40bebd6ddbb673862e86e7e6e09bcfe399e5a53c8a6b77bf1ceab8edefd0/OpenJDK17U-jre_x64_mac_hotspot_17.0.11_9.tar.gz_unzip/jdk-17.0.11+9-jre/Contents/Home/bin/java -jar /Users/local/.sonar/cache/d1af334a9ef4958cb593a25399189bc589971da3da25cdf9c5c45723c32d42ca/scanner-sonarcloud-8.0.0.55018-all.jar
06:52:25.738 INFO  Starting SonarScanner Engine...
06:52:25.738 INFO  Java 17.0.11 Eclipse Adoptium (64-bit)
06:52:25.787 DEBUG JVM max available memory: 8 GB
06:52:25.929 DEBUG SonarCloud 10.6.0.2114
06:52:26.109 DEBUG Sonar User Home: /Users/local/.sonar
06:52:26.109 DEBUG Initialize DefaultScannerWsClient
06:52:26.373 DEBUG Successfully loaded KeyStore of the type [KeychainStore] having [3] entries
06:52:26.599 DEBUG Loaded [164] system trusted certificates
06:52:26.779 INFO  Load global settings
06:52:26.791 DEBUG --> GET https://sonarcloud.io/api/settings/values.protobuf
06:52:27.352 DEBUG <-- 200 https://sonarcloud.io/api/settings/values.protobuf (560ms, unknown-length body)
06:52:27.362 INFO  Load global settings (done) | time=583ms
06:52:27.366 INFO  Server id: 1BD809FA-AWHW8ct9-T_TB3XqouNu
06:52:27.367 DEBUG Initialize DownloadPluginsScannerWsClient
06:52:27.381 DEBUG Successfully loaded KeyStore of the type [KeychainStore] having [3] entries
06:52:27.564 DEBUG Loaded [164] system trusted certificates
06:52:27.569 DEBUG Create : /Users/local/.sonar/_tmp
06:52:27.569 DEBUG User cache: /Users/local/.sonar/cache
06:52:27.577 INFO  Loading required plugins
06:52:27.578 INFO  Load plugins index
06:52:27.578 DEBUG --> GET https://sonarcloud.io/api/plugins/installed
06:52:27.858 DEBUG <-- 200 https://sonarcloud.io/api/plugins/installed (279ms, unknown-length body)
06:52:27.867 INFO  Load plugins index (done) | time=289ms
06:52:27.867 INFO  Load/download plugins
06:52:27.867 DEBUG Download plugin 'iac' to '/Users/local/.sonar/_tmp/fileCache8508588716540319773.tmp'
06:52:27.868 DEBUG --> GET https://scanner.sonarcloud.io/plugins/iac/versions/4c1ba133faafe387cc5e45cbad7dd248.jar
06:52:27.932 DEBUG <-- 200 https://scanner.sonarcloud.io/plugins/iac/versions/4c1ba133faafe387cc5e45cbad7dd248.jar (63ms, 17289100-byte body)
06:52:28.452 DEBUG Download plugin 'jacoco' to '/Users/local/.sonar/_tmp/fileCache8989561770606489079.tmp'
06:52:28.453 DEBUG --> GET https://scanner.sonarcloud.io/plugins/jacoco/versions/04bba36a445c3713a632aa358be2f99c.jar
06:52:28.467 DEBUG <-- 200 https://scanner.sonarcloud.io/plugins/jacoco/versions/04bba36a445c3713a632aa358be2f99c.jar (14ms, 23258-byte body)
06:52:28.573 DEBUG Download plugin 'license' to '/Users/local/.sonar/_tmp/fileCache11509091446116733734.tmp'
06:52:28.573 DEBUG --> GET https://scanner.sonarcloud.io/plugins/license/versions/53935a13978f4898298fe04e6d1a9d0d.jar
06:52:28.591 DEBUG <-- 200 https://scanner.sonarcloud.io/plugins/license/versions/53935a13978f4898298fe04e6d1a9d0d.jar (18ms, 15024-byte body)
06:52:28.594 DEBUG Download plugin 'python' to '/Users/local/.sonar/_tmp/fileCache269785936122890110.tmp'
06:52:28.594 DEBUG --> GET https://scanner.sonarcloud.io/plugins/python/versions/8ed77d553d52e3c4a37d9122887e419f.jar
06:52:28.611 DEBUG <-- 200 https://scanner.sonarcloud.io/plugins/python/versions/8ed77d553d52e3c4a37d9122887e419f.jar (16ms, 14274281-byte body)
06:52:28.868 DEBUG Download plugin 'text' to '/Users/local/.sonar/_tmp/fileCache6795169160552778072.tmp'
06:52:28.868 DEBUG --> GET https://scanner.sonarcloud.io/plugins/text/versions/7c2ce90b3065bfaf5d55dd3ea4deca5e.jar
06:52:28.883 DEBUG <-- 200 https://scanner.sonarcloud.io/plugins/text/versions/7c2ce90b3065bfaf5d55dd3ea4deca5e.jar (15ms, 6666691-byte body)
06:52:28.979 DEBUG Download plugin 'xml' to '/Users/local/.sonar/_tmp/fileCache16525723713986619110.tmp'
06:52:28.979 DEBUG --> GET https://scanner.sonarcloud.io/plugins/xml/versions/dc7530956473c81946456a4a3587ff22.jar
06:52:28.993 DEBUG <-- 200 https://scanner.sonarcloud.io/plugins/xml/versions/dc7530956473c81946456a4a3587ff22.jar (14ms, 2507592-byte body)
06:52:29.132 INFO  Load/download plugins (done) | time=1265ms
06:52:29.133 DEBUG Plugins not loaded because they are optional: [abap, sonarapex, csharp, cpp, cobol, dbd, dbdjavafrontend, dbdpythonfrontend, flex, go, web, java, javascript, kotlin, php, pli, plsql, rpg, ruby, sonarscala, swift, tsql, vbnet, vb, security, securitycsharpfrontend, securityjsfrontend, securityjavafrontend, securityphpfrontend, securitypythonfrontend]
06:52:29.176 DEBUG Plugins loaded:
06:52:29.177 DEBUG   * License for SonarLint 8.0.0.55018 (license)
06:52:29.177 DEBUG   * Python Code Quality and Security 4.18.0.15334 (python)
06:52:29.177 DEBUG   * XML Code Quality and Security 2.10.0.4108 (xml)
06:52:29.177 DEBUG   * JaCoCo 1.3.0.1538 (jacoco)
06:52:29.178 DEBUG   * IaC Code Quality and Security 1.31.0.10579 (iac)
06:52:29.178 DEBUG   * Text Code Quality and Security 2.10.0.2188 (text)
06:52:29.178 DEBUG --> GET https://sonarcloud.io/api/server/version
06:52:29.349 DEBUG <-- 200 https://sonarcloud.io/api/server/version (173ms, 11-byte body)
06:52:29.352 DEBUG Updated analysis started with a difference of 444 milliseconds
06:52:29.359 DEBUG Started at Mon Jun 10 06:52:28 PDT 2024
06:52:29.537 DEBUG register org.eclipse.jgit.util.FS$FileStoreAttributes$$Lambda$286/0x0000000800367aa8@557eb543 with shutdown hook
06:52:29.561 DEBUG Could not detect any CI vendor
06:52:29.571 INFO  Load project settings for component key: 'xxx'
06:52:29.572 DEBUG --> GET https://sonarcloud.io/api/settings/values.protobuf?component=xxx
06:52:30.068 DEBUG <-- 200 https://sonarcloud.io/api/settings/values.protobuf?component=xxx (498ms, unknown-length body)
06:52:30.070 INFO  Load project settings for component key: 'xxx' (done) | time=501ms
06:52:30.075 INFO  Process project properties
06:52:30.076 DEBUG Process project properties (done) | time=0ms
06:52:30.078 INFO  Project key: xxx
06:52:30.078 INFO  Base dir: /Volumes/workspace/repository
06:52:30.078 INFO  Working dir: /Volumes/workspace/repository/.scannerwork
06:52:30.079 DEBUG Project global encoding: UTF-8, default locale: en_US
06:52:30.080 DEBUG Creating module hierarchy
06:52:30.080 DEBUG   Init module 'xxx'
06:52:30.081 DEBUG     Base dir: /Volumes/workspace/repository
06:52:30.081 DEBUG     Working dir: /Volumes/workspace/repository/.scannerwork
06:52:30.082 DEBUG     Module global encoding: UTF-8, default locale: en_US
06:52:30.084 INFO  Load project branches
06:52:30.085 DEBUG --> GET https://sonarcloud.io/api/project_branches/list?project=xxx
06:52:30.589 DEBUG <-- 200 https://sonarcloud.io/api/project_branches/list?project=xxx (503ms, unknown-length body)
06:52:30.594 INFO  Load project branches (done) | time=509ms
06:52:30.597 INFO  Check ALM binding of project 'xxx'
06:52:30.598 DEBUG --> GET https://sonarcloud.io/api/alm_integration/is_project_bound?project=xxx
06:52:31.080 DEBUG <-- 200 https://sonarcloud.io/api/alm_integration/is_project_bound?project=xxx (479ms, unknown-length body)
06:52:31.081 INFO  Detected project binding: BOUND
06:52:31.082 INFO  Check ALM binding of project 'xxxxxx_xxxxxx-ios' (done) | time=485ms
06:52:31.083 INFO  Load project pull requests
06:52:31.084 DEBUG --> GET https://sonarcloud.io/api/project_pull_requests/list?project=xxx
06:52:31.594 DEBUG <-- 200 https://sonarcloud.io/api/project_pull_requests/list?project=xxx (509ms, unknown-length body)
06:52:31.598 INFO  Load project pull requests (done) | time=516ms
06:52:31.600 INFO  Load branch configuration
06:52:31.602 INFO  Load branch configuration (done) | time=1ms
06:52:31.609 INFO  Load quality profiles
06:52:31.610 DEBUG --> GET https://sonarcloud.io/api/qualityprofiles/search.protobuf?projectKey=xxx&organization=xxx

06:52:32.175 DEBUG <-- 200 https://sonarcloud.io/api/qualityprofiles/search.protobuf?projectKey=xxxxxx_xxxxxx-ios&organization=xxxxxx (563ms, 4299-byte body)
06:52:32.190 INFO  Load quality profiles (done) | time=582ms
06:52:32.195 INFO  Load active rules
06:52:32.196 DEBUG --> GET https://sonarcloud.io/api/rules/search.protobuf?f=repo,name,severity,lang,internalKey,templateKey,params,actives,createdAt,updatedAt,deprecatedKeys&activation=true&qprofile=AYI5iBytYiWOCbm_ZDqy&ps=500&p=1
06:52:32.797 DEBUG <-- 200 https://sonarcloud.io/api/rules/search.protobuf?f=repo,name,severity,lang,internalKey,templateKey,params,actives,createdAt,updatedAt,deprecatedKeys&activation=true&qprofile=AYI5iBytYiWOCbm_ZDqy&ps=500&p=1 (597ms, 3633-byte body)
06:52:32.840 DEBUG --> GET https://sonarcloud.io/api/rules/search.protobuf?f=repo,name,severity,lang,internalKey,templateKey,params,actives,createdAt,updatedAt,deprecatedKeys&activation=true&qprofile=xxx=500&p=1
06:52:33.033 DEBUG <-- 200 https://sonarcloud.io/api/rules/search.protobuf?f=repo,name,severity,lang,internalKey,templateKey,params,actives,createdAt,updatedAt,deprecatedKeys&activation=true&qprofile=xxx=500&p=1 (193ms, 7236-byte body)
06:52:33.040 DEBUG --> GET https://sonarcloud.io/api/rules/search.protobuf?f=repo,name,severity,lang,internalKey,templateKey,params,actives,createdAt,updatedAt,deprecatedKeys&activation=true&qprofile=xxxsIndaoJ&ps=500&p=1
06:52:33.543 DEBUG <-- 200 https://sonarcloud.io/api/rules/search.protobuf?f=repo,name,severity,lang,internalKey,templateKey,params,actives,createdAt,updatedAt,deprecatedKeys&activation=true&qprofile=xxxsIndaoJ&ps=500&p=1 (502ms, 8119-byte body)
06:52:33.550 DEBUG --> GET https://sonarcloud.io/api/rules/search.protobuf?f=repo,name,severity,lang,internalKey,templateKey,params,actives,createdAt,updatedAt,deprecatedKeys&activation=true&qprofile=xxxsIndan7&ps=500&p=1
06:52:34.144 DEBUG <-- 200 https://sonarcloud.io/api/rules/search.protobuf?f=repo,name,severity,lang,internalKey,templateKey,params,actives,createdAt,updatedAt,deprecatedKeys&activation=true&qprofile=xxxsIndan7&ps=500&p=1 (595ms, 11-byte body)
06:52:34.144 DEBUG --> GET https://sonarcloud.io/api/rules/search.protobuf?f=repo,name,severity,lang,internalKey,templateKey,params,actives,createdAt,updatedAt,deprecatedKeys&activation=true&qprofile=xxxsIndaoE&ps=500&p=1
06:52:34.366 DEBUG <-- 200 https://sonarcloud.io/api/rules/search.protobuf?f=repo,name,severity,lang,internalKey,templateKey,params,actives,createdAt,updatedAt,deprecatedKeys&activation=true&qprofile=xxxsIndaoE&ps=500&p=1 (221ms, unknown-length body)
06:52:34.698 DEBUG --> GET https://sonarcloud.io/api/rules/search.protobuf?f=repo,name,severity,lang,internalKey,templateKey,params,actives,createdAt,updatedAt,deprecatedKeys&activation=true&qprofile=xxxsIndaoF&ps=500&p=1
06:52:35.329 DEBUG <-- 200 https://sonarcloud.io/api/rules/search.protobuf?f=repo,name,severity,lang,internalKey,templateKey,params,actives,createdAt,updatedAt,deprecatedKeys&activation=true&qprofile=xxxsIndaoF&ps=500&p=1 (630ms, unknown-length body)
06:52:35.649 DEBUG --> GET https://sonarcloud.io/api/rules/search.protobuf?f=repo,name,severity,lang,internalKey,templateKey,params,actives,createdAt,updatedAt,deprecatedKeys&activation=true&qprofile=xxxsIndan6&ps=500&p=1

06:52:35.849 DEBUG <-- 200 https://sonarcloud.io/api/rules/search.protobuf?f=repo,name,severity,lang,internalKey,templateKey,params,actives,createdAt,updatedAt,deprecatedKeys&activation=true&qprofile=xxxsIndan6&ps=500&p=1 (200ms, unknown-length body)
06:52:35.852 DEBUG --> GET https://sonarcloud.io/api/rules/search.protobuf?f=repo,name,severity,lang,internalKey,templateKey,params,actives,createdAt,updatedAt,deprecatedKeys&activation=true&qprofile=AYXoQrJW9Ao2yLWbMaZk&ps=500&p=1
06:52:36.048 DEBUG <-- 200 https://sonarcloud.io/api/rules/search.protobuf?f=repo,name,severity,lang,internalKey,templateKey,params,actives,createdAt,updatedAt,deprecatedKeys&activation=true&qprofile=AYXoQrJW9Ao2yLWbMaZk&ps=500&p=1 (195ms, 8160-byte body)
06:52:36.152 DEBUG --> GET https://sonarcloud.io/api/rules/search.protobuf?f=repo,name,severity,lang,internalKey,templateKey,params,actives,createdAt,updatedAt,deprecatedKeys&activation=true&qprofile=xxxsIndan8&ps=500&p=1
06:52:36.359 DEBUG <-- 200 https://sonarcloud.io/api/rules/search.protobuf?f=repo,name,severity,lang,internalKey,templateKey,params,actives,createdAt,updatedAt,deprecatedKeys&activation=true&qprofile=xxxsIndan8&ps=500&p=1 (206ms, unknown-length body)
06:52:36.464 DEBUG --> GET https://sonarcloud.io/api/rules/search.protobuf?f=repo,name,severity,lang,internalKey,templateKey,params,actives,createdAt,updatedAt,deprecatedKeys&activation=true&qprofile=xxxsIndaoV&ps=500&p=1
06:52:36.714 DEBUG <-- 200 https://sonarcloud.io/api/rules/search.protobuf?f=repo,name,severity,lang,internalKey,templateKey,params,actives,createdAt,updatedAt,deprecatedKeys&activation=true&qprofile=xxxsIndaoV&ps=500&p=1 (250ms, unknown-length body)
06:52:37.030 DEBUG --> GET https://sonarcloud.io/api/rules/search.protobuf?f=repo,name,severity,lang,internalKey,templateKey,params,actives,createdAt,updatedAt,deprecatedKeys&activation=true&qprofile=xxxsIndaoV&ps=500&p=2
06:52:37.253 DEBUG <-- 200 https://sonarcloud.io/api/rules/search.protobuf?f=repo,name,severity,lang,internalKey,templateKey,params,actives,createdAt,updatedAt,deprecatedKeys&activation=true&qprofile=xxxsIndaoV&ps=500&p=2 (221ms, unknown-length body)
06:52:37.260 DEBUG --> GET https://sonarcloud.io/api/rules/search.protobuf?f=repo,name,severity,lang,internalKey,templateKey,params,actives,createdAt,updatedAt,deprecatedKeys&activation=true&qprofile=xxxsIndaoA&ps=500&p=1
06:52:37.463 DEBUG <-- 200 https://sonarcloud.io/api/rules/search.protobuf?f=repo,name,severity,lang,internalKey,templateKey,params,actives,createdAt,updatedAt,deprecatedKeys&activation=true&qprofile=xxxsIndaoA&ps=500&p=1 (202ms, unknown-length body)
06:52:37.465 DEBUG --> GET https://sonarcloud.io/api/rules/search.protobuf?f=repo,name,severity,lang,internalKey,templateKey,params,actives,createdAt,updatedAt,deprecatedKeys&activation=true&qprofile=xxxsIndan5&ps=500&p=1
06:52:37.661 DEBUG <-- 200 https://sonarcloud.io/api/rules/search.protobuf?f=repo,name,severity,lang,internalKey,templateKey,params,actives,createdAt,updatedAt,deprecatedKeys&activation=true&qprofile=xxxsIndan5&ps=500&p=1 (195ms, unknown-length body)
06:52:37.763 DEBUG --> GET https://sonarcloud.io/api/rules/search.protobuf?f=repo,name,severity,lang,internalKey,templateKey,params,actives,createdAt,updatedAt,deprecatedKeys&activation=true&qprofile=xxxsIndan3&ps=500&p=1
06:52:37.957 DEBUG <-- 200 https://sonarcloud.io/api/rules/search.protobuf?f=repo,name,severity,lang,internalKey,templateKey,params,actives,createdAt,updatedAt,deprecatedKeys&activation=true&qprofile=xxxsIndan3&ps=500&p=1 (193ms, 6000-byte body)
06:52:37.959 DEBUG --> GET https://sonarcloud.io/api/rules/search.protobuf?f=repo,name,severity,lang,internalKey,templateKey,params,actives,createdAt,updatedAt,deprecatedKeys&activation=true&qprofile=xxxsIndaoK&ps=500&p=1

06:52:38.151 DEBUG <-- 200 https://sonarcloud.io/api/rules/search.protobuf?f=repo,name,severity,lang,internalKey,templateKey,params,actives,createdAt,updatedAt,deprecatedKeys&activation=true&qprofile=xxxsIndaoK&ps=500&p=1 (191ms, 11-byte body)

06:52:38.151 DEBUG --> GET https://sonarcloud.io/api/rules/search.protobuf?f=repo,name,severity,lang,internalKey,templateKey,params,actives,createdAt,updatedAt,deprecatedKeys&activation=true&qprofile=AX6LfYgNEtnFPnYRcaw7&ps=500&p=1

06:52:38.361 DEBUG <-- 200 https://sonarcloud.io/api/rules/search.protobuf?f=repo,name,severity,lang,internalKey,templateKey,params,actives,createdAt,updatedAt,deprecatedKeys&activation=true&qprofile=AX6LfYgNEtnFPnYRcaw7&ps=500&p=1 (209ms, 288-byte body)

06:52:38.362 DEBUG --> GET https://sonarcloud.io/api/rules/search.protobuf?f=repo,name,severity,lang,internalKey,templateKey,params,actives,createdAt,updatedAt,deprecatedKeys&activation=true&qprofile=xxxsIndaoU&ps=500&p=1

06:52:38.567 DEBUG <-- 200 https://sonarcloud.io/api/rules/search.protobuf?f=repo,name,severity,lang,internalKey,templateKey,params,actives,createdAt,updatedAt,deprecatedKeys&activation=true&qprofile=xxxsIndaoU&ps=500&p=1 (203ms, unknown-length body)

06:52:38.673 DEBUG --> GET https://sonarcloud.io/api/rules/search.protobuf?f=repo,name,severity,lang,internalKey,templateKey,params,actives,createdAt,updatedAt,deprecatedKeys&activation=true&qprofile=xxxsIndaoM&ps=500&p=1

06:52:38.866 DEBUG <-- 200 https://sonarcloud.io/api/rules/search.protobuf?f=repo,name,severity,lang,internalKey,templateKey,params,actives,createdAt,updatedAt,deprecatedKeys&activation=true&qprofile=xxxsIndaoM&ps=500&p=1 (193ms, 7589-byte body)

06:52:38.867 DEBUG --> GET https://sonarcloud.io/api/rules/search.protobuf?f=repo,name,severity,lang,internalKey,templateKey,params,actives,createdAt,updatedAt,deprecatedKeys&activation=true&qprofile=xxxsIndaoC&ps=500&p=1

06:52:39.073 DEBUG <-- 200 https://sonarcloud.io/api/rules/search.protobuf?f=repo,name,severity,lang,internalKey,templateKey,params,actives,createdAt,updatedAt,deprecatedKeys&activation=true&qprofile=xxxsIndaoC&ps=500&p=1 (206ms, unknown-length body)

06:52:39.177 DEBUG --> GET https://sonarcloud.io/api/rules/search.protobuf?f=repo,name,severity,lang,internalKey,templateKey,params,actives,createdAt,updatedAt,deprecatedKeys&activation=true&qprofile=xxxsIndaoL&ps=500&p=1

06:52:39.359 DEBUG <-- 200 https://sonarcloud.io/api/rules/search.protobuf?f=repo,name,severity,lang,internalKey,templateKey,params,actives,createdAt,updatedAt,deprecatedKeys&activation=true&qprofile=xxxsIndaoL&ps=500&p=1 (182ms, 11-byte body)

06:52:39.359 DEBUG --> GET https://sonarcloud.io/api/rules/search.protobuf?f=repo,name,severity,lang,internalKey,templateKey,params,actives,createdAt,updatedAt,deprecatedKeys&activation=true&qprofile=xxxsIndaoQ&ps=500&p=1

06:52:39.597 DEBUG <-- 200 https://sonarcloud.io/api/rules/search.protobuf?f=repo,name,severity,lang,internalKey,templateKey,params,actives,createdAt,updatedAt,deprecatedKeys&activation=true&qprofile=xxxsIndaoQ&ps=500&p=1 (237ms, unknown-length body)

06:52:39.756 DEBUG --> GET https://sonarcloud.io/api/rules/search.protobuf?f=repo,name,severity,lang,internalKey,templateKey,params,actives,createdAt,updatedAt,deprecatedKeys&activation=true&qprofile=xxxsIndaoR&ps=500&p=1

06:52:39.971 DEBUG <-- 200 https://sonarcloud.io/api/rules/search.protobuf?f=repo,name,severity,lang,internalKey,templateKey,params,actives,createdAt,updatedAt,deprecatedKeys&activation=true&qprofile=xxxsIndaoR&ps=500&p=1 (214ms, unknown-length body)

06:52:40.085 DEBUG --> GET https://sonarcloud.io/api/rules/search.protobuf?f=repo,name,severity,lang,internalKey,templateKey,params,actives,createdAt,updatedAt,deprecatedKeys&activation=true&qprofile=xxxsIndaoO&ps=500&p=1

06:52:40.284 DEBUG <-- 200 https://sonarcloud.io/api/rules/search.protobuf?f=repo,name,severity,lang,internalKey,templateKey,params,actives,createdAt,updatedAt,deprecatedKeys&activation=true&qprofile=xxxsIndaoO&ps=500&p=1 (198ms, 6405-byte body)

06:52:40.286 DEBUG --> GET https://sonarcloud.io/api/rules/search.protobuf?f=repo,name,severity,lang,internalKey,templateKey,params,actives,createdAt,updatedAt,deprecatedKeys&activation=true&qprofile=xxxsIndan_&ps=500&p=1

06:52:40.491 DEBUG <-- 200 https://sonarcloud.io/api/rules/search.protobuf?f=repo,name,severity,lang,internalKey,templateKey,params,actives,createdAt,updatedAt,deprecatedKeys&activation=true&qprofile=xxxsIndan_&ps=500&p=1 (204ms, unknown-length body)

06:52:40.494 DEBUG --> GET https://sonarcloud.io/api/rules/search.protobuf?f=repo,name,severity,lang,internalKey,templateKey,params,actives,createdAt,updatedAt,deprecatedKeys&activation=true&qprofile=xxxsIndanz&ps=500&p=1

06:52:40.681 DEBUG <-- 200 https://sonarcloud.io/api/rules/search.protobuf?f=repo,name,severity,lang,internalKey,templateKey,params,actives,createdAt,updatedAt,deprecatedKeys&activation=true&qprofile=xxxsIndanz&ps=500&p=1 (186ms, 7367-byte body)

06:52:40.683 DEBUG --> GET https://sonarcloud.io/api/rules/search.protobuf?f=repo,name,severity,lang,internalKey,templateKey,params,actives,createdAt,updatedAt,deprecatedKeys&activation=true&qprofile=xxxsIndaoX&ps=500&p=1

06:52:40.876 DEBUG <-- 200 https://sonarcloud.io/api/rules/search.protobuf?f=repo,name,severity,lang,internalKey,templateKey,params,actives,createdAt,updatedAt,deprecatedKeys&activation=true&qprofile=xxxsIndaoX&ps=500&p=1 (192ms, 4412-byte body)

06:52:40.877 DEBUG --> GET https://sonarcloud.io/api/rules/search.protobuf?f=repo,name,severity,lang,internalKey,templateKey,params,actives,createdAt,updatedAt,deprecatedKeys&activation=true&qprofile=xxxsIndaoB&ps=500&p=1

06:52:41.070 DEBUG <-- 200 https://sonarcloud.io/api/rules/search.protobuf?f=repo,name,severity,lang,internalKey,templateKey,params,actives,createdAt,updatedAt,deprecatedKeys&activation=true&qprofile=xxxsIndaoB&ps=500&p=1 (193ms, unknown-length body)

06:52:41.174 DEBUG --> GET https://sonarcloud.io/api/rules/search.protobuf?f=repo,name,severity,lang,internalKey,templateKey,params,actives,createdAt,updatedAt,deprecatedKeys&activation=true&qprofile=xxxsIndany&ps=500&p=1

06:52:41.366 DEBUG <-- 200 https://sonarcloud.io/api/rules/search.protobuf?f=repo,name,severity,lang,internalKey,templateKey,params,actives,createdAt,updatedAt,deprecatedKeys&activation=true&qprofile=xxxsIndany&ps=500&p=1 (191ms, 6266-byte body)

06:52:41.367 DEBUG --> GET https://sonarcloud.io/api/rules/search.protobuf?f=repo,name,severity,lang,internalKey,templateKey,params,actives,createdAt,updatedAt,deprecatedKeys&activation=true&qprofile=AYXoTKpZ9Ao2yLWbNPJ3&ps=500&p=1

06:52:41.574 DEBUG <-- 200 https://sonarcloud.io/api/rules/search.protobuf?f=repo,name,severity,lang,internalKey,templateKey,params,actives,createdAt,updatedAt,deprecatedKeys&activation=true&qprofile=AYXoTKpZ9Ao2yLWbNPJ3&ps=500&p=1 (206ms, unknown-length body)

06:52:41.679 DEBUG --> GET https://sonarcloud.io/api/rules/search.protobuf?f=repo,name,severity,lang,internalKey,templateKey,params,actives,createdAt,updatedAt,deprecatedKeys&activation=true&qprofile=xxxsIndaoG&ps=500&p=1

06:52:41.896 DEBUG <-- 200 https://sonarcloud.io/api/rules/search.protobuf?f=repo,name,severity,lang,internalKey,templateKey,params,actives,createdAt,updatedAt,deprecatedKeys&activation=true&qprofile=xxxsIndaoG&ps=500&p=1 (216ms, 8036-byte body)

06:52:41.897 DEBUG --> GET https://sonarcloud.io/api/rules/search.protobuf?f=repo,name,severity,lang,internalKey,templateKey,params,actives,createdAt,updatedAt,deprecatedKeys&activation=true&qprofile=xxxsIndaoW&ps=500&p=1

06:52:42.131 DEBUG <-- 200 https://sonarcloud.io/api/rules/search.protobuf?f=repo,name,severity,lang,internalKey,templateKey,params,actives,createdAt,updatedAt,deprecatedKeys&activation=true&qprofile=xxxsIndaoW&ps=500&p=1 (233ms, unknown-length body)
06:52:42.138 DEBUG --> GET https://sonarcloud.io/api/rules/search.protobuf?f=repo,name,severity,lang,internalKey,templateKey,params,actives,createdAt,updatedAt,deprecatedKeys&activation=true&qprofile=xxx=500&p=1
06:52:42.334 DEBUG <-- 200 https://sonarcloud.io/api/rules/search.protobuf?f=repo,name,severity,lang,internalKey,templateKey,params,actives,createdAt,updatedAt,deprecatedKeys&activation=true&qprofile=xxx=500&p=1 (195ms, unknown-length body)
06:52:42.438 DEBUG --> GET https://sonarcloud.io/api/rules/search.protobuf?f=repo,name,severity,lang,internalKey,templateKey,params,actives,createdAt,updatedAt,deprecatedKeys&activation=true&qprofile=xxxs=500&p=1
06:52:42.650 DEBUG <-- 200 https://sonarcloud.io/api/rules/search.protobuf?f=repo,name,severity,lang,internalKey,templateKey,params,actives,createdAt,updatedAt,deprecatedKeys&activation=true&qprofile=xxx=500&p=1 (211ms, unknown-length body)
06:52:42.654 DEBUG --> GET https://sonarcloud.io/api/rules/search.protobuf?f=repo,name,severity,lang,internalKey,templateKey,params,actives,createdAt,updatedAt,deprecatedKeys&activation=true&qprofile=xxx=500&p=1
06:52:42.901 DEBUG <-- 200 https://sonarcloud.io/api/rules/search.protobuf?f=repo,name,severity,lang,internalKey,templateKey,params,actives,createdAt,updatedAt,deprecatedKeys&activation=true&qprofile=xxx=500&p=1 (247ms, unknown-length body)
06:52:42.903 DEBUG --> GET https://sonarcloud.io/api/rules/search.protobuf?f=repo,name,severity,lang,internalKey,templateKey,params,actives,createdAt,updatedAt,deprecatedKeys&activation=true&qprofile=xxx=500&p=1
06:52:43.127 DEBUG <-- 200 https://sonarcloud.io/api/rules/search.protobuf?f=repo,name,severity,lang,internalKey,templateKey,params,actives,createdAt,updatedAt,deprecatedKeys&activation=true&qprofile=AYk_-krmEjuu3U2UCFeD&ps=500&p=1 (224ms, unknown-length body)
06:52:43.129 DEBUG --> GET https://sonarcloud.io/api/rules/search.protobuf?f=repo,name,severity,lang,internalKey,templateKey,params,actives,createdAt,updatedAt,deprecatedKeys&activation=true&qprofile=xxxsIndaoH&ps=500&p=1
06:52:43.350 DEBUG <-- 200 https://sonarcloud.io/api/rules/search.protobuf?f=repo,name,severity,lang,internalKey,templateKey,params,actives,createdAt,updatedAt,deprecatedKeys&activation=true&qprofile=xxxsIndaoH&ps=500&p=1 (221ms, unknown-length body)
06:52:43.454 DEBUG --> GET https://sonarcloud.io/api/rules/search.protobuf?f=repo,name,severity,lang,internalKey,templateKey,params,actives,createdAt,updatedAt,deprecatedKeys&activation=true&qprofile=xxxsIndaoT&ps=500&p=1
06:52:43.692 DEBUG <-- 200 https://sonarcloud.io/api/rules/search.protobuf?f=repo,name,severity,lang,internalKey,templateKey,params,actives,createdAt,updatedAt,deprecatedKeys&activation=true&qprofile=xxxsIndaoT&ps=500&p=1 (237ms, unknown-length body)

06:52:43.799 DEBUG --> GET https://sonarcloud.io/api/rules/search.protobuf?f=repo,name,severity,lang,internalKey,templateKey,params,actives,createdAt,updatedAt,deprecatedKeys&activation=true&qprofile=xxxsIndaoS&ps=500&p=1
06:52:44.027 DEBUG <-- 200 https://sonarcloud.io/api/rules/search.protobuf?f=repo,name,severity,lang,internalKey,templateKey,params,actives,createdAt,updatedAt,deprecatedKeys&activation=true&qprofile=xxxsIndaoS&ps=500&p=1 (227ms, unknown-length body)
06:52:44.048 INFO  Load active rules (done) | time=11853ms
06:52:44.080 DEBUG --> GET https://sonarcloud.io/api/languages/list
06:52:44.254 DEBUG <-- 200 https://sonarcloud.io/api/languages/list (174ms, unknown-length body)
06:52:44.278 INFO  Organization key: xxx
06:52:44.280 WARN  The property 'sonar.login' is deprecated and will be removed in the future. Please use the 'sonar.token' property instead when passing a token.
06:52:44.287 DEBUG Declared patterns of language Kubernetes were converted to sonar.lang.patterns.kubernetes : 
06:52:44.288 DEBUG Declared patterns of language CSS were converted to sonar.lang.patterns.css : **/*.css,**/*.less,**/*.scss,**/*.sass
06:52:44.288 DEBUG Declared patterns of language Scala were converted to sonar.lang.patterns.scala : **/*.scala
06:52:44.288 DEBUG Declared patterns of language JSP were converted to sonar.lang.patterns.jsp : **/*.jsp,**/*.jspf,**/*.jspx
06:52:44.288 DEBUG Declared patterns of language JavaScript were converted to sonar.lang.patterns.js : **/*.js,**/*.jsx,**/*.cjs,**/*.mjs,**/*.vue
06:52:44.288 DEBUG Declared patterns of language Python were converted to sonar.lang.patterns.py : **/*.py
06:52:44.289 DEBUG Declared patterns of language Apex were converted to sonar.lang.patterns.apex : **/*.cls,**/*.trigger
06:52:44.289 DEBUG Declared patterns of language Docker were converted to sonar.lang.patterns.docker : **/Dockerfile,**/*.dockerfile
06:52:44.289 DEBUG Declared patterns of language PL/SQL were converted to sonar.lang.patterns.plsql : **/*.sql,**/*.tab,**/*.pkb
06:52:44.289 DEBUG Declared patterns of language Java were converted to sonar.lang.patterns.java : **/*.java,**/*.jav
06:52:44.290 DEBUG Declared patterns of language HTML were converted to sonar.lang.patterns.web : **/*.html,**/*.xhtml,**/*.cshtml,**/*.vbhtml,**/*.aspx,**/*.ascx,**/*.rhtml,**/*.erb,**/*.shtm,**/*.shtml,**/*.cmp,**/*.twig
06:52:44.290 DEBUG Declared patterns of language Flex were converted to sonar.lang.patterns.flex : **/*.as
06:52:44.290 DEBUG Declared patterns of language XML were converted to sonar.lang.patterns.xml : **/*.xml,**/*.xsd,**/*.xsl,**/*.config
06:52:44.290 DEBUG Declared patterns of language JSON were converted to sonar.lang.patterns.json : **/*.json
06:52:44.290 DEBUG Declared patterns of language Text were converted to sonar.lang.patterns.text : 
06:52:44.291 DEBUG Declared patterns of language VB.NET were converted to sonar.lang.patterns.vbnet : **/*.vb
06:52:44.291 DEBUG Declared patterns of language CloudFormation were converted to sonar.lang.patterns.cloudformation : 
06:52:44.291 DEBUG Declared patterns of language Swift were converted to sonar.lang.patterns.swift : **/*.swift
06:52:44.291 DEBUG Declared patterns of language YAML were converted to sonar.lang.patterns.yaml : **/*.yaml,**/*.yml
06:52:44.291 DEBUG Declared patterns of language C++ were converted to sonar.lang.patterns.cpp : **/*.cc,**/*.cpp,**/*.cxx,**/*.c++,**/*.hh,**/*.hpp,**/*.hxx,**/*.h++,**/*.ipp
06:52:44.291 DEBUG Declared patterns of language C were converted to sonar.lang.patterns.c : **/*.c,**/*.h
06:52:44.291 DEBUG Declared patterns of language Go were converted to sonar.lang.patterns.go : **/*.go
06:52:44.292 DEBUG Declared patterns of language Kotlin were converted to sonar.lang.patterns.kotlin : **/*.kt,**/*.kts
06:52:44.292 DEBUG Declared patterns of language RPG were converted to sonar.lang.patterns.rpg : **/*.rpg,**/*.rpgle,**/*.sqlrpgle,**/*.rpg,**/*.rpgle,**/*.sqlrpgle
06:52:44.292 DEBUG Declared patterns of language PL/I were converted to sonar.lang.patterns.pli : **/*.pli
06:52:44.292 DEBUG Declared patterns of language T-SQL were converted to sonar.lang.patterns.tsql : **/*.tsql
06:52:44.292 DEBUG Declared patterns of language Vb were converted to sonar.lang.patterns.vb : **/*.bas,**/*.frm,**/*.ctl
06:52:44.292 DEBUG Declared patterns of language Secrets were converted to sonar.lang.patterns.secrets : 
06:52:44.293 DEBUG Declared patterns of language Ruby were converted to sonar.lang.patterns.ruby : **/*.rb
06:52:44.293 DEBUG Declared patterns of language C# were converted to sonar.lang.patterns.cs : **/*.cs,**/*.razor
06:52:44.293 DEBUG Declared patterns of language COBOL were converted to sonar.lang.patterns.cobol : 
06:52:44.293 DEBUG Declared patterns of language PHP were converted to sonar.lang.patterns.php : **/*.php,**/*.php3,**/*.php4,**/*.php5,**/*.phtml,**/*.inc
06:52:44.293 DEBUG Declared patterns of language Terraform were converted to sonar.lang.patterns.terraform : **/*.tf
06:52:44.293 DEBUG Declared patterns of language AzureResourceManager were converted to sonar.lang.patterns.azureresourcemanager : **/*.bicep
06:52:44.294 DEBUG Declared patterns of language ABAP were converted to sonar.lang.patterns.abap : **/*.abap,**/*.ab4,**/*.flow,**/*.asprog
06:52:44.294 DEBUG Declared patterns of language Objective-C were converted to sonar.lang.patterns.objc : **/*.m
06:52:44.294 DEBUG Declared patterns of language TypeScript were converted to sonar.lang.patterns.ts : **/*.ts,**/*.tsx,**/*.cts,**/*.mts
06:52:44.299 INFO  Preprocessing files...
06:52:44.318 DEBUG loading config FileBasedConfig[/Users/local/.config/jgit/config]
06:52:44.318 DEBUG readpipe [bash, --login, -c, which git],/Users/local
06:52:44.721 DEBUG readpipe may return '/usr/bin/git'
06:52:44.722 DEBUG remaining output:
06:52:44.723 DEBUG readpipe [xcode-select, -p],/Users/local
06:52:44.734 DEBUG readpipe may return '/Applications/Xcode.app/Contents/Developer'
06:52:44.734 DEBUG remaining output:
06:52:44.734 DEBUG readpipe [/usr/bin/git, --version],/usr/bin
06:52:44.757 DEBUG readpipe may return 'git version 2.39.3 (Apple Git-146)'
06:52:44.758 DEBUG remaining output:
06:52:44.758 DEBUG readpipe [/usr/bin/git, config, --system, --show-origin, --list, -z],/usr/bin

06:52:45.180 DEBUG readpipe may return 'null'

06:52:45.180 DEBUG remaining output:

06:52:45.199 DEBUG readpipe rc=128

06:52:45.199 DEBUG Exception caught during execution of command '[/usr/bin/git, config, --system, --show-origin, --list, -z]' in '/usr/bin', return code '128', error message 'fatal: unable to read config file '/etc/gitconfig': No such file or directory

'

06:52:45.199 DEBUG loading config FileBasedConfig[/Users/local/.config/git/config]

06:52:45.200 DEBUG loading config UserConfigFile[/Users/local/.gitconfig]

06:52:46.256 DEBUG 26297 non excluded files in this Git repository
06:53:16.634 INFO  CPD Executor 182 files had no CPD blocks
06:53:16.634 INFO  CPD Executor Calculating CPD for 793 files
06:53:17.177 DEBUG Detection of duplications for /Volumes/workspace/repository/xxxt/OutlinedSwitch.swift
06:53:17.178 INFO  CPD Executor CPD calculation finished (done) | time=544ms
06:53:17.800 DEBUG Could not detect the dotnet / msbuild version
06:53:17.800 DEBUG MSBuild version NOT found.
06:53:18.044 INFO  Analysis report generated in 755ms, dir size=7 MB
06:53:21.715 INFO  Analysis report compressed in 3670ms, zip size=3 MB
06:53:21.716 INFO  Analysis report generated in /Volumes/workspace/repository/.scannerwork/scanner-report
06:53:21.716 DEBUG Upload report
06:53:21.720 DEBUG --> POST https://sonarcloud.io/api/ce/submit?organization=xxx&projectKey=xxx (3488028-byte body)
06:53:22.963 DEBUG <-- 200 https://sonarcloud.io/api/ce/submit?organization=xxx&projectKey=xxx(1241ms, 44-byte body)
06:53:22.965 INFO  Analysis report uploaded in 1250ms
06:53:22.968 DEBUG Report metadata written to /Volumes/workspace/repository/.scannerwork/report-task.txt
06:53:22.968 INFO  ANALYSIS SUCCESSFUL, you can find the results at: https://sonarcloud.io/dashboard?id=xxx
06:53:22.968 INFO  Note that you will be able to access the updated dashboard once the server has processed the submitted analysis report
06:53:22.968 INFO  More about the report processing at https://sonarcloud.io/api/ce/task?id=AZACbMxrXG1IOIaomRMD
06:53:22.968 DEBUG Sensor cache is empty, skipping publication.
06:53:22.970 DEBUG Post-jobs : 
06:53:22.972 INFO  Analysis total time: 53.610 s
06:53:22.973 INFO  SonarScanner Engine completed successfully
06:53:22.979 DEBUG Cleanup org.eclipse.jgit.util.FS$FileStoreAttributes$$Lambda$286/0x0000000800367aa8@557eb543 during JVM shutdown
06:53:23.492 INFO  EXECUTION SUCCESS



Hi,

I’m a little confused at this point because I don’t see anything branch-related in your redacted log, and I expected to based on:

But… if I read back, the underlying question is about coverage…?

So going back to your analysis configuration,

I don’t see you trying to pass the coverage report in to analysis. The docs should help with that.

 
Ann

Sorry. The question is where the analysis and coverage are getting uploaded. If I go to my project in SonarCloud I didn’t get a new code analysis or code coverage uploaded for my project. This is from a new branch though.

Hi,

Analysis (generally) won’t pick up your coverage report automatically. You need to explicitly pass it in with a parameter that points to the coverage report location.

 
HTH,
Ann

I wasn’t specifying the branch - that worked for me. Makes sense in the in an xcode cloud workflow when you are uploading your analysis that sonar doesn’t know your branch.

Here was what solved if for me.

BRANCH_NAME=$(git rev-parse --abbrev-ref HEAD)
-Dsonar.branch.name=${BRANCH_NAME}

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.