hcoles / pitest

State of the art mutation testing system for the JVM
Apache License 2.0
1.67k stars 355 forks source link

pitest fails with juint latest version '5.10.0-M1' #1210

Open nagkumar opened 1 year ago

nagkumar commented 1 year ago
> Task :clean

> Task :compileJava

1 warning

> Task :processResources NO-SOURCE
> Task :classes

> Task :compileTestJava

1 warning

> Task :copyTestBDDProps
> Task :copyTestBDDFeatures
> Task :copyJU5Props
> Task :copyMetaInfoTestRes
> Task :processTestResources NO-SOURCE
> Task :testClasses

> Task :pitest

> Task :pitest FAILED
8 actionable tasks: 8 executed
> Task :clean

> Task :compileJava
<Unknown> [warning] Found @DeclareAnnotation while current release does not support it (see 'org.aspectj.weaver.bcel.AtAjAttributes')

1 warning

> Task :processResources NO-SOURCE
> Task :classes

> Task :compileTestJava
com\tejasoft\tests\ju\utils\scan\aop\AbstCallAspect.java [warning] advice defined in com.tejasoft.tests.ju.utils.scan.aop.AbstCallAspect has not been applied [Xlint:adviceDidNotMatch]

1 warning

> Task :copyTestBDDProps
> Task :copyTestBDDFeatures
> Task :copyJU5Props
> Task :copyMetaInfoTestRes
> Task :processTestResources NO-SOURCE
> Task :testClasses

> Task :pitest
5:24:14 pm PIT >> INFO : Project base directory is null
5:24:14 pm PIT >> INFO : ---------------------------------------------------------------------------
5:24:14 pm PIT >> INFO : Enabled (+) and disabled (-) features.
5:24:14 pm PIT >> INFO : -----------------------------------------
5:24:14 pm PIT >> INFO : +fann           Filters mutations in classes and methods with matching annotations of class or runtime retention
5:24:14 pm PIT >> INFO :   [annotation]    Annotation to avoid (full package name not required)
5:24:14 pm PIT >> INFO : +fassert        Filters mutations in compiler generated code for assertions
5:24:14 pm PIT >> INFO : +fenum          Filters mutations in enum constructors
5:24:14 pm PIT >> INFO : +feswitch       Filters mutations in switch statements on enums
5:24:14 pm PIT >> INFO : +ffblock        Filters mutations in code duplicated by finally block inlining
5:24:14 pm PIT >> INFO : +ffeach         Filters mutations in compiler generated code that implements for each loops
5:24:14 pm PIT >> INFO : +ffloop         Filters any mutations to increments in for loops as they may cause timeouts
5:24:14 pm PIT >> INFO : +finfinc        Filters mutations to increments that may cause infinite loops
5:24:14 pm PIT >> INFO : +finfit         Filters mutations that may cause infinite loops by removing calls to iterator.next
5:24:14 pm PIT >> INFO : +finull         Filters mutations in compiler generated code that checks for null by calling getClass
5:24:14 pm PIT >> INFO : +fkotlin        Filters out junk mutations in bytecode created by compiler for kotlin language features
5:24:14 pm PIT >> INFO : +flogcall       Filters mutations in code that makes calls to logging frameworks
5:24:14 pm PIT >> INFO : +fmrnull        Filters mutations in compiler generated code that inserts Objects.requireNonNull for method references
5:24:14 pm PIT >> INFO : +frecord        Filters mutations in compiler generated record code
5:24:14 pm PIT >> INFO : +fretequiv      Filters return vals mutants with bytecode equivalent to the unmutated class
5:24:14 pm PIT >> INFO : +fsequivequals  Filters equivalent mutations that affect only performance in short cutting equals methods
5:24:14 pm PIT >> INFO : +fstati         Filters mutations in static initializers and code called only from them
5:24:14 pm PIT >> INFO : +fstrswitch     Filters mutations in compiler generated code for string switch statements
5:24:14 pm PIT >> INFO : +ftrywr         Filters mutations in code generated for try with resources statements
5:24:14 pm PIT >> INFO : +macos_focus    Auto add java.awt.headless=true to keep keyboard focus on Mac OS
5:24:14 pm PIT >> INFO : -auto_threads   Auto set number of threads based on machine
5:24:14 pm PIT >> INFO : -classlimit     Limits the maximum number of mutations per class
5:24:14 pm PIT >> INFO :   [limit]         Integer value for maximum mutations to create per class
5:24:14 pm PIT >> INFO : -export         Exports mutants bytecode and other details to disk
5:24:14 pm PIT >> INFO : -git            Git integration
5:24:14 pm PIT >> INFO : -kotlin         Support for mutating kotlin bytecode
5:24:14 pm PIT >> INFO : ---------------------------------------------------------------------------
5:24:14 pm PIT >> FINE : Running report with ReportOptions[targetClasses=[com.tejasoft.**], excludedMethods=[], excludedClasses=[], excludedTestClasses=[], codePaths=[G:\DWork\osource\experiments\java\edu\build\classes\java\main], reportDir='G:\DWork\osource\experiments\java\edu\build\reports\pitest', historyInputLocation=null, historyOutputLocation=null, sourceDirs=[G:\DWork\osource\experiments\java\edu\src\main\resources, G:\DWork\osource\experiments\java\edu\src\main\java], classPathElements=[C:\Users\tejasoft\.gradle\caches\modules-2\files-2.1\org.pitest\pitest-junit5-plugin\1.1.2\d9e9db8766ed43ebe2209b35f95a9c091d4f5885\pitest-junit5-plugin-1.1.2.jar, C:\Users\tejasoft\.gradle\caches\modules-2\files-2.1\org.pitest\pitest\1.9.11\94a6324a5be53e43610c7b67a66b137380463638\pitest-1.9.11.jar, G:\DWork\osource\experiments\java\edu\build\classes\java\test, G:\DWork\osource\experiments\java\edu\build\resources\test, G:\DWork\osource\experiments\java\edu\build\classes\java\main, G:\DWork\osource\experiments\java\edu\build\resources\main, C:\Users\tejasoft\.gradle\caches\modules-2\files-2.1\org.aspectj\aspectjrt\1.9.19\d6d4ccdb1318b19c85e8c1c2227941c32a4253a9\aspectjrt-1.9.19.jar, C:\Users\tejasoft\.gradle\caches\modules-2\files-2.1\org.aspectj\aspectjweaver\1.9.19\afbffb1210239fbba5cad73093c5b216d515838f\aspectjweaver-1.9.19.jar, C:\Users\tejasoft\.gradle\caches\modules-2\files-2.1\org.jetbrains\annotations\24.0.1\13c5c75c4206580aa4d683bffee658caae6c9f43\annotations-24.0.1.jar, C:\Users\tejasoft\.gradle\caches\modules-2\files-2.1\org.junit.support\testng-engine\1.0.4\f22a455e61af767517511278e268e22ea43af695\testng-engine-1.0.4.jar, C:\Users\tejasoft\.gradle\caches\modules-2\files-2.1\org.junit.jupiter\junit-jupiter\5.10.0-M1\346b70b15b35eead3bd2e83407fa47a8ead71933\junit-jupiter-5.10.0-M1.jar, C:\Users\tejasoft\.gradle\caches\modules-2\files-2.1\org.junit.jupiter\junit-jupiter-engine\5.10.0-M1\9aaca7561006680321e38d99e4496fe25bbb1db3\junit-jupiter-engine-5.10.0-M1.jar, C:\Users\tejasoft\.gradle\caches\modules-2\files-2.1\org.junit.jupiter\junit-jupiter-params\5.10.0-M1\79d6edb433bb727ca181f807c008c1ae73d0c72c\junit-jupiter-params-5.10.0-M1.jar, C:\Users\tejasoft\.gradle\caches\modules-2\files-2.1\org.junit.platform\junit-platform-reporting\1.10.0-M1\c2edf26ec9d6c4a55988fa8d129f7e64f7801f08\junit-platform-reporting-1.10.0-M1.jar, C:\Users\tejasoft\.gradle\caches\modules-2\files-2.1\org.junit.platform\junit-platform-suite\1.10.0-M1\cc1112bb5f4e383cde37f2f53d9e74815d25f258\junit-platform-suite-1.10.0-M1.jar, C:\Users\tejasoft\.gradle\caches\modules-2\files-2.1\org.junit.platform\junit-platform-testkit\1.10.0-M1\234be4ee8e20d15edd66fe39ba0a17f2e555d305\junit-platform-testkit-1.10.0-M1.jar, C:\Users\tejasoft\.gradle\caches\modules-2\files-2.1\org.junit.vintage\junit-vintage-engine\5.10.0-M1\313b513f97db5f1569bf5804182223ddd4b0ea55\junit-vintage-engine-5.10.0-M1.jar, C:\Users\tejasoft\.gradle\caches\modules-2\files-2.1\io.cucumber\cucumber-junit-platform-engine\7.12.0\e540a434a849669066b8068bba5e4fcd32a89d87\cucumber-junit-platform-engine-7.12.0.jar, C:\Users\tejasoft\.gradle\caches\modules-2\files-2.1\net.jqwik\jqwik\1.7.3\dd3a4d97f4b28f6749f78cba7e3b00d4c0dc2a6b\jqwik-1.7.3.jar, C:\Users\tejasoft\.gradle\caches\modules-2\files-2.1\net.jqwik\jqwik-engine\1.7.3\bb21137f4963b42d028fcb836c1acf6d71f45fb9\jqwik-engine-1.7.3.jar, C:\Users\tejasoft\.gradle\caches\modules-2\files-2.1\org.junit.platform\junit-platform-suite-engine\1.10.0-M1\c394007e1fee489c9b37d2c2f9e6a5c0b7d3e453\junit-platform-suite-engine-1.10.0-M1.jar, C:\Users\tejasoft\.gradle\caches\modules-2\files-2.1\org.junit.platform\junit-platform-suite-commons\1.10.0-M1\a055b44e769a593b26df6dbcc49de1da163ecf5d\junit-platform-suite-commons-1.10.0-M1.jar, C:\Users\tejasoft\.gradle\caches\modules-2\files-2.1\org.junit.platform\junit-platform-launcher\1.10.0-M1\a07d1b23f0240b073ce77302a79ccb099c597767\junit-platform-launcher-1.10.0-M1.jar, C:\Users\tejasoft\.gradle\caches\modules-2\files-2.1\org.junit.platform\junit-platform-engine\1.10.0-M1\2621360003f55c94ddc851babf703581162fd128\junit-platform-engine-1.10.0-M1.jar, C:\Users\tejasoft\.gradle\caches\modules-2\files-2.1\org.junit.jupiter\junit-jupiter-api\5.10.0-M1\64a077cf3f934a7bbbe7b7fd8473ac1b4a92e79\junit-jupiter-api-5.10.0-M1.jar, C:\Users\tejasoft\.gradle\caches\modules-2\files-2.1\net.jqwik\jqwik-web\1.7.3\18f6c8142892b82a20decf3fe5cda6271b4ec74\jqwik-web-1.7.3.jar, C:\Users\tejasoft\.gradle\caches\modules-2\files-2.1\net.jqwik\jqwik-time\1.7.3\24919aafc364926c721cfb83acc9124ba745a4ad\jqwik-time-1.7.3.jar, C:\Users\tejasoft\.gradle\caches\modules-2\files-2.1\net.jqwik\jqwik-api\1.7.3\1bef481977728330e1dcb9748852199547e8848b\jqwik-api-1.7.3.jar, C:\Users\tejasoft\.gradle\caches\modules-2\files-2.1\org.junit.platform\junit-platform-suite-api\1.10.0-M1\f21b0d168006fac548d659285a3c1c6c3d4adf8\junit-platform-suite-api-1.10.0-M1.jar, C:\Users\tejasoft\.gradle\caches\modules-2\files-2.1\org.junit.platform\junit-platform-commons\1.10.0-M1\470459ddd385357cc926cc020081f4fd084188c1\junit-platform-commons-1.10.0-M1.jar, C:\Users\tejasoft\.gradle\caches\modules-2\files-2.1\com.groupcdg\pitest-annotations\1.0.10\3a0103270b64c4fc4cde05869da0b34f3bd4b5ea\pitest-annotations-1.0.10.jar, C:\Users\tejasoft\.gradle\caches\modules-2\files-2.1\org.pitest\pitest\1.13.2\7e99703c07b4e069a8a67519430a52588b3146d2\pitest-1.13.2.jar, C:\Users\tejasoft\.gradle\caches\modules-2\files-2.1\com.approvaltests\approvaltests\18.6.0\70ae87d3b2c1ee570f899cc20e85b45ef5daf52\approvaltests-18.6.0.jar, C:\Users\tejasoft\.gradle\caches\modules-2\files-2.1\com.approvaltests\approvaltests-util\18.6.0\ea80436b984e33a665241db90ef9c4ea70e501dc\approvaltests-util-18.6.0.jar, C:\Users\tejasoft\.gradle\caches\modules-2\files-2.1\de.sormuras.mainrunner\de.sormuras.mainrunner.api\2.1.5\84ddd54aeee67374216c69687a369657b7678511\de.sormuras.mainrunner.api-2.1.5.jar, C:\Users\tejasoft\.gradle\caches\modules-2\files-2.1\de.sormuras.mainrunner\de.sormuras.mainrunner.engine\2.1.5\3c9e5698ae1694ef6eb88e677b7cc17a202a93de\de.sormuras.mainrunner.engine-2.1.5.jar, C:\Users\tejasoft\.gradle\caches\modules-2\files-2.1\com.pholser\junit-quickcheck-generators\1.0\207d65e679fa3ad7a72f6da127e98016541ae0f9\junit-quickcheck-generators-1.0.jar, C:\Users\tejasoft\.gradle\caches\modules-2\files-2.1\com.pholser\junit-quickcheck-core\1.0\8dc0588b5ffbb74d7dc8cbd653d4a90a8b0741eb\junit-quickcheck-core-1.0.jar, C:\Users\tejasoft\.gradle\caches\modules-2\files-2.1\junit\junit\4.13.2\8ac9e16d933b6fb43bc7f576336b8f4d7eb5ba12\junit-4.13.2.jar, C:\Users\tejasoft\.gradle\caches\modules-2\files-2.1\org.testng\testng\7.7.1\8e96c60d4967a8df6dc06c3c7cf22392e3a51794\testng-7.7.1.jar, C:\Users\tejasoft\.gradle\caches\modules-2\files-2.1\io.cucumber\cucumber-java\7.12.0\d266277c7dcde55d3b19bdde4078f78afe47e95e\cucumber-java-7.12.0.jar, C:\Users\tejasoft\.gradle\caches\modules-2\files-2.1\com.fasterxml.jackson.core\jackson-databind\2.15.1\ac9ba74d208faf356e4719a49e59c6ea9237c01d\jackson-databind-2.15.1.jar, C:\Users\tejasoft\.gradle\caches\modules-2\files-2.1\com.fasterxml.jackson.core\jackson-annotations\2.15.1\92a90d3739e970e03b5971839e4fe51f13c1fa3\jackson-annotations-2.15.1.jar, C:\Users\tejasoft\.gradle\caches\modules-2\files-2.1\com.fasterxml.jackson.core\jackson-core\2.15.1\241c054ba8503de092a12acad9f083dd39935cc0\jackson-core-2.15.1.jar, C:\Users\tejasoft\.gradle\caches\modules-2\files-2.1\org.mockito\mockito-core\5.3.1\7cac313592a29ae5e29c52c22b15c3ae5ab561b2\mockito-core-5.3.1.jar, C:\Users\tejasoft\.gradle\caches\modules-2\files-2.1\ch.qos.logback\logback-classic\1.4.7\307944865579a6d490e6a4cbb5082dc8f36536ca\logback-classic-1.4.7.jar, C:\Users\tejasoft\.gradle\caches\modules-2\files-2.1\org.slf4j\slf4j-api\2.0.7\41eb7184ea9d556f23e18b5cb99cad1f8581fc00\slf4j-api-2.0.7.jar, C:\Users\tejasoft\.gradle\caches\modules-2\files-2.1\org.awaitility\awaitility\4.2.0\2c39784846001a9cffd6c6b89c78de62c0d80fb8\awaitility-4.2.0.jar, C:\Users\tejasoft\.gradle\caches\modules-2\files-2.1\org.assertj\assertj-core\3.24.2\ebbf338e33f893139459ce5df023115971c2786f\assertj-core-3.24.2.jar, C:\Users\tejasoft\.gradle\caches\modules-2\files-2.1\io.cucumber\cucumber-core\7.12.0\9852edaacbc6e674b5032c3b69d3116d015f3a54\cucumber-core-7.12.0.jar, C:\Users\tejasoft\.gradle\caches\modules-2\files-2.1\io.cucumber\tag-expressions\5.0.1\67c8b072034bb66dfc6759a0ace095423be7599a\tag-expressions-5.0.1.jar, C:\Users\tejasoft\.gradle\caches\modules-2\files-2.1\io.cucumber\html-formatter\20.3.0\c35691267ebcd834c3527acb14fcf6b114eb8a3a\html-formatter-20.3.0.jar, C:\Users\tejasoft\.gradle\caches\modules-2\files-2.1\io.cucumber\junit-xml-formatter\0.2.0\b5602d3fa7a1bdc1531ed92e4c02886708b98788\junit-xml-formatter-0.2.0.jar, C:\Users\tejasoft\.gradle\caches\modules-2\files-2.1\io.cucumber\cucumber-gherkin-messages\7.12.0\345854c0512295cacb045955457703de009d9d0f\cucumber-gherkin-messages-7.12.0.jar, C:\Users\tejasoft\.gradle\caches\modules-2\files-2.1\io.cucumber\gherkin\26.2.0\306fbc8c165ad21c8a7c6519865c663bcfadbcc5\gherkin-26.2.0.jar, C:\Users\tejasoft\.gradle\caches\modules-2\files-2.1\io.cucumber\messages\22.0.0\5e44123c146b13987a58a7dcff6a92b5cb64b53a\messages-22.0.0.jar, C:\Users\tejasoft\.gradle\caches\modules-2\files-2.1\io.cucumber\cucumber-expressions\16.1.2\3a6478498624c462c149efd46e4fb2d467712ae4\cucumber-expressions-16.1.2.jar, C:\Users\tejasoft\.gradle\caches\modules-2\files-2.1\io.cucumber\ci-environment\9.2.0\939299d5dc5123da2cccac6ce3aca00ff4ceb710\ci-environment-9.2.0.jar, C:\Users\tejasoft\.gradle\caches\modules-2\files-2.1\io.cucumber\datatable\7.12.0\de21e36b3d8dc8bdd1cab1bc71e5f4d909b7bb75\datatable-7.12.0.jar, C:\Users\tejasoft\.gradle\caches\modules-2\files-2.1\io.cucumber\docstring\7.12.0\581c5e9f5cc57f8aab01d84181afe9f03a319610\docstring-7.12.0.jar, C:\Users\tejasoft\.gradle\caches\modules-2\files-2.1\io.cucumber\cucumber-gherkin\7.12.0\4ff46d854126868a1c64bd01615cd546e80e404c\cucumber-gherkin-7.12.0.jar, C:\Users\tejasoft\.gradle\caches\modules-2\files-2.1\io.cucumber\cucumber-plugin\7.12.0\8899474bc026811a77cbbe77f6e11809ace6a01a\cucumber-plugin-7.12.0.jar, C:\Users\tejasoft\.gradle\caches\modules-2\files-2.1\com.sun.mail\javax.mail\1.6.2\935151eb71beff17a2ffac15dd80184a99a0514f\javax.mail-1.6.2.jar, C:\Users\tejasoft\.gradle\caches\modules-2\files-2.1\org.apache.commons\commons-lang3\3.12.0\c6842c86792ff03b9f1d1fe2aab8dc23aa6c6f0e\commons-lang3-3.12.0.jar, C:\Users\tejasoft\.gradle\caches\modules-2\files-2.1\org.apiguardian\apiguardian-api\1.1.2\a231e0d844d2721b0fa1b238006d15c6ded6842a\apiguardian-api-1.1.2.jar, C:\Users\tejasoft\.gradle\caches\modules-2\files-2.1\org.hamcrest\hamcrest-core\1.3\42a25dc3219429f0e5d060061f71acb49bf010a0\hamcrest-core-1.3.jar, C:\Users\tejasoft\.gradle\caches\modules-2\files-2.1\com.beust\jcommander\1.82\a7c5fef184d238065de38f81bbc6ee50cca2e21\jcommander-1.82.jar, C:\Users\tejasoft\.gradle\caches\modules-2\files-2.1\org.webjars\jquery\3.6.1\d08df6250157cd2db3d9b01b11b76e9b7225083a\jquery-3.6.1.jar, C:\Users\tejasoft\.gradle\caches\modules-2\files-2.1\org.javaruntype\javaruntype\1.3\26ba963f4b20c751e07b58b990bb41bf850622d8\javaruntype-1.3.jar, C:\Users\tejasoft\.gradle\caches\modules-2\files-2.1\ognl\ognl\3.1.12\a7fa0db32f882cd3bb41ec6c489853b3bfb6aebc\ognl-3.1.12.jar, C:\Users\tejasoft\.gradle\caches\modules-2\files-2.1\ru.vyarus\generics-resolver\3.0.1\fadee4adfb8475492a039ab07ab0beb758ad9fd7\generics-resolver-3.0.1.jar, C:\Users\tejasoft\.gradle\caches\modules-2\files-2.1\net.bytebuddy\byte-buddy\1.14.4\20498aaec9b00a5cfdb831e7bf68feafa833ce4b\byte-buddy-1.14.4.jar, C:\Users\tejasoft\.gradle\caches\modules-2\files-2.1\net.bytebuddy\byte-buddy-agent\1.14.4\3bf5ac1104554908cc623e40e58a00be37c35f36\byte-buddy-agent-1.14.4.jar, C:\Users\tejasoft\.gradle\caches\modules-2\files-2.1\org.objenesis\objenesis\3.3\1049c09f1de4331e8193e579448d0916d75b7631\objenesis-3.3.jar, C:\Users\tejasoft\.gradle\caches\modules-2\files-2.1\org.hamcrest\hamcrest\2.1\9420ba32c29217b54eebd26ff7f9234d31c3fbb2\hamcrest-2.1.jar, C:\Users\tejasoft\.gradle\caches\modules-2\files-2.1\ch.qos.logback\logback-core\1.4.7\a2948dae4013d0e9486141b4d638d8951becb767\logback-core-1.4.7.jar, C:\Users\tejasoft\.gradle\caches\modules-2\files-2.1\org.opentest4j\opentest4j\1.2.0\28c11eb91f9b6d8e200631d46e20a7f407f2a046\opentest4j-1.2.0.jar, C:\Users\tejasoft\.gradle\caches\modules-2\files-2.1\javax.activation\activation\1.1\e6cb541461c2834bdea3eb920f1884d1eb508b50\activation-1.1.jar, C:\Users\tejasoft\.gradle\caches\modules-2\files-2.1\org.antlr\antlr-runtime\3.1.2\c4ca32c2be1b22a5553dd3171f51f9b2b04030b\antlr-runtime-3.1.2.jar, C:\Users\tejasoft\.gradle\caches\modules-2\files-2.1\org.javassist\javassist\3.20.0-GA\a9cbcdfb7e9f86fbc74d3afae65f2248bfbf82a0\javassist-3.20.0-GA.jar], mutators=[ALL], features=[], jvmArgs=[-Djava.awt.headless=true], argLine=null, numberOfThreads=1, timeoutFactor=1.25, timeoutConstant=4000, targetTests=[^com\.tejasoft\..*.*$], loggingClasses=[], verbosity=VERBOSE, failWhenNoMutations=true, skipFailingTests=false, outputs=[HTML], groupConfig=TestGroupConfig [excludedGroups=[], includedGroups=[]], fullMutationMatrix=false, mutationUnitSize=0, shouldCreateTimestampedReports=false, detectInlinedCode=false, exportLineCoverage=false, mutationThreshold=0, coverageThreshold=0, testStrengthThreshold=0, mutationEngine='gregor', javaExecutable='null', includeLaunchClasspath=false, properties={}, maxSurvivors=-1, excludedRunners=[], includedTestMethods=[], testPlugin='', useClasspathJar=false, projectBase=null, inputEncoding=UTF-8, outputEncoding=UTF-8]
5:24:14 pm PIT >> FINE : System class path is C:\Users\tejasoft\.gradle\caches\modules-2\files-2.1\org.pitest\pitest-command-line\1.9.11\9a0e9363b1af556785056fa4c906b55deed32c3a\pitest-command-line-1.9.11.jar;C:\Users\tejasoft\.gradle\caches\modules-2\files-2.1\org.pitest\pitest-junit5-plugin\1.1.2\d9e9db8766ed43ebe2209b35f95a9c091d4f5885\pitest-junit5-plugin-1.1.2.jar;C:\Users\tejasoft\.gradle\caches\modules-2\files-2.1\org.pitest\pitest-entry\1.9.11\c2ab01e88c4ebedb7ed3d1598b3ce237efd09a56\pitest-entry-1.9.11.jar;C:\Users\tejasoft\.gradle\caches\modules-2\files-2.1\org.pitest\pitest\1.9.11\94a6324a5be53e43610c7b67a66b137380463638\pitest-1.9.11.jar;C:\Users\tejasoft\.gradle\caches\modules-2\files-2.1\org.apache.commons\commons-text\1.10.0\3363381aef8cef2dbc1023b3e3a9433b08b64e01\commons-text-1.10.0.jar;C:\Users\tejasoft\.gradle\caches\modules-2\files-2.1\org.apache.commons\commons-lang3\3.12.0\c6842c86792ff03b9f1d1fe2aab8dc23aa6c6f0e\commons-lang3-3.12.0.jar
5:24:14 pm PIT >> FINE : Maximum available memory is 6132 mb
5:24:14 pm PIT >> FINE : Incremental analysis set 276 mutations to a status of NOT_STARTED
5:24:14 pm PIT >> INFO : Incremental analysis reduced number of mutations by 0
5:24:14 pm PIT >> INFO : Created 9 mutation test units in pre scan
5:24:15 pm PIT >> FINE : MINION : Installing PIT agent
5:24:15 pm PIT >> INFO : Sending 110 test classes to minion
5:24:15 pm PIT >> INFO : Sent tests to minion
5:24:15 pm PIT >> INFO : MINION : 5:24:15 pm PIT >> FINE : Expecting 110 tests classes from parent
5:24:15 pm PIT >> INFO : MINION : 5:24:15 pm PIT >> FINE : Tests classes received
5:24:15 pm PIT >> INFO : MINION : 5:24:15 pm PIT >> INFO : Checking environment
5:24:16 pm PIT >> FINE : MINION : org.junit.platform.commons.JUnitException: TestEngine with ID 'junit-jupiter' failed to discover tests
5:24:16 pm PIT >> FINE : MINION :   at org.junit.platform.launcher.core.EngineDiscoveryOrchestrator.discoverEngineRoot(EngineDiscoveryOrchestrator.java:160)
5:24:16 pm PIT >> FINE : MINION :   at org.junit.platform.launcher.core.EngineDiscoveryOrchestrator.discoverSafely(EngineDiscoveryOrchestrator.java:132)
5:24:16 pm PIT >> FINE : MINION :   at org.junit.platform.launcher.core.EngineDiscoveryOrchestrator.discover(EngineDiscoveryOrchestrator.java:107)
5:24:16 pm PIT >> FINE : MINION :   at org.junit.platform.launcher.core.EngineDiscoveryOrchestrator.discover(EngineDiscoveryOrchestrator.java:78)
5:24:16 pm PIT >> FINE : MINION :   at org.junit.platform.launcher.core.DefaultLauncher.discover(DefaultLauncher.java:110)
5:24:16 pm PIT >> FINE : MINION :   at org.junit.platform.launcher.core.DefaultLauncher.execute(DefaultLauncher.java:86)
5:24:16 pm PIT >> FINE : MINION :   at org.junit.platform.launcher.core.DefaultLauncherSession$DelegatingLauncher.execute(DefaultLauncherSession.java:86)
5:24:16 pm PIT >> FINE : MINION :   at org.junit.platform.launcher.core.SessionPerRequestLauncher.execute(SessionPerRequestLauncher.java:53)
5:24:16 pm PIT >> FINE : MINION :   at org.pitest.junit5.JUnit5TestUnitFinder.findTestUnits(JUnit5TestUnitFinder.java:83)
5:24:16 pm PIT >> FINE : MINION :   at org.pitest.mutationtest.config.PrioritisingTestUnitFinder.findTestUnits(PrioritisingTestUnitFinder.java:20)
5:24:16 pm PIT >> FINE : MINION :   at org.pitest.testapi.execute.FindTestUnits.findTestUnits(FindTestUnits.java:64)
5:24:16 pm PIT >> FINE : MINION :   at org.pitest.testapi.execute.FindTestUnits.getTestUnits(FindTestUnits.java:47)
5:24:16 pm PIT >> FINE : MINION :   at org.pitest.testapi.execute.FindTestUnits.findTestUnitsForAllSuppliedClasses(FindTestUnits.java:36)
5:24:16 pm PIT >> FINE : MINION :   at org.pitest.coverage.execute.CoverageMinion.discoverTests(CoverageMinion.java:167)
5:24:16 pm PIT >> FINE : MINION :   at org.pitest.coverage.execute.CoverageMinion.getTestsFromParent(CoverageMinion.java:153)
5:24:16 pm PIT >> FINE : MINION :   at org.pitest.coverage.execute.CoverageMinion.main(CoverageMinion.java:84)
5:24:16 pm PIT >> FINE : MINION : Caused by: org.junit.platform.commons.JUnitException: ClassSelector [className = 'com.tejasoft.edu.bank.tests.doubles.dummies.TestBAWDummy'] resolution failed
5:24:16 pm PIT >> FINE : MINION :   at org.junit.platform.launcher.listeners.discovery.AbortOnFailureLauncherDiscoveryListener.selectorProcessed(AbortOnFailureLauncherDiscoveryListener.java:39)
5:24:16 pm PIT >> FINE : MINION :   at org.junit.platform.engine.support.discovery.EngineDiscoveryRequestResolution.resolveCompletely(EngineDiscoveryRequestResolution.java:103)
5:24:16 pm PIT >> FINE : MINION :   at org.junit.platform.engine.support.discovery.EngineDiscoveryRequestResolution.run(EngineDiscoveryRequestResolution.java:83)
5:24:16 pm PIT >> FINE : MINION :   at org.junit.platform.engine.support.discovery.EngineDiscoveryRequestResolver.resolve(EngineDiscoveryRequestResolver.java:113)
5:24:16 pm PIT >> FINE : MINION :   at org.junit.jupiter.engine.discovery.DiscoverySelectorResolver.resolveSelectors(DiscoverySelectorResolver.java:46)
5:24:16 pm PIT >> FINE : MINION :   at org.junit.jupiter.engine.JupiterTestEngine.discover(JupiterTestEngine.java:69)
5:24:16 pm PIT >> FINE : MINION :   at org.junit.platform.launcher.core.EngineDiscoveryOrchestrator.discoverEngineRoot(EngineDiscoveryOrchestrator.java:152)
5:24:16 pm PIT >> FINE : MINION :   ... 15 more
5:24:16 pm PIT >> FINE : MINION : Caused by: java.lang.NoSuchMethodError: 'java.util.stream.Stream org.junit.platform.commons.support.ReflectionSupport.streamNestedClasses(java.lang.Class, java.util.function.Predicate)'
5:24:16 pm PIT >> FINE : MINION :   at org.junit.jupiter.engine.discovery.ClassSelectorResolver.lambda$toResolution$12(ClassSelectorResolver.java:138)
5:24:16 pm PIT >> FINE : MINION :   at org.junit.platform.engine.support.discovery.SelectorResolver$Match.expand(SelectorResolver.java:667)
5:24:16 pm PIT >> FINE : MINION :   at org.junit.platform.engine.support.discovery.EngineDiscoveryRequestResolution.lambda$enqueueAdditionalSelectors$1(EngineDiscoveryRequestResolution.java:110)
5:24:16 pm PIT >> FINE : MINION :   at java.base/java.util.stream.ForEachOps$ForEachOp$OfRef.accept(ForEachOps.java:183)
5:24:16 pm PIT >> FINE : MINION :   at java.base/java.util.stream.ReferencePipeline$2$1.accept(ReferencePipeline.java:179)
5:24:16 pm PIT >> FINE : MINION :   at java.base/java.util.Collections$2.tryAdvance(Collections.java:4853)
5:24:16 pm PIT >> FINE : MINION :   at java.base/java.util.Collections$2.forEachRemaining(Collections.java:4861)
5:24:16 pm PIT >> FINE : MINION :   at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:509)
5:24:16 pm PIT >> FINE : MINION :   at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:499)
5:24:16 pm PIT >> FINE : MINION :   at java.base/java.util.stream.ForEachOps$ForEachOp.evaluateSequential(ForEachOps.java:150)
5:24:16 pm PIT >> FINE : MINION :   at java.base/java.util.stream.ForEachOps$ForEachOp$OfRef.evaluateSequential(ForEachOps.java:173)
5:24:16 pm PIT >> FINE : MINION :   at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234)
5:24:16 pm PIT >> FINE : MINION :   at java.base/java.util.stream.ReferencePipeline.forEach(ReferencePipeline.java:596)
5:24:16 pm PIT >> FINE : MINION :   at org.junit.platform.engine.support.discovery.EngineDiscoveryRequestResolution.enqueueAdditionalSelectors(EngineDiscoveryRequestResolution.java:109)
5:24:16 pm PIT >> FINE : MINION :   at org.junit.platform.engine.support.discovery.EngineDiscoveryRequestResolution.resolveCompletely(EngineDiscoveryRequestResolution.java:95)
5:24:16 pm PIT >> FINE : MINION :   ... 20 more
5:24:16 pm PIT >> INFO : MINION : 5:24:16 pm PIT >> SEVERE : Error calculating coverage. Process will exit.
5:24:16 pm PIT >> INFO : MINION : org.junit.platform.commons.JUnitException: TestEngine with ID 'junit-jupiter' failed to discover tests
5:24:16 pm PIT >> INFO : MINION :   at org.junit.platform.launcher.core.EngineDiscoveryOrchestrator.discoverEngineRoot(EngineDiscoveryOrchestrator.java:160)
5:24:16 pm PIT >> INFO : MINION :   at org.junit.platform.launcher.core.EngineDiscoveryOrchestrator.discoverSafely(EngineDiscoveryOrchestrator.java:132)
5:24:16 pm PIT >> INFO : MINION :   at org.junit.platform.launcher.core.EngineDiscoveryOrchestrator.discover(EngineDiscoveryOrchestrator.java:107)
5:24:16 pm PIT >> INFO : MINION :   at org.junit.platform.launcher.core.EngineDiscoveryOrchestrator.discover(EngineDiscoveryOrchestrator.java:78)
5:24:16 pm PIT >> INFO : MINION :   at org.junit.platform.launcher.core.DefaultLauncher.discover(DefaultLauncher.java:110)
5:24:16 pm PIT >> INFO : MINION :   at org.junit.platform.launcher.core.DefaultLauncher.execute(DefaultLauncher.java:86)
5:24:16 pm PIT >> INFO : MINION :   at org.junit.platform.launcher.core.DefaultLauncherSession$DelegatingLauncher.execute(DefaultLauncherSession.java:86)
5:24:16 pm PIT >> INFO : MINION :   at org.junit.platform.launcher.core.SessionPerRequestLauncher.execute(SessionPerRequestLauncher.java:53)
5:24:16 pm PIT >> INFO : MINION :   at org.pitest.junit5.JUnit5TestUnitFinder.findTestUnits(JUnit5TestUnitFinder.java:83)
5:24:16 pm PIT >> INFO : MINION :   at org.pitest.mutationtest.config.PrioritisingTestUnitFinder.findTestUnits(PrioritisingTestUnitFinder.java:20)
5:24:16 pm PIT >> INFO : MINION :   at org.pitest.testapi.execute.FindTestUnits.findTestUnits(FindTestUnits.java:64)
5:24:16 pm PIT >> INFO : MINION :   at org.pitest.testapi.execute.FindTestUnits.getTestUnits(FindTestUnits.java:47)
5:24:16 pm PIT >> INFO : MINION :   at org.pitest.testapi.execute.FindTestUnits.findTestUnitsForAllSuppliedClasses(FindTestUnits.java:36)
5:24:16 pm PIT >> INFO : MINION :   at org.pitest.coverage.execute.CoverageMinion.discoverTests(CoverageMinion.java:167)
5:24:16 pm PIT >> INFO : MINION :   at org.pitest.coverage.execute.CoverageMinion.getTestsFromParent(CoverageMinion.java:153)
5:24:16 pm PIT >> INFO : MINION :   at org.pitest.coverage.execute.CoverageMinion.main(CoverageMinion.java:84)
5:24:16 pm PIT >> INFO : MINION : Caused by: org.junit.platform.commons.JUnitException: ClassSelector [className = 'com.tejasoft.edu.bank.tests.doubles.dummies.TestBAWDummy'] resolution failed
5:24:16 pm PIT >> INFO : MINION :   at org.junit.platform.launcher.listeners.discovery.AbortOnFailureLauncherDiscoveryListener.selectorProcessed(AbortOnFailureLauncherDiscoveryListener.java:39)
5:24:16 pm PIT >> INFO : MINION :   at org.junit.platform.engine.support.discovery.EngineDiscoveryRequestResolution.resolveCompletely(EngineDiscoveryRequestResolution.java:103)
5:24:16 pm PIT >> INFO : MINION :   at org.junit.platform.engine.support.discovery.EngineDiscoveryRequestResolution.run(EngineDiscoveryRequestResolution.java:83)
5:24:16 pm PIT >> INFO : MINION :   at org.junit.platform.engine.support.discovery.EngineDiscoveryRequestResolver.resolve(EngineDiscoveryRequestResolver.java:113)
5:24:16 pm PIT >> INFO : MINION :   at org.junit.jupiter.engine.discovery.DiscoverySelectorResolver.resolveSelectors(DiscoverySelectorResolver.java:46)
5:24:16 pm PIT >> INFO : MINION :   at org.junit.jupiter.engine.JupiterTestEngine.discover(JupiterTestEngine.java:69)
5:24:16 pm PIT >> INFO : MINION :   at org.junit.platform.launcher.core.EngineDiscoveryOrchestrator.discoverEngineRoot(EngineDiscoveryOrchestrator.java:152)
5:24:16 pm PIT >> INFO : MINION :   ... 15 more
5:24:16 pm PIT >> INFO : MINION : Caused by: java.lang.NoSuchMethodError: 'java.util.stream.Stream org.junit.platform.commons.support.ReflectionSupport.streamNestedClasses(java.lang.Class, java.util.function.Predicate)'
5:24:16 pm PIT >> INFO : MINION :   at org.junit.jupiter.engine.discovery.ClassSelectorResolver.lambda$toResolution$12(ClassSelectorResolver.java:138)
5:24:16 pm PIT >> INFO : MINION :   at org.junit.platform.engine.support.discovery.SelectorResolver$Match.expand(SelectorResolver.java:667)
5:24:16 pm PIT >> INFO : MINION :   at org.junit.platform.engine.support.discovery.EngineDiscoveryRequestResolution.lambda$enqueueAdditionalSelectors$1(EngineDiscoveryRequestResolution.java:110)
5:24:16 pm PIT >> INFO : MINION :   at java.base/java.util.stream.ForEachOps$ForEachOp$OfRef.accept(ForEachOps.java:183)
5:24:16 pm PIT >> INFO : MINION :   at java.base/java.util.stream.ReferencePipeline$2$1.accept(ReferencePipeline.java:179)
5:24:16 pm PIT >> INFO : MINION :   at java.base/java.util.Collections$2.tryAdvance(Collections.java:4853)
5:24:16 pm PIT >> INFO : MINION :   at java.base/java.util.Collections$2.forEachRemaining(Collections.java:4861)
5:24:16 pm PIT >> INFO : MINION :   at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:509)
5:24:16 pm PIT >> INFO : MINION :   at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:499)
5:24:16 pm PIT >> INFO : MINION :   at java.base/java.util.stream.ForEachOps$ForEachOp.evaluateSequential(ForEachOps.java:150)
5:24:16 pm PIT >> INFO : MINION :   at java.base/java.util.stream.ForEachOps$ForEachOp$OfRef.evaluateSequential(ForEachOps.java:173)
5:24:16 pm PIT >> INFO : MINION :   at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234)
5:24:16 pm PIT >> INFO : MINION :   at java.base/java.util.stream.ReferencePipeline.forEach(ReferencePipeline.java:596)
5:24:16 pm PIT >> INFO : MINION :   at org.junit.platform.engine.support.discovery.EngineDiscoveryRequestResolution.enqueueAdditionalSelectors(EngineDiscoveryRequestResolution.java:109)
5:24:16 pm PIT >> INFO : MINION :   at org.junit.platform.engine.support.discovery.EngineDiscoveryRequestResolution.resolveCompletely(EngineDiscoveryRequestResolution.java:95)
5:24:16 pm PIT >> INFO : MINION :   ... 20 more
5:24:16 pm PIT >> SEVERE : Coverage generator Minion exited abnormally due to UNKNOWN_ERROR
Exception in thread "main" 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 : Java HotSpot(TM) 64-Bit Server VM
Vendor : Oracle Corporation
Version : 19.0.2+7-44
Uptime : 2455
Input -> 
 1 : -Dfile.encoding=UTF-8
 2 : -Duser.country=IN
 3 : -Duser.language=en
 4 : -Duser.variant
BootClassPathSupported : false

Please copy and paste the information and the complete stacktrace below when reporting an issue
VM : Java HotSpot(TM) 64-Bit Server VM
Vendor : Oracle Corporation
Version : 19.0.2+7-44
Uptime : 2457
Input -> 
 1 : -Dfile.encoding=UTF-8
 2 : -Duser.country=IN
 3 : -Duser.language=en
 4 : -Duser.variant
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.mutationtest.commandline.MutationCoverageReport.runReport(MutationCoverageReport.java:98)
    at org.pitest.mutationtest.commandline.MutationCoverageReport.main(MutationCoverageReport.java:45)
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 : Java HotSpot(TM) 64-Bit Server VM
Vendor : Oracle Corporation
Version : 19.0.2+7-44
Uptime : 2455
Input -> 
 1 : -Dfile.encoding=UTF-8
 2 : -Duser.country=IN
 3 : -Duser.language=en
 4 : -Duser.variant
BootClassPathSupported : false

    at org.pitest.coverage.execute.DefaultCoverageGenerator.gatherCoverageData(DefaultCoverageGenerator.java:148)
    at org.pitest.coverage.execute.DefaultCoverageGenerator.calculateCoverage(DefaultCoverageGenerator.java:90)
    ... 7 more

> Task :pitest FAILED

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':pitest'.
> Process 'command 'D:\Apps\Dev\langs\java\jdk\19.x\19.0.2\bin\java.exe'' finished with non-zero exit value 1

* Try:
> Run with --stacktrace option to get the stack trace.
> Run with --info or --debug option to get more log output.
> Run with --scan to get full insights.

* Get more help at https://help.gradle.org

BUILD FAILED in 11s
8 actionable tasks: 8 executed
nagkumar commented 1 year ago

this error is observed with these dependencies

implementation("com.groupcdg:pitest-annotations:1.0.10")
 implementation("org.pitest:pitest:1.13.2")

also tried implementation("org.pitest:pitest:1.13.1") error remains the same//

hcoles commented 1 year ago

What version of the pitest junit 5 plugin are you using?

nagkumar commented 1 year ago

it is junit5PluginVersion.set("1.1.2")