Sonar scanner running slow

236 views
Skip to first unread message

Madan Kumar Thangavel

unread,
Nov 30, 2016, 2:01:42 PM11/30/16
to SonarQube
I have setup Sonarqube and run the sonar-scanner scanning python and js files.

I observe that there is a slowness in running the scans and when looked at the log, I see that there is a 90sec
delay added up due to scanning for test.coverage report files.

I am not having coverage/test reports and hence want to suppress the coverage report scanning.  How to avoid this
delay as i am scanning around 120 projects and hence 90sec time spent becomes painful.

Questions:
    1. how to suppress the python coverage report verification be skipped
    2. is there a way to run the scans in parallel - when i run in parallel, one of the scan fails saying there is already a scan happening.

===================
10:50:30.613 DEBUG: Using pattern 'coverage-reports/coverage-*.xml' to find reports
10:50:56.052 DEBUG: No report was found for sonar.python.coverage.reportPath using default pattern coverage-reports/coverage-*.xml
10:50:56.053 INFO: Python integration test coverage
10:50:56.053 DEBUG: Using pattern 'coverage-reports/it-coverage-*.xml' to find reports
10:51:21.609 DEBUG: No report was found for sonar.python.coverage.itReportPath using default pattern coverage-reports/it-coverage-*.xml
10:51:21.609 INFO: Python overall test coverage
10:51:21.609 DEBUG: Using pattern 'coverage-reports/overall-coverage-*.xml' to find reports
10:51:47.420 DEBUG: No report was found for sonar.python.coverage.overallReportPath using default pattern coverage-reports/overall-coverage-*.xml
====================

Configuration used:
  SONARQube - v 5.6.1
  SONAR Scanner - v2.8

-thanks
Madan

Madan Kumar Thangavel

unread,
Dec 6, 2016, 7:18:10 PM12/6/16
to SonarQube
Any help here?
Reply all
Reply to author
Forward
0 new messages