-
Notifications
You must be signed in to change notification settings - Fork 24
Description
I'm trying to run PITest with the JUnit 5 plugin in the following small project.
https://github.com/kiamesdavies/money-transfer
But when I run PITest, the following errors are given. Is there a way to make the plugin operate on that project?
[INFO] Plugin available : Support for mutating kotlin bytecode
[INFO] Found shared classpath plugin : Default mutation engine
[INFO] Found shared classpath plugin : JUnit 5 test framework support
[INFO] Found shared classpath plugin : JUnit plugin
[INFO] Available mutators : EXPERIMENTAL_ARGUMENT_PROPAGATION,FALSE_RETURNS,TRUE_RETURNS,CONDITIONALS_BOUNDARY,CONSTRUCTOR_CALLS,EMPTY_RETURNS,INCREMENTS,INLINE_CONSTS,INVERT_NEGS,MATH,NEGATE_CONDITIONALS,NON_VOID_METHOD_CALLS,NULL_RETURNS,PRIMITIVE_RETURNS,REMOVE_CONDITIONALS_EQUAL_IF,REMOVE_CONDITIONALS_EQUAL_ELSE,REMOVE_CONDITIONALS_ORDER_IF,REMOVE_CONDITIONALS_ORDER_ELSE,RETURN_VALS,VOID_METHOD_CALLS,EXPERIMENTAL_BIG_DECIMAL,EXPERIMENTAL_BIG_INTEGER,EXPERIMENTAL_MEMBER_VARIABLE,EXPERIMENTAL_NAKED_RECEIVER,REMOVE_INCREMENTS,EXPERIMENTAL_RETURN_VALUES_MUTATOR,EXPERIMENTAL_SWITCH,EXPERIMENTAL_BIG_DECIMAL,EXPERIMENTAL_BIG_INTEGER
[INFO] Adding org.pitest:pitest-junit5-plugin to SUT classpath
[INFO] Adding org.pitest:pitest to SUT classpath
[INFO] Mutating from /SECS/home/m/moradimoghadam/PIT/money-transfer/target/classes
[INFO] Defaulting target classes to match packages in build directory
[INFO] Defaulting target tests to match packages in test build directory
[INFO] Will read and write history at /tmp/io.kiamesdavies.revolut.money-transfer.1.0_pitest_history.bin
8:37:21 AM PIT >> INFO : Verbose logging is disabled. If you encounter a problem, please enable it before reporting an issue.
8:37:21 AM PIT >> INFO : Incremental analysis reduced number of mutations by 0
8:37:21 AM PIT >> INFO : Created 15 mutation test units in pre scan
8:37:22 AM PIT >> INFO : Sending 11 test classes to minion
8:37:22 AM PIT >> INFO : Sent tests to minion
8:37:22 AM PIT >> SEVERE : Coverage generator Minion exited abnormally due to UNKNOWN_ERROR
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 3.581 s
[INFO] Finished at: 2022-12-16T08:37:22Z
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.pitest:pitest-maven:1.9.0:mutationCoverage (default-cli) on project money-transfer: Execution default-cli of goal org.pitest:pitest-maven:1.9.0:mutationCoverage failed: Coverage generation minion exited abnormally!
[ERROR]
[ERROR] Please copy and paste the information and the complete stacktrace below when reporting an issue
[ERROR] VM : Java HotSpot(TM) 64-Bit Server VM
[ERROR] Vendor : Oracle Corporation
[ERROR] Version : 17.0.3+8-LTS-111
[ERROR] Uptime : 4362
[ERROR] Input ->
[ERROR] 1 : -Dclassworlds.conf=/opt/maven/bin/m2.conf
[ERROR] 2 : -Dmaven.home=/opt/maven
[ERROR] 3 : -Dlibrary.jansi.path=/opt/maven/lib/jansi-native
[ERROR] 4 : -Dmaven.multiModuleProjectDirectory=/SECS/home/m/moradimoghadam/PIT/money-transfer
[ERROR] BootClassPathSupported : false
[ERROR]
[ERROR]
[ERROR] Please copy and paste the information and the complete stacktrace below when reporting an issue
[ERROR] VM : Java HotSpot(TM) 64-Bit Server VM
[ERROR] Vendor : Oracle Corporation
[ERROR] Version : 17.0.3+8-LTS-111
[ERROR] Uptime : 4363
[ERROR] Input ->
[ERROR] 1 : -Dclassworlds.conf=/opt/maven/bin/m2.conf
[ERROR] 2 : -Dmaven.home=/opt/maven
[ERROR] 3 : -Dlibrary.jansi.path=/opt/maven/lib/jansi-native
[ERROR] 4 : -Dmaven.multiModuleProjectDirectory=/SECS/home/m/moradimoghadam/PIT/money-transfer
[ERROR] BootClassPathSupported : false