Uploaded image for project: 'Folio Automation Testing'
  1. Folio Automation Testing
  2. FAT-958

API Integration Test Environment Build Fails due to Duplicate Barcode

    XMLWordPrintable

Details

    • DevOps Sprint 122, DevOps Sprint 123
    • FOLIO DevOps

    Description

      Earlier today, VRohach reported that the API integration test build were failing.

      The logs for the latest builds contain:

      ERROR:  could not create unique index "item_barcode_idx_unique"
      DETAIL:  Key (lower(jsonb ->> 'barcode'::text))=(2294890831) is duplicated.
      

      This suggests that there are duplicate item barcodes within the data set used for these tests:

      https://s3.amazonaws.com/folio-public-sample-data/perf.tar.gz
      

      This used to be acceptable until MODINVSTOR-523 was implemented.

      Running the SQL query suggested in the release notes shows that perf.tar.gz has 421 barcodes that are used two times (and no barcode that is used more than two times). One of the duplicate barcodes is 2294890831.

      Interested Parties
      julianladisch - developer of the change
      jakub - Lead of the CP team and member of Capacity Planning
      Emelianov - Lead for API integration testing
      malc ian wayne dcrossley - DevOps folks

      TestRail: Results

        Attachments

          Issue Links

            Activity

              People

                hleb_surnovich Hleb Surnovich
                marcjohnson Marc Johnson
                Votes:
                0 Vote for this issue
                Watchers:
                5 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved:

                  TestRail: Runs

                    TestRail: Cases