You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
/** * Should find a branch that returns true and size of array is greater than 1 (non-trivial). */publicstaticbooleanisDiagonal(Collection<Collection<Double>> matrix) {
intcols = matrix.size();
if (cols <= 1) {
returnfalse;
}
inti = 0;
for (Collection<Double> col : matrix) {
if (col.size() != cols) {
returnfalse;
}
intj = 0;
for (Doublevalue : col) {
if (i == j && value == 0.0) returnfalse;
if (i != j && value != 0.0) returnfalse;
j++;
}
i++;
}
returntrue;
}
Generated test contains:
///region Errors report for isDiagonalpublicvoidtestIsDiagonal_errors() {
// Couldn't generate some tests. List of errors:// // 4 occurrences of:// Concrete execution failed
}
///endregion
Find logs in temp folder: ~\AppData\Local\Temp\UTBot\utbot-childprocess-errors
Open it.
Expected behavior
Log should contain some system information and an exception that is translated into broken test in main process.
Actual behavior
Log contains some child process problem (#848), many lines like this one:
Visual proofs (screenshots, logs, images)
Log is the following:
WARNING: packagejdk.internal.jtrfsnotinjava.base11:50:04.568 | Info | RdCoroutineScope | 1:main@coroutine#1 | RdCoroutineHostoverridden11:50:04.586 | Info | ClientProtocolBuilder | 1:main@coroutine#1 | pid - 14364, port - 5093411:50:04.587 | Info | ClientProtocolBuilder | 1:main@coroutine#1 | isJvm8 - false, isJvm9Plus - true, isWindows - trueWARNING: Illegalreflectiveaccessbycom.esotericsoftware.kryo.kryo5.unsafe.UnsafeUtil (file:/C:/Users/lWX1182794/AppData/Roaming/JetBrains/IntelliJIdea2022.2/plugins/utbot-intellij/lib/utbot-instrumentation-2022.11.495..jar) toconstructorjava.nio.DirectByteBuffer(long,int)
WARNING: Illegalreflectiveaccessbycom.esotericsoftware.kryo.kryo5.unsafe.UnsafeUtil (file:/C:/Users/lWX1182794/AppData/Roaming/JetBrains/IntelliJIdea2022.2/plugins/utbot-intellij/lib/utbot-instrumentation-2022.11.495..jar) tomethodsun.nio.ch.DirectBuffer.cleaner()
11:50:04.685 | Info | ChildProcess | 16:SchedulerforClient50934 | setupstarted11:50:04.692 | Info | ChildProcess | 16:SchedulerforClient50934 | setupended11:50:04.694 | Info | ClientProtocolBuilder | 1:main@coroutine#1 | signalled11:50:05.097 | Info | DynamicClassTransformer | 16:SchedulerforClient50934 | Transforming: org/utbot/examples/collections/CollectionExample11:50:05.162 | Info | DynamicClassTransformer | 16:SchedulerforClient50934 | Transforming: org/utbot/examples/collections/CollectionExample$ConcreteList11:50:05.163 | Info | DynamicClassTransformer | 16:SchedulerforClient50934 | Transforming: org/utbot/examples/collections/CollectionExample$ConcreteMap11:51:03.003 | Info | ChildProcess | 1:main@coroutine#1 | runBlockingending11:51:03.003 | Info | ChildProcess | 1:main | runBlockingended11:51:03.004 | Info | Client | 16:SchedulerforClient50934 | ClientSocket: startterminatinglifetime11:51:03.004 | Info | Client | 16:SchedulerforClient50934 | ClientSocket: terminationfinished
Environment
Windows 10 Pro
IntelliJ IDEA 2022.2.3
Gradle (UTBotJava) project
JDK 11
Description
Logs of Concrete Executor do not contain Exceptions any more.
To Reproduce
~/.utbot/settings.properties
:logConcreteExecutionErrors=true
Or add the following code and generated tests for it:
~\AppData\Local\Temp\UTBot\utbot-childprocess-errors
Expected behavior
Log should contain some system information and an exception that is translated into broken test in main process.
Actual behavior
Log contains some child process problem (#848), many lines like this one:
Visual proofs (screenshots, logs, images)
Log is the following:
Environment
Windows 10 Pro
IntelliJ IDEA 2022.2.3
Gradle (UTBotJava) project
JDK 11
Additional context
This was already fixed somehow in #870
The text was updated successfully, but these errors were encountered: