Uploaded image for project: 'Migration Toolkit for Applications'
  1. Migration Toolkit for Applications
  2. MTA-2550 [Analysis] Some analyses fail with UNIQUE constraint failed error on Tags
  3. MTA-3021

[QE] Verify for ( [Analysis] Some analyses fail with UNIQUE constraint failed error on Tags )

XMLWordPrintable

    • Icon: Sub-task Sub-task
    • Resolution: Done
    • Icon: Undefined Undefined
    • MTA 7.0.3
    • None
    • QE-Task
    • None
    • 2
    • False
    • Hide

      None

      Show
      None
    • False

      Description of problem:

      When analyzing 25 identical applications, 2 or 3 fail with the following error in the analysis details:

      {{}}

      description: 'POST /tags failed: 409(Conflict) body: {"error":"UNIQUE constraint failed: Tag.Name, Tag.CategoryID"}'.

      Might be related to https://issues.redhat.com/browse/MTA-1664 

      Version-Release number of selected component (if applicable): 7.0.3-10 

      How reproducible: 2 out of 3 times 

      Steps to Reproduce:
      1. Create 25 apps of https://github.com/ibraginsky/book-server

      2. Bulk analyze them for Source code + deps to Containerization

      Actual results:

      2 or 3 analyses fail with the following error in the analysis details:

      {{}}

      description: 'POST /tags failed: 409(Conflict) body: {"error":"UNIQUE constraint failed: Tag.Name, Tag.CategoryID"}'.

      Expected results: All the analyses should pass

      Additional info:

      Attached you'll find the analysis details of one of the failed analyses.

              rh-ee-abrugaro Alejandro Brugarolas
              istein@redhat.com Ilanit Stein
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: