dimanche 9 août 2020

PIT testing failing due code cache is full in jenkins build

When integrating pit plugin from maven I am getting following error in jenkins.

INFO : MINION : Java HotSpot(TM) 64-Bit Server VM warning: CodeCache is full. Compiler has been disabled. Java HotSpot(TM) 64-Bit Server VM warning: Try increasing the code cache size using -XX:ReservedCodeCacheSize=

I tried to add jvm agruments in the plugin after that also its failing . There are more than 3000 mockito/powermockito junit test cases in the build.

This the maven parameter I am using

 

-U -DskipTests=false  -DwithHistory org.pitest:pitest-maven:mutationCoverage 

Even I tried adding the jvm args as like below.This is also not helping out

<jvmArguments>
    <jvmArgument>-XX:ReservedCodeCacheSize=1024M</jvmArgument>
</jvmArguments>

PIT version I am going 1.3

Can any one shed some light to figure it out the issue .

Aucun commentaire:

Enregistrer un commentaire