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

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done-Errata
    • Icon: Normal Normal
    • MTA 7.0.3
    • MTA 7.0.3
    • None
    • False
    • Hide

      None

      Show
      None
    • False
    • No

      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.

        1. 1712239104900.yaml
          4 kB
          Alejandro Brugarolas

              jortel Jeff Ortel
              rh-ee-abrugaro Alejandro Brugarolas
              Alejandro Brugarolas Alejandro Brugarolas
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: