Uploaded image for project: 'JBoss Transaction Manager'
  1. JBoss Transaction Manager
  2. JBTM-2693

jca-and-hibernate quickstart CI failure

    XMLWordPrintable

Details

    • Bug
    • Resolution: Won't Do
    • Major
    • None
    • 5.3.3.Final
    • Demonstrator
    • None
    • Hide

      Empty the database table used by the quickstart

      Show
      Empty the database table used by the quickstart
    • Hide
      The error in a log is expected, because one of the test cases simulates adding a duplicate resource to the database. I've updated quickstart's readme to reflect that: https://github.com/jbosstm/quickstart/commit/e558656b2c99fc4daa152d853f6d7d49c0f659a1
      Show
      The error in a log is expected, because one of the test cases simulates adding a duplicate resource to the database. I've updated quickstart's readme to reflect that: https://github.com/jbosstm/quickstart/commit/e558656b2c99fc4daa152d853f6d7d49c0f659a1

    Description

      The quickstart fails with a hibernate constraint violation:

      CI output: http://172.17.130.4:8083/job/narayana-quickstarts-ipv6/28
      Output:

      2016-06-18 07:36:23,944 [main] ERROR org.hibernate.engine.jdbc.spi.SqlExceptionHelper - Unique index or primary key violation: "UK_6M4FUHXJ4CKIXI1VSB8OSII7R_INDEX_5 ON PUBLIC.CUSTOMER(NAME)"; SQL statement:
      insert into Customer (name, id) values (?, ?) [23505-171]
      2016-06-18 07:36:23,947 [main] WARN com.arjuna.ats.arjuna - ARJUNA012125: TwoPhaseCoordinator.beforeCompletion - failed for SynchronizationImple< -180000000000000:22cf30fffe66b53b:d118:5764ebe6:2a, org.hibernate.engine.transaction.synchronization.internal.RegisteredSynchronization@1b0a7baf >
      javax.persistence.PersistenceException: org.hibernate.exception.ConstraintViolationException: could not execute statement
      2016-06-18 07:36:23,944 [main] ERROR org.hibernate.engine.jdbc.spi.SqlExceptionHelper - Unique index or primary key violation: "UK_6M4FUHXJ4CKIXI1VSB8OSII7R_INDEX_5 ON PUBLIC.CUSTOMER(NAME)"; SQL statement:
      insert into Customer (name, id) values (?, ?) [23505-171]
      2016-06-18 07:36:23,947 [main] WARN com.arjuna.ats.arjuna - ARJUNA012125: TwoPhaseCoordinator.beforeCompletion - failed for SynchronizationImple< -180000000000000:22cf30fffe66b53b:d118:5764ebe6:2a, org.hibernate.engine.transaction.synchronization.internal.RegisteredSynchronization@1b0a7baf >
      javax.persistence.PersistenceException: org.hibernate.exception.ConstraintViolationException: could not execute statement

      Attachments

        Activity

          People

            gtrikler@redhat.com Gytis Trikleris (Inactive)
            rhn-engineering-mmusgrov Michael Musgrove
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: