You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 28 Next »

Timeline of events


To prevent dependency issues, this migration is planned to happen in 2 stages. 

Stage 1 will use hardcoded sonar goals to the needed plugin version to avoid waiting on dependencies from where this can be inherited.

Stage 2 will be a cleanup stage and work towards fixing the plugin in the dependencies like oparent and slowly migrate teams to it while removing hardcoded sonar goals.

STAGE 1

  1. RELENG → Will add the needed changes in ci-management for each project and run a test in the sandbox
  2. RELENG → will post the restults of the sandbox test in the 3rd column below.
    • This is not reflecting if the Sonar report actually pass or failed a quality gate. Instead, this result is the outcome of running the Sandbox job using the changes in ci-management.
  3. TECHTEAM → Review the results and comments posted by Releng in column 4. PTLs will be mentioned explicitly to notify them that the next action is on their team.
  4. TECHTEAM&RELENG → Will work on any additional comments/questions/issues from column 4 and 5.


TaskAdd SonarCloud variables in project's yaml files Sandbox test of my change (DO NOT CONFUSE WITH SONAR REPORT RESULT) Review resultsComment on progress
ResponsibleRelEngRelengPTL
Estimated Duration5 min 15 min to 1 hr depending10 min per report
AAFhttps://gerrit.onap.org/r/#/c/ci-management/+/98542/PASS

Jonathan Gathman Gerrit ready, SonarCloud results pushed and waiting on committers to +1 my change if all looks ok

Completed
AAIhttps://gerrit.onap.org/r/c/ci-management/+/98544PASS

James Forsyth Gerrit ready, SonarCloud results pushed and waiting on committers to +1 my change if all looks ok

Completed

APPChttps://gerrit.onap.org/r/c/ci-management/+/98545PASS

Takamune Cho  This is marked as "PASS" becuase the build actually produced the same result as what we had in SonarQube, but I know we still are facing coverage issues. Shall we merge this change to move to SonarCloud and continue our investigation there?

Jessica Wagantall I +1 already. we still have to work with the issue. I have posted my last comment on IT-17899. Please take a look. thx

Coverage drop still low, we are taking our investigation to SonarCloud but the migration is completed
CCSDKhttps://gerrit.onap.org/r/c/ci-management/+/98546PASS

Dan Timoney Gerrit ready, SonarCloud results pushed and waiting on committers to +1 my change if all looks ok

Completed
CLAMPhttps://gerrit.onap.org/r/#/c/ci-management/+/98543/1/2 pass
Tested and working for JDK13 but having issues with JavaScript (Contacted Sonar team)
CLIhttps://gerrit.onap.org/r/c/ci-management/+/98547PASSuser-67d6f Gerrit ready, SonarCloud results pushed and waiting on committers to +1 my change if all looks ok
DCAEhttps://gerrit.onap.org/r/c/ci-management/+/98548most failed/pending re-test

Demohttps://gerrit.onap.org/r/#/c/ci-management/+/98549/PASS

Morgan Richomme Gerrit ready, SonarCloud results pushed and waiting on committers to +1 my change if all looks ok


DMAAPhttps://gerrit.onap.org/r/#/c/ci-management/+/98550/PASS

Mandar Sawant Gerrit ready, SonarCloud results pushed and waiting on committers to +1 my change if all looks ok


ExtAPIhttps://gerrit.onap.org/r/#/c/ci-management/+/98551/fail/pending re-test

Holmeshttps://gerrit.onap.org/r/#/c/ci-management/+/98552/fail/pending re-test

Integration


No Sonar jobs to migrate
Logginghttps://gerrit.onap.org/r/#/c/ci-management/+/98554/fail/pending re-test

Modelinghttps://gerrit.onap.org/r/#/c/ci-management/+/98553/fail
13:40:10 org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.codehaus.mojo:exec-maven-plugin:1.2.1:exec (test script) on project modeling-etsicatalog: Command execution failed.
MSBhttps://gerrit.onap.org/r/#/c/ci-management/+/98555/PASS

Huabing Zhao Gerrit ready, SonarCloud results pushed and waiting on committers to +1 my change if all looks ok


MultiCloudhttps://gerrit.onap.org/r/#/c/ci-management/+/98556/PASS

Bin Yang  Gerrit ready, SonarCloud results pushed and waiting on committers to +1 my change if all looks ok


Musichttps://gerrit.onap.org/r/#/c/ci-management/+/98557/Pass

Bharath Balasubramanian Gerrit ready, SonarCloud results pushed and waiting on committers to +1 my change if all looks ok

Completed


OOFhttps://gerrit.onap.org/r/#/c/ci-management/+/98558/1 fail, seems like a sandbox npm environmentCompleted
OOM


No Sonar jobs to migrate
O-parent


No Sonar jobs to migrate
Policyhttps://gerrit.onap.org/r/#/c/ci-management/+/98559/PASSDONECOMPLETED
Portalhttps://gerrit.onap.org/r/#/c/ci-management/+/98560/PASS

Manoop Talasila Gerrit ready, SonarCloud results pushed and waiting on committers to +1 my change if all looks ok

COMPLETED
Portal SDKhttps://gerrit.onap.org/r/#/c/ci-management/+/98568/PASS

Manoop Talasila Gerrit ready, SonarCloud results pushed and waiting on committers to +1 my change if all looks ok

'npm install' failed which also fails 
in SonarQube job. Not a migration issue.
SDChttps://gerrit.onap.org/r/#/c/ci-management/+/98561/PASS

Ofir Sonsino Gerrit ready, SonarCloud results pushed and waiting on committers to +1 my change if all looks ok


SDNChttps://gerrit.onap.org/r/#/c/ci-management/+/98562/PASS

Dan Timoney Gerrit ready, SonarCloud results pushed and waiting on committers to +1 my change if all looks ok

Completed
SOhttps://gerrit.onap.org/r/#/c/ci-management/+/98563/PASSSeshu Kumar Mudiganti Gerrit ready, SonarCloud results pushed and waiting on committers to +1 my change if all looks ok
UUIhttps://gerrit.onap.org/r/#/c/ci-management/+/98564/PASS

Tao Shen Gerrit ready, SonarCloud results pushed and waiting on committers to +1 my change if all looks ok


VFChttps://gerrit.onap.org/r/#/c/ci-management/+/98565/1/2 failed
14:55:59 [ERROR] Failed to execute goal org.codehaus.mojo:exec-maven-plugin:1.2.1:exec (test script) on project vfc-gvnfm-vnflcm-lcm: Command execution failed. Process exited with an error: 1 (Exit value: 1) -> [Help 1]
14:55:59 org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.codehaus.mojo:exec-maven-plugin:1.2.1:exec (test script) on project vfc-gvnfm-vnflcm-lcm: Command execution failed.
VIDhttps://gerrit.onap.org/r/#/c/ci-management/+/98566/PASS

Tech team to compare reports:

SonarQube: https://sonar.onap.org/dashboard?id=org.onap.vid%3Avid-parent

SonarCloud: https://sonarcloud.io/dashboard?id=onap_vid

Waiting on Tech team to review reports.

VNFSDK

https://gerrit.onap.org/r/#/c/ci-management/+/98567/PASS

Weitao Gao  Gerrit ready, SonarCloud results pushed and waiting on committers to +1 my change if all looks ok


VVPhttps://gerrit.onap.org/r/#/c/ci-management/+/98569/fail
14:44:45 Caused by: org.apache.maven.plugin.MojoExecutionException: Validation of project reactor failed:
14:44:45   o "" is not a valid project or module key. It cannot be empty nor contain whitespaces.
https://jenkins.onap.org/view/vvp/job/vvp-validation-scripts-sonar/619/console

STAGE 2

  1. Update oparent to upgrade the sonar plugin and Jacoco configuration to the latest plugin required by SonarCloud: https://sonarcloud.io/documentation/analysis/scan/sonarscanner-for-maven/
  2. Make an oparent release wit this change
  3. Migrate teams to the new oparent while also removing the hardcoded goals in their sonar ci-management changes from the above table

SonarCloud migration notes


Ready to migrate? Things to consider and challenges faced with the currently migrated teams

    • Teams will still be using the same Jenkins jobs
    • SonarCloud is based on SonarQube 8.0 with +- some feature and plugin differences
    • SonarQube will stay around for some time, but eventually will be deprecated (mid next year)
    • Warnings in Quality Gates are no longer applicable in SonarCloud
    • Teams using the "org.sonarsource.scanner.maven" plugin, might face issues during the migration since this plugin calls SonarQube directly in older versions.

Testing the migration

The reports will now be posted under: https://sonarcloud.io/organizations/onap/projects

Jenkins jobs do not change.


  • No labels