Build failed in Jenkins: Platform-IntegrationTests #1617

4 views
Skip to first unread message

Jenkins

unread,
Jul 10, 2015, 5:22:59 AM7/10/15
to motec...@googlegroups.com, wstrz...@soldevelo.com
See <http://ci.motechproject.org/job/Platform-IntegrationTests/1617/changes>

Changes:

[wstrzelczyk] MOTECH-934 Browser Compatibility topic

------------------------------------------
[...truncated 15160 lines...]
[WARNING] We have a duplicate org/apache/commons/logging/impl/SimpleLog$1.class in <http://ci.motechproject.org/job/Platform-IntegrationTests/ws/.repository/org/slf4j/jcl-over-slf4j/1.7.2/jcl-over-slf4j-1.7.2.jar>
[WARNING] We have a duplicate org/apache/commons/logging/impl/SimpleLog.class in <http://ci.motechproject.org/job/Platform-IntegrationTests/ws/.repository/org/slf4j/jcl-over-slf4j/1.7.2/jcl-over-slf4j-1.7.2.jar>
[WARNING] We have a duplicate org/apache/commons/logging/Log.class in <http://ci.motechproject.org/job/Platform-IntegrationTests/ws/.repository/org/slf4j/jcl-over-slf4j/1.7.2/jcl-over-slf4j-1.7.2.jar>
[WARNING] We have a duplicate org/apache/commons/logging/LogConfigurationException.class in <http://ci.motechproject.org/job/Platform-IntegrationTests/ws/.repository/org/slf4j/jcl-over-slf4j/1.7.2/jcl-over-slf4j-1.7.2.jar>
[WARNING] We have a duplicate org/apache/commons/logging/LogFactory.class in <http://ci.motechproject.org/job/Platform-IntegrationTests/ws/.repository/org/slf4j/jcl-over-slf4j/1.7.2/jcl-over-slf4j-1.7.2.jar>
[INFO] Replacing <http://ci.motechproject.org/job/Platform-IntegrationTests/ws/modules/scheduler/scheduler/target/standalone/motech-scheduler.jar> with <http://ci.motechproject.org/job/Platform-IntegrationTests/ws/modules/scheduler/scheduler/target/standalone/motech-scheduler-0.27-SNAPSHOT-shaded.jar>
[INFO]
[INFO] --- maven-resources-plugin:2.6:copy-resources (copy-test-config-files) @ motech-scheduler ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 1 resource
[INFO] Copying 1 resource
[INFO]
[INFO] --- maven-clean-plugin:2.5:clean (pre-it-clean-config) @ motech-scheduler ---
[INFO] Deleting /mnt/jenkins/.motech/config (includes = [org.motechproject.motech-scheduler/*.properties], excludes = [])
[INFO]
[INFO] --- sql-maven-plugin:1.5:execute (drop-db) @ motech-scheduler ---
[INFO] Executing commands
[INFO] 1 of 1 SQL statements executed successfully
[INFO]
[INFO] --- sql-maven-plugin:1.5:execute (create-db) @ motech-scheduler ---
[INFO] Executing commands
[INFO] 1 of 1 SQL statements executed successfully
[INFO]
[INFO] --- maven-failsafe-plugin:2.17:integration-test (integration-test) @ motech-scheduler ---
[INFO] Failsafe report directory: <http://ci.motechproject.org/job/Platform-IntegrationTests/ws/modules/scheduler/scheduler/target/failsafe-reports>

-------------------------------------------------------
T E S T S
-------------------------------------------------------
Running org.motechproject.scheduler.it.SchedulerIntegrationTests
2015-07-10 09:25:14,330 WARN [org.motechproject.server.osgi.PlatformActivator] Felix http bundle unavailable, http endpoints will not be active
[INFO] Started jetty 6.1.x at port(s) HTTP:8282
2015-07-10 09:25:16,497 ERROR [org.ops4j.pax.exam.nat.internal.NativeTestContainer] Bundle [org.motechproject.motech-scheduler [13]] is not resolved
2015-07-10 09:25:16,497 ERROR [org.ops4j.pax.exam.nat.internal.NativeTestContainer] Bundle [org.motechproject.motech-platform-server-config [123]] is not resolved
[INFO] Initializing Spring FrameworkServlet 'servlet_1'
[INFO] Initialized servlet for org.motechproject.motech-platform-osgi-web-util [70]
2015-07-10 09:25:18,629 WARN [org.motechproject.osgi.web.UIServiceTrackers] Bean moduleRegistrationData not found in org.motechproject.motech-platform-osgi-web-util
Jul 10, 2015 9:25:20 AM com.googlecode.flyway.core.metadatatable.MetaDataTableImpl createIfNotExists
INFO: Creating Metadata table: `motech_data_services`.`schema_version`
Jul 10, 2015 9:25:20 AM com.googlecode.flyway.core.command.DbMigrate migrate
INFO: Current version of schema `motech_data_services`: << Empty Schema >>
Jul 10, 2015 9:25:20 AM com.googlecode.flyway.core.command.DbMigrate migrate
WARNING: outOfOrder mode is active. Migration of schema `motech_data_services` may not be reproducible.
Jul 10, 2015 9:25:20 AM com.googlecode.flyway.core.command.DbMigrate applyMigration
INFO: Migrating schema `motech_data_services` to version 1
Jul 10, 2015 9:25:20 AM com.googlecode.flyway.core.command.DbMigrate applyMigration
INFO: Migrating schema `motech_data_services` to version 2
Jul 10, 2015 9:25:20 AM com.googlecode.flyway.core.command.DbMigrate applyMigration
INFO: Migrating schema `motech_data_services` to version 3
Jul 10, 2015 9:25:20 AM com.googlecode.flyway.core.command.DbMigrate applyMigration
INFO: Migrating schema `motech_data_services` to version 4
Jul 10, 2015 9:25:21 AM com.googlecode.flyway.core.command.DbMigrate applyMigration
INFO: Migrating schema `motech_data_services` to version 5
Jul 10, 2015 9:25:21 AM com.googlecode.flyway.core.command.DbMigrate applyMigration
INFO: Migrating schema `motech_data_services` to version 6
Jul 10, 2015 9:25:21 AM com.googlecode.flyway.core.command.DbMigrate applyMigration
INFO: Migrating schema `motech_data_services` to version 7
Jul 10, 2015 9:25:21 AM com.googlecode.flyway.core.command.DbMigrate applyMigration
INFO: Migrating schema `motech_data_services` to version 8
Jul 10, 2015 9:25:21 AM com.googlecode.flyway.core.command.DbMigrate applyMigration
INFO: Migrating schema `motech_data_services` to version 9
Jul 10, 2015 9:25:21 AM com.googlecode.flyway.core.command.DbMigrate applyMigration
INFO: Migrating schema `motech_data_services` to version 10
Jul 10, 2015 9:25:21 AM com.googlecode.flyway.core.command.DbMigrate applyMigration
INFO: Migrating schema `motech_data_services` to version 11
Jul 10, 2015 9:25:21 AM com.googlecode.flyway.core.command.DbMigrate applyMigration
INFO: Migrating schema `motech_data_services` to version 12
Jul 10, 2015 9:25:21 AM com.googlecode.flyway.core.command.DbMigrate applyMigration
INFO: Migrating schema `motech_data_services` to version 13
Jul 10, 2015 9:25:21 AM com.googlecode.flyway.core.command.DbMigrate applyMigration
INFO: Migrating schema `motech_data_services` to version 14
Jul 10, 2015 9:25:21 AM com.googlecode.flyway.core.command.DbMigrate applyMigration
INFO: Migrating schema `motech_data_services` to version 15
Jul 10, 2015 9:25:21 AM com.googlecode.flyway.core.command.DbMigrate applyMigration
INFO: Migrating schema `motech_data_services` to version 16
Jul 10, 2015 9:25:21 AM com.googlecode.flyway.core.command.DbMigrate applyMigration
INFO: Migrating schema `motech_data_services` to version 17
Jul 10, 2015 9:25:21 AM com.googlecode.flyway.core.command.DbMigrate applyMigration
INFO: Migrating schema `motech_data_services` to version 18
Jul 10, 2015 9:25:21 AM com.googlecode.flyway.core.command.DbMigrate applyMigration
INFO: Migrating schema `motech_data_services` to version 19
Jul 10, 2015 9:25:21 AM com.googlecode.flyway.core.command.DbMigrate applyMigration
INFO: Migrating schema `motech_data_services` to version 20
Jul 10, 2015 9:25:21 AM com.googlecode.flyway.core.command.DbMigrate applyMigration
INFO: Migrating schema `motech_data_services` to version 21
Jul 10, 2015 9:25:21 AM com.googlecode.flyway.core.command.DbMigrate applyMigration
INFO: Migrating schema `motech_data_services` to version 22
Jul 10, 2015 9:25:21 AM com.googlecode.flyway.core.command.DbMigrate applyMigration
INFO: Migrating schema `motech_data_services` to version 23
Jul 10, 2015 9:25:21 AM com.googlecode.flyway.core.command.DbMigrate applyMigration
INFO: Migrating schema `motech_data_services` to version 24
Jul 10, 2015 9:25:21 AM com.googlecode.flyway.core.command.DbMigrate applyMigration
INFO: Migrating schema `motech_data_services` to version 25
Jul 10, 2015 9:25:21 AM com.googlecode.flyway.core.command.DbMigrate applyMigration
INFO: Migrating schema `motech_data_services` to version 26
Jul 10, 2015 9:25:21 AM com.googlecode.flyway.core.command.DbMigrate applyMigration
INFO: Migrating schema `motech_data_services` to version 27
Jul 10, 2015 9:25:22 AM com.googlecode.flyway.core.command.DbMigrate applyMigration
INFO: Migrating schema `motech_data_services` to version 28
Jul 10, 2015 9:25:22 AM com.googlecode.flyway.core.command.DbMigrate applyMigration
INFO: Migrating schema `motech_data_services` to version 29
Jul 10, 2015 9:25:22 AM com.googlecode.flyway.core.command.DbMigrate applyMigration
INFO: Migrating schema `motech_data_services` to version 30
Jul 10, 2015 9:25:22 AM com.googlecode.flyway.core.command.DbMigrate applyMigration
INFO: Migrating schema `motech_data_services` to version 31
Jul 10, 2015 9:25:22 AM com.googlecode.flyway.core.command.DbMigrate applyMigration
INFO: Migrating schema `motech_data_services` to version 32
Jul 10, 2015 9:25:22 AM com.googlecode.flyway.core.command.DbMigrate applyMigration
INFO: Migrating schema `motech_data_services` to version 33
Jul 10, 2015 9:25:22 AM com.googlecode.flyway.core.command.DbMigrate applyMigration
INFO: Migrating schema `motech_data_services` to version 34
Jul 10, 2015 9:25:22 AM com.googlecode.flyway.core.command.DbMigrate applyMigration
INFO: Migrating schema `motech_data_services` to version 35
Jul 10, 2015 9:25:22 AM com.googlecode.flyway.core.command.DbMigrate applyMigration
INFO: Migrating schema `motech_data_services` to version 36
Jul 10, 2015 9:25:22 AM com.googlecode.flyway.core.command.DbMigrate applyMigration
INFO: Migrating schema `motech_data_services` to version 37
Jul 10, 2015 9:25:22 AM com.googlecode.flyway.core.command.DbMigrate logSummary
INFO: Successfully applied 37 migrations to schema `motech_data_services` (execution time 00:01.926s).
2015-07-10 09:25:35,330 WARN [org.motechproject.mds.annotations.internal.LookupProcessor] Unable to read method public abstract java.util.List org.motechproject.config.service.BundlePropertiesService.findByBundleAndFileName(java.lang.String,java.lang.String) names using paranamer
2015-07-10 09:25:35,331 WARN [org.motechproject.mds.annotations.internal.LookupProcessor] Unable to read method public abstract java.util.List org.motechproject.config.service.BundlePropertiesService.findByBundleAndFileName(java.lang.String,java.lang.String) names using paranamer
2015-07-10 09:25:35,333 WARN [org.motechproject.mds.annotations.internal.LookupProcessor] Unable to read method public abstract java.util.List org.motechproject.config.service.BundlePropertiesService.findByBundle(java.lang.String) names using paranamer
2015-07-10 09:25:35,334 WARN [org.motechproject.mds.annotations.internal.LookupProcessor] Unable to read method public abstract java.util.List org.motechproject.config.service.BundlePropertiesService.findByBundle(java.lang.String) names using paranamer
2015-07-10 09:25:36,018 WARN [DataNucleus.Persistence] Object "org.motechproject.mds.domain.SchemaChangeLock" (id="org.motechproject.mds.domain.SchemaChangeLock:1") is to be detached (using DetachAllOnCommit?) but is not detachable, so being made transient
2015-07-10 09:25:36,486 WARN [org.motechproject.mds.osgi.EntitiesBundleMonitor] No entities bundle to stop
Jul 10, 2015 9:25:42 AM com.googlecode.flyway.core.command.DbMigrate migrate
INFO: Current version of schema `motech_data_services`: 37
Jul 10, 2015 9:25:42 AM com.googlecode.flyway.core.command.DbMigrate migrate
WARNING: outOfOrder mode is active. Migration of schema `motech_data_services` may not be reproducible.
Jul 10, 2015 9:25:42 AM com.googlecode.flyway.core.command.DbMigrate migrate
WARNING: Schema `motech_data_services` has version 37, but no migration could be resolved in the configured locations !
Jul 10, 2015 9:25:42 AM com.googlecode.flyway.core.command.DbMigrate logSummary
INFO: Schema `motech_data_services` is up to date. No migration necessary.
2015-07-10 09:25:43,528 WARN [DataNucleus.Persistence] Object "org.motechproject.mds.domain.SchemaChangeLock" (id="org.motechproject.mds.domain.SchemaChangeLock:1") is to be detached (using DetachAllOnCommit?) but is not detachable, so being made transient
[INFO] Initializing Spring FrameworkServlet 'servlet_3'
[INFO] Initialized servlet for org.motechproject.motech-platform-dataservices [64]
2015-07-10 09:25:44,049 WARN [org.motechproject.osgi.web.UIServiceTrackers] Bean moduleRegistrationData not found in org.motechproject.motech-platform-dataservices
Jul 10, 2015 9:25:46 AM com.googlecode.flyway.core.metadatatable.MetaDataTableImpl createIfNotExists
INFO: Creating Metadata table: `motechquartz`.`schema_version`
Jul 10, 2015 9:25:46 AM com.googlecode.flyway.core.command.DbMigrate migrate
INFO: Current version of schema `motechquartz`: << Empty Schema >>
Jul 10, 2015 9:25:46 AM com.googlecode.flyway.core.command.DbMigrate applyMigration
INFO: Migrating schema `motechquartz` to version 1
Jul 10, 2015 9:25:47 AM com.googlecode.flyway.core.command.DbMigrate logSummary
INFO: Successfully applied 1 migration to schema `motechquartz` (execution time 00:00.535s).
[INFO] Initializing Spring FrameworkServlet 'servlet_4'
[INFO] Initialized servlet for org.motechproject.motech-scheduler [13]

Event waiting Fri Jul 10 09:25:48 UTC 2015
[INFO] Destroying Spring FrameworkServlet 'servlet_4'
[INFO] Destroying Spring FrameworkServlet 'servlet_3'
[INFO] Destroying Spring FrameworkServlet 'servlet_1'
Tests run: 36, Failures: 2, Errors: 0, Skipped: 0, Time elapsed: 76.764 sec <<< FAILURE! - in org.motechproject.scheduler.it.SchedulerIntegrationTests
shouldFilterJobsByActivity(org.motechproject.scheduler.it.MotechSchedulerDatabaseServiceImplBundleIT) Time elapsed: 0.594 sec <<< FAILURE!
junit.framework.AssertionFailedError: expected:<5> but was:<4>
at junit.framework.Assert.fail(Assert.java:57)
at junit.framework.Assert.failNotEquals(Assert.java:329)
at junit.framework.Assert.assertEquals(Assert.java:78)
at junit.framework.Assert.assertEquals(Assert.java:234)
at junit.framework.Assert.assertEquals(Assert.java:241)
at org.motechproject.scheduler.it.MotechSchedulerDatabaseServiceImplBundleIT.shouldFilterJobsByActivity(MotechSchedulerDatabaseServiceImplBundleIT.java:354)

shouldFilterJobsWithSortingAndPagination(org.motechproject.scheduler.it.MotechSchedulerDatabaseServiceImplBundleIT) Time elapsed: 0.643 sec <<< FAILURE!
junit.framework.AssertionFailedError: expected:<1> but was:<0>
at junit.framework.Assert.fail(Assert.java:57)
at junit.framework.Assert.failNotEquals(Assert.java:329)
at junit.framework.Assert.assertEquals(Assert.java:78)
at junit.framework.Assert.assertEquals(Assert.java:234)
at junit.framework.Assert.assertEquals(Assert.java:241)
at org.motechproject.scheduler.it.MotechSchedulerDatabaseServiceImplBundleIT.shouldFilterJobsWithSortingAndPagination(MotechSchedulerDatabaseServiceImplBundleIT.java:391)


Results :

Failed tests:
MotechSchedulerDatabaseServiceImplBundleIT.shouldFilterJobsByActivity:354 expected:<5> but was:<4>
MotechSchedulerDatabaseServiceImplBundleIT.shouldFilterJobsWithSortingAndPagination:391 expected:<1> but was:<0>

Tests run: 36, Failures: 2, Errors: 0, Skipped: 0

[INFO]
[INFO] --- maven-enforcer-plugin:1.3.1:enforce (enforce-no-package-cycles) @ motech-scheduler ---
[INFO] Searching directory <http://ci.motechproject.org/job/Platform-IntegrationTests/ws/modules/scheduler/scheduler/target/classes> for package cycles.
[INFO]
[INFO] --- maven-failsafe-plugin:2.17:verify (verify) @ motech-scheduler ---
[INFO] Failsafe report directory: <http://ci.motechproject.org/job/Platform-IntegrationTests/ws/modules/scheduler/scheduler/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.491s]
[INFO] MOTECH OSGi Platform .............................. SUCCESS [7.671s]
[INFO] MOTECH Platform Server API ........................ SUCCESS [2.562s]
[INFO] MOTECH Platform Commons API ....................... SUCCESS [1.863s]
[INFO] MOTECH Platform Commons Date ...................... SUCCESS [1.729s]
[INFO] MOTECH Pax Test Container ......................... SUCCESS [3.111s]
[INFO] MOTECH Testing Utils .............................. SUCCESS [2.306s]
[INFO] MOTECH Pax Testing ................................ SUCCESS [2.412s]
[INFO] MOTECH Core Config ................................ SUCCESS [8.650s]
[INFO] MOTECH Platform Commons SQL ....................... SUCCESS [6.078s]
[INFO] MOTECH Platform OSGi Extender Fragment ............ SUCCESS [0.999s]
[INFO] MOTECH OSGI Web Util .............................. SUCCESS [14.443s]
[INFO] MOTECH Platform Data Services Migration ........... SUCCESS [0.994s]
[INFO] MOTECH Platform Data Services ..................... SUCCESS [1:46.457s]
[INFO] MOTECH Platform Server Config ..................... SUCCESS [35.591s]
[INFO] MOTECH Platform Event ............................. SUCCESS [47.722s]
[INFO] MOTECH OSGi Integration Tests ..................... SUCCESS [19.114s]
[INFO] MOTECH Web Security ............................... SUCCESS [2:55.463s]
[INFO] MOTECH Platform Server Bundle ..................... SUCCESS [51.940s]
[INFO] MOTECH Platform Data Services Web ................. SUCCESS [1:51.329s]
[INFO] MOTECH Scheduler Migration ........................ SUCCESS [0.992s]
[INFO] MOTECH Scheduler .................................. FAILURE [1:30.895s]
[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 Secondary 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: 11:37.751s
[INFO] Finished at: Fri Jul 10 09:26:29 UTC 2015
[INFO] Final Memory: 102M/808M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-failsafe-plugin:2.17:verify (verify) on project motech-scheduler: There are test failures.
[ERROR]
[ERROR] Please refer to <http://ci.motechproject.org/job/Platform-IntegrationTests/ws/modules/scheduler/scheduler/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-scheduler
Build step 'Invoke top-level Maven targets' marked build as failure
Recording test results

Jenkins

unread,
Jul 10, 2015, 9:17:04 AM7/10/15
to motec...@googlegroups.com, wstrz...@soldevelo.com, pge...@soldevelo.com
Reply all
Reply to author
Forward
0 new messages