See <https://qa.nuxeo.org/jenkins/job/nuxeo-5.4.2/38/>
------------------------------------------
[...truncated 27213 lines...]
[INFO] [compiler:compile {execution: default-compile}]
[INFO] Compiling 2 source files to
/opt/hudson/tmp/workspace/nuxeo-5.4.2/addons/nuxeo-platform-login/nuxeo-platform-login-digest/target/classes
[INFO] [resources:testResources {execution: default-testResources}]
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory
/opt/hudson/tmp/workspace/nuxeo-5.4.2/addons/nuxeo-platform-login/nuxeo-platform-login-digest/src/test/resources
[INFO] [compiler:testCompile {execution: default-testCompile}]
[INFO] No sources to compile
[INFO] [surefire:test {execution: default-test}]
[INFO] No tests to run.
[INFO] [jar:jar {execution: default-jar}]
[INFO] Building jar:
/opt/hudson/tmp/workspace/nuxeo-5.4.2/addons/nuxeo-platform-login/nuxeo-platform-login-digest/target/nuxeo-platform-login-digest-5.4.2.1-SNAPSHOT.jar
[INFO] [install:install {execution: default-install}]
[INFO] Installing
/opt/hudson/tmp/workspace/nuxeo-5.4.2/addons/nuxeo-platform-login/nuxeo-platform-login-digest/target/nuxeo-platform-login-digest-5.4.2.1-SNAPSHOT.jar
to
/opt/hudson/.m2/repository/org/nuxeo/ecm/platform/nuxeo-platform-login-digest/5.4.2.1-SNAPSHOT/nuxeo-platform-login-digest-5.4.2.1-SNAPSHOT.jar
[INFO] [deploy:deploy {execution: default-deploy}]
[INFO] Retrieving previous build number from daily-snapshots
Uploading:
http://maven.in.nuxeo.com/nexus/content/repositories/daily-snapshots/org/nuxeo/ecm/platform/nuxeo-platform-login-digest/5.4.2.1-SNAPSHOT/nuxeo-platform-login-digest-5.4.2.1-20110726.135809-33.jar
9K uploaded (nuxeo-platform-login-digest-5.4.2.1-20110726.135809-33.jar)
[INFO] Retrieving previous metadata from daily-snapshots
[INFO] Uploading repository metadata for: 'artifact
org.nuxeo.ecm.platform:nuxeo-platform-login-digest'
[INFO] Retrieving previous metadata from daily-snapshots
[INFO] Uploading repository metadata for: 'snapshot
org.nuxeo.ecm.platform:nuxeo-platform-login-digest:5.4.2.1-SNAPSHOT'
[INFO] Uploading project information for nuxeo-platform-login-digest
5.4.2.1-20110726.135809-33
[INFO] ------------------------------------------------------------------------
[INFO] Building Nuxeo Login Deputy Module for Nuxeo 5
[INFO] task-segment: [deploy]
[INFO] ------------------------------------------------------------------------
[INFO] [buildnumber:create {execution: default}]
[INFO] Storing buildNumber: 20110726-160619 at timestamp: 1311689179497
[INFO] [incremental-build:incremental-build {execution: default}]
[INFO] Verifying module descriptor ...
[INFO] Verifying parent modules...
[INFO] Verifying resources...
[INFO] A resource was deleted, module have to be cleaned
[INFO] Deleting
/opt/hudson/tmp/workspace/nuxeo-5.4.2/addons/nuxeo-platform-login/nuxeo-platform-login-deputy/target
[INFO] [nuxeo:eclipse-version {execution: eclipsize-version}]
[INFO] eclipseVersion:5.4.2.1.-SNAPSHOT
[INFO] [resources:resources {execution: default-resources}]
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 15 resources
[INFO] [compiler:compile {execution: default-compile}]
[INFO] Compiling 5 source files to
/opt/hudson/tmp/workspace/nuxeo-5.4.2/addons/nuxeo-platform-login/nuxeo-platform-login-deputy/target/classes
[INFO] [resources:testResources {execution: default-testResources}]
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 2 resources
[INFO] [compiler:testCompile {execution: default-testCompile}]
[INFO] Compiling 1 source file to
/opt/hudson/tmp/workspace/nuxeo-5.4.2/addons/nuxeo-platform-login/nuxeo-platform-login-deputy/target/test-classes
[INFO] [surefire:test {execution: default-test}]
[INFO] Surefire report directory:
/opt/hudson/tmp/workspace/nuxeo-5.4.2/addons/nuxeo-platform-login/nuxeo-platform-login-deputy/target/surefire-reports
-------------------------------------------------------
T E S T S
-------------------------------------------------------
Running
org.nuxeo.ecm.platform.login.deputy.management.tests.TestCanPersistDeputyMandates
16:06:23,096 ERROR [DataSourceComponent] Cannot bind datasource
'jdbc/nxsqldirectory' in JNDI
javax.naming.NoInitialContextException: Need to specify class name in
environment or system property, or as an applet parameter, or in an application
resource file: java.naming.factory.initial
at
javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:645)
at
javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:288)
at
javax.naming.InitialContext.getURLOrDefaultInitCtx(InitialContext.java:325)
at javax.naming.InitialContext.createSubcontext(InitialContext.java:464)
at
org.nuxeo.runtime.datasource.DataSourceComponent.addDataSource(DataSourceComponent.java:111)
at
org.nuxeo.runtime.datasource.DataSourceComponent.registerContribution(DataSourceComponent.java:76)
at
org.nuxeo.runtime.model.DefaultComponent.registerExtension(DefaultComponent.java:39)
at
org.nuxeo.runtime.model.impl.ComponentInstanceImpl.registerExtension(ComponentInstanceImpl.java:205)
at
org.nuxeo.runtime.model.impl.ComponentManagerImpl.registerExtension(ComponentManagerImpl.java:416)
at
org.nuxeo.runtime.model.impl.RegistrationInfoImpl.activate(RegistrationInfoImpl.java:350)
at
org.nuxeo.runtime.model.impl.RegistrationInfoImpl.resolve(RegistrationInfoImpl.java:432)
at
org.nuxeo.runtime.model.impl.ComponentManagerImpl._register(ComponentManagerImpl.java:213)
at
org.nuxeo.runtime.model.impl.ComponentManagerImpl.register(ComponentManagerImpl.java:153)
at
org.nuxeo.runtime.model.impl.DefaultRuntimeContext.deploy(DefaultRuntimeContext.java:115)
at
org.nuxeo.runtime.model.impl.DefaultRuntimeContext.deploy(DefaultRuntimeContext.java:94)
at
org.nuxeo.runtime.test.NXRuntimeTestCase.deployTestContrib(NXRuntimeTestCase.java:424)
at
org.nuxeo.runtime.test.runner.RuntimeFeature.deployTestClassBundles(RuntimeFeature.java:126)
at
org.nuxeo.runtime.test.runner.RuntimeFeature.start(RuntimeFeature.java:148)
at
org.nuxeo.runtime.test.runner.FeaturesRunner.start(FeaturesRunner.java:172)
at
org.nuxeo.runtime.test.runner.FeaturesRunner.run(FeaturesRunner.java:215)
at
org.apache.maven.surefire.junit4.JUnit4TestSet.execute(JUnit4TestSet.java:59)
at
org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.executeTestSet(AbstractDirectoryTestSuite.java:115)
at
org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute(AbstractDirectoryTestSuite.java:102)
at org.apache.maven.surefire.Surefire.run(Surefire.java:180)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at
org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(SurefireBooter.java:350)
at
org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:1021)
16:06:23,101 ERROR [OSGiRuntimeService] Nuxeo EP Started
======================================================================
= Nuxeo EP Started
======================================================================
= Component Loading Status: Pending: 1 / Unstarted: 0 / Total: 41
* service:org.nuxeo.ecm.platform.login.deputy.management.actions requires
[service:org.nuxeo.ecm.platform.actions]
======================================================================
DatabaseHelper: Database used for VCS tests:
org.nuxeo.ecm.core.storage.sql.DatabaseH2
16:06:24,688 ERROR [DataSourceHelper] Unknown JNDI Context class: null
16:06:24,689 ERROR [SQLDirectory] dataSource lookup failed
javax.naming.NoInitialContextException: Need to specify class name in
environment or system property, or as an applet parameter, or in an application
resource file: java.naming.factory.initial
at
javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:645)
at
javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:288)
at
javax.naming.InitialContext.getURLOrDefaultInitCtx(InitialContext.java:325)
at javax.naming.InitialContext.lookup(InitialContext.java:392)
at
org.nuxeo.runtime.api.DataSourceHelper.getDataSource(DataSourceHelper.java:125)
at
org.nuxeo.ecm.directory.sql.SQLDirectory.getDataSource(SQLDirectory.java:188)
at
org.nuxeo.ecm.directory.sql.SQLDirectory.getConnection(SQLDirectory.java:207)
at org.nuxeo.ecm.directory.sql.SQLDirectory.<init>(SQLDirectory.java:90)
at
org.nuxeo.ecm.directory.sql.SQLDirectoryProxy.getDirectory(SQLDirectoryProxy.java:50)
at
org.nuxeo.ecm.directory.sql.SQLDirectoryProxy.getSession(SQLDirectoryProxy.java:90)
at
org.nuxeo.ecm.directory.DirectoryServiceImpl.open(DirectoryServiceImpl.java:168)
at
org.nuxeo.ecm.platform.login.deputy.management.DeputyManagementStorageService.initPersistentService(DeputyManagementStorageService.java:76)
at
org.nuxeo.ecm.platform.login.deputy.management.DeputyManagementStorageService.resetDeputies(DeputyManagementStorageService.java:101)
at
org.nuxeo.ecm.platform.login.deputy.management.tests.TestCanPersistDeputyMandates.initStorage(TestCanPersistDeputyMandates.java:59)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at
org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:44)
at
org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15)
at
org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:41)
at
org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:27)
at
org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:76)
at
org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50)
at org.junit.runners.ParentRunner$3.run(ParentRunner.java:193)
at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:52)
at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:191)
at org.junit.runners.ParentRunner.access$000(ParentRunner.java:42)
at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:184)
at org.junit.runners.ParentRunner.run(ParentRunner.java:236)
at
org.nuxeo.runtime.test.runner.FeaturesRunner.run(FeaturesRunner.java:220)
at
org.apache.maven.surefire.junit4.JUnit4TestSet.execute(JUnit4TestSet.java:59)
at
org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.executeTestSet(AbstractDirectoryTestSuite.java:115)
at
org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute(AbstractDirectoryTestSuite.java:102)
at org.apache.maven.surefire.Surefire.run(Surefire.java:180)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at
org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(SurefireBooter.java:350)
at
org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:1021)
16:06:24,701 ERROR [SQLDirectory] dataSource lookup failed
javax.naming.NoInitialContextException: Need to specify class name in
environment or system property, or as an applet parameter, or in an application
resource file: java.naming.factory.initial
at
javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:645)
at
javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:288)
at
javax.naming.InitialContext.getURLOrDefaultInitCtx(InitialContext.java:325)
at javax.naming.InitialContext.lookup(InitialContext.java:392)
at
org.nuxeo.runtime.api.DataSourceHelper.getDataSource(DataSourceHelper.java:125)
at
org.nuxeo.ecm.directory.sql.SQLDirectory.getDataSource(SQLDirectory.java:188)
at
org.nuxeo.ecm.directory.sql.SQLDirectory.getConnection(SQLDirectory.java:207)
at org.nuxeo.ecm.directory.sql.SQLDirectory.<init>(SQLDirectory.java:90)
at
org.nuxeo.ecm.directory.sql.SQLDirectoryProxy.getDirectory(SQLDirectoryProxy.java:50)
at
org.nuxeo.ecm.directory.sql.SQLDirectoryProxy.getSession(SQLDirectoryProxy.java:90)
at
org.nuxeo.ecm.directory.DirectoryServiceImpl.open(DirectoryServiceImpl.java:168)
at
org.nuxeo.ecm.platform.login.deputy.management.DeputyManagementStorageService.initPersistentService(DeputyManagementStorageService.java:76)
at
org.nuxeo.ecm.platform.login.deputy.management.DeputyManagementStorageService.resetDeputies(DeputyManagementStorageService.java:101)
at
org.nuxeo.ecm.platform.login.deputy.management.tests.TestCanPersistDeputyMandates.initStorage(TestCanPersistDeputyMandates.java:59)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at
org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:44)
at
org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15)
at
org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:41)
at
org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:27)
at
org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:76)
at
org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50)
at org.junit.runners.ParentRunner$3.run(ParentRunner.java:193)
at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:52)
at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:191)
at org.junit.runners.ParentRunner.access$000(ParentRunner.java:42)
at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:184)
at org.junit.runners.ParentRunner.run(ParentRunner.java:236)
at
org.nuxeo.runtime.test.runner.FeaturesRunner.run(FeaturesRunner.java:220)
at
org.apache.maven.surefire.junit4.JUnit4TestSet.execute(JUnit4TestSet.java:59)
at
org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.executeTestSet(AbstractDirectoryTestSuite.java:115)
at
org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute(AbstractDirectoryTestSuite.java:102)
at org.apache.maven.surefire.Surefire.run(Surefire.java:180)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at
org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(SurefireBooter.java:350)
at
org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:1021)
16:06:24,704 ERROR [SQLDirectory] dataSource lookup failed
javax.naming.NoInitialContextException: Need to specify class name in
environment or system property, or as an applet parameter, or in an application
resource file: java.naming.factory.initial
at
javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:645)
at
javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:288)
at
javax.naming.InitialContext.getURLOrDefaultInitCtx(InitialContext.java:325)
at javax.naming.InitialContext.lookup(InitialContext.java:392)
at
org.nuxeo.runtime.api.DataSourceHelper.getDataSource(DataSourceHelper.java:125)
at
org.nuxeo.ecm.directory.sql.SQLDirectory.getDataSource(SQLDirectory.java:188)
at
org.nuxeo.ecm.directory.sql.SQLDirectory.getConnection(SQLDirectory.java:207)
at org.nuxeo.ecm.directory.sql.SQLDirectory.<init>(SQLDirectory.java:90)
at
org.nuxeo.ecm.directory.sql.SQLDirectoryProxy.getDirectory(SQLDirectoryProxy.java:50)
at
org.nuxeo.ecm.directory.sql.SQLDirectoryProxy.getSession(SQLDirectoryProxy.java:90)
at
org.nuxeo.ecm.directory.DirectoryServiceImpl.open(DirectoryServiceImpl.java:168)
at
org.nuxeo.ecm.platform.login.deputy.management.DeputyManagementStorageService.initPersistentService(DeputyManagementStorageService.java:76)
at
org.nuxeo.ecm.platform.login.deputy.management.DeputyManagementStorageService.resetDeputies(DeputyManagementStorageService.java:101)
at
org.nuxeo.ecm.platform.login.deputy.management.tests.TestCanPersistDeputyMandates.initStorage(TestCanPersistDeputyMandates.java:59)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at
org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:44)
at
org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15)
at
org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:41)
at
org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:27)
at
org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:76)
at
org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50)
at org.junit.runners.ParentRunner$3.run(ParentRunner.java:193)
at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:52)
at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:191)
at org.junit.runners.ParentRunner.access$000(ParentRunner.java:42)
at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:184)
at org.junit.runners.ParentRunner.run(ParentRunner.java:236)
at
org.nuxeo.runtime.test.runner.FeaturesRunner.run(FeaturesRunner.java:220)
at
org.apache.maven.surefire.junit4.JUnit4TestSet.execute(JUnit4TestSet.java:59)
at
org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.executeTestSet(AbstractDirectoryTestSuite.java:115)
at
org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute(AbstractDirectoryTestSuite.java:102)
at org.apache.maven.surefire.Surefire.run(Surefire.java:180)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at
org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(SurefireBooter.java:350)
at
org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:1021)
Tests run: 3, Failures: 0, Errors: 3, Skipped: 0, Time elapsed: 3.069 sec <<<
FAILURE!
Results :
Tests in error:
testAddDeputies(org.nuxeo.ecm.platform.login.deputy.management.tests.TestCanPersistDeputyMandates)
testValidity(org.nuxeo.ecm.platform.login.deputy.management.tests.TestCanPersistDeputyMandates)
testDuplicate(org.nuxeo.ecm.platform.login.deputy.management.tests.TestCanPersistDeputyMandates)
Tests run: 3, Failures: 0, Errors: 3, Skipped: 0
[INFO] ------------------------------------------------------------------------
[ERROR] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] There are test failures.
Please refer to
/opt/hudson/tmp/workspace/nuxeo-5.4.2/addons/nuxeo-platform-login/nuxeo-platform-login-deputy/target/surefire-reports
for the individual test results.
[INFO] ------------------------------------------------------------------------
[INFO] For more information, run Maven with the -e switch
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 8 minutes 34 seconds
[INFO] Finished at: Tue Jul 26 16:06:25 CEST 2011
[INFO] Final Memory: 395M/974M
[INFO] ------------------------------------------------------------------------
Build step 'Invoke top-level Maven targets' marked build as failure
Archiving artifacts
_______________________________________________
ECM-QA mailing list
[email protected]
http://lists.nuxeo.com/mailman/listinfo/ecm-qa