fix or remove jacoco IllegalClassFormatException: Error while instrumenting
#4985
Labels
Category: Build/CI
Requests, Issues and Changes targeting gradle, groovy, Jenkins, etc.
Category: Test/QA
Requests, Issues and Changes targeting tests and quality assurance
Good First Issue
Good for learners that are new to Terasology
Status: Needs Investigation
Requires to be debugged or checked for feasibility, etc.
Topic: Stabilization
Requests, Issues and Changes related to improving stablity and reducing flakyness
Type: Bug
Issues reporting and PRs fixing problems
Type: Chore
Request for or implementation of maintenance changes
When running tests, we get a lot of noise in the output that looks like this:
as seen on https://jenkins.terasology.io/teraorg/job/Terasology/job/Modules/job/B/job/Behaviors/view/change-requests/job/PR-101/lastCompletedBuild/testReport/org.terasology.module.behaviors/MovementTests/_walking__leaping__swimming___leap/ :
Jacoco is a thing that's supposed to be giving us metrics of the code coverage of our tests.
This falls under the category of #3859.
My hunch is that some Java permissions thing changed between versions and it can't snoop on execution in the way that it used to.
It's probably fixable, since code coverage metrics are a very standard thing for a project to want.
But if it looks like a complicated fix, I don't think we'd miss much by dropping the jacoco integration from our gradle configuration. In our current usage, it's not much more than a historical footnote on the charts of our CI builds.
The text was updated successfully, but these errors were encountered: