While generating the tests, get the following error while using java 8 and 11 -
base_test_generator = "combined"
[tkltest|13:31:53.914] Test generator output will be written to hubServicesRepo_CombinedTestGenerator_output.log
[tkltest|13:31:58.221] ERROR: Generating basic block sequences failed: Command '"/Library/Java/JavaVirtualMachines/jdk1.8.0_311.jdk/Contents/Home/bin/java" -Xmx2048m -cp /Users/lucassebastiancabello/Downloads/tackle-test-generator-cli/tkltest-lib/tackle-test-generator-unit-main-SNAPSHOT.jar:/Users/lucassebastiancabello/Downloads/tackle-test-generator-cli/tkltest-lib/randoop-v4.3.0.jar:/Users/lucassebastiancabello/Downloads/tackle-test-generator-cli/tkltest-lib/evosuite-standalone-runtime-v1.2.0.jar:/Users/lucassebastiancabello/Downloads/tackle-test-generator-cli/tkltest-lib/evosuite-master-v1.2.0.jar:/Users/lucassebastiancabello/Downloads/tackle-test-generator-cli/tkltest-lib/commons-cli-1.4.jar:/Users/lucassebastiancabello/Downloads/tackle-test-generator-cli/tkltest-lib/soot-4.1.0.jar:/Users/lucassebastiancabello/Downloads/tackle-test-generator-cli/tkltest-lib/commons-io-2.6.jar:/Users/lucassebastiancabello/Downloads/tackle-test-generator-cli/tkltest-lib/javaparser-core-3.16.1.jar:/Users/lucassebastiancabello/Downloads/tackle-test-generator-cli/tkltest-lib/javaparser-symbol-solver-core-3.16.1.jar:/Users/lucassebastiancabello/Downloads/tackle-test-generator-cli/tkltest-lib/guava-29.0-jre.jar:/Users/lucassebastiancabello/Downloads/tackle-test-generator-cli/tkltest-lib/failureaccess-1.0.1.jar:/Users/lucassebastiancabello/Downloads/tackle-test-generator-cli/tkltest-lib/jackson-databind-2.12.6.1.jar:/Users/lucassebastiancabello/Downloads/tackle-test-generator-cli/tkltest-lib/jackson-core-2.12.6.jar:/Users/lucassebastiancabello/Downloads/tackle-test-generator-cli/tkltest-lib/jackson-annotations-2.12.6.jar org.konveyor.tackle.testgen.core.TestSequenceInitializer -app hubServicesRepo -tp hubServicesRepo_ctd_models_and_test_plans.json -pt /Users/lucassebastiancabello/Documents/Projects/quote-hub/core-security/build/classes/java/main -clpt /Users/lucassebastiancabello/Downloads/hubServices/Repository/tkltest-output-unit-hubServicesRepo/core-security/hubServicesRepo_core-security_build_classpath.txt -tg CombinedTestGenerator -tl 10 -jdk "/Library/Java/JavaVirtualMachines/jdk1.8.0_311.jdk/Contents/Home" 1> hubServicesRepo_CombinedTestGenerator_output.log' returned non-zero exit status 1.
Exception in thread "main" java.io.IOException: org.konveyor.tackle.testgen.core.EvoSuiteTestGenerator: java.io.IOException: Test generator failed to generate any tests
org.konveyor.tackle.testgen.core.RandoopTestGenerator: java.io.IOException: Test generator failed to generate any tests
at org.konveyor.tackle.testgen.core.TestSequenceInitializer.createInitialTests(TestSequenceInitializer.java:258)
at org.konveyor.tackle.testgen.core.TestSequenceInitializer.main(TestSequenceInitializer.java:600)
[tkltest|13:31:58.285] Warning: Failed to generate tests for the following modules: core-security. Please see log for details
base_test_generator = "evosuite"
org.konveyor.tackle.testgen.core.TestSequenceInitializer -app hubServicesRepo -tp hubServicesRepo_ctd_models_and_test_plans.json -pt /Users/lucassebastiancabello/Documents/Projects/quote-hub/core-security/build/classes/java/main -clpt /Users/lucassebastiancabello/Downloads/hubServices/Repository/tkltest-output-unit-hubServicesRepo/core-security/hubServicesRepo_core-security_build_classpath.txt -tg EvoSuiteTestGenerator -tl 10 -jdk "/Library/Java/JavaVirtualMachines/jdk1.8.0_311.jdk/Contents/Home" 1> hubServicesRepo_EvoSuiteTestGenerator_output.log' returned non-zero exit status 1.
Exception in thread "main" java.io.IOException: org.konveyor.tackle.testgen.core.EvoSuiteTestGenerator: java.io.IOException: Test generator failed to generate any tests
at org.konveyor.tackle.testgen.core.TestSequenceInitializer.createInitialTests(TestSequenceInitializer.java:258)
at org.konveyor.tackle.testgen.core.TestSequenceInitializer.main(TestSequenceInitializer.java:600)
[tkltest|11:51:52.479] Generating tests for module core-common using config file /Users/lucassebastiancabello/Downloads/hubServices/Repository/tkltest-output-unit-hubServicesRepo/core-common/hubServicesRepo_core-common_generated_tkltest_config.toml.
[tkltest|11:51:53.236] Computing coverage goals using CTD
While generating the tests, get the following error while using java 8 and 11 -
base_test_generator = "combined"
base_test_generator = "evosuite"
Environment information
CLI version OS: macOS