Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- [INFO] Scanning for projects...
- [WARNING]
- [WARNING] Some problems were encountered while building the effective model for org.openmrs.module:referenceapplication-omod:jar:2.12.0-SNAPSHOT
- [WARNING] 'build.plugins.plugin.(groupId:artifactId)' must be unique but found duplicate declaration of plugin org.apache.maven.plugins:maven-dependency-plugin @ org.openmrs.module:referenceapplication-omod:[unknown-version], /home/joshua/openmrs-repo/openmrs-module-referenceapplication/omod/pom.xml, line 231, column 21
- [WARNING] 'build.plugins.plugin.version' for de.saumya.mojo:gem-maven-plugin is missing. @ org.openmrs.module:referenceapplication-omod:[unknown-version], /home/joshua/openmrs-repo/openmrs-module-referenceapplication/omod/pom.xml, line 256, column 21
- [WARNING]
- [WARNING] It is highly recommended to fix these problems because they threaten the stability of your build.
- [WARNING]
- [WARNING] For this reason, future Maven versions might no longer support building such malformed projects.
- [WARNING]
- [INFO] ------------------------------------------------------------------------
- [INFO] Reactor Build Order:
- [INFO]
- [INFO] Reference Application Module [pom]
- [INFO] Reference Application Module API [jar]
- [INFO] Reference Application Module OMOD [jar]
- [INFO]
- [INFO] --------------< org.openmrs.module:referenceapplication >---------------
- [INFO] Building Reference Application Module 2.12.0-SNAPSHOT [1/3]
- [INFO] --------------------------------[ pom ]---------------------------------
- [INFO]
- [INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ referenceapplication ---
- [INFO]
- [INFO] --- maven-install-plugin:2.4:install (default-install) @ referenceapplication ---
- [INFO] Installing /home/joshua/openmrs-repo/openmrs-module-referenceapplication/pom.xml to /home/joshua/.m2/repository/org/openmrs/module/referenceapplication/2.12.0-SNAPSHOT/referenceapplication-2.12.0-SNAPSHOT.pom
- [INFO]
- [INFO] ------------< org.openmrs.module:referenceapplication-api >-------------
- [INFO] Building Reference Application Module API 2.12.0-SNAPSHOT [2/3]
- [INFO] --------------------------------[ jar ]---------------------------------
- Downloading from rubygems-releases: https://rubygems-proxy.torquebox.org/releases/org/openmrs/module/appframework-api/2.17.0-SNAPSHOT/maven-metadata.xml
- [WARNING] Could not transfer metadata org.openmrs.module:appframework-api:2.17.0-SNAPSHOT/maven-metadata.xml from/to rubygems-releases (https://rubygems-proxy.torquebox.org/releases): Certificate for <rubygems-proxy.torquebox.org> doesn't match any of the subject alternative names: [*.ceylon-lang.org, ceylon-lang.org]
- [WARNING] Failure to transfer org.openmrs.module:appframework-api:2.17.0-SNAPSHOT/maven-metadata.xml from https://rubygems-proxy.torquebox.org/releases was cached in the local repository, resolution will not be reattempted until the update interval of rubygems-releases has elapsed or updates are forced. Original error: Could not transfer metadata org.openmrs.module:appframework-api:2.17.0-SNAPSHOT/maven-metadata.xml from/to rubygems-releases (https://rubygems-proxy.torquebox.org/releases): Certificate for <rubygems-proxy.torquebox.org> doesn't match any of the subject alternative names: [*.ceylon-lang.org, ceylon-lang.org]
- Downloading from rubygems-releases: https://rubygems-proxy.torquebox.org/releases/org/openmrs/module/appframework/2.17.0-SNAPSHOT/maven-metadata.xml
- [WARNING] Could not transfer metadata org.openmrs.module:appframework:2.17.0-SNAPSHOT/maven-metadata.xml from/to rubygems-releases (https://rubygems-proxy.torquebox.org/releases): Certificate for <rubygems-proxy.torquebox.org> doesn't match any of the subject alternative names: [*.ceylon-lang.org, ceylon-lang.org]
- [WARNING] Failure to transfer org.openmrs.module:appframework-api:2.17.0-SNAPSHOT/maven-metadata.xml from https://rubygems-proxy.torquebox.org/releases was cached in the local repository, resolution will not be reattempted until the update interval of rubygems-releases has elapsed or updates are forced. Original error: Could not transfer metadata org.openmrs.module:appframework-api:2.17.0-SNAPSHOT/maven-metadata.xml from/to rubygems-releases (https://rubygems-proxy.torquebox.org/releases): Certificate for <rubygems-proxy.torquebox.org> doesn't match any of the subject alternative names: [*.ceylon-lang.org, ceylon-lang.org]
- Downloading from rubygems-releases: https://rubygems-proxy.torquebox.org/releases/org/openmrs/module/uiframework-api/3.21.0-SNAPSHOT/maven-metadata.xml
- [WARNING] Could not transfer metadata org.openmrs.module:uiframework-api:3.21.0-SNAPSHOT/maven-metadata.xml from/to rubygems-releases (https://rubygems-proxy.torquebox.org/releases): Certificate for <rubygems-proxy.torquebox.org> doesn't match any of the subject alternative names: [*.ceylon-lang.org, ceylon-lang.org]
- [WARNING] Failure to transfer org.openmrs.module:uiframework-api:3.21.0-SNAPSHOT/maven-metadata.xml from https://rubygems-proxy.torquebox.org/releases was cached in the local repository, resolution will not be reattempted until the update interval of rubygems-releases has elapsed or updates are forced. Original error: Could not transfer metadata org.openmrs.module:uiframework-api:3.21.0-SNAPSHOT/maven-metadata.xml from/to rubygems-releases (https://rubygems-proxy.torquebox.org/releases): Certificate for <rubygems-proxy.torquebox.org> doesn't match any of the subject alternative names: [*.ceylon-lang.org, ceylon-lang.org]
- Downloading from rubygems-releases: https://rubygems-proxy.torquebox.org/releases/org/openmrs/module/uiframework/3.21.0-SNAPSHOT/maven-metadata.xml
- [WARNING] Could not transfer metadata org.openmrs.module:uiframework:3.21.0-SNAPSHOT/maven-metadata.xml from/to rubygems-releases (https://rubygems-proxy.torquebox.org/releases): Certificate for <rubygems-proxy.torquebox.org> doesn't match any of the subject alternative names: [*.ceylon-lang.org, ceylon-lang.org]
- [INFO]
- [INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ referenceapplication-api ---
- [INFO] Deleting /home/joshua/openmrs-repo/openmrs-module-referenceapplication/api/target
- [INFO]
- [INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ referenceapplication-api ---
- [INFO] Using 'UTF-8' encoding to copy filtered resources.
- [INFO] Copying 22 resources
- [INFO]
- [INFO] --- maven-compiler-plugin:3.1:compile (default-compile) @ referenceapplication-api ---
- [INFO] Changes detected - recompiling the module!
- [INFO] Compiling 3 source files to /home/joshua/openmrs-repo/openmrs-module-referenceapplication/api/target/classes
- [INFO]
- [INFO] --- maven-resources-plugin:2.6:testResources (default-testResources) @ referenceapplication-api ---
- [INFO] Using 'UTF-8' encoding to copy filtered resources.
- [INFO] Copying 3 resources
- [INFO]
- [INFO] --- maven-compiler-plugin:3.1:testCompile (default-testCompile) @ referenceapplication-api ---
- [INFO] Changes detected - recompiling the module!
- [INFO] Compiling 3 source files to /home/joshua/openmrs-repo/openmrs-module-referenceapplication/api/target/test-classes
- [WARNING] /home/joshua/openmrs-repo/openmrs-module-referenceapplication/api/src/test/java/org/openmrs/module/referenceapplication/ReferenceApplicationActivatorComponentTest.java: Some input files use or override a deprecated API.
- [WARNING] /home/joshua/openmrs-repo/openmrs-module-referenceapplication/api/src/test/java/org/openmrs/module/referenceapplication/ReferenceApplicationActivatorComponentTest.java: Recompile with -Xlint:deprecation for details.
- [INFO]
- [INFO] --- maven-surefire-plugin:2.22.1:test (default-test) @ referenceapplication-api ---
- [INFO]
- [INFO] -------------------------------------------------------
- [INFO] T E S T S
- [INFO] -------------------------------------------------------
- [INFO] Running org.openmrs.module.referenceapplication.ReferenceApplicationActivatorTest
- [INFO] Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.508 s - in org.openmrs.module.referenceapplication.ReferenceApplicationActivatorTest
- [INFO] Running org.openmrs.module.referenceapplication.ReferenceApplicationActivatorComponentTest
- [ERROR] Tests run: 4, Failures: 0, Errors: 4, Skipped: 0, Time elapsed: 18.855 s <<< FAILURE! - in org.openmrs.module.referenceapplication.ReferenceApplicationActivatorComponentTest
- [ERROR] testSetupOfProcessHL7Task Time elapsed: 0.008 s <<< ERROR!
- java.lang.IllegalStateException: Failed to load ApplicationContext
- Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.springframework.transaction.interceptor.TransactionAttributeSourceAdvisor#0' defined in class path resource [applicationContext-service.xml]: Cannot resolve reference to bean 'transactionInterceptor' while setting bean property 'transactionInterceptor'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'transactionInterceptor' defined in class path resource [applicationContext-service.xml]: Cannot resolve reference to bean 'transactionManager' while setting bean property 'transactionManager'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'transactionManager' defined in class path resource [applicationContext-service.xml]: Cannot resolve reference to bean 'sessionFactory' while setting bean property 'sessionFactory'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sessionFactory' defined in URL [file:/home/joshua/openmrs-repo/openmrs-module-referenceapplication/api/target/test-classes/TestingApplicationContext.xml]: Invocation of init method failed; nested exception is java.lang.NoClassDefFoundError: org/apache/commons/codec/language/Caverphone2
- Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'transactionInterceptor' defined in class path resource [applicationContext-service.xml]: Cannot resolve reference to bean 'transactionManager' while setting bean property 'transactionManager'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'transactionManager' defined in class path resource [applicationContext-service.xml]: Cannot resolve reference to bean 'sessionFactory' while setting bean property 'sessionFactory'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sessionFactory' defined in URL [file:/home/joshua/openmrs-repo/openmrs-module-referenceapplication/api/target/test-classes/TestingApplicationContext.xml]: Invocation of init method failed; nested exception is java.lang.NoClassDefFoundError: org/apache/commons/codec/language/Caverphone2
- Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'transactionManager' defined in class path resource [applicationContext-service.xml]: Cannot resolve reference to bean 'sessionFactory' while setting bean property 'sessionFactory'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sessionFactory' defined in URL [file:/home/joshua/openmrs-repo/openmrs-module-referenceapplication/api/target/test-classes/TestingApplicationContext.xml]: Invocation of init method failed; nested exception is java.lang.NoClassDefFoundError: org/apache/commons/codec/language/Caverphone2
- Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sessionFactory' defined in URL [file:/home/joshua/openmrs-repo/openmrs-module-referenceapplication/api/target/test-classes/TestingApplicationContext.xml]: Invocation of init method failed; nested exception is java.lang.NoClassDefFoundError: org/apache/commons/codec/language/Caverphone2
- Caused by: java.lang.NoClassDefFoundError: org/apache/commons/codec/language/Caverphone2
- Caused by: java.lang.ClassNotFoundException: org.apache.commons.codec.language.Caverphone2
- [ERROR] testAddLoginLocationTagToAtleastOneLocationIfThereAreNoLoginLocations Time elapsed: 0.004 s <<< ERROR!
- java.lang.IllegalStateException: Failed to load ApplicationContext
- Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.springframework.transaction.interceptor.TransactionAttributeSourceAdvisor#0' defined in class path resource [applicationContext-service.xml]: Cannot resolve reference to bean 'transactionInterceptor' while setting bean property 'transactionInterceptor'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'transactionInterceptor' defined in class path resource [applicationContext-service.xml]: Cannot resolve reference to bean 'transactionManager' while setting bean property 'transactionManager'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'transactionManager' defined in class path resource [applicationContext-service.xml]: Cannot resolve reference to bean 'sessionFactory' while setting bean property 'sessionFactory'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sessionFactory' defined in URL [file:/home/joshua/openmrs-repo/openmrs-module-referenceapplication/api/target/test-classes/TestingApplicationContext.xml]: Invocation of init method failed; nested exception is java.lang.IllegalStateException: Cache provider not started
- Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'transactionInterceptor' defined in class path resource [applicationContext-service.xml]: Cannot resolve reference to bean 'transactionManager' while setting bean property 'transactionManager'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'transactionManager' defined in class path resource [applicationContext-service.xml]: Cannot resolve reference to bean 'sessionFactory' while setting bean property 'sessionFactory'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sessionFactory' defined in URL [file:/home/joshua/openmrs-repo/openmrs-module-referenceapplication/api/target/test-classes/TestingApplicationContext.xml]: Invocation of init method failed; nested exception is java.lang.IllegalStateException: Cache provider not started
- Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'transactionManager' defined in class path resource [applicationContext-service.xml]: Cannot resolve reference to bean 'sessionFactory' while setting bean property 'sessionFactory'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sessionFactory' defined in URL [file:/home/joshua/openmrs-repo/openmrs-module-referenceapplication/api/target/test-classes/TestingApplicationContext.xml]: Invocation of init method failed; nested exception is java.lang.IllegalStateException: Cache provider not started
- Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sessionFactory' defined in URL [file:/home/joshua/openmrs-repo/openmrs-module-referenceapplication/api/target/test-classes/TestingApplicationContext.xml]: Invocation of init method failed; nested exception is java.lang.IllegalStateException: Cache provider not started
- Caused by: java.lang.IllegalStateException: Cache provider not started
- Caused by: org.hibernate.cache.CacheException:
- net.sf.ehcache.CacheException: Another CacheManager with same name 'hibernateCache' already exists in the same VM. Please provide unique names for each CacheManager in the config or do one of following:
- 1. Use one of the CacheManager.create() static factory methods to reuse same CacheManager with same name or create one if necessary
- 2. Shutdown the earlier cacheManager before creating new one with same name.
- The source of the existing CacheManager is: DefaultConfigurationSource [ ehcache.xml or ehcache-failsafe.xml ]
- Caused by: net.sf.ehcache.CacheException:
- Another CacheManager with same name 'hibernateCache' already exists in the same VM. Please provide unique names for each CacheManager in the config or do one of following:
- 1. Use one of the CacheManager.create() static factory methods to reuse same CacheManager with same name or create one if necessary
- 2. Shutdown the earlier cacheManager before creating new one with same name.
- The source of the existing CacheManager is: DefaultConfigurationSource [ ehcache.xml or ehcache-failsafe.xml ]
- [ERROR] testAddLoginLocationTagToUnknownLocationIfThereAreNoLoginLocations Time elapsed: 0.001 s <<< ERROR!
- java.lang.IllegalStateException: Failed to load ApplicationContext
- Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.springframework.transaction.interceptor.TransactionAttributeSourceAdvisor#0' defined in class path resource [applicationContext-service.xml]: Cannot resolve reference to bean 'transactionInterceptor' while setting bean property 'transactionInterceptor'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'transactionInterceptor' defined in class path resource [applicationContext-service.xml]: Cannot resolve reference to bean 'transactionManager' while setting bean property 'transactionManager'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'transactionManager' defined in class path resource [applicationContext-service.xml]: Cannot resolve reference to bean 'sessionFactory' while setting bean property 'sessionFactory'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sessionFactory' defined in URL [file:/home/joshua/openmrs-repo/openmrs-module-referenceapplication/api/target/test-classes/TestingApplicationContext.xml]: Invocation of init method failed; nested exception is java.lang.IllegalStateException: Cache provider not started
- Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'transactionInterceptor' defined in class path resource [applicationContext-service.xml]: Cannot resolve reference to bean 'transactionManager' while setting bean property 'transactionManager'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'transactionManager' defined in class path resource [applicationContext-service.xml]: Cannot resolve reference to bean 'sessionFactory' while setting bean property 'sessionFactory'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sessionFactory' defined in URL [file:/home/joshua/openmrs-repo/openmrs-module-referenceapplication/api/target/test-classes/TestingApplicationContext.xml]: Invocation of init method failed; nested exception is java.lang.IllegalStateException: Cache provider not started
- Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'transactionManager' defined in class path resource [applicationContext-service.xml]: Cannot resolve reference to bean 'sessionFactory' while setting bean property 'sessionFactory'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sessionFactory' defined in URL [file:/home/joshua/openmrs-repo/openmrs-module-referenceapplication/api/target/test-classes/TestingApplicationContext.xml]: Invocation of init method failed; nested exception is java.lang.IllegalStateException: Cache provider not started
- Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sessionFactory' defined in URL [file:/home/joshua/openmrs-repo/openmrs-module-referenceapplication/api/target/test-classes/TestingApplicationContext.xml]: Invocation of init method failed; nested exception is java.lang.IllegalStateException: Cache provider not started
- Caused by: java.lang.IllegalStateException: Cache provider not started
- Caused by: org.hibernate.cache.CacheException:
- net.sf.ehcache.CacheException: Another CacheManager with same name 'hibernateCache' already exists in the same VM. Please provide unique names for each CacheManager in the config or do one of following:
- 1. Use one of the CacheManager.create() static factory methods to reuse same CacheManager with same name or create one if necessary
- 2. Shutdown the earlier cacheManager before creating new one with same name.
- The source of the existing CacheManager is: DefaultConfigurationSource [ ehcache.xml or ehcache-failsafe.xml ]
- Caused by: net.sf.ehcache.CacheException:
- Another CacheManager with same name 'hibernateCache' already exists in the same VM. Please provide unique names for each CacheManager in the config or do one of following:
- 1. Use one of the CacheManager.create() static factory methods to reuse same CacheManager with same name or create one if necessary
- 2. Shutdown the earlier cacheManager before creating new one with same name.
- The source of the existing CacheManager is: DefaultConfigurationSource [ ehcache.xml or ehcache-failsafe.xml ]
- [ERROR] testSetUpAdtGlobalProperties Time elapsed: 0.002 s <<< ERROR!
- java.lang.IllegalStateException: Failed to load ApplicationContext
- Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.springframework.transaction.interceptor.TransactionAttributeSourceAdvisor#0' defined in class path resource [applicationContext-service.xml]: Cannot resolve reference to bean 'transactionInterceptor' while setting bean property 'transactionInterceptor'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'transactionInterceptor' defined in class path resource [applicationContext-service.xml]: Cannot resolve reference to bean 'transactionManager' while setting bean property 'transactionManager'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'transactionManager' defined in class path resource [applicationContext-service.xml]: Cannot resolve reference to bean 'sessionFactory' while setting bean property 'sessionFactory'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sessionFactory' defined in URL [file:/home/joshua/openmrs-repo/openmrs-module-referenceapplication/api/target/test-classes/TestingApplicationContext.xml]: Invocation of init method failed; nested exception is java.lang.IllegalStateException: Cache provider not started
- Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'transactionInterceptor' defined in class path resource [applicationContext-service.xml]: Cannot resolve reference to bean 'transactionManager' while setting bean property 'transactionManager'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'transactionManager' defined in class path resource [applicationContext-service.xml]: Cannot resolve reference to bean 'sessionFactory' while setting bean property 'sessionFactory'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sessionFactory' defined in URL [file:/home/joshua/openmrs-repo/openmrs-module-referenceapplication/api/target/test-classes/TestingApplicationContext.xml]: Invocation of init method failed; nested exception is java.lang.IllegalStateException: Cache provider not started
- Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'transactionManager' defined in class path resource [applicationContext-service.xml]: Cannot resolve reference to bean 'sessionFactory' while setting bean property 'sessionFactory'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sessionFactory' defined in URL [file:/home/joshua/openmrs-repo/openmrs-module-referenceapplication/api/target/test-classes/TestingApplicationContext.xml]: Invocation of init method failed; nested exception is java.lang.IllegalStateException: Cache provider not started
- Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sessionFactory' defined in URL [file:/home/joshua/openmrs-repo/openmrs-module-referenceapplication/api/target/test-classes/TestingApplicationContext.xml]: Invocation of init method failed; nested exception is java.lang.IllegalStateException: Cache provider not started
- Caused by: java.lang.IllegalStateException: Cache provider not started
- Caused by: org.hibernate.cache.CacheException:
- net.sf.ehcache.CacheException: Another CacheManager with same name 'hibernateCache' already exists in the same VM. Please provide unique names for each CacheManager in the config or do one of following:
- 1. Use one of the CacheManager.create() static factory methods to reuse same CacheManager with same name or create one if necessary
- 2. Shutdown the earlier cacheManager before creating new one with same name.
- The source of the existing CacheManager is: DefaultConfigurationSource [ ehcache.xml or ehcache-failsafe.xml ]
- Caused by: net.sf.ehcache.CacheException:
- Another CacheManager with same name 'hibernateCache' already exists in the same VM. Please provide unique names for each CacheManager in the config or do one of following:
- 1. Use one of the CacheManager.create() static factory methods to reuse same CacheManager with same name or create one if necessary
- 2. Shutdown the earlier cacheManager before creating new one with same name.
- The source of the existing CacheManager is: DefaultConfigurationSource [ ehcache.xml or ehcache-failsafe.xml ]
- [INFO] Running org.openmrs.module.referenceapplication.administrativenotification.ConfigureAtlasNotificationProducerTest
- [ERROR] Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 1.914 s <<< FAILURE! - in org.openmrs.module.referenceapplication.administrativenotification.ConfigureAtlasNotificationProducerTest
- [ERROR] testWhenAtlasModuleIsNotInstalled Time elapsed: 0.001 s <<< ERROR!
- java.lang.IllegalStateException: Failed to load ApplicationContext
- Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.springframework.transaction.interceptor.TransactionAttributeSourceAdvisor#0' defined in class path resource [applicationContext-service.xml]: Cannot resolve reference to bean 'transactionInterceptor' while setting bean property 'transactionInterceptor'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'transactionInterceptor' defined in class path resource [applicationContext-service.xml]: Cannot resolve reference to bean 'transactionManager' while setting bean property 'transactionManager'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'transactionManager' defined in class path resource [applicationContext-service.xml]: Cannot resolve reference to bean 'sessionFactory' while setting bean property 'sessionFactory'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sessionFactory' defined in URL [file:/home/joshua/openmrs-repo/openmrs-module-referenceapplication/api/target/test-classes/TestingApplicationContext.xml]: Invocation of init method failed; nested exception is java.lang.IllegalStateException: Cache provider not started
- Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'transactionInterceptor' defined in class path resource [applicationContext-service.xml]: Cannot resolve reference to bean 'transactionManager' while setting bean property 'transactionManager'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'transactionManager' defined in class path resource [applicationContext-service.xml]: Cannot resolve reference to bean 'sessionFactory' while setting bean property 'sessionFactory'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sessionFactory' defined in URL [file:/home/joshua/openmrs-repo/openmrs-module-referenceapplication/api/target/test-classes/TestingApplicationContext.xml]: Invocation of init method failed; nested exception is java.lang.IllegalStateException: Cache provider not started
- Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'transactionManager' defined in class path resource [applicationContext-service.xml]: Cannot resolve reference to bean 'sessionFactory' while setting bean property 'sessionFactory'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sessionFactory' defined in URL [file:/home/joshua/openmrs-repo/openmrs-module-referenceapplication/api/target/test-classes/TestingApplicationContext.xml]: Invocation of init method failed; nested exception is java.lang.IllegalStateException: Cache provider not started
- Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sessionFactory' defined in URL [file:/home/joshua/openmrs-repo/openmrs-module-referenceapplication/api/target/test-classes/TestingApplicationContext.xml]: Invocation of init method failed; nested exception is java.lang.IllegalStateException: Cache provider not started
- Caused by: java.lang.IllegalStateException: Cache provider not started
- Caused by: org.hibernate.cache.CacheException:
- net.sf.ehcache.CacheException: Another CacheManager with same name 'hibernateCache' already exists in the same VM. Please provide unique names for each CacheManager in the config or do one of following:
- 1. Use one of the CacheManager.create() static factory methods to reuse same CacheManager with same name or create one if necessary
- 2. Shutdown the earlier cacheManager before creating new one with same name.
- The source of the existing CacheManager is: DefaultConfigurationSource [ ehcache.xml or ehcache-failsafe.xml ]
- Caused by: net.sf.ehcache.CacheException:
- Another CacheManager with same name 'hibernateCache' already exists in the same VM. Please provide unique names for each CacheManager in the config or do one of following:
- 1. Use one of the CacheManager.create() static factory methods to reuse same CacheManager with same name or create one if necessary
- 2. Shutdown the earlier cacheManager before creating new one with same name.
- The source of the existing CacheManager is: DefaultConfigurationSource [ ehcache.xml or ehcache-failsafe.xml ]
- [INFO]
- [INFO] Results:
- [INFO]
- [ERROR] Errors:
- [ERROR] ReferenceApplicationActivatorComponentTest.testAddLoginLocationTagToAtleastOneLocationIfThereAreNoLoginLocations » IllegalState
- [ERROR] ReferenceApplicationActivatorComponentTest.testAddLoginLocationTagToUnknownLocationIfThereAreNoLoginLocations » IllegalState
- [ERROR] ReferenceApplicationActivatorComponentTest.testSetUpAdtGlobalProperties » IllegalState
- [ERROR] ReferenceApplicationActivatorComponentTest.testSetupOfProcessHL7Task » IllegalState
- [ERROR] ConfigureAtlasNotificationProducerTest.testWhenAtlasModuleIsNotInstalled » IllegalState
- [INFO]
- [ERROR] Tests run: 7, Failures: 0, Errors: 5, Skipped: 0
- [INFO]
- [INFO] ------------------------------------------------------------------------
- [INFO] Reactor Summary for Reference Application Module 2.12.0-SNAPSHOT:
- [INFO]
- [INFO] Reference Application Module ....................... SUCCESS [ 0.216 s]
- [INFO] Reference Application Module API ................... FAILURE [ 27.208 s]
- [INFO] Reference Application Module OMOD .................. SKIPPED
- [INFO] ------------------------------------------------------------------------
- [INFO] BUILD FAILURE
- [INFO] ------------------------------------------------------------------------
- [INFO] Total time: 28.096 s
- [INFO] Finished at: 2021-07-19T07:00:21-04:00
- [INFO] ------------------------------------------------------------------------
- [ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.22.1:test (default-test) on project referenceapplication-api: There are test failures.
- [ERROR]
- [ERROR] Please refer to /home/joshua/openmrs-repo/openmrs-module-referenceapplication/api/target/surefire-reports for the individual test results.
- [ERROR] Please refer to dump files (if any exist) [date].dump, [date]-jvmRun[N].dump and [date].dumpstream.
- [ERROR] -> [Help 1]
- [ERROR]
- [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
- [ERROR] Re-run Maven using the -X switch to enable full debug logging.
- [ERROR]
- [ERROR] For more information about the errors and possible solutions, please read the following articles:
- [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
- [ERROR]
- [ERROR] After correcting the problems, you can resume the build with the command
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement