devhub-tud / devhub

DevHub is a software system designed to give students a simple practical introduction into modern software development.
15 stars 8 forks source link

Coverage not computed due to error #371

Closed jwgmeligmeyling closed 8 years ago

jwgmeligmeyling commented 8 years ago

From the Travis logs

[ERROR] Failed to execute goal org.jacoco:jacoco-maven-plugin:0.7.5.201505241946:report (default-cli) on project devhub: An error has occurred in JaCoCo Test report generation. Error while creating report: invalid entry size (expected 1377 but got 1402 bytes) -> [Help 1]
stsatlantis commented 8 years ago

Can you please tell my what was the solution?

jwgmeligmeyling commented 8 years ago

@stsatlantis

The Jacoco analyzer not being able to parse some resources (that were presumably the git submodules or a zip/binary within them)

See: https://github.com/devhub-tud/devhub/commit/c21607d753fbac1ba26e8b14d4ba84f4487620f8

And: https://github.com/devhub-tud/devhub/tree/master/src/main/resources/static

stsatlantis commented 8 years ago

@JWGmeligMeyling Thanks for the fast response

stsatlantis commented 8 years ago

@JWGmeligMeyling Can you please answer this question as well?

jwgmeligmeyling commented 8 years ago

Posted the comment there, did this fix your problem as well?

stsatlantis commented 8 years ago

Yes, it did :)