Build: #8 failed

Job: Default Job failed

Stages & jobs

  1. Default Stage

  2. Release

    Requires a user to start manually

Job result summary

Completed
Duration
9 minutes
Revision
12b1cfa6fb049f76a88efa029ef0bb2ea327eec1 12b1cfa6fb049f76a88efa029ef0bb2ea327eec1
Total tests
140
Fixed in
#10 (Code changes detected)

Tests

  • 140 tests in total
  • 8 tests failed
  • 8 failures are new
  • 6 tests were quarantined / skipped
  • 6 minutes taken in total.
New test failures 8
Status Test Duration
Collapse Failed HibernateSyncInterceptorTransactionTest shouldTestAllInSameTx History
< 1 sec
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)
Collapse Failed HibernateSyncInterceptorTransactionTest shouldTestBothInNewTx History
1 sec
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)
Collapse Failed HibernateSyncInterceptorTransactionTest shouldTestFirstInNewTx History
1 sec
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)
Collapse Failed HibernateSyncInterceptorTransactionTest shouldTestFirstInNoTransaction History
< 1 sec
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)
Collapse Failed HibernateSyncInterceptorTransactionTest shouldTestFirstThrowsException History
< 1 sec
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)
Collapse Failed HibernateSyncInterceptorTransactionTest shouldTestSecondInNewTx History
1 sec
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)
Collapse Failed HibernateSyncInterceptorTransactionTest shouldTestSecondThrowsException History
< 1 sec
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...)
Collapse Failed CleanupSyncTablesTaskTest shouldDeleteOnlyTheStatesGiven History
< 1 sec
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)