Details
-
Sub-task
-
Status: Closed
-
Major
-
Resolution: Fixed
-
None
-
None
-
None
-
Revision 1367068
Description
[INFO] ------------------------------------------------------------------------
[INFO] Building Redback :: Users Provider :: Cached 2.0-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] — maven-enforcer-plugin:1.0:enforce (default) @ redback-users-cached —
[INFO]
[INFO] — maven-remote-resources-plugin:1.3:process (default) @ redback-users-cached —
[INFO]
[INFO] — maven-resources-plugin:2.5:resources (default-resources) @ redback-users-cached —
[debug] execute contextualize
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 1 resource
[INFO] Copying 2 resources
[INFO]
[INFO] — maven-compiler-plugin:2.5.1:compile (default-compile) @ redback-users-cached —
[INFO] Compiling 1 source file to C:\archiva-all\redback-core\redback-users\redback-users-providers\redback-users-cached\target\classes
[INFO]
[INFO] — maven-resources-plugin:2.5:testResources (default-testResources) @ redback-users-cached —
[debug] execute contextualize
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 1 resource
[INFO] Copying 2 resources
[INFO]
[INFO] — maven-compiler-plugin:2.5.1:testCompile (default-testCompile) @ redback-users-cached —
[INFO] Compiling 1 source file to C:\archiva-all\redback-core\redback-users\redback-users-providers\redback-users-cached\target\test-classes
[INFO]
[INFO] — maven-surefire-plugin:2.12:test (default-test) @ redback-users-cached —
[INFO] Surefire report directory: C:\archiva-all\redback-core\redback-users\redback-users-providers\redback-users-cached\target\surefire-reports
-------------------------------------------------------
T E S T S
-------------------------------------------------------
Running org.apache.archiva.redback.users.cached.CachedUserManagerTest
Jul 30, 2012 2:33:29 PM org.springframework.test.context.TestContextManager retrieveTestExecutionListeners
INFO: @TestExecutionListeners is not present for class [class org.apache.archiva.redback.users.cached.CachedUserManagerTest]: using defaults.
Jul 30, 2012 2:33:29 PM org.springframework.beans.factory.xml.XmlBeanDefinitionReader loadBeanDefinitions
INFO: Loading XML bean definitions from URL file:/C:/archiva-all/redback-core/redback-users/redback-users-providers/redback-users-cached/target/classes/META-INF/spring-context.xml
Jul 30, 2012 2:33:29 PM org.springframework.context.annotation.ClassPathScanningCandidateComponentProvider registerDefaultFilters
INFO: JSR-330 'javax.inject.Named' annotation found and supported for component scanning
Jul 30, 2012 2:33:29 PM org.springframework.beans.factory.xml.XmlBeanDefinitionReader loadBeanDefinitions
INFO: Loading XML bean definitions from URL [jar:file:/C:/archiva-all/redback-core/redback-policy/target/redback-policy-2.0-SNAPSHOT.jar!/META-INF/spring-context.xml]
Jul 30, 2012 2:33:29 PM org.springframework.context.annotation.ClassPathScanningCandidateComponentProvider registerDefaultFilters
INFO: JSR-330 'javax.inject.Named' annotation found and supported for component scanning
Jul 30, 2012 2:33:29 PM org.springframework.beans.factory.xml.XmlBeanDefinitionReader loadBeanDefinitions
INFO: Loading XML bean definitions from URL [jar:file:/C:/archiva-all/redback-core/redback-configuration/target/redback-configuration-2.0-SNAPSHOT.jar!/META-INF/spring-context.xml]
Jul 30, 2012 2:33:29 PM org.springframework.context.annotation.ClassPathScanningCandidateComponentProvider registerDefaultFilters
INFO: JSR-330 'javax.inject.Named' annotation found and supported for component scanning
Jul 30, 2012 2:33:29 PM org.springframework.beans.factory.xml.XmlBeanDefinitionReader loadBeanDefinitions
INFO: Loading XML bean definitions from URL [jar:file:/C:/archiva-all/redback-components/spring-registry/spring-registry-commons/target/spring-registry-commons-2.0-SNAPSHOT.jar!/META-INF/spring-context.xml]
Jul 30, 2012 2:33:29 PM org.springframework.context.annotation.ClassPathScanningCandidateComponentProvider registerDefaultFilters
INFO: JSR-330 'javax.inject.Named' annotation found and supported for component scanning
Jul 30, 2012 2:33:29 PM org.springframework.beans.factory.xml.XmlBeanDefinitionReader loadBeanDefinitions
INFO: Loading XML bean definitions from URL [jar:file:/C:/archiva-all/redback-components/spring-cache/spring-cache-api/target/spring-cache-api-2.0-SNAPSHOT.jar!/META-INF/spring-context.xml]
Jul 30, 2012 2:33:29 PM org.springframework.context.annotation.ClassPathScanningCandidateComponentProvider registerDefaultFilters
INFO: JSR-330 'javax.inject.Named' annotation found and supported for component scanning
Jul 30, 2012 2:33:29 PM org.springframework.beans.factory.xml.XmlBeanDefinitionReader loadBeanDefinitions
INFO: Loading XML bean definitions from URL [jar:file:/C:/archiva-all/redback-components/spring-cache/spring-cache-providers/spring-cache-ehcache/target/spring-cache-ehcache-2.0-SNAPSHOT.jar!/META-INF/spring-context.xml]
Jul 30, 2012 2:33:29 PM org.springframework.context.annotation.ClassPathScanningCandidateComponentProvider registerDefaultFilters
INFO: JSR-330 'javax.inject.Named' annotation found and supported for component scanning
Jul 30, 2012 2:33:29 PM org.springframework.beans.factory.xml.XmlBeanDefinitionReader loadBeanDefinitions
INFO: Loading XML bean definitions from URL [jar:file:/C:/archiva-all/redback-core/redback-users/redback-users-providers/redback-users-jdo/target/redback-users-jdo-2.0-SNAPSHOT.jar!/META-INF/spring-context.xml]
Jul 30, 2012 2:33:29 PM org.springframework.context.annotation.ClassPathScanningCandidateComponentProvider registerDefaultFilters
INFO: JSR-330 'javax.inject.Named' annotation found and supported for component scanning
Jul 30, 2012 2:33:29 PM org.springframework.beans.factory.xml.XmlBeanDefinitionReader loadBeanDefinitions
INFO: Loading XML bean definitions from URL [jar:file:/C:/archiva-all/redback-core/redback-common/redback-common-jdo/target/redback-common-jdo-2.0-SNAPSHOT.jar!/META-INF/spring-context.xml]
Jul 30, 2012 2:33:29 PM org.springframework.beans.factory.xml.XmlBeanDefinitionReader loadBeanDefinitions
INFO: Loading XML bean definitions from URL [jar:file:/C:/archiva-all/redback-components/spring-jdo2/target/spring-jdo2-2.0-SNAPSHOT.jar!/META-INF/spring-context.xml]
Jul 30, 2012 2:33:29 PM org.springframework.context.annotation.ClassPathScanningCandidateComponentProvider registerDefaultFilters
INFO: JSR-330 'javax.inject.Named' annotation found and supported for component scanning
Jul 30, 2012 2:33:29 PM org.springframework.beans.factory.xml.XmlBeanDefinitionReader loadBeanDefinitions
INFO: Loading XML bean definitions from URL [jar:file:/C:/archiva-all/redback-core/redback-users/redback-users-providers/redback-users-memory/target/redback-users-memory-2.0-SNAPSHOT.jar!/META-INF/spring-context.xml]
Jul 30, 2012 2:33:29 PM org.springframework.context.annotation.ClassPathScanningCandidateComponentProvider registerDefaultFilters
INFO: JSR-330 'javax.inject.Named' annotation found and supported for component scanning
Jul 30, 2012 2:33:29 PM org.springframework.beans.factory.xml.XmlBeanDefinitionReader loadBeanDefinitions
INFO: Loading XML bean definitions from URL file:/C:/archiva-all/redback-core/redback-users/redback-users-providers/redback-users-cached/target/test-classes/spring-context.xml
Jul 30, 2012 2:33:29 PM org.springframework.beans.factory.support.DefaultListableBeanFactory registerBeanDefinition
INFO: Overriding bean definition for bean 'userManager#cached': replacing [Generic bean: class [org.apache.archiva.redback.users.cached.CachedUserManager]; scope=singleton; abstract=false; lazyInit=true; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; in
Jul 30, 2012 2:33:29 PM org.springframework.beans.factory.support.DefaultListableBeanFactory registerBeanDefinition
INFO: Overriding bean definition for bean 'cache#users': replacing [Generic bean: class [org.apache.archiva.redback.components.cache.ehcache.EhcacheCache]; scope=; abstract=false; lazyInit=true; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodN
Jul 30, 2012 2:33:29 PM org.springframework.context.support.AbstractApplicationContext prepareRefresh
INFO: Refreshing org.springframework.context.support.GenericApplicationContext@141e00a: startup date [Mon Jul 30 14:33:29 CEST 2012]; root of context hierarchy
Jul 30, 2012 2:33:29 PM org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor <init>
INFO: JSR-330 'javax.inject.Inject' annotation found and supported for autowiring
Jul 30, 2012 2:33:29 PM org.springframework.beans.factory.support.DefaultListableBeanFactory preInstantiateSingletons
INFO: Pre-instantiating singletons in org.springframework.beans.factory.support.DefaultListableBeanFactory@a33d2c: defining beans [org.springframework.context.annotation.internalConfigurationAnnotationProcessor,org.springframework.context.annotation.internalAutowiredAnnotationProcessor,org.springframework.context.annotation.
31 [main] INFO org.apache.archiva.redback.components.cache.builder.DefaultCacheBuilder - Cache with role-hint default doesn't exists, default will be no cache
Jul 30, 2012 2:33:30 PM org.jpox.util.JDK14Logger warn
WARNING: Property org.jpox.validateSchema unknown - will be ignored
Jul 30, 2012 2:33:30 PM org.jpox.util.JDK14Logger info
INFO: PersistenceManagerFactory - Vendor: JPOX Version: 1.1.9
Jul 30, 2012 2:33:30 PM org.jpox.util.JDK14Logger info
INFO: PersistenceManagerFactory initialised for datastore URL=jdbc:hsqldb:mem:redback-test driver=org.hsqldb.jdbcDriver userName=sa
546 [main] WARN net.sf.ehcache.config.ConfigurationFactory - No configuration found. Configuring ehcache from ehcache-failsafe.xml found in the classpath: jar:file:/S:/m2/repo/net/sf/ehcache/ehcache-core/2.5.2/ehcache-core-2.5.2.jar!/ehcache-failsafe.xml
Tests run: 13, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 1.719 sec <<< FAILURE!
Jul 30, 2012 2:33:30 PM org.springframework.context.support.AbstractApplicationContext doClose
INFO: Closing org.springframework.context.support.GenericApplicationContext@141e00a: startup date [Mon Jul 30 14:33:29 CEST 2012]; root of context hierarchy
Results :
Failed tests: testAddUser(org.apache.archiva.redback.users.cached.CachedUserManagerTest): expected:<1> but was:<2>
Tests run: 13, Failures: 1, Errors: 0, Skipped: 0