Skip to content

UtExecutionInstrumentation does not respect timeout in concrete execution #1726

Closed

Description

@Domonion

Description

Currently UtExecutionInstrumentation measures only concrete execution, but not model construction for parameters and execution result.

Sometimes model construction might take too much time and will hang Instrumentation process indefenitely. This occurs too often in Contest Estimator, but problem relates to plugin too.

To Reproduce

Steps to reproduce the behavior:

  1. In ContestEstimator.kt set:
    • set javaHome to JDK8
    • timeLimit=120
    • projectFilter = listOf("guava-26.0")
    • set utbot-junit-contest/src/main/resources/classes/guava-26.0/list to
    com.google.common.primitives.Booleans
    com.google.common.primitives.Shorts
    
  2. Start ContestEstimator
  3. Tests for class Shorts once in a 2-3 generations will not be generated at all

Expected behavior

Everything works

Actual behavior

Tests for Short does not generate, Instrumentation process hangs on some requrest.

Activity

  1. self-assigned this
    on Jan 20, 2023
  2. alisevych commented on Jan 20, 2023

    @alisevych
    Member
  3. Domonion commented on Jan 20, 2023

    @Domonion
    CollaboratorAuthor

    possible.patch.txt
    Possible patch, verification required

  4. added a commit that references this issue on Jan 20, 2023
  5. added a commit that references this issue on Jan 20, 2023
  6. added 4 commits that reference this issue on Jan 25, 2023
    20870a2
    70d099a
    72d7dad
    8be517b
  7. added a commit that references this issue on Jan 27, 2023
    eaf4b55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

Type

No type

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions