Skip to content
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

Caused by: org.pitest.util.PitError: Coverage generation minion exited abnormally! (MINION_DIED) #1315

Open
Revolvor opened this issue Mar 13, 2024 · 0 comments

Comments

@Revolvor
Copy link

Buildfile: E:\uocourse\24w\software test\as2\pitest-example\pitest-ant-example\build.xml

clean:
[delete] Deleting directory E:\uocourse\24w\software test\as2\pitest-example\pitest-ant-example\build

compile:
[mkdir] Created dir: E:\uocourse\24w\software test\as2\pitest-example\pitest-ant-example\build\classes
[javac] Compiling 3 source files to E:\uocourse\24w\software test\as2\pitest-example\pitest-ant-example\build\classes

test:
[mkdir] Created dir: E:\uocourse\24w\software test\as2\pitest-example\pitest-ant-example\build\test-result
[mkdir] Created dir: E:\uocourse\24w\software test\as2\pitest-example\pitest-ant-example\build\test-classes
[javac] Compiling 2 source files to E:\uocourse\24w\software test\as2\pitest-example\pitest-ant-example\build\test-classes
[junitreport] Processing E:\uocourse\24w\software test\as2\pitest-example\pitest-ant-example\build\test-result\TESTS-TestSuites.xml to C:\Users\VULCAN\AppData\Local\Temp\null1009652849
[junitreport] Loading stylesheet ile:/E:/uocourse/24w/software%20test/as2/apache-ant-1.10.14-bin/apache-ant-1.10.14/lib/ant-junit.jar!/org/apache/tools/ant/taskdefs/optional/junit/xsl/junit-frames.xsl
[junitreport] Transform time: 243ms
[junitreport] Deleting: C:\Users\VULCAN\AppData\Local\Temp\null1009652849

pit:
[pitest] 17:51:24 PIT >> INFO : Verbose logging is disabled. If you encounter a problem, please enable it before reporting an issue.
[pitest] 17:51:24 PIT >> INFO : Incremental analysis reduced number of mutations by 0
[pitest] 17:51:24 PIT >> INFO : Created 3 mutation test units in pre scan
[pitest] 17:51:25 PIT >> INFO : MINION : Can not load main class org.pitest.coverage.execute.CoverageMinion
[pitest] 17:51:29 PIT >> SEVERE : Coverage generator Minion exited abnormally due to MINION_DIED
[pitest] Exception in thread "main" org.pitest.util.PitError: Coverage generation minion exited abnormally! (MINION_DIED)
[pitest]
[pitest] Please copy and paste the information and the complete stacktrace below when reporting an issue
[pitest] VM : Java HotSpot(TM) 64-Bit Server VM
[pitest] Vendor : Oracle Corporation
[pitest] Version : 25.202-b08
[pitest] Uptime : 5960
[pitest] Input ->
[pitest] BootClassPathSupported : true
[pitest]
[pitest]
[pitest] Please copy and paste the information and the complete stacktrace below when reporting an issue
[pitest] VM : Java HotSpot(TM) 64-Bit Server VM
[pitest] Vendor : Oracle Corporation
[pitest] Version : 25.202-b08
[pitest] Uptime : 5961
[pitest] Input ->
[pitest] BootClassPathSupported : true
[pitest]
[pitest] at org.pitest.util.Unchecked.translateCheckedException(Unchecked.java:20)
[pitest] at org.pitest.coverage.execute.DefaultCoverageGenerator.calculateCoverage(DefaultCoverageGenerator.java:106)
[pitest] at org.pitest.coverage.execute.DefaultCoverageGenerator.calculateCoverage(DefaultCoverageGenerator.java:52)
[pitest] at org.pitest.mutationtest.tooling.MutationCoverage.runAnalysis(MutationCoverage.java:148)
[pitest] at org.pitest.mutationtest.tooling.MutationCoverage.runReport(MutationCoverage.java:138)
[pitest] at org.pitest.mutationtest.tooling.EntryPoint.execute(EntryPoint.java:129)
[pitest] at org.pitest.mutationtest.tooling.EntryPoint.execute(EntryPoint.java:57)
[pitest] at org.pitest.mutationtest.commandline.MutationCoverageReport.runReport(MutationCoverageReport.java:98)
[pitest] at org.pitest.mutationtest.commandline.MutationCoverageReport.main(MutationCoverageReport.java:45)
[pitest] Caused by: org.pitest.util.PitError: Coverage generation minion exited abnormally! (MINION_DIED)
[pitest]
[pitest] Please copy and paste the information and the complete stacktrace below when reporting an issue
[pitest] VM : Java HotSpot(TM) 64-Bit Server VM
[pitest] Vendor : Oracle Corporation
[pitest] Version : 25.202-b08
[pitest] Uptime : 5960
[pitest] Input ->
[pitest] BootClassPathSupported : true
[pitest]
[pitest] at org.pitest.coverage.execute.DefaultCoverageGenerator.gatherCoverageData(DefaultCoverageGenerator.java:148)
[pitest] at org.pitest.coverage.execute.DefaultCoverageGenerator.calculateCoverage(DefaultCoverageGenerator.java:90)
[pitest] ... 7 more

BUILD FAILED
E:\uocourse\24w\software test\as2\pitest-example\pitest-ant-example\build.xml:105: E:\uocourse\24w\software test\as2\pitest-example\pitest-ant-example\build.xml:105: Java returned: 1

Total time: 7 seconds

I am using the provided pitest-example and my java version is 1.8. my ant version is 1.10.14.Sincerely hope you can guide me on how to solve this problem.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant