Skip to content

Occasionally duplication of the error in Problems View #1867

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
tyuldashev opened this issue Feb 27, 2023 · 0 comments · Fixed by #1871
Closed

Occasionally duplication of the error in Problems View #1867

tyuldashev opened this issue Feb 27, 2023 · 0 comments · Fixed by #1871
Assignees
Labels
comp-sarif Issue is related to SARIF report or Problems tab ctg-bug Issue is a bug

Comments

@tyuldashev
Copy link
Collaborator

Description

Sometimes the same problem displayed twice in Problems view.

To Reproduce
There is no exact steps to reproduce and I faced it only couple of times today. Both times it happens when I:

  • Generated test for all methods in org.utbot.examples.exceptions.ExceptionExamples from UTBot Java project, which was copied into dedicated project.
  • It was TestNG test framework and JDK 17 as a project JDK. Though not sure if it's important.

Steps to reproduce the behavior:

  1. Create new project with JDK 17
  2. Copy org.utbot.examples.exceptions.ExceptionExamples from UTBot Java project to the new project.
  3. Generate tests for that class with TestNG framework.

Expected behavior
Tests are generated in Problems view there is only entry for division by zero problem:
image

Actual behavior

Sometimes there are two entries which point to the same test.

Visual proofs (screenshots, logs, images)
image

Attaching both SARIF reports with duplicated problems.

Maven17JUnit5Report.log
Gradle17TestNGReport.log

@tyuldashev tyuldashev added ctg-bug Issue is a bug comp-sarif Issue is related to SARIF report or Problems tab labels Feb 27, 2023
@mmvpm mmvpm moved this from Todo to In Progress in UTBot Java Feb 28, 2023
@github-project-automation github-project-automation bot moved this from In Progress to Done in UTBot Java Feb 28, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
comp-sarif Issue is related to SARIF report or Problems tab ctg-bug Issue is a bug
Projects
Archived in project
Development

Successfully merging a pull request may close this issue.

2 participants