Build failed in Jenkins: Platform-IntegrationTests #2076

3 views
Skip to first unread message

Jenkins

unread,
Feb 24, 2016, 8:26:45 AM2/24/16
to motec...@googlegroups.com, mkwiat...@soldevelo.com
See <http://ci.motechproject.org/job/Platform-IntegrationTests/2076/changes>

Changes:

[mkwiatkowski] MOTECH-2078: Document the build process for the DEB and RPM packages

[mkwiatkowski] MOTECH-2078: Document the buld process for DEB and RPM packages

------------------------------------------
[...truncated 24928 lines...]
[INFO] httpclient-4.4.1.jar already exists in destination.
[INFO] jcl-over-slf4j-1.7.7.jar already exists in destination.
[INFO] motech-platform-osgi-web-util-1.0-SNAPSHOT.jar already exists in destination.
[INFO] motech-platform-commons-sql-1.0-SNAPSHOT.jar already exists in destination.
[INFO] maven-model-3.0.4.jar already exists in destination.
[INFO] httpmime-4.4.1.jar already exists in destination.
[INFO] motech-platform-server-config-1.0-SNAPSHOT.jar already exists in destination.
[INFO] spring-security-config-3.1.0.RELEASE.jar already exists in destination.
[INFO] motech-platform-event-1.0-SNAPSHOT.jar already exists in destination.
[INFO] httpclient-osgi-4.4.1.jar already exists in destination.
[INFO] spring-security-core-3.1.0.RELEASE.jar already exists in destination.
[INFO] commons-lang3-3.1.jar already exists in destination.
[INFO] spring-context-support-3.1.0.RELEASE.jar already exists in destination.
[INFO] spring-core-3.1.0.RELEASE.jar already exists in destination.
[INFO] org.motechproject.aether-api-1.13.1-r031.jar already exists in destination.
[INFO] paranamer-2.6.jar already exists in destination.
[INFO] commons-configuration-1.10.jar already exists in destination.
[INFO] org.apache.servicemix.bundles.dom4j-1.6.1_5.jar already exists in destination.
[INFO] commons-collections-3.2.1.jar already exists in destination.
[INFO] motech-platform-dataservices-1.0-SNAPSHOT.jar already exists in destination.
[INFO] stax-ex-1.7.4.jar already exists in destination.
[INFO] plexus-classworlds-2.4.jar already exists in destination.
[INFO] motech-osgi-platform-1.0-SNAPSHOT.jar already exists in destination.
[INFO] commons-beanutils-core-1.8.3.jar already exists in destination.
[INFO] spring-security-crypto-3.1.0.RELEASE.jar already exists in destination.
[INFO] spring-orm-3.1.0.RELEASE.jar already exists in destination.
[INFO] objenesis-2.1.jar already exists in destination.
[INFO] jackrabbit-webdav-2.9.1.jar already exists in destination.
[INFO] commons-validator-1.4.1.jar already exists in destination.
[INFO] motech-platform-config-core-1.0-SNAPSHOT.jar already exists in destination.
[INFO] asm-tree-5.0.3.jar already exists in destination.
[INFO] httpclient-cache-4.4.1.jar already exists in destination.
[INFO] org.apache.servicemix.bundles.cglib-2.2.2_1.jar already exists in destination.
[INFO] spring-aop-3.1.0.RELEASE.jar already exists in destination.
[INFO] spring-integration-jms-2.1.0.RELEASE.jar already exists in destination.
[INFO] org.motechproject.javax.time-0.6.3-r031.jar already exists in destination.
[INFO] slf4j-log4j12-1.7.7.jar already exists in destination.
[INFO] org.motechproject.com.google.code.gson-1.7.1-r031.jar already exists in destination.
[INFO] com.springsource.javax.validation-1.0.0.GA.jar already exists in destination.
[INFO] org.eclipse.osgi.services-3.3.0.v20110513.jar already exists in destination.
[INFO] reflections-0.9.9.jar already exists in destination.
[INFO] motech-platform-server-api-1.0-SNAPSHOT.jar already exists in destination.
[INFO] httpcore-osgi-4.4.1.jar already exists in destination.
[INFO] commons-httpclient-3.1.jar already exists in destination.
[INFO]
[INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ motech-platform-email ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 1 resource
[INFO] Copying 20 resources
[INFO]
[INFO] --- maven-compiler-plugin:2.5.1:compile (default-compile) @ motech-platform-email ---
[INFO] Compiling 30 source files to <http://ci.motechproject.org/job/Platform-IntegrationTests/ws/platform/email/target/classes>
[INFO]
[INFO] >>> maven-pmd-plugin:3.5:check (default) @ motech-platform-email >>>
[INFO]
[INFO] --- maven-pmd-plugin:3.5:pmd (pmd) @ motech-platform-email ---
[INFO]
[INFO] <<< maven-pmd-plugin:3.5:check (default) @ motech-platform-email <<<
[INFO]
[INFO] --- maven-pmd-plugin:3.5:check (default) @ motech-platform-email ---
[INFO]
[INFO]
[INFO] >>> maven-pmd-plugin:3.5:cpd-check (default) @ motech-platform-email >>>
[INFO]
[INFO] --- maven-pmd-plugin:3.5:cpd (cpd) @ motech-platform-email ---
[INFO]
[INFO] <<< maven-pmd-plugin:3.5:cpd-check (default) @ motech-platform-email <<<
[INFO]
[INFO] --- maven-pmd-plugin:3.5:cpd-check (default) @ motech-platform-email ---
[INFO]
[INFO]
[INFO] --- maven-checkstyle-plugin:2.10:check (default) @ motech-platform-email ---
[INFO] Starting audit...
<http://ci.motechproject.org/job/Platform-IntegrationTests/ws/platform/email/src/main/java/org/motechproject/email/settings/SettingsDto.java>:105:12: warning: More than 7 parameters (found 9).
Audit done.

[INFO]
[INFO] --- maven-resources-plugin:2.6:testResources (default-testResources) @ motech-platform-email ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 1 resource
[INFO]
[INFO] --- maven-compiler-plugin:2.5.1:testCompile (default-testCompile) @ motech-platform-email ---
[INFO] Compiling 15 source files to <http://ci.motechproject.org/job/Platform-IntegrationTests/ws/platform/email/target/test-classes>
[INFO]
[INFO] --- maven-surefire-plugin:2.17:test (default-test) @ motech-platform-email ---
[INFO] Tests are skipped.
[INFO]
[INFO] --- maven-bundle-plugin:2.5.3:bundle (default-bundle) @ motech-platform-email ---
[WARNING] Bundle org.motechproject:motech-platform-email:bundle:1.0-SNAPSHOT : Export org.motechproject.email.domain, has 1, private references [org.motechproject.email.json],
[INFO]
[INFO] --- maven-resources-plugin:2.6:copy-resources (copy-bundles) @ motech-platform-email ---
[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-email ---
[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-email ---
[INFO] Executing commands
[INFO] 2 of 2 SQL statements executed successfully
[INFO]
[INFO] --- sql-maven-plugin:1.5:execute (create-db) @ motech-platform-email ---
[INFO] Executing commands
[INFO] 2 of 2 SQL statements executed successfully
[INFO]
[INFO] --- maven-failsafe-plugin:2.17:integration-test (integration-test) @ motech-platform-email ---
[INFO] Failsafe report directory: <http://ci.motechproject.org/job/Platform-IntegrationTests/ws/platform/email/target/failsafe-reports>

-------------------------------------------------------
T E S T S
-------------------------------------------------------
Picked up JAVA_TOOL_OPTIONS: -Xmx1024m -XX:MaxPermSize=512m -Xms512m
Java HotSpot(TM) 64-Bit Server VM warning: ignoring option MaxPermSize=512m; support was removed in 8.0
Running org.motechproject.email.it.EmailIntegrationTests
[INFO] Started jetty 6.1.x at port(s) HTTP:8282
[INFO] Initializing Spring FrameworkServlet 'servlet_1'
[INFO] Initialized servlet for org.motechproject.motech-platform-osgi-web-util [69]
Feb 24, 2016 1:37:56 PM com.googlecode.flyway.core.metadatatable.MetaDataTableImpl createIfNotExists
INFO: Creating Metadata table: `motechschema`.`schema_version`
Feb 24, 2016 1:37:56 PM com.googlecode.flyway.core.command.DbMigrate migrate
INFO: Current version of schema `motechschema`: << Empty Schema >>
Feb 24, 2016 1:37:56 PM com.googlecode.flyway.core.command.DbMigrate migrate
WARNING: outOfOrder mode is active. Migration of schema `motechschema` may not be reproducible.
Feb 24, 2016 1:37:56 PM com.googlecode.flyway.core.command.DbMigrate applyMigration
INFO: Migrating schema `motechschema` to version 1
Feb 24, 2016 1:37:57 PM com.googlecode.flyway.core.command.DbMigrate applyMigration
INFO: Migrating schema `motechschema` to version 2
Feb 24, 2016 1:37:57 PM com.googlecode.flyway.core.command.DbMigrate applyMigration
INFO: Migrating schema `motechschema` to version 3
Feb 24, 2016 1:37:57 PM com.googlecode.flyway.core.command.DbMigrate logSummary
INFO: Successfully applied 3 migrations to schema `motechschema` (execution time 00:00.837s).
Feb 24, 2016 1:38:17 PM com.googlecode.flyway.core.metadatatable.MetaDataTableImpl createIfNotExists
INFO: Creating Metadata table: `motechdata`.`schema_version`
Feb 24, 2016 1:38:17 PM com.googlecode.flyway.core.command.DbInit init
INFO: Schema initialized with version: 1
Feb 24, 2016 1:38:17 PM com.googlecode.flyway.core.command.DbMigrate migrate
INFO: Current version of schema `motechdata`: 1
Feb 24, 2016 1:38:17 PM com.googlecode.flyway.core.command.DbMigrate migrate
WARNING: outOfOrder mode is active. Migration of schema `motechdata` may not be reproducible.
Feb 24, 2016 1:38:17 PM com.googlecode.flyway.core.command.DbMigrate logSummary
INFO: Schema `motechdata` is up to date. No migration necessary.
[INFO] Initializing Spring FrameworkServlet 'servlet_3'
[INFO] Initializing Spring FrameworkServlet 'servlet_5'
[INFO] Initialized servlet for org.motechproject.motech-platform-dataservices [79]
Feb 24, 2016 1:38:23 PM com.googlecode.flyway.core.command.DbMigrate migrate
INFO: Current version of schema `motechquartz`: 2
Feb 24, 2016 1:38:23 PM com.googlecode.flyway.core.command.DbMigrate logSummary
INFO: Schema `motechquartz` is up to date. No migration necessary.
[INFO] Initializing Spring FrameworkServlet 'servlet_7'
[INFO] Initialized servlet for org.motechproject.motech-platform-email [13]
[INFO] Initializing Spring FrameworkServlet 'servlet_9'
[INFO] Initialized servlet for org.motechproject.motech-scheduler [107]
[INFO] Destroying Spring FrameworkServlet 'servlet_9'
[INFO] Destroying Spring FrameworkServlet 'servlet_7'
[INFO] Destroying Spring FrameworkServlet 'servlet_5'
[INFO] Destroying Spring FrameworkServlet 'servlet_1'
[INFO] Destroying Spring FrameworkServlet 'servlet_3'
Tests run: 8, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 51.834 sec <<< FAILURE! - in org.motechproject.email.it.EmailIntegrationTests
testEmailSentOnSendEmailEvent(org.motechproject.email.it.EmailChannelBundleIT) Time elapsed: 10.473 sec <<< FAILURE!
java.lang.AssertionError: null
at org.junit.Assert.fail(Assert.java:86)
at org.junit.Assert.assertTrue(Assert.java:41)
at org.junit.Assert.assertNotNull(Assert.java:621)
at org.junit.Assert.assertNotNull(Assert.java:631)
at org.motechproject.email.it.EmailChannelBundleIT.testEmailSentOnSendEmailEvent(EmailChannelBundleIT.java:97)


Results :

Failed tests:
EmailChannelBundleIT.testEmailSentOnSendEmailEvent:97 null

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

[INFO]
[INFO] --- maven-enforcer-plugin:1.4.1:enforce (enforce-no-package-cycles) @ motech-platform-email ---
[INFO] Adding directory <http://ci.motechproject.org/job/Platform-IntegrationTests/ws/platform/email/target/classes> for package cycles search.
[INFO] Adding directory <http://ci.motechproject.org/job/Platform-IntegrationTests/ws/platform/email/target/test-classes> for package cycles search.
[INFO]
[INFO] --- maven-failsafe-plugin:2.17:verify (verify) @ motech-platform-email ---
[INFO] Failsafe report directory: <http://ci.motechproject.org/job/Platform-IntegrationTests/ws/platform/email/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.856s]
[INFO] MOTECH OSGi Platform .............................. SUCCESS [10.223s]
[INFO] MOTECH Platform Server API ........................ SUCCESS [4.372s]
[INFO] MOTECH Platform Commons API ....................... SUCCESS [4.145s]
[INFO] MOTECH Platform Commons Date ...................... SUCCESS [3.850s]
[INFO] MOTECH Pax Test Container ......................... SUCCESS [6.004s]
[INFO] MOTECH Testing Utils .............................. SUCCESS [4.766s]
[INFO] MOTECH Pax Testing ................................ SUCCESS [2.801s]
[INFO] MOTECH Core Config ................................ SUCCESS [13.047s]
[INFO] MOTECH Platform Commons SQL ....................... SUCCESS [8.783s]
[INFO] MOTECH Platform OSGi Extender Fragment ............ SUCCESS [2.403s]
[INFO] MOTECH OSGI Web Util .............................. SUCCESS [17.843s]
[INFO] MOTECH Platform Data Services Migration ........... SUCCESS [1.961s]
[INFO] MOTECH Platform Data Services ..................... SUCCESS [3:07.111s]
[INFO] MOTECH Platform Server Config ..................... SUCCESS [36.489s]
[INFO] MOTECH Platform Event ............................. SUCCESS [55.170s]
[INFO] MOTECH Scheduler Migration ........................ SUCCESS [1.405s]
[INFO] MOTECH Tasks ...................................... SUCCESS [1:36.731s]
[INFO] MOTECH Scheduler .................................. SUCCESS [2:06.466s]
[INFO] MOTECH OSGi Integration Tests ..................... SUCCESS [18.474s]
[INFO] MOTECH Web Security ............................... SUCCESS [3:20.173s]
[INFO] MOTECH Platform Server Bundle ..................... SUCCESS [48.916s]
[INFO] MOTECH Platform Data Services Web ................. SUCCESS [1:55.005s]
[INFO] MOTECH Platform Email ............................. FAILURE [56.422s]
[INFO] MOTECH Admin ...................................... SKIPPED
[INFO] Motech Tomcat IT .................................. SKIPPED
[INFO] MOTECH Platform Server ............................ 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 Secondary Test Bundle SKIPPED
[INFO] MOTECH Platform Data Services Performance Tests ... SKIPPED
[INFO] MOTECH Platform Server WAR Test ................... SKIPPED
[INFO] MOTECH UI Functional 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: 17:08.179s
[INFO] Finished at: Wed Feb 24 13:38:38 UTC 2016
[INFO] Final Memory: 140M/689M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-failsafe-plugin:2.17:verify (verify) on project motech-platform-email: There are test failures.
[ERROR]
[ERROR] Please refer to <http://ci.motechproject.org/job/Platform-IntegrationTests/ws/platform/email/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-email
Build step 'Invoke top-level Maven targets' marked build as failure
Recording test results

Jenkins

unread,
Feb 24, 2016, 10:46:53 AM2/24/16
to motec...@googlegroups.com, mkwiat...@soldevelo.com, pge...@soldevelo.com
Reply all
Reply to author
Forward
0 new messages