-
Notifications
You must be signed in to change notification settings - Fork 26
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Coverage generator Minion exited abnormally due to UNKNOWN_ERROR #72
Comments
Is the plugin version you are using compatible with the version of junit platform you are using? From the readme
What extra information was outputted when you enabled verbose logging? |
Thank you for your quick response. The junit version for that project is 5.5.0 and I use the default config. org.pitest pitest-maven 1.9.0 org.pitest pitest-junit5-plugin 1.0.0extra info: [INFO] BUILD FAILURE Please copy and paste the information and the complete stacktrace below when reporting an issue Please copy and paste the information and the complete stacktrace below when reporting an issue
Caused by: org.apache.maven.plugin.PluginExecutionException: Execution default-cli of goal org.pitest:pitest-maven:1.9.0:mutationCoverage failed: Coverage generation minion exited abnormally! Please copy and paste the information and the complete stacktrace below when reporting an issue Please copy and paste the information and the complete stacktrace below when reporting an issue
Caused by: org.pitest.util.PitError: Coverage generation minion exited abnormally! Please copy and paste the information and the complete stacktrace below when reporting an issue Please copy and paste the information and the complete stacktrace below when reporting an issue
Caused by: org.pitest.util.PitError: Coverage generation minion exited abnormally! Please copy and paste the information and the complete stacktrace below when reporting an issue
[ERROR] |
What happens if you upgrade the JUnit version to match the requirements shown above? |
I upgraded the version to junit 5.8 and still same errors. Also I tried 1.1.0 requires pitest 1.9.0 or above and JUnit Platform 1.9.x (Jupiter 5.9.0) but still shows the same errors. |
The issue looks to be the |
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
The text was updated successfully, but these errors were encountered: