Missing blame information for the following files:

1,695 views
Skip to first unread message

Hugo Garcia

unread,
Mar 4, 2016, 3:07:04 PM3/4/16
to SonarQube
Hello guys hope i find you in a good moment,

im running sonarqube analizis trougth jenkins/sonar runner , jenkins is taking care of the files and is doing it whit a shell script for that acces a rtc repository, 

i had a project running whit no problem in this way but now after some files update (whit the scrip) the execution of sonar gves me some warning that didn't give me before 

15:50:31.378 INFO  - Sensor CoberturaSensor (done) | time=0ms
15:50:31.378 INFO  - Sensor SCM Sensor
15:50:31.379 INFO  - SCM provider for this project is: jazz
15:50:31.384 INFO  - 52 files to be analyzed
15:50:31.401 INFO  - 0/52 files analyzed
15:50:31.401 WARN  - Missing blame information for the following files:

this is followed by warning of the files, then continues whit:

15:50:31.406 WARN  - This may lead to missing/broken features in SonarQube
INFO: ------------------------------------------------------------------------
INFO: EXECUTION FAILURE
INFO: ------------------------------------------------------------------------
Total time: 19.107s
Final Memory: 12M/227M
INFO: ------------------------------------------------------------------------
ERROR: Error during Sonar runner execution
org.sonar.runner.impl.RunnerException: Unable to execute Sonar
	at org.sonar.runner.impl.BatchLauncher$1.delegateExecution(BatchLauncher.java:91)
	at org.sonar.runner.impl.BatchLauncher$1.run(BatchLauncher.java:75)
	at java.security.AccessController.doPrivileged(Native Method)
	at org.sonar.runner.impl.BatchLauncher.doExecute(BatchLauncher.java:69)
	at org.sonar.runner.impl.BatchLauncher.execute(BatchLauncher.java:50)
	at org.sonar.runner.api.EmbeddedRunner.doExecute(EmbeddedRunner.java:102)
	at org.sonar.runner.api.Runner.execute(Runner.java:100)
	at org.sonar.runner.Main.executeTask(Main.java:70)
	at org.sonar.runner.Main.execute(Main.java:59)
	at org.sonar.runner.Main.main(Main.java:53)
Caused by: java.lang.IllegalStateException: The jazz annotate command [sh lscm annotate main/java/BLABLABLABLA.java] failed: sh: 0: Can't open lscm

	at org.sonar.plugins.scm.jazzrtc.JazzRtcBlameCommand.blame(JazzRtcBlameCommand.java:74)
	at org.sonar.plugins.scm.jazzrtc.JazzRtcBlameCommand.blame(JazzRtcBlameCommand.java:58)
	at org.sonar.batch.scm.ScmSensor.execute(ScmSensor.java:84)
	at org.sonar.batch.sensor.SensorWrapper.analyse(SensorWrapper.java:57)
	at org.sonar.batch.phases.SensorsExecutor.executeSensor(SensorsExecutor.java:58)
	at org.sonar.batch.phases.SensorsExecutor.execute(SensorsExecutor.java:50)
	at org.sonar.batch.phases.PhaseExecutor.execute(PhaseExecutor.java:98)
	at org.sonar.batch.scan.ModuleScanContainer.doAfterStart(ModuleScanContainer.java:185)
	at org.sonar.core.platform.ComponentContainer.startComponents(ComponentContainer.java:132)
	at org.sonar.core.platform.ComponentContainer.execute(ComponentContainer.java:117)
	at org.sonar.batch.scan.ProjectScanContainer.scan(ProjectScanContainer.java:243)
	at org.sonar.batch.scan.ProjectScanContainer.scanRecursively(ProjectScanContainer.java:238)
	at org.sonar.batch.scan.ProjectScanContainer.scanRecursively(ProjectScanContainer.java:236)
	at org.sonar.batch.scan.ProjectScanContainer.doAfterStart(ProjectScanContainer.java:228)
	at org.sonar.core.platform.ComponentContainer.startComponents(ComponentContainer.java:132)
	at org.sonar.core.platform.ComponentContainer.execute(ComponentContainer.java:117)
	at org.sonar.batch.task.ScanTask.execute(ScanTask.java:55)
	at org.sonar.batch.task.TaskContainer.doAfterStart(TaskContainer.java:86)
	at org.sonar.core.platform.ComponentContainer.startComponents(ComponentContainer.java:132)
	at org.sonar.core.platform.ComponentContainer.execute(ComponentContainer.java:117)
	at org.sonar.batch.bootstrap.GlobalContainer.executeTask(GlobalContainer.java:122)
	at org.sonar.batch.bootstrapper.Batch.executeTask(Batch.java:119)
	at org.sonar.batch.bootstrapper.Batch.execute(Batch.java:79)
	at org.sonar.runner.batch.IsolatedLauncher.execute(IsolatedLauncher.java:48)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:606)
	at org.sonar.runner.impl.BatchLauncher$1.delegateExecution(BatchLauncher.java:87)
	... 9 more
ERROR: 
ERROR: Re-run SonarQube Runner using the -X switch to enable full debug logging.
Build step 'Invoke Standalone SonarQube Analysis' marked build as failure
Finished: FAILURE

whats is weird for me is that this error didn't happen in this project before and also there is the problem that Im not using SVN atleast for this project in particular, the project using svn are fine. 
I might be missing some important concept due im just learning this things on the go, so anything that can point me to a solution would be apreciated.
everything is running on debian. thanks in advance.
Message has been deleted

Hugo Garcia

unread,
Mar 7, 2016, 11:14:14 AM3/7/16
to SonarQube
Problem solved now, was a configuration of sonar problem, since wasn't using scm had to turn it off and went running Ok. not sure if i should just delete my question. 
Reply all
Reply to author
Forward
0 new messages