Sonar analysis failed with Custom Metrics

Hi ,
My sonar analysis failed without any errors in background task but if i removed the custom metrics from the sonar project its working as expected. Any idea why it is failing ? without any errors in the background task.

Any one is facing the same issue? All the failed project contains custom metrics but without any errors.

compute Enginee log:

2020.10.03 00:46:13 INFO  ce[AXTsx1k0N_jGps6tVC4Y][o.s.c.t.s.ComputationStepExecutor] Send issue notifications | newIssuesNotifs=0 | newIssuesDeliveries=0 | myNewIssuesNotifs=0 | myNewIssuesDeliveries=0 | changesNotifs=0 | changesDeliveries=0 | status=SUCCESS | time=54ms
2020.10.03 00:46:13 INFO  ce[AXTsx1k0N_jGps6tVC4Y][o.s.c.t.s.ComputationStepExecutor] Publish task results | status=SUCCESS | time=0ms
2020.10.03 00:46:14 INFO  ce[AXTsx1k0N_jGps6tVC4Y][o.s.c.t.s.ComputationStepExecutor] Trigger refresh of Portfolios and Applications | status=FAILED | time=1016ms
2020.10.03 00:46:14 ERROR ce[AXTsx1k0N_jGps6tVC4Y][o.s.c.t.CeWorkerImpl] Failed to execute task AXTsx1k0N_jGps6tVC4Y
2020.10.03 00:46:14 INFO  ce[AXTsx1k0N_jGps6tVC4Y][o.s.c.t.CeWorkerImpl] Executed task | project=com.fmr.ctg.sonar.hrca.AP111941_CMT_Admin | type=REPORT | id=AXTsx1k0N_jGps6tVC4Y | status=FAILED | time=51700ms

Hi,

What do you see when you choose ‘Show Warnings’ for that task?

 
Ann

image

I can see only this message in warnings.

Guru

Hi @guru_sathish,

Odd. Can you increase the verbosity of the logs to DEBUG? In the conf/sonar.properties file, add/modify:

sonar.log.level=DEBUG
# Or, if you only want to increase for the Compute Engine:
# sonar.log.level.ce=DEBUG

And then restart SonarQube. Do you see more information in the logs/ce.log file?

Could you also check the logs/sonar.log file, just in case?

This issue has been fixed after correcting the Portfolio. Same project was configured in two different portfolio.

Regards,
Guru

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