cayenne-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Apache Jenkins Server <jenk...@builds.apache.org>
Subject Build failed in Jenkins: cayenne-31 » HSQLDB,JDK 1.5 (latest),Ubuntu #125
Date Wed, 23 Mar 2016 13:39:00 GMT
See <https://builds.apache.org/job/cayenne-31/cayenneTestConnection=HSQLDB,jdk=JDK%201.5%20(latest),label=Ubuntu/125/changes>

Changes:

[s.kolbachev] cleaning up unit test DataSource bootstrap Specifically in a CI

------------------------------------------
[...truncated 281 lines...]
Running org.apache.cayenne.di.KeyTest
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.021 sec
Running org.apache.cayenne.CayenneExceptionTest
Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.011 sec
Running org.apache.cayenne.di.DIBootstrapTest
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.025 sec
Running org.apache.cayenne.CayenneRuntimeExceptionTest
Tests run: 8, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.006 sec
Running org.apache.cayenne.di.spi.DefaultInjectorBindingTest
Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.013 sec
Running org.apache.cayenne.di.spi.DefaultInjectorTest
Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.015 sec
Running org.apache.cayenne.di.spi.DefaultInjectorScopeTest
Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.014 sec
Running org.apache.cayenne.di.spi.DefaultInjectorInjectionTest
Tests run: 15, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.062 sec
Running org.apache.cayenne.di.spi.DefaultInjectorCircularInjectionTest
Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.015 sec

Results :

Tests run: 54, Failures: 0, Errors: 0, Skipped: 0

[INFO] 
[INFO] --- maven-jar-plugin:2.3.2:jar (default-jar) @ cayenne-di-unpublished ---
[INFO] Building jar: /x1/jenkins/jenkins-slave/workspace/cayenne-31/cayenneTestConnection/HSQLDB/jdk/JDK
1.5 (latest)/label/Ubuntu/framework/cayenne-di-unpublished/target/cayenne-di-unpublished-3.1.1-SNAPSHOT.jar
[INFO] 
[INFO] >>> maven-source-plugin:2.1.2:jar (bundle-source-jar) @ cayenne-di-unpublished
>>>
[INFO] 
[INFO] --- maven-cayenne-build-plugin:3.1.1-SNAPSHOT:date (date) @ cayenne-di-unpublished
---
[INFO] 
[INFO] <<< maven-source-plugin:2.1.2:jar (bundle-source-jar) @ cayenne-di-unpublished
<<<
[INFO] 
[INFO] --- maven-source-plugin:2.1.2:jar (bundle-source-jar) @ cayenne-di-unpublished ---
[INFO] org already added, skipping
[INFO] org/apache already added, skipping
[INFO] org/apache/cayenne already added, skipping
[INFO] Building jar: /x1/jenkins/jenkins-slave/workspace/cayenne-31/cayenneTestConnection/HSQLDB/jdk/JDK
1.5 (latest)/label/Ubuntu/framework/cayenne-di-unpublished/target/cayenne-di-unpublished-3.1.1-SNAPSHOT-sources.jar
[INFO] org already added, skipping
[INFO] org/apache already added, skipping
[INFO] org/apache/cayenne already added, skipping
[INFO] 
[INFO] --- maven-install-plugin:2.3.1:install (default-install) @ cayenne-di-unpublished ---
[INFO] Installing /x1/jenkins/jenkins-slave/workspace/cayenne-31/cayenneTestConnection/HSQLDB/jdk/JDK
1.5 (latest)/label/Ubuntu/framework/cayenne-di-unpublished/target/cayenne-di-unpublished-3.1.1-SNAPSHOT.jar
to <https://builds.apache.org/job/cayenne-31/cayenneTestConnection=HSQLDB,jdk=JDK%201.5%20(latest),label=Ubuntu/ws/.repository/org/apache/cayenne/unpublished/cayenne-di-unpublished/3.1.1-SNAPSHOT/cayenne-di-unpublished-3.1.1-SNAPSHOT.jar>
[INFO] Installing /x1/jenkins/jenkins-slave/workspace/cayenne-31/cayenneTestConnection/HSQLDB/jdk/JDK
1.5 (latest)/label/Ubuntu/framework/cayenne-di-unpublished/pom.xml to <https://builds.apache.org/job/cayenne-31/cayenneTestConnection=HSQLDB,jdk=JDK%201.5%20(latest),label=Ubuntu/ws/.repository/org/apache/cayenne/unpublished/cayenne-di-unpublished/3.1.1-SNAPSHOT/cayenne-di-unpublished-3.1.1-SNAPSHOT.pom>
[INFO] Installing /x1/jenkins/jenkins-slave/workspace/cayenne-31/cayenneTestConnection/HSQLDB/jdk/JDK
1.5 (latest)/label/Ubuntu/framework/cayenne-di-unpublished/target/cayenne-di-unpublished-3.1.1-SNAPSHOT-sources.jar
to <https://builds.apache.org/job/cayenne-31/cayenneTestConnection=HSQLDB,jdk=JDK%201.5%20(latest),label=Ubuntu/ws/.repository/org/apache/cayenne/unpublished/cayenne-di-unpublished/3.1.1-SNAPSHOT/cayenne-di-unpublished-3.1.1-SNAPSHOT-sources.jar>
[INFO]                                                                         
[INFO] ------------------------------------------------------------------------
[INFO] Building Cayenne Java 1.5 Unpublished 3.1.1-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO] 
[INFO] --- maven-clean-plugin:2.4.1:clean (default-clean) @ cayenne-jdk1.5-unpublished ---
[INFO] Deleting /x1/jenkins/jenkins-slave/workspace/cayenne-31/cayenneTestConnection/HSQLDB/jdk/JDK
1.5 (latest)/label/Ubuntu/framework/cayenne-jdk1.5-unpublished/target
[INFO] 
[INFO] --- maven-cayenne-build-plugin:3.1.1-SNAPSHOT:date (date) @ cayenne-jdk1.5-unpublished
---
[INFO] 
[INFO] --- javacc-maven-plugin:2.6:jjtree-javacc (jjtree-ejbql) @ cayenne-jdk1.5-unpublished
---
[WARNING] File encoding for grammars has not been configured, using platform default encoding,
i.e. build is platform dependent!
Java Compiler Compiler Version 5.0 (Tree Builder)
(type "jjtree" with no arguments for help)
Reading from file /x1/jenkins/jenkins-slave/workspace/cayenne-31/cayenneTestConnection/HSQLDB/jdk/JDK
1.5 (latest)/label/Ubuntu/framework/cayenne-jdk1.5-unpublished/src/main/jjtree/org/apache/cayenne/ejbql/EJBQLParser.jjt
. . .
File "Node.java" does not exist.  Will create one.
File "EJBQLTreeConstants.java" does not exist.  Will create one.
File "JJTEJBQLState.java" does not exist.  Will create one.
Annotated grammar generated successfully in /x1/jenkins/jenkins-slave/workspace/cayenne-31/cayenneTestConnection/HSQLDB/jdk/JDK
1.5 (latest)/label/Ubuntu/framework/cayenne-jdk1.5-unpublished/target/javacc-1458740327477/node/EJBQLParser.jj
Java Compiler Compiler Version 5.0 (Parser Generator)
(type "javacc" with no arguments for help)
Reading from file /x1/jenkins/jenkins-slave/workspace/cayenne-31/cayenneTestConnection/HSQLDB/jdk/JDK
1.5 (latest)/label/Ubuntu/framework/cayenne-jdk1.5-unpublished/target/javacc-1458740327477/node/EJBQLParser.jj
. . .
Warning: Choice conflict in (...)* construct at line 840, column 17.
         Expansion nested within construct and expansion following construct
         have common prefixes, one of which is: "+"
         Consider using a lookahead of 2 or more for nested expansion.
Warning: Choice conflict in (...)* construct at line 849, column 17.
         Expansion nested within construct and expansion following construct
         have common prefixes, one of which is: "*"
         Consider using a lookahead of 2 or more for nested expansion.
File "TokenMgrError.java" does not exist.  Will create one.
File "ParseException.java" does not exist.  Will create one.
File "Token.java" does not exist.  Will create one.
File "JavaCharStream.java" does not exist.  Will create one.
Parser generated with 0 errors and 2 warnings.
[INFO] Processed 1 grammar
[INFO] 
[INFO] --- maven-antrun-plugin:1.3:run (default) @ cayenne-jdk1.5-unpublished ---
[INFO] Executing tasks
[INFO] Executed tasks
[INFO] 
[INFO] --- maven-resources-plugin:2.4.3:resources (default-resources) @ cayenne-jdk1.5-unpublished
---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 16 resources
[INFO] 
[INFO] --- maven-compiler-plugin:2.3.2:compile (default-compile) @ cayenne-jdk1.5-unpublished
---
[WARNING] File encoding has not been set, using platform encoding ANSI_X3.4-1968, i.e. build
is platform dependent!
[INFO] Compiling 942 source files to /x1/jenkins/jenkins-slave/workspace/cayenne-31/cayenneTestConnection/HSQLDB/jdk/JDK
1.5 (latest)/label/Ubuntu/framework/cayenne-jdk1.5-unpublished/target/classes
[INFO] 
[INFO] --- maven-resources-plugin:2.4.3:testResources (default-testResources) @ cayenne-jdk1.5-unpublished
---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 96 resources
[INFO] 
[INFO] --- maven-compiler-plugin:2.3.2:testCompile (default-testCompile) @ cayenne-jdk1.5-unpublished
---
[WARNING] File encoding has not been set, using platform encoding ANSI_X3.4-1968, i.e. build
is platform dependent!
[INFO] Compiling 958 source files to /x1/jenkins/jenkins-slave/workspace/cayenne-31/cayenneTestConnection/HSQLDB/jdk/JDK
1.5 (latest)/label/Ubuntu/framework/cayenne-jdk1.5-unpublished/target/test-classes
[INFO] 
[INFO] --- maven-surefire-plugin:2.5:test (default-test) @ cayenne-jdk1.5-unpublished ---
[INFO] Surefire report directory: /x1/jenkins/jenkins-slave/workspace/cayenne-31/cayenneTestConnection/HSQLDB/jdk/JDK
1.5 (latest)/label/Ubuntu/framework/cayenne-jdk1.5-unpublished/target/surefire-reports

-------------------------------------------------------
 T E S T S
-------------------------------------------------------
Running org.apache.cayenne.CayenneDataObjectValidationTest
Mar 23, 2016 1:39:04 PM org.apache.cayenne.unit.di.server.ServerCaseDataSourceInfoProvider
<init>
INFO: Loaded  0 DataSource configurations from properties file
Mar 23, 2016 1:39:04 PM org.apache.cayenne.unit.di.server.ServerCaseDataSourceInfoProvider
get
INFO: Connection key: HSQLDB
org.apache.maven.surefire.booter.SurefireExecutionException: org.apache.cayenne.CayenneDataObjectValidationTest;
nested exception is java.lang.ExceptionInInitializerError: null; nested exception is org.apache.maven.surefire.testset.TestSetFailedException:
org.apache.cayenne.CayenneDataObjectValidationTest; nested exception is java.lang.ExceptionInInitializerError:
null
org.apache.maven.surefire.testset.TestSetFailedException: org.apache.cayenne.CayenneDataObjectValidationTest;
nested exception is java.lang.ExceptionInInitializerError: null
java.lang.ExceptionInInitializerError
	at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
	at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
	at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
	at java.lang.reflect.Constructor.newInstance(Constructor.java:501)
	at junit.framework.TestSuite.createTest(TestSuite.java:131)
	at junit.framework.TestSuite.addTestMethod(TestSuite.java:114)
	at junit.framework.TestSuite.<init>(TestSuite.java:75)
	at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
	at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
	at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
	at java.lang.reflect.Constructor.newInstance(Constructor.java:501)
	at org.apache.maven.surefire.junit.JUnitTestSet.constructTestObject(JUnitTestSet.java:151)
	at org.apache.maven.surefire.junit.JUnitTestSet.execute(JUnitTestSet.java:197)
	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:592)
	at org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(SurefireBooter.java:350)
	at org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:1021)
Caused by: org.apache.cayenne.ConfigurationException: [v.3.1.1-SNAPSHOT Mar 23 2016 13:38:44]
No connection info for key: HSQLDB
	at org.apache.cayenne.unit.di.server.ServerCaseDataSourceInfoProvider.get(ServerCaseDataSourceInfoProvider.java:111)
	at org.apache.cayenne.unit.di.server.ServerCaseDataSourceInfoProvider.get(ServerCaseDataSourceInfoProvider.java:36)
	at org.apache.cayenne.di.spi.CustomProvidersProvider.get(CustomProvidersProvider.java:38)
	at org.apache.cayenne.di.spi.FieldInjectingProvider.get(FieldInjectingProvider.java:42)
	at org.apache.cayenne.di.spi.DefaultScopeProvider.get(DefaultScopeProvider.java:49)
	at org.apache.cayenne.di.spi.DefaultInjector.getInstance(DefaultInjector.java:107)
	at org.apache.cayenne.di.spi.ConstructorInjectingProvider.get(ConstructorInjectingProvider.java:155)
	at org.apache.cayenne.di.spi.FieldInjectingProvider.get(FieldInjectingProvider.java:42)
	at org.apache.cayenne.di.spi.DefaultScopeProvider.get(DefaultScopeProvider.java:49)
	at org.apache.cayenne.di.spi.DefaultInjector.getInstance(DefaultInjector.java:107)
	at org.apache.cayenne.di.spi.ConstructorInjectingProvider.get(ConstructorInjectingProvider.java:155)
	at org.apache.cayenne.di.spi.FieldInjectingProvider.get(FieldInjectingProvider.java:42)
	at org.apache.cayenne.di.spi.DefaultScopeProvider.get(DefaultScopeProvider.java:49)
	at org.apache.cayenne.di.spi.DefaultInjector.getInstance(DefaultInjector.java:103)
	at org.apache.cayenne.unit.di.server.ServerCase.<clinit>(ServerCase.java:46)
	... 22 more
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO] 
[INFO] Cayenne ........................................... SUCCESS [0.357s]
[INFO] Common Unit Test Utilities ........................ SUCCESS [2.405s]
[INFO] Cayenne Internal Build Plugin ..................... SUCCESS [1.940s]
[INFO] Cayenne Build Tools Parent ........................ SUCCESS [0.007s]
[INFO] Cayenne License and Notice Bundle ................. SUCCESS [0.626s]
[INFO] Cayenne Dependency Injection Container ............ SUCCESS [2.021s]
[INFO] Cayenne Java 1.5 Unpublished ...................... FAILURE [17.504s]
[INFO] Cayenne WebObjects Compatibility Library .......... SKIPPED
[INFO] Cayenne Aggregated Server Jar ..................... SKIPPED
[INFO] Cayenne Aggregated Client Jar ..................... SKIPPED
[INFO] Cayenne Project ................................... SKIPPED
[INFO] Cayenne Tools ..................................... SKIPPED
[INFO] Library: cayenne-lifecycle ........................ SKIPPED
[INFO] Cayenne Maven Plugin .............................. SKIPPED
[INFO] Cayenne Framework Aggregator Project .............. SKIPPED
[INFO] Cayenne Integration Tests Parent .................. SKIPPED
[INFO] Integration Tests - Cayenne Runtime ............... SKIPPED
[INFO] Integration Tests - Cayenne Tools ................. SKIPPED
[INFO] Cayenne Modeler ................................... SKIPPED
[INFO] Cayenne Modeler Maven Plugin ...................... SKIPPED
[INFO] Cayenne Modeler Generic and Windows Extensions .... SKIPPED
[INFO] Cayenne Modeler Generic ........................... SKIPPED
[INFO] Cayenne Modeler Mac OS X Extensions ............... SKIPPED
[INFO] Cayenne Modeler Mac OS X .......................... SKIPPED
[INFO] Cayenne Modeler Mac OS X - Old Apple Java ......... SKIPPED
[INFO] Cayenne Modeler Windows ........................... SKIPPED
[INFO] Cayenne Modeler Parent ............................ SKIPPED
[INFO] Cayenne Tutorial .................................. SKIPPED
[INFO] Cayenne ROP Server Tutorial ....................... SKIPPED
[INFO] Cayenne ROP Client Tutorial ....................... SKIPPED
[INFO] Cayenne Tutorials ................................. SKIPPED
[INFO] Cayenne Documentation ............................. SKIPPED
[INFO] Cayenne Documenation Parent ....................... SKIPPED
[INFO] Cayenne Docbook Documentation ..................... SKIPPED
[INFO] Docbook: Cayenne Stylesheets ...................... SKIPPED
[INFO] Docbook: Cayenne Guide ............................ SKIPPED
[INFO] Docbook: Getting Started with Cayenne ............. SKIPPED
[INFO] Docbook: Getting Started with Cayenne ROP ......... SKIPPED
[INFO] Docbook: Cayenne New Features and Upgrade Guide ... SKIPPED
[INFO] Cayenne Release Assembly .......................... SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 26.157s
[INFO] Finished at: Wed Mar 23 13:39:04 GMT 2016
[INFO] Final Memory: 24M/101M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.5:test (default-test)
on project cayenne-jdk1.5-unpublished: There are test failures.
[ERROR] 
[ERROR] Please refer to /x1/jenkins/jenkins-slave/workspace/cayenne-31/cayenneTestConnection/HSQLDB/jdk/JDK
1.5 (latest)/label/Ubuntu/framework/cayenne-jdk1.5-unpublished/target/surefire-reports for
the individual test results.
[ERROR] -> [Help 1]
org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.5:test
(default-test) on project cayenne-jdk1.5-unpublished: There are test failures.

Please refer to /x1/jenkins/jenkins-slave/workspace/cayenne-31/cayenneTestConnection/HSQLDB/jdk/JDK
1.5 (latest)/label/Ubuntu/framework/cayenne-jdk1.5-unpublished/target/surefire-reports for
the individual test results.
	at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:213)
	at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)
	at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)
	at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:84)
	at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:59)
	at org.apache.maven.lifecycle.internal.LifecycleStarter.singleThreadedBuild(LifecycleStarter.java:183)
	at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:161)
	at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:320)
	at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:156)
	at org.apache.maven.cli.MavenCli.execute(MavenCli.java:537)
	at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:196)
	at org.apache.maven.cli.MavenCli.main(MavenCli.java:141)
	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:592)
	at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:290)
	at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:230)
	at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:409)
	at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:352)
Caused by: org.apache.maven.plugin.MojoFailureException: There are test failures.

Please refer to /x1/jenkins/jenkins-slave/workspace/cayenne-31/cayenneTestConnection/HSQLDB/jdk/JDK
1.5 (latest)/label/Ubuntu/framework/cayenne-jdk1.5-unpublished/target/surefire-reports for
the individual test results.
	at org.apache.maven.plugin.surefire.SurefirePlugin.execute(SurefirePlugin.java:629)
	at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:101)
	at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:209)
	... 19 more
[ERROR] 
[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
[ERROR]   mvn <goals> -rf :cayenne-jdk1.5-unpublished
Build step 'Invoke top-level Maven targets' marked build as failure

Mime
View raw message