Info |
---|
SONARQUBE SUPPORT WILL END FEB-20Please make sure there are no components left in SonarQube Please implement SonarCloud coverage drop fix explained below |
Timeline of events
To prevent dependency issues, this migration is planned to happen in 2 stages.
...
- RELENG → Will add the needed changes in ci-management for each project and run a test in the sandbox
- 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.
- 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.
- TECHTEAM&RELENG → Will work on any additional comments/questions/issues from column 4 and 5.
Info |
---|
SONAR COVERAGE DROP TO 0%Sonar Cloud made an update on the jacoco plugin where they dropped support for .exec file format. We need to use .xml instead. Please look for more information in https://community.sonarsource.com/t/sonar-coverage-dropping-to-0-for-some-projects/18521/2 Some teams like APPC have upgraded their reports and coverage was restored for them. Please follow their examples: https://gerrit.onap.org/r/#/c/appc/parent/+/100156/, https://gerrit.onap.org/r/#/c/appc/+/100155/
Also, OPARENT has been updated with the fix too https://gerrit.onap.org/r/#/c/oparent/+/100168/ included in 3.0.0-SNAPSHOT |
Tableenhancer |
---|
numberOfFixedRows | 3 |
---|
decimalMark | . (point) |
---|
|
Task | Add SonarCloud variables in project's yaml files | Sandbox test of my change (DO NOT CONFUSE WITH SONAR REPORT RESULT) | Review results | Comment on progress |
---|
Responsible | RelEng | Releng | PTL |
|
---|
Estimated Duration | 5 min | 15 min to 1 hr depending | 10 min per report |
|
---|
AAF | https://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 | Completed1/2 passPASS | all looks ok. | Tested and working | for JDK13 but having issues with JavaScript (Contacted Sonar team)most failed/pending re-test/pending re-testfail/pending re-testfail/pending re-testfail | PASS | Hui Deng Gerrit ready, SonarCloud results pushed and waiting on committers to +1 my change if all looks ok Completed | Completed | 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.Bin Yang Gerrit ready, SonarCloud results pushed and waiting on committers to +1 my change if all looks okci-management98558Tao Shen 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.Waiting on Tech team to review reports.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
- 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/
- Make an oparent release wit this change
- Migrate teams to the new oparent while also removing the hardcoded goals in their sonar ci-management changes from the above table
...