Title: Test generation timeout is exceeded several times for BaseStreamExample · Issue #1027 · UnitTestBot/UTBotJava · GitHub
Open Graph Title: Test generation timeout is exceeded several times for BaseStreamExample · Issue #1027 · UnitTestBot/UTBotJava
X Title: Test generation timeout is exceeded several times for BaseStreamExample · Issue #1027 · UnitTestBot/UTBotJava
Description: Description BaseStreamExample test generation produces many failures in Concrete Execution. Test generation timeout was set to 20 sec. Test generation continued for 2 minutes 5 sec. To Reproduce Run the 'UTBotJava' project in IntelliJ Id...
Open Graph Description: Description BaseStreamExample test generation produces many failures in Concrete Execution. Test generation timeout was set to 20 sec. Test generation continued for 2 minutes 5 sec. To Reproduce Ru...
X Description: Description BaseStreamExample test generation produces many failures in Concrete Execution. Test generation timeout was set to 20 sec. Test generation continued for 2 minutes 5 sec. To Reproduce Ru...
Opengraph URL: https://github.com/UnitTestBot/UTBotJava/issues/1027
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Test generation timeout is exceeded several times for BaseStreamExample","articleBody":"**Description**\r\n\r\nBaseStreamExample test generation produces many failures in Concrete Execution.\r\nTest generation timeout was set to 20 sec.\r\nTest generation continued for 2 minutes 5 sec.\r\n\r\n**To Reproduce**\r\n\r\n1. Run the 'UTBotJava' project in IntelliJ Idea 2022.1.4\r\n2. Install one of the latest from main branch\r\n3. Open test generation dialog for utbot-sample/src/main/java/org/utbot/examples/stream/BaseStreamExample.java\r\n4. Test generation timeout was set to 20 sec.\r\n5. Check when test generation finishes.\r\n6. Check generated test class.\r\n\r\n**Expected behavior**\r\n\r\nTests are supposed to be generated during the defined timeout of 20 sec.\r\n\r\n**Actual behavior**\r\n\r\nTests are generation for 2+ minutes\r\nAn error test is generated with information about errors in the concrete executor.\r\nThere are many `java.lang.IllegalStateException: Can't find method \u003cinit\u003e()V in org.utbot.examples.stream.BaseStreamExample$CustomCollection` in concrete execution logs\r\n\r\n**Visual proofs (screenshots, logs, images)**\r\n\r\n~~~java\r\n ///region Errors report for customCollectionStreamExample\r\n\r\n public void testCustomCollectionStreamExample_errors() {\r\n // Couldn't generate some tests. List of errors:\r\n // \r\n // 333 occurrences of:\r\n // Default concrete execution failed\r\n\r\n }\r\n ///endregion\r\n~~~\r\n\r\n~~~java\r\n16:14:07.317 ERROR| java.lang.IllegalStateException: Can't find method \u003cinit\u003e()V in org.utbot.examples.stream.BaseStreamExample$CustomCollection\r\n\tat org.utbot.framework.plugin.api.util.IdUtilKt.getConstructor(IdUtil.kt:438)\r\n\tat org.utbot.framework.concrete.MockValueConstructor.call(MockValueConstructor.kt:482)\r\n\tat org.utbot.framework.concrete.MockValueConstructor.updateWithExecutableCallModel(MockValueConstructor.kt:421)\r\n\tat org.utbot.framework.concrete.MockValueConstructor.constructFromAssembleModel(MockValueConstructor.kt:362)\r\n\tat org.utbot.framework.concrete.MockValueConstructor.construct(MockValueConstructor.kt:132)\r\n\tat org.utbot.framework.concrete.MockValueConstructor.constructMethodParameters(MockValueConstructor.kt:107)\r\n\tat org.utbot.framework.concrete.UtExecutionInstrumentation.invoke(UtExecutionInstrumentation.kt:156)\r\n\tat org.utbot.framework.concrete.UtExecutionInstrumentation.invoke(UtExecutionInstrumentation.kt:118)\r\n\tat org.utbot.instrumentation.process.ChildProcessKt$setup$2.invoke(ChildProcess.kt:211)\r\n\tat org.utbot.instrumentation.process.ChildProcessKt$setup$2.invoke(ChildProcess.kt:208)\r\n\tat org.utbot.instrumentation.process.ChildProcessKt$measureExecutionForTermination$2$1$1.invoke(ChildProcess.kt:190)\r\n\tat org.utbot.instrumentation.process.ChildProcessKt$measureExecutionForTermination$1.invokeSuspend(ChildProcess.kt:174)\r\n\tat kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)\r\n\tat kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:106)\r\n\tat kotlinx.coroutines.EventLoopImplBase.processNextEvent(EventLoop.common.kt:284)\r\n\tat kotlinx.coroutines.BlockingCoroutine.joinBlocking(Builders.kt:85)\r\n\tat kotlinx.coroutines.BuildersKt__BuildersKt.runBlocking(Builders.kt:59)\r\n\tat kotlinx.coroutines.BuildersKt.runBlocking(Unknown Source)\r\n\tat kotlinx.coroutines.BuildersKt__BuildersKt.runBlocking$default(Builders.kt:38)\r\n\tat kotlinx.coroutines.BuildersKt.runBlocking$default(Unknown Source)\r\n\tat org.utbot.instrumentation.process.ChildProcessKt.measureExecutionForTermination(ChildProcess.kt:171)\r\n\tat org.utbot.instrumentation.process.ChildProcessKt.access$measureExecutionForTermination(ChildProcess.kt:1)\r\n\tat org.utbot.instrumentation.process.ChildProcessKt$measureExecutionForTermination$2$1.invokeSuspend(ChildProcess.kt:188)\r\n\tat kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)\r\n\tat kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:106)\r\n\tat kotlinx.coroutines.EventLoopImplBase.processNextEvent(EventLoop.common.kt:284)\r\n\tat kotlinx.coroutines.BlockingCoroutine.joinBlocking(Builders.kt:85)\r\n\tat kotlinx.coroutines.BuildersKt__BuildersKt.runBlocking(Builders.kt:59)\r\n\tat kotlinx.coroutines.BuildersKt.runBlocking(Unknown Source)\r\n\tat kotlinx.coroutines.BuildersKt__BuildersKt.runBlocking$default(Builders.kt:38)\r\n\tat kotlinx.coroutines.BuildersKt.runBlocking$default(Unknown Source)\r\n\tat org.utbot.instrumentation.process.ChildProcessKt$measureExecutionForTermination$2.invoke(ChildProcess.kt:187)\r\n\tat com.jetbrains.rd.framework.IRdEndpoint$set$1.invoke(TaskInterfaces.kt:182)\r\n\tat com.jetbrains.rd.framework.IRdEndpoint$set$1.invoke(TaskInterfaces.kt:182)\r\n\tat com.jetbrains.rd.framework.impl.RdCall.onWireReceived(RdTask.kt:360)\r\n\tat com.jetbrains.rd.framework.MessageBroker$invoke$2$2.invoke(MessageBroker.kt:57)\r\n\tat com.jetbrains.rd.framework.MessageBroker$invoke$2$2.invoke(MessageBroker.kt:56)\r\n\tat com.jetbrains.rd.framework.impl.ProtocolContexts.readMessageContextAndInvoke(ProtocolContexts.kt:148)\r\n\tat com.jetbrains.rd.framework.MessageBroker$invoke$2.invoke(MessageBroker.kt:56)\r\n\tat com.jetbrains.rd.framework.MessageBroker$invoke$2.invoke(MessageBroker.kt:54)\r\n\tat com.jetbrains.rd.util.threading.SingleThreadSchedulerBase.queue$lambda-3(SingleThreadScheduler.kt:41)\r\n\tat java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)\r\n\tat java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)\r\n\tat java.base/java.lang.Thread.run(Thread.java:829)\r\n~~~\r\n\r\n**Environment**\r\n\r\nWindows 10 Pro\r\nIntelliJ IDEA 2022.1.4\r\nGradle\r\nJDK 11\r\n\r\n**Additional context**\r\n\r\nFuzzing - Symbolic is set to default 5% - 95%","author":{"url":"https://github.com/alisevych","@type":"Person","name":"alisevych"},"datePublished":"2022-09-28T15:00:12.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":1},"url":"https://github.com/1027/UTBotJava/issues/1027"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:dacec4e9-b055-3ead-a83a-6def5dbbda4e |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | A898:3F1684:B52F3E:F7F941:698E12EA |
| html-safe-nonce | 15715995ffae4d8aa8a1feb05009056bda24ee53242b8bbfcc39452145eaa866 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBODk4OjNGMTY4NDpCNTJGM0U6RjdGOTQxOjY5OEUxMkVBIiwidmlzaXRvcl9pZCI6Ijg0Njg0MDk1MzM1MTI2ODQyNjYiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 31ca2f7cbb1ec5eb8b07980e89139d15108ebdfa659001b3e404a9887f81fc6d |
| hovercard-subject-tag | issue:1389518596 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/UnitTestBot/UTBotJava/1027/issue_layout |
| twitter:image | https://opengraph.githubassets.com/cce518c09b6267183c794a585df573628abf03cac995a3218a6a4e7dd242528a/UnitTestBot/UTBotJava/issues/1027 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/cce518c09b6267183c794a585df573628abf03cac995a3218a6a4e7dd242528a/UnitTestBot/UTBotJava/issues/1027 |
| og:image:alt | Description BaseStreamExample test generation produces many failures in Concrete Execution. Test generation timeout was set to 20 sec. Test generation continued for 2 minutes 5 sec. To Reproduce Ru... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | alisevych |
| hostname | github.com |
| expected-hostname | github.com |
| None | fdf74c91c9ac187cc5cd7b14d4af2d6ef3e18136d002f5d36253f8538e97ee4c |
| turbo-cache-control | no-preview |
| go-import | github.com/UnitTestBot/UTBotJava git https://github.com/UnitTestBot/UTBotJava.git |
| octolytics-dimension-user_id | 87413538 |
| octolytics-dimension-user_login | UnitTestBot |
| octolytics-dimension-repository_id | 480810501 |
| octolytics-dimension-repository_nwo | UnitTestBot/UTBotJava |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 480810501 |
| octolytics-dimension-repository_network_root_nwo | UnitTestBot/UTBotJava |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 1a5a3e7bbfb3486980e340c242368684156fba87 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width