Uploaded image for project: 'Nuxeo Platform'
  1. Nuxeo Platform
  2. NXP-32577

Fix nuxeo-lts build failing on TestAuditStorage

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2021.55, 2023.13
    • Component/s: CI/CD
    • Team:
      PLATFORM
    • Sprint:
      nxplatform #113
    • Story Points:
      2

      Description

      The nuxeo-lts build is failing since May the 21st on this test class: TestAuditStorage.

      From investigation, it seems that hibernate doesn't fully flush/reload/something between tests and the following scenario happens:

      • previous tests create more than 1 000 entries
      • created entries are deleted before TestAuditStorage run
      • TestAuditStorage tries to create 56 entries with ids starting from 1001
      • all entries from 1001 to x won't be effectively created in the DB, where x is the latest entry id created from previous test

        Attachments

        1. trace.log
          6.74 MB
          Kevin Leturc

          Issue Links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: