Dear ONAP teams, I have updated the wiki with the current repos still facing 0% coverage. https://wiki.onap.org/display/DW/SonarCloud+migration+from+SonarQube I also added a section "SONAR COVERAGE DROP TO 0%" where you can find more information on how to fix your projects and additional information on SonarCoud's explanation on why this happened.
Vijay mentioned that in case of Python projects, the fix might be different. He is helping us trying some solutions and hopefully we can get an example of a fix. Thanks Vijay and Taka! Please let me know if you have any questions. Thanks! Jess On Thu, Jan 9, 2020 at 1:42 PM CHO, TAKAMUNE <[email protected]> wrote: > Jess, > > > > We merged: > > > > https://gerrit.onap.org/r/c/appc/+/100155 > > https://gerrit.onap.org/r/c/appc/parent/+/100156 > > > > all are picking up from jacoco.xml instead. APPC coverage goes back to > normal in my local sonar. > > > > Taka > > > > *From:* [email protected] <[email protected]> *On > Behalf Of *Jessica Wagantall > *Sent:* Thursday, January 9, 2020 4:39 PM > *To:* STERN, ITTAY <[email protected]> > *Cc:* [email protected]; onap-release < > [email protected]> > *Subject:* Re: [onap-discuss] SonarCloud coverage issues > > > > Thanks Ittay, > > > > I had issues testing your project. seems like some NPM issues. > > Are you guys aware of them? > > https://jenkins.onap.org/sandbox/job/vid-sonar/1/console > <https://urldefense.proofpoint.com/v2/url?u=https-3A__jenkins.onap.org_sandbox_job_vid-2Dsonar_1_console&d=DwMFaQ&c=LFYZ-o9_HUMeMTSQicvjIg&r=i5VHNTZ3SDPgIii87sudZA&m=kg3AE54aZHVhp6DoGpTVRpAPnqw1rHVR68CbvJ5NwAo&s=sHSwXp1rqnndqvXV1MDFsFT3Zm_bq5ciK4Nnhtg6VmI&e=> > > > > Meanwhile, the version bump has been done here: > https://gerrit.onap.org/r/#/c/ci-management/+/100157/ > <https://urldefense.proofpoint.com/v2/url?u=https-3A__gerrit.onap.org_r_-23_c_ci-2Dmanagement_-2B_100157_&d=DwMFaQ&c=LFYZ-o9_HUMeMTSQicvjIg&r=i5VHNTZ3SDPgIii87sudZA&m=kg3AE54aZHVhp6DoGpTVRpAPnqw1rHVR68CbvJ5NwAo&s=6BrLWu-rKHVsae8CH5qYAZAz_OM6W26XmPuowf04HjA&e=> > > > > Please let me know if anyone else is able to upgrade their jacoco configs > so I can test it. > > > > thanks! > > Jess > > > > On Wed, Jan 8, 2020 at 11:54 PM Stern, Ittay <[email protected]> > wrote: > > For VID we did something similar some time ago (in order to support > Kotlin). > > See https://gerrit.onap.org/r/c/vid/+/94332 > <https://urldefense.proofpoint.com/v2/url?u=https-3A__gerrit.onap.org_r_c_vid_-2B_94332&d=DwMFaQ&c=LFYZ-o9_HUMeMTSQicvjIg&r=i5VHNTZ3SDPgIii87sudZA&m=kg3AE54aZHVhp6DoGpTVRpAPnqw1rHVR68CbvJ5NwAo&s=otjzTX1kdIGBuYuQ3k2Y622YJsfAd5jqXcdR84to0pM&e=> > > > > It was just adding this to pom file: > > > > <*sonar.coverage.jacoco.xmlReportPaths*> > ${project.reporting.outputDirectory}/jacoco-ut/jacoco.xml > </*sonar.coverage.jacoco.xmlReportPaths*> > > > > > > > > *From:* [email protected] <[email protected]> *On > Behalf Of *Jessica Wagantall > *Sent:* Thursday, January 9, 2020 4:05 AM > *To:* onap-release <[email protected]>; > [email protected] > *Subject:* [onap-discuss] SonarCloud coverage issues > > > > Dear ONAP team. > > > > I am investigating with the Sonar team the reasons why the coverage > dropped for many projects to 0%. > > I can help providing more details tomorrow in the TSC meeting but this was > caused by an upgrade that Sonar did to their Jacoco support and seems like > it affected several projects (internal to LF and even external) dropping > the coverage to 0%. > > > > In short, seems like there was an update on the Java analyzer where is no > longer possible to import jacoco.exec reports. Instead, it is suggested we > use XML format. > > > > Here is an example on how another external project fixed their issues: > > https://github.com/synyx/urlaubsverwaltung/pull/930/files > <https://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_synyx_urlaubsverwaltung_pull_930_files&d=DwMFaQ&c=LFYZ-o9_HUMeMTSQicvjIg&r=NJAEHfQoLAqU6Mfo-WCvDEGsbs3O9RNyC3XFKZ7W_Pw&m=LWGzZiOpvMw9jaESTYkevqWuBvAUJhgLwVp0l5TVhnM&s=eCn89iLtF5V6g3PeJ0WLhRqhhDBdsSnSA-eSfCUH7Nc&e=> > > > > Can someone please try this and let me know if this helps? I can get back > to Sonar team and discuss with them about it. > > In parallel, I will work on a change that makes it easier for us to switch > sonar plugin versions easier and move us to 3.7.0.1746 > > > > Thanks so much > > Jess > > > -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#19853): https://lists.onap.org/g/onap-discuss/message/19853 Mute This Topic: https://lists.onap.org/mt/69559697/21656 Group Owner: [email protected] Unsubscribe: https://lists.onap.org/g/onap-discuss/unsub [[email protected]] -=-=-=-=-=-=-=-=-=-=-=-
