cayenne-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Andrus Adamchik <and...@objectstyle.org>
Subject Fwd: Build failed in Jenkins: cayenne-master » derby,jdk-1.8.0,Ubuntu #74
Date Sat, 08 Nov 2014 12:04:05 GMT
I noticed our build config was using "mvn -e test". This is not enough to guarantee a stable
build across various types of changes, and is a reason *all* builds were failing lately, not
just some and occsaionally. E.g. the example below runs tests that are no longer in Git!

So I changed that to "mvn -e clean install", and we finally have a lone blue circle:

https://builds.apache.org/job/cayenne-master/75/

Please keep this in mind when changing configs in the future. 

The rest of the failures are suspect, and I don't have an immediate explanation. But we are
working to improve the overall stability of the builds, and once that part is in, we can try
to address them individually.

Andrus


> Begin forwarded message:
> 
> Date: November 8, 2014 at 12:22:49 PM GMT+3
> From: Apache Jenkins Server <jenkins@builds.apache.org>
> To: commits@cayenne.apache.org, s.kolbachev@gmail.com, aadamchik@apache.org
> Subject: Build failed in Jenkins: cayenne-master » derby,jdk-1.8.0,Ubuntu #74
> 
> See <https://builds.apache.org/job/cayenne-master/cayenneTestConnection=derby,jdk=jdk-1.8.0,label=Ubuntu/74/changes>
> 
> Changes:
> 
> [s.kolbachev] Refactor Multi Tier Project
> 
> ------------------------------------------
> [...truncated 6821 lines...]
>  initializationError(org.apache.cayenne.CDOOne2ManyTest)
>  initializationError(org.apache.cayenne.query.SelectQueryTest)
>  initializationError(org.apache.cayenne.access.translator.batch.DefaultBatchTranslatorTest)
>  initializationError(org.apache.cayenne.ManyToManyNoJoinTest)
>  initializationError(org.apache.cayenne.access.DbLoaderTest)
>  initializationError(org.apache.cayenne.access.DataDomainTest)
>  initializationError(org.apache.cayenne.CompoundPkChangeTest)
>  initializationError(org.apache.cayenne.access.SimpleIdIncrementalFaultListPrefetchTest)
>  initializationError(org.apache.cayenne.access.DataContextBinaryPKTest)
>  initializationError(org.apache.cayenne.access.DataContextObjectIdQueryTest)
>  initializationError(org.apache.cayenne.CDOMany2OneNoRevTest)
>  initializationError(org.apache.cayenne.access.DataDomainCallbacksTest)
>  initializationError(org.apache.cayenne.dba.TypesMappingTest)
>  initializationError(org.apache.cayenne.access.jdbc.BatchActionTest)
>  initializationError(org.apache.cayenne.dba.PkGeneratorTest)
>  initializationError(org.apache.cayenne.access.DataContextCompoundRelTest)
>  initializationError(org.apache.cayenne.access.DataContextValidationTest)
>  initializationError(org.apache.cayenne.access.DataContextNoPkTest)
>  initializationError(org.apache.cayenne.access.SimpleIdIncrementalFaultListDataRowsTest)
>  initializationError(org.apache.cayenne.access.translator.batch.SoftDeleteBatchTranslatorTest)
>  initializationError(org.apache.cayenne.access.DataContextEJBQLOrderByTest)
>  initializationError(org.apache.cayenne.access.DeleteRulesTest)
>  initializationError(org.apache.cayenne.dba.oracle.OracleAdapterTest)
>  initializationError(org.apache.cayenne.access.DataContextQueryCachingEhCacheTest)
>  initializationError(org.apache.cayenne.access.DataContextQueryCachingTest)
>  initializationError(org.apache.cayenne.access.DataContextCallbacksTest)
>  initializationError(org.apache.cayenne.access.FlattenedPrefetchTest)
>  initializationError(org.apache.cayenne.access.translator.select.QueryAssemblerTest)
>  initializationError(org.apache.cayenne.access.EnumTest)
>  initializationError(org.apache.cayenne.MeaningfulFKTest)
>  initializationError(org.apache.cayenne.access.DataContextExtendedTypeOperationsTest)
>  initializationError(org.apache.cayenne.access.OptimisticLockingTest)
>  initializationError(org.apache.cayenne.merge.DropColumnToModelTest)
>  initializationError(org.apache.cayenne.access.translator.select.SelectTranslatorTest)
>  initializationError(org.apache.cayenne.access.DataContextEJBQLQueryTest)
>  initializationError(org.apache.cayenne.query.SelectQueryPrefetchRouterActionQualifiedEntityTest)
>  initializationError(org.apache.cayenne.query.SQLSelectTest)
>  initializationError(org.apache.cayenne.access.util.DefaultOperationObserverTest)
>  initializationError(org.apache.cayenne.access.EmbeddingTest)
>  initializationError(org.apache.cayenne.access.ToManyListTest)
>  initializationError(org.apache.cayenne.access.ObjectStoreDiffRetainingTest)
>  initializationError(org.apache.cayenne.access.DataContextEJBQLDeleteTest)
>  initializationError(org.apache.cayenne.util.DeepMergeOperationInheritanceTest)
>  initializationError(org.apache.cayenne.access.DataDomainQueryActionTest)
>  initializationError(org.apache.cayenne.access.DataContextEJBQLGroupByHavingTest)
>  initializationError(org.apache.cayenne.access.DataContextCrossDBTest)
>  initializationError(org.apache.cayenne.access.DataContextRollbackTest)
>  initializationError(org.apache.cayenne.access.SimpleIdIncrementalFaultListTest)
>  initializationError(org.apache.cayenne.access.DataContextProcedureQueryTest)
>  initializationError(org.apache.cayenne.access.ObjectStoreTest)
>  initializationError(org.apache.cayenne.map.EntityResolverClassDescriptorTest)
>  initializationError(org.apache.cayenne.access.MiscTypesTest)
>  initializationError(org.apache.cayenne.CayenneDataObjectInContextTest)
>  initializationError(org.apache.cayenne.dba.JdbcPkGeneratorTest)
>  initializationError(org.apache.cayenne.access.jdbc.SQLTemplateActionTest)
>  initializationError(org.apache.cayenne.access.DataContextOrderingTest)
>  initializationError(org.apache.cayenne.PregeneratedPKTest)
>  initializationError(org.apache.cayenne.access.DbLoaderPartialTest)
>  initializationError(org.apache.cayenne.access.DataContextCharTypeTest)
>  initializationError(org.apache.cayenne.merge.CreateTableToModelTest)
>  initializationError(org.apache.cayenne.FlattenedRelationshipsTest)
>  initializationError(org.apache.cayenne.access.DataContextJoinAliasesTest)
>  initializationError(org.apache.cayenne.CDOMany2OneTest)
>  initializationError(org.apache.cayenne.access.translator.batch.UpdateBatchTranslatorTest)
>  initializationError(org.apache.cayenne.access.DeleteObjectTest)
>  initializationError(org.apache.cayenne.access.VerticalInheritanceTest)
>  initializationError(org.apache.cayenne.access.DataContextPaginatedQueryTest)
>  initializationError(org.apache.cayenne.dba.postgres.PostgresAdapterTest)
>  initializationError(org.apache.cayenne.CayenneTest)
>  initializationError(org.apache.cayenne.unit.di.DICaseSelfTest)
>  initializationError(org.apache.cayenne.DataObjectSerializationTest)
>  initializationError(org.apache.cayenne.access.DataContextPrefetchExtras1Test)
>  initializationError(org.apache.cayenne.access.DataContextDataChannelEventsTest)
>  initializationError(org.apache.cayenne.map.EntityResolverGenericStackTest)
>  initializationError(org.apache.cayenne.access.DataContextDelegateSharedCacheTest)
>  initializationError(org.apache.cayenne.conn.PoolManagerTest)
>  initializationError(org.apache.cayenne.access.UserTransactionTest)
>  initializationError(org.apache.cayenne.access.DataContextSerializationTest)
>  initializationError(org.apache.cayenne.access.translator.batch.DeleteBatchTranslatorTest)
>  initializationError(org.apache.cayenne.util.EntityMergeSupportTest)
>  initializationError(org.apache.cayenne.configuration.server.ServerRuntimeBuilder_InAction_Test)
>  initializationError(org.apache.cayenne.access.NestedDataContextParentEventsTest)
>  initializationError(org.apache.cayenne.access.NestedDataContext_DeadlockTest)
>  initializationError(org.apache.cayenne.CDOOne2OneDepTest)
>  initializationError(org.apache.cayenne.access.DataContextPrefetchExtrasTest)
>  testProcessSelectTemplate1(org.apache.cayenne.access.jdbc.SQLTemplateProcessorSelectTest)
>  testProcessSelectTemplate2(org.apache.cayenne.access.jdbc.SQLTemplateProcessorSelectTest)
>  testProcessSelectTemplate3(org.apache.cayenne.access.jdbc.SQLTemplateProcessorSelectTest)
>  testProcessSelectTemplate4(org.apache.cayenne.access.jdbc.SQLTemplateProcessorSelectTest)
>  testProcessTemplateUnchanged(org.apache.cayenne.access.jdbc.SQLTemplateProcessorSelectTest)
>  initializationError(org.apache.cayenne.map.ClientEntityResolverTest)
>  initializationError(org.apache.cayenne.access.DataDomainFiltersTest)
>  initializationError(org.apache.cayenne.access.ObjectStoreGCTest)
>  initializationError(org.apache.cayenne.query.SelectQueryFetchLimitOrderingTest)
>  initializationError(org.apache.cayenne.access.translator.ejbql.EJBQLSelectTranslatorTest)
>  initializationError(org.apache.cayenne.merge.ValueForNullTest)
>  initializationError(org.apache.cayenne.PersistenceByReachabilityTest)
>  initializationError(org.apache.cayenne.reflect.MixedPersistenceStrategyTest)
>  initializationError(org.apache.cayenne.dba.oracle.Oracle8AdapterTest)
>  initializationError(org.apache.cayenne.access.DataContextQueryCachingOSCacheTest)
>  initializationError(org.apache.cayenne.access.UUIDTest)
>  testProcessTemplateBindEqual(org.apache.cayenne.access.jdbc.SQLTemplateProcessorTest)
>  testProcessTemplateID(org.apache.cayenne.access.jdbc.SQLTemplateProcessorTest)
>  testProcessTemplateNotEqualID(org.apache.cayenne.access.jdbc.SQLTemplateProcessorTest)
>  testProcessTemplateBindGuessInteger(org.apache.cayenne.access.jdbc.SQLTemplateProcessorTest)
>  testProcessTemplateUnchanged1(org.apache.cayenne.access.jdbc.SQLTemplateProcessorTest)
>  testProcessTemplateUnchanged2(org.apache.cayenne.access.jdbc.SQLTemplateProcessorTest)
>  testProcessTemplateBind(org.apache.cayenne.access.jdbc.SQLTemplateProcessorTest)
>  testProcessTemplateConditions(org.apache.cayenne.access.jdbc.SQLTemplateProcessorTest)
>  testProcessTemplateBindCollection(org.apache.cayenne.access.jdbc.SQLTemplateProcessorTest)
>  testProcessTemplateBindNotEqual(org.apache.cayenne.access.jdbc.SQLTemplateProcessorTest)
>  testProcessTemplateSimpleDynamicContent(org.apache.cayenne.access.jdbc.SQLTemplateProcessorTest)
>  testProcessTemplateBindGuessVarchar(org.apache.cayenne.access.jdbc.SQLTemplateProcessorTest)
>  initializationError(org.apache.cayenne.access.DataContextDisjointByIdPrefetch_ExtrasTest)
>  initializationError(org.apache.cayenne.access.NestedDataContextLocalCacheTest)
>  initializationError(org.apache.cayenne.access.DataContextRefreshQueryTest)
>  initializationError(org.apache.cayenne.exp.ParsedExpQualifierCompatTest)
>  initializationError(org.apache.cayenne.dba.hsqldb.HSQLDBAdapterTest)
>  initializationError(org.apache.cayenne.access.NestedDataContextParentPeerEventsTest)
>  initializationError(org.apache.cayenne.access.DataContextDecoratedStackTest)
>  initializationError(org.apache.cayenne.access.DataContextPrefetchQualifierOverlapTest)
>  initializationError(org.apache.cayenne.util.ShallowMergeOperationTest)
>  initializationError(org.apache.cayenne.unit.di.server.ServerCaseSelfTest)
>  initializationError(org.apache.cayenne.access.DataContextFlattenedAttributesTest)
>  initializationError(org.apache.cayenne.configuration.server.JNDIDataSourceFactoryTest)
>  initializationError(org.apache.cayenne.query.QueryChainTest)
>  initializationError(org.apache.cayenne.CayenneDataObjectTest)
>  initializationError(org.apache.cayenne.PersistentObjectTest)
>  initializationError(org.apache.cayenne.access.IdentityColumnsTest)
>  initializationError(org.apache.cayenne.access.DataNodeTest)
>  initializationError(org.apache.cayenne.access.DataContextCommitTest)
>  initializationError(org.apache.cayenne.map.DbRelationshipTest)
>  initializationError(org.apache.cayenne.dba.ConcurrentPkGeneratorTest)
>  initializationError(org.apache.cayenne.reflect.generic.DataObjectDescriptorFactoryTest)
>  initializationError(org.apache.cayenne.CayenneDataObjectRelationshipsTest)
>  testThrowOnPartialStrategyTableNoExist(org.apache.cayenne.access.dbsync.ThrowOnPartialSchemaStrategyTest)
>  initializationError(org.apache.cayenne.access.DataRowUtilsTest)
>  initializationError(org.apache.cayenne.access.DataContextQueryChainTest)
>  initializationError(org.apache.cayenne.access.jdbc.BatchActionLockingTest)
>  initializationError(org.apache.cayenne.access.DataContextBlobTest)
>  initializationError(org.apache.cayenne.access.DataContextSharedCacheTest)
>  initializationError(org.apache.cayenne.access.DataContextDelegateTest)
>  initializationError(org.apache.cayenne.access.DataContextEJBQLJoinsTest)
>  initializationError(org.apache.cayenne.reflect.LifecycleCallbackRegistry_InheritanceTest)
>  initializationError(org.apache.cayenne.access.DataContextEJBQLUpdateTest)
>  initializationError(org.apache.cayenne.DataContextMaxIdQualifierTest)
>  initializationError(org.apache.cayenne.map.DbEntityTest)
>  initializationError(org.apache.cayenne.access.PrimitiveAttributesTest)
>  testMixedStrategyTableNoExist(org.apache.cayenne.access.dbsync.ThrowOnPartialOrCreateSchemaStrategyTest)
>  initializationError(org.apache.cayenne.CayenneDataObjectValidationTest)
>  initializationError(org.apache.cayenne.unit.jira.CAY_191Test)
>  initializationError(org.apache.cayenne.access.DataContextQualifiedEntityTest)
>  initializationError(org.apache.cayenne.CDOCollectionRelationshipTest)
> 
> Tests run: 962, Failures: 0, Errors: 265, Skipped: 0
> 
> [INFO] ------------------------------------------------------------------------
> [INFO] Reactor Summary:
> [INFO] 
> [INFO] Cayenne ........................................... SUCCESS [0.002s]
> [INFO] Cayenne Build Tools Parent ........................ SUCCESS [0.000s]
> [INFO] Cayenne License and Notice Bundle ................. SUCCESS [0.894s]
> [INFO] Common Unit Test Utilities ........................ SUCCESS [0.048s]
> [INFO] Cayenne Code Checkers ............................. SUCCESS [0.013s]
> [INFO] Cayenne Dependency Injection Container ............ SUCCESS [9.457s]
> [INFO] Cayenne Server .................................... FAILURE [41.300s]
> [INFO] Cayenne ROP Client ................................ SKIPPED
> [INFO] Cayenne Project ................................... SKIPPED
> [INFO] Cayenne Tools ..................................... SKIPPED
> [INFO] Cayenne Lifecycle Utilities ....................... SKIPPED
> [INFO] Cayenne Maven Plugins ............................. SKIPPED
> [INFO] Cayenne Maven Plugin .............................. SKIPPED
> [INFO] Cayenne Cryptography Extensions ................... SKIPPED
> [INFO] Cayenne Integration Tests Parent .................. SKIPPED
> [INFO] Integration Tests - Cayenne Tools ................. SKIPPED
> [INFO] Cayenne Modeler Parent ............................ SKIPPED
> [INFO] Cayenne WebObjects Compatibility Library .......... SKIPPED
> [INFO] Cayenne Modeler ................................... 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 Maven Plugin ...................... SKIPPED
> [INFO] Cayenne Tutorial .................................. SKIPPED
> [INFO] Cayenne ROP Server Tutorial ....................... SKIPPED
> [INFO] Cayenne ROP Client Tutorial ....................... SKIPPED
> [INFO] Cayenne Tutorials ................................. SKIPPED
> [INFO] Cayenne Documenation Parent ....................... SKIPPED
> [INFO] Cayenne Documentation ............................. 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: 52.687s
> [INFO] Finished at: Sat Nov 08 09:22:16 UTC 2014
> [INFO] Final Memory: 66M/1706M
> [INFO] ------------------------------------------------------------------------
> [ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.5:test
(default-test) on project cayenne-server: There are test failures.
> [ERROR] 
> [ERROR] Please refer to <https://builds.apache.org/job/cayenne-master/cayenneTestConnection=derby,jdk=jdk-1.8.0,label=Ubuntu/ws/cayenne-server/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-server: There are test failures.
> 
> Please refer to <https://builds.apache.org/job/cayenne-master/cayenneTestConnection=derby,jdk=jdk-1.8.0,label=Ubuntu/ws/cayenne-server/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:62)
> 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> 	at java.lang.reflect.Method.invoke(Method.java:483)
> 	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-master/cayenneTestConnection=derby,jdk=jdk-1.8.0,label=Ubuntu/ws/cayenne-server/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-server
> Build step 'Invoke top-level Maven targets' marked build as failure
> Recording test results
> 


Mime
View raw message