Build failed in Jenkins: Platform-integrationTests-PostgreSQL #2

4 views
Skip to first unread message

Jenkins

unread,
Dec 11, 2014, 5:36:11 AM12/11/14
to motec...@googlegroups.com
See <http://ci.motechproject.org/job/Platform-integrationTests-PostgreSQL/2/>

------------------------------------------
[...truncated 2398 lines...]
[INFO] org.springframework.jdbc-3.1.0.RELEASE.jar already exists in destination.
[INFO] com.springsource.org.aspectj.weaver-1.6.12.RELEASE.jar already exists in destination.
[INFO] motech-osgi-platform-0.25-SNAPSHOT.jar already exists in destination.
[INFO] org.springframework.jms-3.1.0.RELEASE.jar already exists in destination.
[INFO] org.motechproject.org.apache.commons.configuration-1.8-r027.jar already exists in destination.
[INFO] paranamer-2.6.jar already exists in destination.
[INFO] org.springframework.aop-3.1.0.RELEASE.jar already exists in destination.
[INFO] datanucleus-api-jpa-3.3.6.jar already exists in destination.
[INFO] org.osgi.compendium-5.0.0.jar already exists in destination.
[INFO] spring-integration-jms-2.1.0.RELEASE.jar already exists in destination.
[INFO] com.springsource.org.apache.commons.beanutils-1.8.3.jar already exists in destination.
[INFO] ops4j-base-util-collections-1.4.0.jar already exists in destination.
[INFO] com.springsource.javax.ejb-3.0.0.jar already exists in destination.
[INFO] plexus-container-default-1.5.5.jar already exists in destination.
[INFO] mysql-connector-java-5.1.32.jar already exists in destination.
[INFO] motech-platform-osgi-web-util-0.25-SNAPSHOT.jar already exists in destination.
[INFO] com.springsource.org.apache.oro-2.0.8.jar already exists in destination.
[INFO] pax-url-aether-1.6.0.jar already exists in destination.
[INFO] aether-spi-1.13.1.jar already exists in destination.
[INFO] postgresql-9.1-901.jdbc4.jar already exists in destination.
[INFO] ops4j-base-util-property-1.4.0.jar already exists in destination.
[INFO] com.springsource.com.mchange.v2.c3p0-0.9.1.jar already exists in destination.
[INFO] slf4j-log4j12-1.7.2.jar already exists in destination.
[INFO] org.springframework.asm-3.1.0.RELEASE.jar already exists in destination.
[INFO] com.springsource.org.apache.commons.lang-2.6.0.jar already exists in destination.
[INFO] com.springsource.org.objenesis-1.2.0.jar already exists in destination.
[INFO] datanucleus-rdbms-3.2.12.jar already exists in destination.
[INFO] kahadb-5.4.2.jar already exists in destination.
[INFO] org.motechproject.org.hibernate.validator-4.1.0.Final-r027.jar already exists in destination.
[INFO] org.apache.servicemix.bundles.paranamer-2.6_1.jar already exists in destination.
[INFO] pax-url-maven-commons-1.6.0.jar already exists in destination.
[INFO] jsoup-1.6.1.jar already exists in destination.
[INFO] org.springframework.beans-3.1.0.RELEASE.jar already exists in destination.
[INFO] com.springsource.org.apache.commons.vfs-1.0.0.jar already exists in destination.
[INFO] aether-api-1.13.1.jar already exists in destination.
[INFO] com.springsource.org.objectweb.asm.commons-2.2.3.jar already exists in destination.
[INFO] spring-integration-core-2.1.0.RELEASE.jar already exists in destination.
[INFO] org.springframework.core-3.1.0.RELEASE.jar already exists in destination.
[INFO] org.motechproject.org.codehaus.jackson-1.9.7-r027.jar already exists in destination.
[INFO] com.springsource.javax.activation-1.1.1.jar already exists in destination.
[INFO] jdo-api-3.0.1.jar already exists in destination.
[INFO] com.springsource.org.apache.velocity-1.6.2.jar already exists in destination.
[INFO] log4j-1.2.17.jar already exists in destination.
[INFO] motech-platform-commons-api-0.25-SNAPSHOT.jar already exists in destination.
[INFO] slf4j-api-1.7.2.jar already exists in destination.
[INFO] org.eclipse.gemini.blueprint.core-1.0.2.RELEASE.jar already exists in destination.
[INFO] aether-util-1.13.1.jar already exists in destination.
[INFO] org.eclipse.gemini.blueprint.extender-1.0.2.RELEASE.jar already exists in destination.
[INFO] xbean-reflect-3.4.jar already exists in destination.
[INFO] com.springsource.org.dom4j-1.6.1.jar already exists in destination.
[INFO] motech-platform-osgi-extender-fragment-0.25-SNAPSHOT.jar already exists in destination.
[INFO] com.springsource.org.aspectj.runtime-1.6.8.RELEASE.jar already exists in destination.
[INFO] pax-url-commons-1.6.0.jar already exists in destination.
[INFO] maven-model-builder-3.0.4.jar already exists in destination.
[INFO] motech-platform-config-core-0.25-SNAPSHOT.jar already exists in destination.
[INFO] time-api-0.6.3.jar already exists in destination.
[INFO] motech-platform-dataservices-migration-0.25-SNAPSHOT.jar already exists in destination.
[INFO] paranamer-2.6-sources.jar already exists in destination.
[INFO] org.motechproject.org.quartz-scheduler-2.1.5-r027.jar already exists in destination.
[INFO] jta-1.1.jar already exists in destination.
[INFO] plexus-interpolation-1.14.jar already exists in destination.
[INFO] com.springsource.org.objectweb.howl-1.0.2.jar already exists in destination.
[INFO] jcl-over-slf4j-1.7.2.jar already exists in destination.
[INFO] org.springframework.web-3.1.0.RELEASE.jar already exists in destination.
[INFO] motech-platform-dataservices-0.25-SNAPSHOT.jar already exists in destination.
[INFO] org.motechproject.com.googlecode.lambdaj-2.3.3-r027.jar already exists in destination.
[INFO] datanucleus-jodatime-3.2.1.jar already exists in destination.
[INFO] motech-platform-commons-sql-0.25-SNAPSHOT.jar already exists in destination.
[INFO] org.motechproject.reflections-0.9.5-r027.jar already exists in destination.
[INFO] datanucleus-api-jdo-3.2.7.jar already exists in destination.
[INFO] com.springsource.javax.xml.soap-1.3.0.jar already exists in destination.
[INFO] org.motechproject.guava-0.8.0-r027.jar already exists in destination.
[INFO] ops4j-base-lang-1.4.0.jar already exists in destination.
[INFO] reflections-0.9.5.jar already exists in destination.
[INFO] com.springsource.org.apache.commons.collections-3.2.1.jar already exists in destination.
[INFO] com.springsource.javax.transaction-1.1.0.jar already exists in destination.
[INFO] org.springframework.transaction-3.1.0.RELEASE.jar already exists in destination.
[INFO] flyway-core-2.3.1.jar already exists in destination.
[INFO] ops4j-base-util-xml-1.4.0.jar already exists in destination.
[INFO] org.springframework.orm-3.1.0.RELEASE.jar already exists in destination.
[INFO] pax-swissbox-property-1.7.0.jar already exists in destination.
[INFO] org.eclipse.gemini.blueprint.io-1.0.2.RELEASE.jar already exists in destination.
[INFO] plexus-component-annotations-1.5.5.jar already exists in destination.
[INFO] org.springframework.security.core-3.1.0.RELEASE.jar already exists in destination.
[INFO] com.springsource.javax.xml.rpc-1.1.0.jar already exists in destination.
[INFO] wagon-file-1.0.jar already exists in destination.
[INFO] wagon-http-lightweight-1.0.jar already exists in destination.
[INFO]
[INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ motech-platform-server-config ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 6 resources
[INFO]
[INFO] --- maven-compiler-plugin:2.5.1:compile (default-compile) @ motech-platform-server-config ---
[INFO] Compiling 12 source files to <http://ci.motechproject.org/job/Platform-integrationTests-PostgreSQL/ws/platform/server-config/target/classes>
[INFO]
[INFO] >>> maven-pmd-plugin:2.7.1:check (default) @ motech-platform-server-config >>>
[INFO]
[INFO] --- maven-pmd-plugin:2.7.1:pmd (pmd) @ motech-platform-server-config ---
[INFO]
[INFO] <<< maven-pmd-plugin:2.7.1:check (default) @ motech-platform-server-config <<<
[INFO]
[INFO] --- maven-pmd-plugin:2.7.1:check (default) @ motech-platform-server-config ---
[INFO]
[INFO]
[INFO] >>> maven-pmd-plugin:2.7.1:cpd-check (default) @ motech-platform-server-config >>>
[INFO]
[INFO] --- maven-pmd-plugin:2.7.1:cpd (cpd) @ motech-platform-server-config ---
[INFO]
[INFO] <<< maven-pmd-plugin:2.7.1:cpd-check (default) @ motech-platform-server-config <<<
[INFO]
[INFO] --- maven-pmd-plugin:2.7.1:cpd-check (default) @ motech-platform-server-config ---
[INFO]
[INFO]
[INFO] --- maven-checkstyle-plugin:2.10:check (default) @ motech-platform-server-config ---
[INFO] Starting audit...
Audit done.

[INFO]
[INFO] --- maven-resources-plugin:2.6:testResources (default-testResources) @ motech-platform-server-config ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 13 resources
[INFO]
[INFO] --- maven-compiler-plugin:2.5.1:testCompile (default-testCompile) @ motech-platform-server-config ---
[INFO] Compiling 11 source files to <http://ci.motechproject.org/job/Platform-integrationTests-PostgreSQL/ws/platform/server-config/target/test-classes>
[INFO]
[INFO] --- maven-surefire-plugin:2.17:test (default-test) @ motech-platform-server-config ---
[INFO] Tests are skipped.
[INFO]
[INFO] --- maven-bundle-plugin:2.3.4:bundle (default-bundle) @ motech-platform-server-config ---
[INFO]
[INFO] --- maven-resources-plugin:2.6:copy-resources (copy-bundles) @ motech-platform-server-config ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 1 resource
[INFO]
[INFO] --- maven-resources-plugin:2.6:copy-resources (copy-test-config-files) @ motech-platform-server-config ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 1 resource
[INFO] Copying 1 resource
[INFO]
[INFO] --- sql-maven-plugin:1.5:execute (drop-db) @ motech-platform-server-config ---
[INFO] Executing commands
[INFO] 1 of 1 SQL statements executed successfully
[INFO]
[INFO] --- sql-maven-plugin:1.5:execute (create-db) @ motech-platform-server-config ---
[INFO] Executing commands
[INFO] 1 of 1 SQL statements executed successfully
[INFO]
[INFO] --- maven-failsafe-plugin:2.17:integration-test (integration-test) @ motech-platform-server-config ---
[INFO] Failsafe report directory: <http://ci.motechproject.org/job/Platform-integrationTests-PostgreSQL/ws/platform/server-config/target/failsafe-reports>

-------------------------------------------------------
T E S T S
-------------------------------------------------------
Running org.motechproject.it.ConfigIntegrationTests
[INFO] Started jetty 6.1.x at port(s) HTTP:8282
2014-12-11 10:40:12,719 ERROR [org.ops4j.pax.exam.nat.internal.NativeTestContainer] Bundle [org.motechproject.motech-platform-server-config [13]] is not resolved
2014-12-11 10:40:12,719 ERROR [org.ops4j.pax.exam.nat.internal.NativeTestContainer] Bundle [com.springsource.org.hamcrest [23]] is not resolved
[INFO] Initializing Spring FrameworkServlet 'servlet_1'
[INFO] Initialized servlet for org.motechproject.motech-platform-osgi-web-util [69]
Dec 11, 2014 10:40:17 AM com.googlecode.flyway.core.command.DbMigrate migrate
INFO: Current version of schema `motech_data_services`: 23
Dec 11, 2014 10:40:17 AM com.googlecode.flyway.core.command.DbMigrate logSummary
INFO: Schema `motech_data_services` is up to date. No migration necessary.
[INFO] Initializing Spring FrameworkServlet 'servlet_3'
[INFO] Initialized servlet for org.motechproject.motech-platform-dataservices [120]
Tests run: 3, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 30.706 sec <<< FAILURE! - in org.motechproject.it.ConfigIntegrationTests
testConfigBundle(org.motechproject.it.ConfigBundleIT) Time elapsed: 24.108 sec <<< ERROR!
java.lang.ClassNotFoundException: org.motechproject.config.core.domain.BootstrapConfig not found by PAXEXAM-PROBE-06ff2a47-17cb-4ca6-a3fe-041a538c1cbe [147]
at org.apache.felix.framework.BundleWiringImpl.findClassOrResourceByDelegation(BundleWiringImpl.java:1532)
at org.apache.felix.framework.BundleWiringImpl.access$400(BundleWiringImpl.java:75)
at org.apache.felix.framework.BundleWiringImpl$BundleClassLoader.loadClass(BundleWiringImpl.java:1955)
at java.lang.ClassLoader.loadClass(ClassLoader.java:358)
at org.motechproject.it.ConfigBundleIT.testConfigBundle(ConfigBundleIT.java:27)


Results :

Tests in error:
ConfigBundleIT.testConfigBundle:27 ? ClassNotFound org.motechproject.config.co...

Tests run: 3, Failures: 0, Errors: 1, Skipped: 0

[INFO]
[INFO] --- maven-enforcer-plugin:1.3.1:enforce (enforce-no-package-cycles) @ motech-platform-server-config ---
[INFO] Analysing package cyclic dependencies
[INFO]
[INFO] --- maven-failsafe-plugin:2.17:verify (verify) @ motech-platform-server-config ---
[INFO] Failsafe report directory: <http://ci.motechproject.org/job/Platform-integrationTests-PostgreSQL/ws/platform/server-config/target/failsafe-reports>
[WARNING] File encoding has not been set, using platform encoding ANSI_X3.4-1968, i.e. build is platform dependent!
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] MOTECH ............................................ SUCCESS [3.504s]
[INFO] MOTECH Platform Server API ........................ SUCCESS [7.553s]
[INFO] MOTECH OSGi Platform .............................. SUCCESS [3.304s]
[INFO] MOTECH Pax Test Container ......................... SUCCESS [3.940s]
[INFO] MOTECH Pax Testing ................................ SUCCESS [4.674s]
[INFO] MOTECH Platform Commons API ....................... SUCCESS [5.386s]
[INFO] MOTECH Platform Commons Date ...................... SUCCESS [6.352s]
[INFO] MOTECH Core Config ................................ SUCCESS [10.560s]
[INFO] MOTECH Platform Osgi Extender Fragment ............ SUCCESS [2.061s]
[INFO] MOTECH OSGI Web Util .............................. SUCCESS [20.056s]
[INFO] MOTECH Platform Event ............................. SUCCESS [40.479s]
[INFO] MOTECH Platform Commons SQL ....................... SUCCESS [1.804s]
[INFO] MOTECH Platform Data Services Migration ........... SUCCESS [1.482s]
[INFO] MOTECH Testing Utils .............................. SUCCESS [3.909s]
[INFO] MOTECH Platform Data Services ..................... SUCCESS [1:28.553s]
[INFO] MOTECH Platform Server Config ..................... FAILURE [35.598s]
[INFO] MOTECH OSGi Integration Tests ..................... SKIPPED
[INFO] MOTECH Web Security ............................... SKIPPED
[INFO] MOTECH Platform Server Bundle ..................... SKIPPED
[INFO] MOTECH Scheduler .................................. SKIPPED
[INFO] MOTECH Platform Data Services Web ................. SKIPPED
[INFO] MOTECH Platform Email ............................. SKIPPED
[INFO] MOTECH Admin ...................................... SKIPPED
[INFO] MOTECH Platform Server ............................ SKIPPED
[INFO] MOTECH Tasks ...................................... SKIPPED
[INFO] MOTECH Tasks Test Utils ........................... SKIPPED
[INFO] MOTECH Tasks Test Bundle .......................... SKIPPED
[INFO] MOTECH Platform Data Services Test Bundle ......... SKIPPED
[INFO] MOTECH Platform Data Services Performance Tests ... SKIPPED
[INFO] MOTECH Minimal Bundle Archetype ................... SKIPPED
[INFO] MOTECH HTTP Bundle Archetype ...................... SKIPPED
[INFO] MOTECH Repository Bundle Archetype ................ SKIPPED
[INFO] MOTECH Settings Bundle Archetype .................. SKIPPED
[INFO] MOTECH Debian Packages ............................ SKIPPED
[INFO] MOTECH Base RPM package ........................... SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 4:00.990s
[INFO] Finished at: Thu Dec 11 10:40:40 UTC 2014
[INFO] Final Memory: 82M/993M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-failsafe-plugin:2.17:verify (verify) on project motech-platform-server-config: There are test failures.
[ERROR]
[ERROR] Please refer to <http://ci.motechproject.org/job/Platform-integrationTests-PostgreSQL/ws/platform/server-config/target/failsafe-reports> for the individual test results.
[ERROR] -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[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 :motech-platform-server-config
Build step 'Invoke top-level Maven targets' marked build as failure
Recording test results

Jenkins

unread,
Dec 11, 2014, 6:03:57 AM12/11/14
to motec...@googlegroups.com
Reply all
Reply to author
Forward
0 new messages