Build: #9 failed

Job: Default Job failed

Stages & jobs

  1. Default Stage

  2. Release

    Requires a user to start manually

Job result summary

Completed
Duration
7 minutes
Revision
12b1cfa6fb049f76a88efa029ef0bb2ea327eec1 12b1cfa6fb049f76a88efa029ef0bb2ea327eec1
Total tests
140
Failing since
#8 (Code changes detected – )
Fixed in
#10 (Code changes detected)

Tests

  • 140 tests in total
  • 8 tests failed
  • 6 tests were quarantined / skipped
  • 5 minutes taken in total.
Existing test failures 8
Status Test Failing since Duration
java.lang.AssertionError: Encounter Type saved, but Sync Record was not
	at org.junit.Assert.fail(Assert.java:88)
	at org.junit.Assert.assertTrue(Assert.java:41)
	at org.openmrs.module.sync.api.db.hibernate.HibernateSyncInterceptorTransactionTest.afterTx(HibernateSyncInterceptorTransactionTest.java:81)
java.lang.AssertionError: Encounter Type saved, but Sync Record was not
	at org.junit.Assert.fail(Assert.java:88)
	at org.junit.Assert.assertTrue(Assert.java:41)
	at org.openmrs.module.sync.api.db.hibernate.HibernateSyncInterceptorTransactionTest.afterTx(HibernateSyncInterceptorTransactionTest.java:81)
java.lang.AssertionError: Encounter Type saved, but Sync Record was not
	at org.junit.Assert.fail(Assert.java:88)
	at org.junit.Assert.assertTrue(Assert.java:41)
	at org.openmrs.module.sync.api.db.hibernate.HibernateSyncInterceptorTransactionTest.afterTx(HibernateSyncInterceptorTransactionTest.java:81)
java.lang.AssertionError: Encounter Type saved, but Sync Record was not
	at org.junit.Assert.fail(Assert.java:88)
	at org.junit.Assert.assertTrue(Assert.java:41)
	at org.openmrs.module.sync.api.db.hibernate.HibernateSyncInterceptorTransactionTest.afterTx(HibernateSyncInterceptorTransactionTest.java:81)
java.lang.AssertionError: Encounter Type saved, but Sync Record was not
	at org.junit.Assert.fail(Assert.java:88)
	at org.junit.Assert.assertTrue(Assert.java:41)
	at org.openmrs.module.sync.api.db.hibernate.HibernateSyncInterceptorTransactionTest.afterTx(HibernateSyncInterceptorTransactionTest.java:81)
	at org.openmrs.module.sync.api.db.hibernate.HibernateSyncInterceptorTransactionTest.shouldTestFirstThrowsException(HibernateSyncInterceptorTransactionTest.java:208)
java.lang.AssertionError: Encounter Type saved, but Sync Record was not
	at org.junit.Assert.fail(Assert.java:88)
	at org.junit.Assert.assertTrue(Assert.java:41)
	at org.openmrs.module.sync.api.db.hibernate.HibernateSyncInterceptorTransactionTest.afterTx(HibernateSyncInterceptorTransactionTest.java:81)
org.hibernate.exception.ConstraintViolationException: could not execute statement
	at org.h2.message.DbException.getJdbcSQLException(DbException.java:457)
	at org.h2.message.DbException.getJdbcSQLException(DbException.java:427)
	at org.h2.message.DbException.get(DbException.java:205)
	at org.h2.message.DbException.get(DbException.java:181)
	at org.h2.index.BaseIndex.getDuplicateKeyException(BaseIndex.java:103)
	at org.h2.mvstore.db.MVSecondaryIndex.checkUnique(MVSecondaryIndex.java:220)
	at org.h2.mvstore.db.MVSecondaryIndex.add(MVSecondaryIndex.java:196)
(64 more lines...)
java.lang.AssertionError: expected:<60> but was:<62>
	at org.junit.Assert.fail(Assert.java:88)
	at org.junit.Assert.failNotEquals(Assert.java:743)
	at org.junit.Assert.assertEquals(Assert.java:118)
	at org.junit.Assert.assertEquals(Assert.java:555)
	at org.junit.Assert.assertEquals(Assert.java:542)
	at org.openmrs.module.sync.scheduler.CleanupSyncTablesTaskTest.shouldDeleteOnlyTheStatesGiven(CleanupSyncTablesTaskTest.java:40)