jmc icon indicating copy to clipboard operation
jmc copied to clipboard

8219: Missing coverage in application reports

Open aptmac opened this issue 9 months ago • 17 comments

This PR fixes (&cleans up) the coverage reports under jmc/application.

The argLine was being set in a handful of the application test packages without the surefireArgLine that's required to have jacoco run coverage.

Additionally I've removed a bunch of the feature packages from the report (as there isn't anything to scan), and included missing packages that have been added in the last few years. There were also a handful of versions that needed to be updated as well.

The Jacoco version in core was bumped to 8.0.10, but the application version stayed at 8.0.7, this has been updated.


Progress

  • [x] Commit message must refer to an issue
  • [x] Change must be properly reviewed (1 review required, with at least 1 Committer)

Issue

  • JMC-8219: Missing coverage in application reports (Bug - P4)

Reviewers

Reviewing

Using git

Checkout this PR locally:
$ git fetch https://git.openjdk.org/jmc.git pull/562/head:pull/562
$ git checkout pull/562

Update a local copy of the PR:
$ git checkout pull/562
$ git pull https://git.openjdk.org/jmc.git pull/562/head

Using Skara CLI tools

Checkout this PR locally:
$ git pr checkout 562

View PR using the GUI difftool:
$ git pr show -t 562

Using diff file

Download this PR as a diff file:
https://git.openjdk.org/jmc/pull/562.diff

Webrev

Link to Webrev Comment

aptmac avatar May 03 '24 15:05 aptmac

:wave: Welcome back aptmac! A progress list of the required criteria for merging this PR into master will be added to the body of your pull request. There are additional pull request commands available for use with this pull request.

bridgekeeper[bot] avatar May 03 '24 15:05 bridgekeeper[bot]

@aptmac This change now passes all automated pre-integration checks.

ℹ️ This project also has non-automated pre-integration requirements. Please see the file CONTRIBUTING.md for details.

After integration, the commit message for the final commit will be:

8219: Missing coverage in application reports

Reviewed-by: clanger, hirt

You can use pull request commands such as /summary, /contributor and /issue to adjust it as needed.

At the time when this comment was updated there had been 2 new commits pushed to the master branch:

  • eead0934233e3d01839faf6e71bb6ae8985ee5f9: 8266: Upgrade third party libraries for JMC 9.1.0
  • f114fb50d5447af55bda7c2b2a2b8e76765e0740: 8259: Several JFR pages throwing exceptions after JMC-8244

Please see this link for an up-to-date comparison between the source branch of this pull request and the master branch. As there are no conflicts, your changes will automatically be rebased on top of these commits when integrating. If you prefer to avoid this automatic rebasing, please check the documentation for the /integrate command for further details.

➡️ To integrate this PR with the above commit message to the master branch, type /integrate in a new comment.

openjdk[bot] avatar May 03 '24 15:05 openjdk[bot]

Webrevs

mlbridge[bot] avatar May 03 '24 15:05 mlbridge[bot]

Ah right, no surefireargline if it's being run without coverage, so that's tanking the tests.

aptmac avatar May 03 '24 15:05 aptmac

@aptmac Please do not rebase or force-push to an active PR as it invalidates existing review comments. Note for future reference, the bots always squash all changes into a single commit automatically as part of the integration. See OpenJDK Developers’ Guide for more information.

openjdk[bot] avatar May 27 '24 21:05 openjdk[bot]

@aptmac This pull request has been inactive for more than 4 weeks and will be automatically closed if another 4 weeks passes without any activity. To avoid this, simply add a new comment to the pull request. Feel free to ask for assistance if you need help with progressing this pull request towards integration!

bridgekeeper[bot] avatar Jun 24 '24 21:06 bridgekeeper[bot]

@aptmac Please do not rebase or force-push to an active PR as it invalidates existing review comments. Note for future reference, the bots always squash all changes into a single commit automatically as part of the integration. See OpenJDK Developers’ Guide for more information.

openjdk[bot] avatar Jun 27 '24 14:06 openjdk[bot]

Updated the branch to sit on-top of master to pull in the new Jolokia feature. This also required the addition of the tycho.testArgLine.local to the argLine used when running the tests so the coverage could be recorded.

aptmac avatar Jul 02 '24 14:07 aptmac

@aptmac This pull request has been inactive for more than 4 weeks and will be automatically closed if another 4 weeks passes without any activity. To avoid this, simply add a new comment to the pull request. Feel free to ask for assistance if you need help with progressing this pull request towards integration!

bridgekeeper[bot] avatar Jul 30 '24 19:07 bridgekeeper[bot]

Branch has conflicts.

thegreystone avatar Aug 20 '24 01:08 thegreystone

@aptmac Please do not rebase or force-push to an active PR as it invalidates existing review comments. Note for future reference, the bots always squash all changes into a single commit automatically as part of the integration. See OpenJDK Developers’ Guide for more information.

openjdk[bot] avatar Aug 20 '24 16:08 openjdk[bot]

@aptmac Please do not rebase or force-push to an active PR as it invalidates existing review comments. Note for future reference, the bots always squash all changes into a single commit automatically as part of the integration. See OpenJDK Developers’ Guide for more information.

openjdk[bot] avatar Sep 06 '24 13:09 openjdk[bot]

@aptmac Please do not rebase or force-push to an active PR as it invalidates existing review comments. Note for future reference, the bots always squash all changes into a single commit automatically as part of the integration. See OpenJDK Developers’ Guide for more information.

openjdk[bot] avatar Sep 13 '24 14:09 openjdk[bot]

@aptmac Please do not rebase or force-push to an active PR as it invalidates existing review comments. Note for future reference, the bots always squash all changes into a single commit automatically as part of the integration. See OpenJDK Developers’ Guide for more information.

openjdk[bot] avatar Sep 17 '24 13:09 openjdk[bot]

@aptmac Please do not rebase or force-push to an active PR as it invalidates existing review comments. Note for future reference, the bots always squash all changes into a single commit automatically as part of the integration. See OpenJDK Developers’ Guide for more information.

openjdk[bot] avatar Sep 26 '24 15:09 openjdk[bot]

Trying these checks again, locally it ran fine and then it ran cleanly after nuking my local m2 and starting again.

aptmac avatar Sep 26 '24 15:09 aptmac

Ok. Let's take it, but be prepared to follow up with a fix if the integration goes bad.

thegreystone avatar Oct 11 '24 17:10 thegreystone