You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Unknown error with pitest 1.9.4 but not with 1.8.1 or 1.7.x
Our build works up to version 1.8.1 of pitest but not with any later versions.
We run pitest with:
mvn org.pitest:pitest-maven:mutationCoverage
With versions 1.9.0 up to 1.9.4 Pitest immediately fails.
I think there is something wrong with my pom.xml or Java setup but not sure what.
I Added a redacted pom.xml file and part of the log file.
What am I doing wrong and and did miss in the documentation or is missing in the documentation?
redacted pom.xml
<?xml version="1.0" encoding="UTF-8"?>
<projectxmlns="http://maven.apache.org/POM/4.0.0"xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>my.fluffy</groupId>
<artifactId>parent-pom</artifactId>
<version>1.84.0-SNAPSHOT</version>
</parent>
<groupId>my.fluffy</groupId>
<artifactId>app</artifactId>
<version>3.14.15-SNAPSHOT</version>
<packaging>jar</packaging>
<name>my-fluffy-project</name>
<description>Super fluffy.</description>
<url>http://www.example.com</url>
<inceptionYear>2016</inceptionYear>
<organization>
<name>Fluffy Mc fluf face</name>
<url>http://www.example.com</url>
</organization>
<licenses>
<license>
<name>Not fit for use</name>
<distribution>whatever</distribution>
<comments>also don't care</comments>
</license>
</licenses>
<properties>
<!-- use hostname as branch name for sonarqube -->
<sonar.branch.name>${hostname}</sonar.branch.name>
<mockito.version>4.6.1</mockito.version>
<lombok.version>1.18.24</lombok.version>
<!-- old 4.x version we replace with a local empty jar when porting. -->
<junit.version>0</junit.version>
<!-- new junit 5 dependencies -->
<junit-jupiter.version>5.9.0</junit-jupiter.version>
<junit-platform.version>5.8.1</junit-platform.version>
<surefire-plugin.version>2.22.2</surefire-plugin.version>
<jdk.version>7</jdk.version>
<test_jdk.version>8</test_jdk.version>
<pitest.version>1.9.4</pitest.version>
<hamcrest.version>2.2</hamcrest.version>
<maven.compiler.target>${jdk.version}</maven.compiler.target>
<maven.compiler.source>${jdk.version}</maven.compiler.source>
<maven.compiler.testTarget>${test_jdk.version}</maven.compiler.testTarget>
<maven.compiler.testSource>${test_jdk.version}</maven.compiler.testSource>
<jacoco.version>0.8.8</jacoco.version>
<!-- my-fluffy project dependency versions -->
<fluffy.dto.version>2.35.0-SNAPSHOT</fluffy.dto.version>
<my-fluffy-dto.version>0.64.0-SNAPSHOT</my-fluffy-dto.version>
<magicfluff-api.version>1.56.0-SNAPSHOT</magicfluff-api.version>
</properties>
<dependencies>
<dependency>
<groupId>my.fluffy.logging</groupId>
<artifactId>my-fluffy-fluffy.dto</artifactId>
<version>${fluffy.dto.version}</version>
</dependency>
<dependency>
<groupId>my.fluffy.mrtd</groupId>
<artifactId>my-fluffy-my-fluffy-dto</artifactId>
<version>${my-fluffy-dto.version}</version>
</dependency>
<dependency>
<groupId>my.fluffy.magicfluff</groupId>
<artifactId>magicfluff-api</artifactId>
<version>${magicfluff-api.version}</version>
<exclusions>
<exclusion>
<artifactId>freefluff</artifactId>
<groupId>org.freefluff</groupId>
</exclusion>
</exclusions>
</dependency>
<dependency>
<groupId>org.bouncycastle</groupId>
<artifactId>bcprov-jdk15to18</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.bouncycastle</groupId>
<artifactId>bcutil-jdk15to18</artifactId>
<scope>test</scope>
</dependency>
<!-- Junit 5 dependencies -->
<dependency>
<groupId>org.junit.jupiter</groupId>
<artifactId>junit-jupiter-engine</artifactId>
<version>${junit-jupiter.version}</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.junit.jupiter</groupId>
<artifactId>junit-jupiter-params</artifactId>
<version>${junit-jupiter.version}</version>
<scope>test</scope>
</dependency>
<!-- Add Junit5 plugins here--><!-- other test dependencies -->
<dependency>
<groupId>org.quicktheories</groupId>
<artifactId>quicktheories</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.projectlombok</groupId>
<artifactId>lombok</artifactId>
<version>${lombok.version}</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>org.hamcrest</groupId>
<artifactId>hamcrest</artifactId>
<version>${hamcrest.version}</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.mockito</groupId>
<artifactId>mockito-inline</artifactId>
<version>${mockito.version}</version>
<scope>test</scope>
</dependency>
</dependencies>
<build>
<plugins>
<!-- Pitest is a mutation testing tool. enable it to see coverage missing not caught by SonarQube /Jaccoco. It helped in finding/solving a few bugs and eliminating some code. Also for adding reggression tests it is really useful. See https://www.pitest.org for more info. Run it via: mvn org.pitest:pitest-maven:mutationCoverage-->
<plugin>
<groupId>org.pitest</groupId>
<artifactId>pitest-maven</artifactId>
<version>${pitest.version}</version>
<dependencies>
<dependency>
<groupId>org.pitest</groupId>
<artifactId>pitest-junit5-plugin</artifactId>
<version>0.14</version>
</dependency>
</dependencies>
<configuration>
<timeoutConstant>60000</timeoutConstant>
<!-- Enabling all does not work with 32Gb memory --><!--mutators> <mutator>ALL</mutator> </mutators-->
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<executions>
<execution>
<id>default-compile</id>
<configuration>
<showDeprecation>true</showDeprecation>
<showWarnings>true</showWarnings>
<compilerArguments>
<source>${maven.compiler.target}</source>
<target>${maven.compiler.source}</target>
</compilerArguments>
</configuration>
</execution>
<execution>
<id>default-testCompile</id>
<configuration>
<showDeprecation>true</showDeprecation>
<showWarnings>true</showWarnings>
<compilerArguments>
<source>${maven.compiler.testTarget}</source>
<target>${maven.compiler.testSource}</target>
</compilerArguments>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
<artifactId>maven-surefire-plugin</artifactId>
<version>${surefire-plugin.version}</version>
<configuration>
<properties>
<configurationParameters>junit.jupiter.conditions.deactivate = *
junit.jupiter.extensions.autodetection.enabled = true
junit.jupiter.testinstance.lifecycle.default = per_method
junit.jupiter.execution.parallel.enabled = true</configurationParameters>
</properties>
</configuration>
</plugin>
<plugin>
<artifactId>jacoco-maven-plugin</artifactId>
<groupId>org.jacoco</groupId>
<version>${jacoco.version}</version>
</plugin>
</plugins>
</build>
</project>
stacktrace
ERROR] Failed to execute goal org.pitest:pitest-maven:1.9.4:mutationCoverage (default-cli) on project my-fluffy-project: Execution default-cli of goal org.pitest:pitest-maven:1.9.4:mutationCoverage failed: Coverage generation minion exited abnormally! (UNKNOWN_ERROR)
[ERROR]
[ERROR] Please copy and paste the information and the complete stacktrace below when reporting an issue
[ERROR] VM : OpenJDK 64-Bit Server VM
[ERROR] Vendor : Debian
[ERROR] Version : 11.0.16+8-post-Debian-1deb11u1
[ERROR] Uptime : 2913
[ERROR] Input ->
[ERROR] 1 : -Xms3500m
[ERROR] 2 : -Xmx3500m
[ERROR] 3 : -Xshare:on
[ERROR] 4 : -XX:TieredStopAtLevel=1
[ERROR] 5 : -XX:+UseParallelGC
[ERROR] 6 : -Xverify:none
[ERROR] 7 : -Dmaven.artifact.threads=50
[ERROR] 8 : -Dclassworlds.conf=/opt/apache-maven-3.8.6/bin/m2.conf
[ERROR] 9 : -Dmaven.home=/opt/apache-maven-3.8.6
[ERROR] 10 : -Dlibrary.jansi.path=/opt/apache-maven-3.8.6/lib/jansi-native
[ERROR] 11 : -Dmaven.multiModuleProjectDirectory=/home/kruse/Projects/my-fluffy-project
[ERROR] BootClassPathSupported : false
[ERROR]
[ERROR]
[ERROR] Please copy and paste the information and the complete stacktrace below when reporting an issue
[ERROR] VM : OpenJDK 64-Bit Server VM
[ERROR] Vendor : Debian
[ERROR] Version : 11.0.16+8-post-Debian-1deb11u1
[ERROR] Uptime : 2913
[ERROR] Input ->
[ERROR] 1 : -Xms3500m
[ERROR] 2 : -Xmx3500m
[ERROR] 3 : -Xshare:on
[ERROR] 4 : -XX:TieredStopAtLevel=1
[ERROR] 5 : -XX:+UseParallelGC
[ERROR] 6 : -Xverify:none
[ERROR] 7 : -Dmaven.artifact.threads=50
[ERROR] 8 : -Dclassworlds.conf=/opt/apache-maven-3.8.6/bin/m2.conf
[ERROR] 9 : -Dmaven.home=/opt/apache-maven-3.8.6
[ERROR] 10 : -Dlibrary.jansi.path=/opt/apache-maven-3.8.6/lib/jansi-native
[ERROR] 11 : -Dmaven.multiModuleProjectDirectory=/home/kruse/Projects/my-fluffy-project
[ERROR] BootClassPathSupported : false
[ERROR]
[ERROR] -> [Help 1]
org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.pitest:pitest-maven:1.9.4:mutationCoverage (default-cli) on project my-fluffy-project: Execution default-cli of goal org.pitest:pitest-maven:1.9.4:mutationCoverage failed: Coverage generation minion exited abnormally! (UNKNOWN_ERROR)
Please copy and paste the information and the complete stacktrace below when reporting an issue
VM : OpenJDK 64-Bit Server VM
Vendor : Debian
Version : 11.0.16+8-post-Debian-1deb11u1
Uptime : 2913
Input ->
1 : -Xms3500m
2 : -Xmx3500m
3 : -Xshare:on
4 : -XX:TieredStopAtLevel=1
5 : -XX:+UseParallelGC
6 : -Xverify:none
7 : -Dmaven.artifact.threads=50
8 : -Dclassworlds.conf=/opt/apache-maven-3.8.6/bin/m2.conf
9 : -Dmaven.home=/opt/apache-maven-3.8.6
10 : -Dlibrary.jansi.path=/opt/apache-maven-3.8.6/lib/jansi-native
11 : -Dmaven.multiModuleProjectDirectory=/home/kruse/Projects/my-fluffy-project
BootClassPathSupported : false
Please copy and paste the information and the complete stacktrace below when reporting an issue
VM : OpenJDK 64-Bit Server VM
Vendor : Debian
Version : 11.0.16+8-post-Debian-1deb11u1
Uptime : 2913
Input ->
1 : -Xms3500m
2 : -Xmx3500m
3 : -Xshare:on
4 : -XX:TieredStopAtLevel=1
5 : -XX:+UseParallelGC
6 : -Xverify:none
7 : -Dmaven.artifact.threads=50
8 : -Dclassworlds.conf=/opt/apache-maven-3.8.6/bin/m2.conf
9 : -Dmaven.home=/opt/apache-maven-3.8.6
10 : -Dlibrary.jansi.path=/opt/apache-maven-3.8.6/lib/jansi-native
11 : -Dmaven.multiModuleProjectDirectory=/home/kruse/Projects/my-fluffy-project
BootClassPathSupported : false
at org.apache.maven.lifecycle.internal.MojoExecutor.doExecute2 (MojoExecutor.java:375)
at org.apache.maven.lifecycle.internal.MojoExecutor.doExecute (MojoExecutor.java:351)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:215)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:171)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:163)
at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:117)
at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:81)
at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build (SingleThreadedBuilder.java:56)
at org.apache.maven.lifecycle.internal.LifecycleStarter.execute (LifecycleStarter.java:128)
at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:294)
at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:192)
at org.apache.maven.DefaultMaven.execute (DefaultMaven.java:105)
at org.apache.maven.cli.MavenCli.execute (MavenCli.java:960)
at org.apache.maven.cli.MavenCli.doMain (MavenCli.java:293)
at org.apache.maven.cli.MavenCli.main (MavenCli.java:196)
at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)
at jdk.internal.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl.java:62)
at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke (Method.java:566)
at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced (Launcher.java:282)
at org.codehaus.plexus.classworlds.launcher.Launcher.launch (Launcher.java:225)
at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode (Launcher.java:406)
at org.codehaus.plexus.classworlds.launcher.Launcher.main (Launcher.java:347)
Caused by: org.apache.maven.plugin.PluginExecutionException: Execution default-cli of goal org.pitest:pitest-maven:1.9.4:mutationCoverage failed: Coverage generation minion exited abnormally! (UNKNOWN_ERROR)
Please copy and paste the information and the complete stacktrace below when reporting an issue
VM : OpenJDK 64-Bit Server VM
Vendor : Debian
Version : 11.0.16+8-post-Debian-1deb11u1
Uptime : 2913
Input ->
1 : -Xms3500m
2 : -Xmx3500m
3 : -Xshare:on
4 : -XX:TieredStopAtLevel=1
5 : -XX:+UseParallelGC
6 : -Xverify:none
7 : -Dmaven.artifact.threads=50
8 : -Dclassworlds.conf=/opt/apache-maven-3.8.6/bin/m2.conf
9 : -Dmaven.home=/opt/apache-maven-3.8.6
10 : -Dlibrary.jansi.path=/opt/apache-maven-3.8.6/lib/jansi-native
11 : -Dmaven.multiModuleProjectDirectory=/home/kruse/Projects/my-fluffy-project
BootClassPathSupported : false
Please copy and paste the information and the complete stacktrace below when reporting an issue
VM : OpenJDK 64-Bit Server VM
Vendor : Debian
Version : 11.0.16+8-post-Debian-1deb11u1
Uptime : 2913
Input ->
1 : -Xms3500m
2 : -Xmx3500m
3 : -Xshare:on
4 : -XX:TieredStopAtLevel=1
5 : -XX:+UseParallelGC
6 : -Xverify:none
7 : -Dmaven.artifact.threads=50
8 : -Dclassworlds.conf=/opt/apache-maven-3.8.6/bin/m2.conf
9 : -Dmaven.home=/opt/apache-maven-3.8.6
10 : -Dlibrary.jansi.path=/opt/apache-maven-3.8.6/lib/jansi-native
11 : -Dmaven.multiModuleProjectDirectory=/home/kruse/Projects/my-fluffy-project
BootClassPathSupported : false
at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo (DefaultBuildPluginManager.java:148)
at org.apache.maven.lifecycle.internal.MojoExecutor.doExecute2 (MojoExecutor.java:370)
at org.apache.maven.lifecycle.internal.MojoExecutor.doExecute (MojoExecutor.java:351)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:215)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:171)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:163)
at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:117)
at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:81)
at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build (SingleThreadedBuilder.java:56)
at org.apache.maven.lifecycle.internal.LifecycleStarter.execute (LifecycleStarter.java:128)
at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:294)
at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:192)
at org.apache.maven.DefaultMaven.execute (DefaultMaven.java:105)
at org.apache.maven.cli.MavenCli.execute (MavenCli.java:960)
at org.apache.maven.cli.MavenCli.doMain (MavenCli.java:293)
at org.apache.maven.cli.MavenCli.main (MavenCli.java:196)
at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)
at jdk.internal.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl.java:62)
at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke (Method.java:566)
at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced (Launcher.java:282)
at org.codehaus.plexus.classworlds.launcher.Launcher.launch (Launcher.java:225)
at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode (Launcher.java:406)
at org.codehaus.plexus.classworlds.launcher.Launcher.main (Launcher.java:347)
Caused by: org.pitest.util.PitError: Coverage generation minion exited abnormally! (UNKNOWN_ERROR)
Please copy and paste the information and the complete stacktrace below when reporting an issue
VM : OpenJDK 64-Bit Server VM
Vendor : Debian
Version : 11.0.16+8-post-Debian-1deb11u1
Uptime : 2913
Input ->
1 : -Xms3500m
2 : -Xmx3500m
3 : -Xshare:on
4 : -XX:TieredStopAtLevel=1
5 : -XX:+UseParallelGC
6 : -Xverify:none
7 : -Dmaven.artifact.threads=50
8 : -Dclassworlds.conf=/opt/apache-maven-3.8.6/bin/m2.conf
9 : -Dmaven.home=/opt/apache-maven-3.8.6
10 : -Dlibrary.jansi.path=/opt/apache-maven-3.8.6/lib/jansi-native
11 : -Dmaven.multiModuleProjectDirectory=/home/kruse/Projects/my-fluffy-project
BootClassPathSupported : false
Please copy and paste the information and the complete stacktrace below when reporting an issue
VM : OpenJDK 64-Bit Server VM
Vendor : Debian
Version : 11.0.16+8-post-Debian-1deb11u1
Uptime : 2913
Input ->
1 : -Xms3500m
2 : -Xmx3500m
3 : -Xshare:on
4 : -XX:TieredStopAtLevel=1
5 : -XX:+UseParallelGC
6 : -Xverify:none
7 : -Dmaven.artifact.threads=50
8 : -Dclassworlds.conf=/opt/apache-maven-3.8.6/bin/m2.conf
9 : -Dmaven.home=/opt/apache-maven-3.8.6
10 : -Dlibrary.jansi.path=/opt/apache-maven-3.8.6/lib/jansi-native
11 : -Dmaven.multiModuleProjectDirectory=/home/kruse/Projects/my-fluffy-project
BootClassPathSupported : false
at org.pitest.util.Unchecked.translateCheckedException (Unchecked.java:20)
at org.pitest.coverage.execute.DefaultCoverageGenerator.calculateCoverage (DefaultCoverageGenerator.java:106)
at org.pitest.coverage.execute.DefaultCoverageGenerator.calculateCoverage (DefaultCoverageGenerator.java:52)
at org.pitest.mutationtest.tooling.MutationCoverage.runAnalysis (MutationCoverage.java:148)
at org.pitest.mutationtest.tooling.MutationCoverage.runReport (MutationCoverage.java:138)
at org.pitest.mutationtest.tooling.EntryPoint.execute (EntryPoint.java:129)
at org.pitest.mutationtest.tooling.EntryPoint.execute (EntryPoint.java:57)
at org.pitest.maven.RunPitStrategy.execute (RunPitStrategy.java:35)
at org.pitest.maven.AbstractPitMojo.analyse (AbstractPitMojo.java:510)
at org.pitest.maven.AbstractPitMojo.execute (AbstractPitMojo.java:440)
at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo (DefaultBuildPluginManager.java:137)
at org.apache.maven.lifecycle.internal.MojoExecutor.doExecute2 (MojoExecutor.java:370)
at org.apache.maven.lifecycle.internal.MojoExecutor.doExecute (MojoExecutor.java:351)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:215)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:171)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:163)
at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:117)
at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:81)
at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build (SingleThreadedBuilder.java:56)
at org.apache.maven.lifecycle.internal.LifecycleStarter.execute (LifecycleStarter.java:128)
at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:294)
at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:192)
at org.apache.maven.DefaultMaven.execute (DefaultMaven.java:105)
at org.apache.maven.cli.MavenCli.execute (MavenCli.java:960)
at org.apache.maven.cli.MavenCli.doMain (MavenCli.java:293)
at org.apache.maven.cli.MavenCli.main (MavenCli.java:196)
at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)
at jdk.internal.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl.java:62)
at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke (Method.java:566)
at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced (Launcher.java:282)
at org.codehaus.plexus.classworlds.launcher.Launcher.launch (Launcher.java:225)
at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode (Launcher.java:406)
at org.codehaus.plexus.classworlds.launcher.Launcher.main (Launcher.java:347)
Caused by: org.pitest.util.PitError: Coverage generation minion exited abnormally! (UNKNOWN_ERROR)
Please copy and paste the information and the complete stacktrace below when reporting an issue
VM : OpenJDK 64-Bit Server VM
Vendor : Debian
Version : 11.0.16+8-post-Debian-1deb11u1
Uptime : 2913
Input ->
1 : -Xms3500m
2 : -Xmx3500m
3 : -Xshare:on
4 : -XX:TieredStopAtLevel=1
5 : -XX:+UseParallelGC
6 : -Xverify:none
7 : -Dmaven.artifact.threads=50
8 : -Dclassworlds.conf=/opt/apache-maven-3.8.6/bin/m2.conf
9 : -Dmaven.home=/opt/apache-maven-3.8.6
10 : -Dlibrary.jansi.path=/opt/apache-maven-3.8.6/lib/jansi-native
11 : -Dmaven.multiModuleProjectDirectory=/home/kruse/Projects/my-fluffy-project
BootClassPathSupported : false
at org.pitest.coverage.execute.DefaultCoverageGenerator.gatherCoverageData (DefaultCoverageGenerator.java:148)
at org.pitest.coverage.execute.DefaultCoverageGenerator.calculateCoverage (DefaultCoverageGenerator.java:90)
at org.pitest.coverage.execute.DefaultCoverageGenerator.calculateCoverage (DefaultCoverageGenerator.java:52)
at org.pitest.mutationtest.tooling.MutationCoverage.runAnalysis (MutationCoverage.java:148)
at org.pitest.mutationtest.tooling.MutationCoverage.runReport (MutationCoverage.java:138)
at org.pitest.mutationtest.tooling.EntryPoint.execute (EntryPoint.java:129)
at org.pitest.mutationtest.tooling.EntryPoint.execute (EntryPoint.java:57)
at org.pitest.maven.RunPitStrategy.execute (RunPitStrategy.java:35)
at org.pitest.maven.AbstractPitMojo.analyse (AbstractPitMojo.java:510)
at org.pitest.maven.AbstractPitMojo.execute (AbstractPitMojo.java:440)
at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo (DefaultBuildPluginManager.java:137)
at org.apache.maven.lifecycle.internal.MojoExecutor.doExecute2 (MojoExecutor.java:370)
at org.apache.maven.lifecycle.internal.MojoExecutor.doExecute (MojoExecutor.java:351)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:215)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:171)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:163)
at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:117)
at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:81)
at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build (SingleThreadedBuilder.java:56)
at org.apache.maven.lifecycle.internal.LifecycleStarter.execute (LifecycleStarter.java:128)
at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:294)
at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:192)
at org.apache.maven.DefaultMaven.execute (DefaultMaven.java:105)
at org.apache.maven.cli.MavenCli.execute (MavenCli.java:960)
at org.apache.maven.cli.MavenCli.doMain (MavenCli.java:293)
at org.apache.maven.cli.MavenCli.main (MavenCli.java:196)
at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)
at jdk.internal.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl.java:62)
at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke (Method.java:566)
at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced (Launcher.java:282)
at org.codehaus.plexus.classworlds.launcher.Launcher.launch (Launcher.java:225)
at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode (Launcher.java:406)
at org.codehaus.plexus.classworlds.launcher.Launcher.main (Launcher.java:347)
[ERROR]
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/PluginExecutionException
The text was updated successfully, but these errors were encountered:
When upgrading to 1.9.0 the pitest-junit5-plugin needs to be upgraded to 1.0.0 due to an api change. This is most likely the issue.
It is mentioned in the release note, but perhaps needs to be clearer?
As a result of #1040 any external pitest test plugins (eg JUnit 5, TestNG, arcmutate accelerator) must be updated to a compatible version (1.0.0) when upgrading.
Unknown error with pitest 1.9.4 but not with 1.8.1 or 1.7.x
Our build works up to version 1.8.1 of pitest but not with any later versions.
We run pitest with:
mvn
org.pitest:pitest-maven:mutationCoverage
With versions 1.9.0 up to 1.9.4 Pitest immediately fails.
I think there is something wrong with my pom.xml or Java setup but not sure what.
I Added a redacted pom.xml file and part of the log file.
What am I doing wrong and and did miss in the documentation or is missing in the documentation?
redacted pom.xml
stacktrace
The text was updated successfully, but these errors were encountered: