samagra-comms / transformer

0 stars 12 forks source link

unable to deploy tranformer #115

Open ddevadat opened 1 year ago

ddevadat commented 1 year ago

We deployed transformer build from release-4.7.0. After this we build transformer from release-4.8.0_RC1. We we try to deploy transformer, the pod fails to start with the below error

Error starting ApplicationContext. To display the conditions report re-run your application with 'debug' enabled.
2023-09-27 21:55:18.354 ERROR 1 --- [           main] o.s.boot.SpringApplication               : Application run failed

org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'liquibase' defined in class path resource [org/springframework/boot/autoconfigure/liquibase/LiquibaseAutoConfiguration$LiquibaseConfiguration.class]: Invocation of init method failed; nested exception is liquibase.exception.ValidationFailedException: Validation Failed:
     1 change sets check sum
          db/migration/006_create_question_assessment.sql::raw::includeAll was: 8:f7bed8254af6da393f7fc5d1082773e9 but is now: 8:ce16429e2f800a5737cb894e223fe5f2

    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1804) ~[message-rosa-0.0.1-SNAPSHOT.jar!/:0.0.1-SNAPSHOT]
    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:620) ~[message-rosa-0.0.1-SNAPSHOT.jar!/:0.0.1-SNAPSHOT]
    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:542) ~[message-rosa-0.0.1-SNAPSHOT.jar!/:0.0.1-SNAPSHOT]
    at org.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:335) ~[message-rosa-0.0.1-SNAPSHOT.jar!/:0.0.1-SNAPSHOT]
    at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:234) ~[message-rosa-0.0.1-SNAPSHOT.jar!/:0.0.1-SNAPSHOT]
    at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:333) ~[message-rosa-0.0.1-SNAPSHOT.jar!/:0.0.1-SNAPSHOT]
    at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:208) ~[message-rosa-0.0.1-SNAPSHOT.jar!/:0.0.1-SNAPSHOT]
    at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:944) ~[message-rosa-0.0.1-SNAPSHOT.jar!/:0.0.1-SNAPSHOT]
    at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:918) ~[spring-context-5.3.13.jar!/:5.3.13]
    at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:583) ~[spring-context-5.3.13.jar!/:5.3.13]
    at org.springframework.boot.web.reactive.context.ReactiveWebServerApplicationContext.refresh(ReactiveWebServerApplicationContext.java:64) ~[spring-boot-2.5.7.jar!/:2.5.7]
    at org.springframework.boot.SpringApplication.refresh(SpringApplication.java:765) ~[spring-boot-2.5.7.jar!/:2.5.7]
    at org.springframework.boot.SpringApplication.refreshContext(SpringApplication.java:445) ~[spring-boot-2.5.7.jar!/:2.5.7]
    at org.springframework.boot.SpringApplication.run(SpringApplication.java:338) ~[spring-boot-2.5.7.jar!/:2.5.7]
    at org.springframework.boot.SpringApplication.run(SpringApplication.java:1354) ~[spring-boot-2.5.7.jar!/:2.5.7]
    at org.springframework.boot.SpringApplication.run(SpringApplication.java:1343) ~[spring-boot-2.5.7.jar!/:2.5.7]
    at com.uci.transformer.application.TransformerApplication.main(TransformerApplication.java:48) ~[classes!/:0.0.1-SNAPSHOT]

Could you please help