Software:
SonarQube Enterprise Edition version - 9.4.0.54424
Problem Statement:
Hi I am running into an issue with the GitHub - SonarSource/sonarqube-scan-action for my ruby repository in terms of scanning the code coverage for my projects. The scanner can see the coverage.json report however I am noticing these warnings in the scanner output and the code coverage for the scan not displaying.
WARN: File '/home/runner/work/shipment-tracking-service/shipment-tracking-service/lib/tasks/backfill.rake' is present in coverage report but cannot be found in filesystem
WARN: File '/home/runner/work/shipment-tracking-service/shipment-tracking-service/bin/rails' is present in coverage report but cannot be found in filesystem
WARN: File '/home/runner/work/shipment-tracking-service/shipment-tracking-service/app/controllers/healthcheck_controller.rb' is present in coverage report but cannot be found in filesystem
WARN: File '/home/runner/work/shipment-tracking-service/shipment-tracking-service/app/services/tracker_parser.rb' is present in coverage report but cannot be found in filesystem
WARN: File '/home/runner/work/shipment-tracking-service/shipment-tracking-service/app/models/tracking.rb' is present in coverage report but cannot be found in filesystem
WARN: File '/home/runner/work/shipment-tracking-service/shipment-tracking-service/app/models/api_client.rb' is present in coverage report but cannot be found in filesystem
WARN: File '/home/runner/work/shipment-tracking-service/shipment-tracking-service/Rakefile' is present in coverage report but cannot be found in filesystem
I do see that when the sonarqube scanner executes the log outputs the base dir as Base dir: /github/workspace so from what I can see this looks to be an issue where the base dirs are located for the repository and the scanner. I am wondering if there is a fix for this issue?