PR decoration not working Github

Template for a good new topic, formatted with Markdown:

  • ALM used - Github
  • CI system used - Circle CI
  • Scanner command used when applicable - shown below
  • Languages of the repository - Python
  • Only if the SonarCloud project is public, the URL - private repo
  • Error observed - PR decoration not ocurring, PR blocked by “SonarCloud Code Analysis - Waiting for status to be reported”
  • Steps to reproduce - open PR
sonar-scanner
    -Dproject.settings=/home/circleci/project/sonar-project.properties
    -Dsonar.token=$SONAR_TOKEN
    -Dsonar.verbose=true
    -Dsonar.pullrequest.key=$CIRCLE_BUILD_NUM
    -Dsonar.pullrequest.branch=$CIRCLE_BRANCH
    -Dsonar.pullrequest.base=master
    -Dsonar.pullrequest.provider=GitHub
    -Dsonar.pullrequest.github.repository=$CIRCLE_PROJECT_USERNAME/$CIRCLE_PROJECT_REPONAME
    -Dsonar.python.coverage.reportPaths=.coverage-reports/coverage-*.xml

I understand there were similar issue earlier this week which we experienced but then were resolved; shortly thereafter we started experiencing the same thing (no PR decoration) again. I first noticed it occurring around 7AM central 9/20.

Hi,

Do your analysis logs end with success?

Do you see a failed entry for the analysis in Administration → Background Tasks?

 
Ann

The tail of the log looks like

13:07:48.679 INFO: Analysis report generated in 171ms, dir size=573 KB
13:07:48.995 INFO: Analysis report compressed in 316ms, zip size=468 KB
13:07:48.995 INFO: Analysis report generated in /home/circleci/project/.scannerwork/scanner-report
13:07:48.995 DEBUG: Upload report
13:07:49.510 DEBUG: POST 200 https://sonarcloud.io/api/ce/submit?organization=XXX&projectKey=YYY&projectName=XXXX&characteristic=pullRequest%3D72446 | time=514ms
13:07:49.512 INFO: Analysis report uploaded in 517ms
13:07:49.513 DEBUG: Report metadata written to /home/circleci/project/.scannerwork/report-task.txt
13:07:49.513 INFO: ANALYSIS SUCCESSFUL, you can find the results at: https://sonarcloud.io/dashboard?id=XXX&pullRequest=72446
13:07:49.513 INFO: Note that you will be able to access the updated dashboard once the server has processed the submitted analysis report
13:07:49.513 INFO: More about the report processing at https://sonarcloud.io/api/ce/task?id=AYq32pILvodc2hayrywC
13:07:49.515 DEBUG: Post-jobs : 
13:07:49.517 INFO: Analysis total time: 37.364 s
13:07:49.518 INFO: ------------------------------------------------------------------------
13:07:49.518 INFO: EXECUTION SUCCESS
13:07:49.518 INFO: ------------------------------------------------------------------------
13:07:49.518 INFO: Total time: 42.261s
13:07:49.595 INFO: Final Memory: 113M/390M
13:07:49.595 INFO: ------------------------------------------------------------------------

No failed Background Tasks found in the Admin UI

Hi,

Thanks for the detail. I’ve flagged this for expert attention.

 
Ann

Hi Constantino, could you PM me when you get a moment? We can hop on a zoom and take a look. We aren’t showing an issue on our end.

Thanks @ganncamp . Sending a PM myself.

how do I send you a PM? I can’t figure it out in the UI - alternatively, email at constantino.schillebeeckx@headspace.com

Thanks @Constantino_Schilleb. I’m glad we were able to resolve the issue on zoom. If you have any more issues please feel free to PM me.

1 Like

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