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 » derby,JDK 1.5 (latest),Ubuntu #128
Date Sat, 09 Apr 2016 09:53:28 GMT
See <https://builds.apache.org/job/cayenne-31/cayenneTestConnection=derby,jdk=JDK%201.5%20(latest),label=Ubuntu/128/changes>

Changes:

[aadamchik] vain attempt to improve 3.1 tests stability

------------------------------------------
[...truncated 317 lines...]
[INFO] org/apache/cayenne already added, skipping
[INFO] Building jar: <https://builds.apache.org/job/cayenne-31/cayenneTestConnection=derby,jdk=JDK%201.5%20(latest),label=Ubuntu/ws/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 <https://builds.apache.org/job/cayenne-31/cayenneTestConnection=derby,jdk=JDK%201.5%20(latest),label=Ubuntu/ws/framework/cayenne-di-unpublished/target/cayenne-di-unpublished-3.1.1-SNAPSHOT.jar>
to <https://builds.apache.org/job/cayenne-31/cayenneTestConnection=derby,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 <https://builds.apache.org/job/cayenne-31/cayenneTestConnection=derby,jdk=JDK%201.5%20(latest),label=Ubuntu/ws/framework/cayenne-di-unpublished/pom.xml>
to <https://builds.apache.org/job/cayenne-31/cayenneTestConnection=derby,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 <https://builds.apache.org/job/cayenne-31/cayenneTestConnection=derby,jdk=JDK%201.5%20(latest),label=Ubuntu/ws/framework/cayenne-di-unpublished/target/cayenne-di-unpublished-3.1.1-SNAPSHOT-sources.jar>
to <https://builds.apache.org/job/cayenne-31/cayenneTestConnection=derby,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 <https://builds.apache.org/job/cayenne-31/cayenneTestConnection=derby,jdk=JDK%201.5%20(latest),label=Ubuntu/ws/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 <https://builds.apache.org/job/cayenne-31/cayenneTestConnection=derby,jdk=JDK%201.5%20(latest),label=Ubuntu/ws/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 <https://builds.apache.org/job/cayenne-31/cayenneTestConnection=derby,jdk=JDK%201.5%20(latest),label=Ubuntu/ws/framework/cayenne-jdk1.5-unpublished/target/javacc-1460195596346/node/EJBQLParser.jj>
Java Compiler Compiler Version 5.0 (Parser Generator)
(type "javacc" with no arguments for help)
Reading from file <https://builds.apache.org/job/cayenne-31/cayenneTestConnection=derby,jdk=JDK%201.5%20(latest),label=Ubuntu/ws/framework/cayenne-jdk1.5-unpublished/target/javacc-1460195596346/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 ISO-8859-1, i.e. build is
platform dependent!
[INFO] Compiling 942 source files to <https://builds.apache.org/job/cayenne-31/cayenneTestConnection=derby,jdk=JDK%201.5%20(latest),label=Ubuntu/ws/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 ISO-8859-1, i.e. build is
platform dependent!
[INFO] Compiling 958 source files to <https://builds.apache.org/job/cayenne-31/cayenneTestConnection=derby,jdk=JDK%201.5%20(latest),label=Ubuntu/ws/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: <https://builds.apache.org/job/cayenne-31/cayenneTestConnection=derby,jdk=JDK%201.5%20(latest),label=Ubuntu/ws/framework/cayenne-jdk1.5-unpublished/target/surefire-reports>

-------------------------------------------------------
 T E S T S
-------------------------------------------------------
Running org.apache.cayenne.CayenneDataObjectValidationTest
Apr 9, 2016 9:53:35 AM org.apache.cayenne.unit.di.server.ServerCaseDataSourceInfoProvider
<init>
INFO: Loaded  0 DataSource configurations from properties file
Apr 9, 2016 9:53:35 AM org.apache.cayenne.unit.di.server.ServerCaseDataSourceInfoProvider
get
INFO: Connection key: derby
Apr 9, 2016 9:53:35 AM org.apache.cayenne.unit.di.server.ServerCaseDataSourceInfoProvider
get
INFO: loaded connection info: [org.apache.cayenne.conn.DataSourceInfo:
   user name: sa
   password: **********
   driver: org.apache.derby.jdbc.EmbeddedDriver
   db adapter class: org.apache.cayenne.dba.derby.DerbyAdapter
   url: jdbc:derby:target/testdb;create=true
   min. connections: 1
   max. connections: 1
]
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 Apr 09 2016 09:53:13]
Error instantiating class 'org.apache.cayenne.unit.di.server.ServerCaseDataSourceFactory'
	at org.apache.cayenne.di.spi.ConstructorInjectingProvider.get(ConstructorInjectingProvider.java:167)
	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
Caused by: java.lang.reflect.InvocationTargetException
	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.cayenne.di.spi.ConstructorInjectingProvider.get(ConstructorInjectingProvider.java:164)
	... 30 more
Caused by: java.lang.UnsupportedClassVersionError: Bad version number in .class file
	at java.lang.ClassLoader.defineClass1(Native Method)
	at java.lang.ClassLoader.defineClass(ClassLoader.java:621)
	at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:124)
	at java.net.URLClassLoader.defineClass(URLClassLoader.java:260)
	at java.net.URLClassLoader.access$100(URLClassLoader.java:56)
	at java.net.URLClassLoader$1.run(URLClassLoader.java:195)
	at java.security.AccessController.doPrivileged(Native Method)
	at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
	at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
	at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:268)
	at java.lang.ClassLoader.loadClass(ClassLoader.java:252)
	at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:320)
	at java.lang.Class.forName0(Native Method)
	at java.lang.Class.forName(Class.java:242)
	at org.apache.cayenne.di.spi.DefaultAdhocObjectFactory.getJavaClass(DefaultAdhocObjectFactory.java:102)
	at org.apache.cayenne.util.Util.getJavaClass(Util.java:681)
	at org.apache.cayenne.conn.DriverDataSource.loadDriver(DriverDataSource.java:59)
	at org.apache.cayenne.conn.DriverDataSource.setDriverClassName(DriverDataSource.java:256)
	at org.apache.cayenne.conn.DriverDataSource.<init>(DriverDataSource.java:101)
	at org.apache.cayenne.conn.DriverDataSource.<init>(DriverDataSource.java:87)
	at org.apache.cayenne.conn.PoolDataSource.<init>(PoolDataSource.java:50)
	at org.apache.cayenne.unit.di.server.ServerCaseDataSourceFactory.createDataSource(ServerCaseDataSourceFactory.java:72)
	at org.apache.cayenne.unit.di.server.ServerCaseDataSourceFactory.<init>(ServerCaseDataSourceFactory.java:49)
	... 35 more
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO] 
[INFO] Cayenne ........................................... SUCCESS [0.233s]
[INFO] Common Unit Test Utilities ........................ SUCCESS [1.415s]
[INFO] Cayenne Internal Build Plugin ..................... SUCCESS [1.369s]
[INFO] Cayenne Build Tools Parent ........................ SUCCESS [0.007s]
[INFO] Cayenne License and Notice Bundle ................. SUCCESS [0.557s]
[INFO] Cayenne Dependency Injection Container ............ SUCCESS [2.057s]
[INFO] Cayenne Java 1.5 Unpublished ...................... FAILURE [19.517s]
[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.432s
[INFO] Finished at: Sat Apr 09 09:53:35 UTC 2016
[INFO] Final Memory: 26M/103M
[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 <https://builds.apache.org/job/cayenne-31/cayenneTestConnection=derby,jdk=JDK%201.5%20(latest),label=Ubuntu/ws/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 <https://builds.apache.org/job/cayenne-31/cayenneTestConnection=derby,jdk=JDK%201.5%20(latest),label=Ubuntu/ws/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 <https://builds.apache.org/job/cayenne-31/cayenneTestConnection=derby,jdk=JDK%201.5%20(latest),label=Ubuntu/ws/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