CCE service fails to start on a functional test instance

Description

From time to time the CCE service fails to start on a functional test instance. It seems like the issue with schema validation in the service is still present.

07:53:05.798 functional-test.openlmis.org /var/log/messages 2019-06-13T05:53:03+00:00 965c9c070a3e #011org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'application': Unsatisfied dependency expressed through field 'dialectName'; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'org.javers.spring.boot.sql.JaversSqlAutoConfiguration': Unsatisfied dependency expressed through field 'entityManagerFactory'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'entityManagerFactory' defined in class path resource [org/springframework/boot/autoconfigure/orm/jpa/HibernateJpaAutoConfiguration.class]: Invocation of init method failed; nested exception is javax.persistence.PersistenceException: [PersistenceUnit: default] Unable to build Hibernate SessionFactory
...
07:53:05.799 functional-test.openlmis.org /var/log/messages 2019-06-13T05:53:03+00:00 965c9c070a3e #011Caused by: org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'org.javers.spring.boot.sql.JaversSqlAutoConfiguration': Unsatisfied dependency expressed through field 'entityManagerFactory'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'entityManagerFactory' defined in class path resource [org/springframework/boot/autoconfigure/orm/jpa/HibernateJpaAutoConfiguration.class]: Invocation of init method failed; nested exception is javax.persistence.PersistenceException: [PersistenceUnit: default] Unable to build Hibernate SessionFactory
...
07:53:05.811 functional-test.openlmis.org /var/log/messages 2019-06-13T05:53:03+00:00 965c9c070a3e #011Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'entityManagerFactory' defined in class path resource [org/springframework/boot/autoconfigure/orm/jpa/HibernateJpaAutoConfiguration.class]: Invocation of init method failed; nested exception is javax.persistence.PersistenceException: [PersistenceUnit: default] Unable to build Hibernate SessionFactory
...
07:53:05.813 functional-test.openlmis.org /var/log/messages 2019-06-13T05:53:03+00:00 965c9c070a3e #011Caused by: javax.persistence.PersistenceException: [PersistenceUnit: default] Unable to build Hibernate SessionFactory
...
07:53:05.815 functional-test.openlmis.org /var/log/messages 2019-06-13T05:53:03+00:00 965c9c070a3e #011Caused by: org.hibernate.tool.schema.spi.SchemaManagementException: Schema-validation: missing column [dismissTimestamp] in table [cce_alerts]

Environment

None

Assignee

Mateusz Wedeł

Reporter

Łukasz Lewczyński

Labels

None

Story Points

5

Time tracking

40h

Components

Sprint

None

Fix versions

Priority

Critical
Configure