See <
http://ci.motechproject.org/job/Platform-Modules/801/changes>
Changes:
[kmadej] MOTECH-1807: Marks modules entities as read only
------------------------------------------
[...truncated 3432 lines...]
Results :
Tests run: 102, Failures: 0, Errors: 0, Skipped: 0
[INFO]
[INFO] --- maven-bundle-plugin:2.3.4:bundle (default-bundle) @ commcare ---
[INFO]
[INFO] --- maven-resources-plugin:2.5:copy-resources (copy-bundles) @ commcare ---
[debug] execute contextualize
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 1 resource
[INFO]
[INFO] --- maven-resources-plugin:2.5:copy-resources (copy-test-config-files) @ commcare ---
[debug] execute contextualize
[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) @ commcare ---
[INFO] Executing commands
[INFO] 1 of 1 SQL statements executed successfully
[INFO]
[INFO] --- sql-maven-plugin:1.5:execute (create-db) @ commcare ---
[INFO] Executing commands
[INFO] 1 of 1 SQL statements executed successfully
[INFO]
[INFO] --- maven-failsafe-plugin:2.17:integration-test (integration-test) @ commcare ---
[INFO] Failsafe report directory: <
http://ci.motechproject.org/job/Platform-Modules/ws/commcare/target/failsafe-reports>
-------------------------------------------------------
T E S T S
-------------------------------------------------------
Running org.motechproject.commcare.it.CommcareIntegrationTests
[WARNING] failed
SelectChann...@0.0.0.0:8181: java.net.BindException: Address already in use
[WARNING] failed Server@3e7403c9: java.net.BindException: Address already in use
[ERROR] Exception while initializing Jetty.
java.net.BindException: Address already in use
at sun.nio.ch.Net.bind0(Native Method)
at sun.nio.ch.Net.bind(Net.java:444)
at sun.nio.ch.Net.bind(Net.java:436)
at sun.nio.ch.ServerSocketChannelImpl.bind(ServerSocketChannelImpl.java:214)
at sun.nio.ch.ServerSocketAdaptor.bind(ServerSocketAdaptor.java:74)
at org.mortbay.jetty.nio.SelectChannelConnector.open(SelectChannelConnector.java:216)
at org.mortbay.jetty.nio.SelectChannelConnector.doStart(SelectChannelConnector.java:315)
at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50)
at org.mortbay.jetty.Server.doStart(Server.java:235)
at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50)
at org.apache.felix.http.jetty.internal.JettyService.initializeJetty(JettyService.java:164)
at org.apache.felix.http.jetty.internal.JettyService.startJetty(JettyService.java:115)
at org.apache.felix.http.jetty.internal.JettyService.run(JettyService.java:290)
at java.lang.Thread.run(Thread.java:744)
2015-07-23 12:58:17,777 ERROR [org.ops4j.pax.exam.nat.internal.NativeTestContainer] Bundle [org.motechproject.commcare [13]] is not resolved
2015-07-23 12:58:17,778 ERROR [org.ops4j.pax.exam.nat.internal.NativeTestContainer] Bundle [org.motechproject.motech-platform-server-bundle [26]] is not resolved
2015-07-23 12:58:17,779 ERROR [org.ops4j.pax.exam.nat.internal.NativeTestContainer] Bundle [org.motechproject.motech-tasks [82]] is not resolved
2015-07-23 12:58:17,779 ERROR [org.ops4j.pax.exam.nat.internal.NativeTestContainer] Bundle [org.motechproject.motech-platform-web-security [106]] is not resolved
2015-07-23 12:58:17,780 ERROR [org.ops4j.pax.exam.nat.internal.NativeTestContainer] Bundle [org.motechproject.motech-platform-server-config [114]] is not resolved
2015-07-23 12:58:17,780 ERROR [org.ops4j.pax.exam.nat.internal.NativeTestContainer] Bundle [org.motechproject.motech-tasks-test-utils [162]] is not resolved
[INFO] Initializing Spring FrameworkServlet 'servlet_1'
[INFO] Initialized servlet for org.motechproject.motech-platform-osgi-web-util [43]
Jul 23, 2015 12:58:26 PM com.googlecode.flyway.core.metadatatable.MetaDataTableImpl createIfNotExists
INFO: Creating Metadata table: `motech_data_services`.`schema_version`
Jul 23, 2015 12:58:26 PM com.googlecode.flyway.core.command.DbMigrate migrate
INFO: Current version of schema `motech_data_services`: << Empty Schema >>
Jul 23, 2015 12:58:26 PM com.googlecode.flyway.core.command.DbMigrate migrate
WARNING: outOfOrder mode is active. Migration of schema `motech_data_services` may not be reproducible.
Jul 23, 2015 12:58:26 PM com.googlecode.flyway.core.command.DbMigrate applyMigration
INFO: Migrating schema `motech_data_services` to version 1
Jul 23, 2015 12:58:27 PM com.googlecode.flyway.core.command.DbMigrate applyMigration
INFO: Migrating schema `motech_data_services` to version 2
Jul 23, 2015 12:58:27 PM com.googlecode.flyway.core.command.DbMigrate applyMigration
INFO: Migrating schema `motech_data_services` to version 3
Jul 23, 2015 12:58:27 PM com.googlecode.flyway.core.command.DbMigrate applyMigration
INFO: Migrating schema `motech_data_services` to version 4
Jul 23, 2015 12:58:27 PM com.googlecode.flyway.core.command.DbMigrate applyMigration
INFO: Migrating schema `motech_data_services` to version 5
Jul 23, 2015 12:58:27 PM com.googlecode.flyway.core.command.DbMigrate applyMigration
INFO: Migrating schema `motech_data_services` to version 6
Jul 23, 2015 12:58:27 PM com.googlecode.flyway.core.command.DbMigrate applyMigration
INFO: Migrating schema `motech_data_services` to version 7
Jul 23, 2015 12:58:27 PM com.googlecode.flyway.core.command.DbMigrate applyMigration
INFO: Migrating schema `motech_data_services` to version 8
Jul 23, 2015 12:58:27 PM com.googlecode.flyway.core.command.DbMigrate applyMigration
INFO: Migrating schema `motech_data_services` to version 9
Jul 23, 2015 12:58:27 PM com.googlecode.flyway.core.command.DbMigrate applyMigration
INFO: Migrating schema `motech_data_services` to version 10
Jul 23, 2015 12:58:27 PM com.googlecode.flyway.core.command.DbMigrate applyMigration
INFO: Migrating schema `motech_data_services` to version 11
Jul 23, 2015 12:58:27 PM com.googlecode.flyway.core.command.DbMigrate applyMigration
INFO: Migrating schema `motech_data_services` to version 12
Jul 23, 2015 12:58:27 PM com.googlecode.flyway.core.command.DbMigrate applyMigration
INFO: Migrating schema `motech_data_services` to version 13
Jul 23, 2015 12:58:27 PM com.googlecode.flyway.core.command.DbMigrate applyMigration
INFO: Migrating schema `motech_data_services` to version 14
Jul 23, 2015 12:58:27 PM com.googlecode.flyway.core.command.DbMigrate applyMigration
INFO: Migrating schema `motech_data_services` to version 15
Jul 23, 2015 12:58:27 PM com.googlecode.flyway.core.command.DbMigrate applyMigration
INFO: Migrating schema `motech_data_services` to version 16
Jul 23, 2015 12:58:27 PM com.googlecode.flyway.core.command.DbMigrate applyMigration
INFO: Migrating schema `motech_data_services` to version 17
Jul 23, 2015 12:58:28 PM com.googlecode.flyway.core.command.DbMigrate applyMigration
INFO: Migrating schema `motech_data_services` to version 18
Jul 23, 2015 12:58:28 PM com.googlecode.flyway.core.command.DbMigrate applyMigration
INFO: Migrating schema `motech_data_services` to version 19
Jul 23, 2015 12:58:28 PM com.googlecode.flyway.core.command.DbMigrate applyMigration
INFO: Migrating schema `motech_data_services` to version 20
Jul 23, 2015 12:58:28 PM com.googlecode.flyway.core.command.DbMigrate applyMigration
INFO: Migrating schema `motech_data_services` to version 21
Jul 23, 2015 12:58:28 PM com.googlecode.flyway.core.command.DbMigrate applyMigration
INFO: Migrating schema `motech_data_services` to version 22
Jul 23, 2015 12:58:28 PM com.googlecode.flyway.core.command.DbMigrate applyMigration
INFO: Migrating schema `motech_data_services` to version 23
Jul 23, 2015 12:58:28 PM com.googlecode.flyway.core.command.DbMigrate applyMigration
INFO: Migrating schema `motech_data_services` to version 24
Jul 23, 2015 12:58:28 PM com.googlecode.flyway.core.command.DbMigrate applyMigration
INFO: Migrating schema `motech_data_services` to version 25
Jul 23, 2015 12:58:28 PM com.googlecode.flyway.core.command.DbMigrate applyMigration
INFO: Migrating schema `motech_data_services` to version 26
Jul 23, 2015 12:58:28 PM com.googlecode.flyway.core.command.DbMigrate applyMigration
INFO: Migrating schema `motech_data_services` to version 27
Jul 23, 2015 12:58:28 PM com.googlecode.flyway.core.command.DbMigrate applyMigration
INFO: Migrating schema `motech_data_services` to version 28
Jul 23, 2015 12:58:28 PM com.googlecode.flyway.core.command.DbMigrate applyMigration
INFO: Migrating schema `motech_data_services` to version 29
Jul 23, 2015 12:58:28 PM com.googlecode.flyway.core.command.DbMigrate applyMigration
INFO: Migrating schema `motech_data_services` to version 30
Jul 23, 2015 12:58:28 PM com.googlecode.flyway.core.command.DbMigrate applyMigration
INFO: Migrating schema `motech_data_services` to version 31
Jul 23, 2015 12:58:28 PM com.googlecode.flyway.core.command.DbMigrate applyMigration
INFO: Migrating schema `motech_data_services` to version 32
Jul 23, 2015 12:58:28 PM com.googlecode.flyway.core.command.DbMigrate applyMigration
INFO: Migrating schema `motech_data_services` to version 33
Jul 23, 2015 12:58:28 PM com.googlecode.flyway.core.command.DbMigrate applyMigration
INFO: Migrating schema `motech_data_services` to version 34
Jul 23, 2015 12:58:28 PM com.googlecode.flyway.core.command.DbMigrate applyMigration
INFO: Migrating schema `motech_data_services` to version 35
Jul 23, 2015 12:58:28 PM com.googlecode.flyway.core.command.DbMigrate applyMigration
INFO: Migrating schema `motech_data_services` to version 36
Jul 23, 2015 12:58:28 PM com.googlecode.flyway.core.command.DbMigrate applyMigration
INFO: Migrating schema `motech_data_services` to version 38
Jul 23, 2015 12:58:28 PM com.googlecode.flyway.core.command.DbMigrate logSummary
INFO: Successfully applied 37 migrations to schema `motech_data_services` (execution time 00:02.320s).
Jul 23, 2015 12:59:18 PM com.googlecode.flyway.core.command.DbMigrate migrate
INFO: Current version of schema `motech_data_services`: 38
Jul 23, 2015 12:59:18 PM com.googlecode.flyway.core.command.DbMigrate migrate
WARNING: outOfOrder mode is active. Migration of schema `motech_data_services` may not be reproducible.
Jul 23, 2015 12:59:18 PM com.googlecode.flyway.core.command.DbMigrate applyMigration
INFO: Migrating schema `motech_data_services` to version 10001
Jul 23, 2015 12:59:18 PM com.googlecode.flyway.core.command.DbMigrate applyMigration
INFO: Migrating schema `motech_data_services` to version 10002
Jul 23, 2015 12:59:18 PM com.googlecode.flyway.core.command.DbMigrate logSummary
INFO: Successfully applied 2 migrations to schema `motech_data_services` (execution time 00:00.111s).
[INFO] Initializing Spring FrameworkServlet 'servlet_3'
[INFO] Initializing Spring FrameworkServlet 'servlet_4'
[INFO] Initialized servlet for org.motechproject.motech-platform-dataservices [107]
[INFO] Initializing Spring FrameworkServlet 'servlet_7'
[INFO] Initialized servlet for org.motechproject.motech-platform-server-bundle [26]
[INFO] Initializing Spring FrameworkServlet 'servlet_8'
[INFO] Initialized servlet for org.motechproject.commcare [13]
[INFO] Initializing Spring FrameworkServlet 'servlet_10'
[INFO] Initialized servlet for org.motechproject.motech-tasks [82]
[INFO] Destroying Spring FrameworkServlet 'servlet_8'
[INFO] Destroying Spring FrameworkServlet 'servlet_10'
[INFO] Destroying Spring FrameworkServlet 'servlet_7'
[INFO] Destroying Spring FrameworkServlet 'servlet_4'
[INFO] Destroying Spring FrameworkServlet 'servlet_1'
[INFO] Destroying Spring FrameworkServlet 'servlet_3'
Tests run: 3, Failures: 1, Errors: 1, Skipped: 0, Time elapsed: 520.431 sec <<< FAILURE! - in org.motechproject.commcare.it.CommcareIntegrationTests
testCommcareTasksIntegration(org.motechproject.commcare.it.CommcareTasksIntegrationBundleIT) Time elapsed: 379.756 sec <<< FAILURE!
java.lang.AssertionError: expected:<200> but was:<404>
at org.junit.Assert.fail(Assert.java:88)
at org.junit.Assert.failNotEquals(Assert.java:743)
at org.junit.Assert.assertEquals(Assert.java:118)
at org.junit.Assert.assertEquals(Assert.java:555)
at org.junit.Assert.assertEquals(Assert.java:542)
at org.motechproject.commcare.it.CommcareTasksIntegrationBundleIT.testCommcareTasksIntegration(CommcareTasksIntegrationBundleIT.java:136)
testSettingsController(org.motechproject.commcare.it.CommcareBundleIT) Time elapsed: 125.503 sec <<< ERROR!
org.apache.http.client.HttpResponseException: Not Found
at org.apache.http.impl.client.AbstractResponseHandler.handleResponse(AbstractResponseHandler.java:69)
at org.apache.http.impl.client.BasicResponseHandler.handleResponse(BasicResponseHandler.java:65)
at org.apache.http.impl.client.BasicResponseHandler.handleResponse(BasicResponseHandler.java:51)
at org.motechproject.testing.utils.PollingHttpClient.executeWithWaitForUriAvailability(PollingHttpClient.java:94)
at org.motechproject.testing.utils.PollingHttpClient.execute(PollingHttpClient.java:62)
at org.motechproject.testing.utils.PollingHttpClient.get(PollingHttpClient.java:53)
at org.motechproject.commcare.it.CommcareBundleIT.testSettingsController(CommcareBundleIT.java:54)
Results :
Failed tests:
CommcareTasksIntegrationBundleIT.testCommcareTasksIntegration:136 expected:<200> but was:<404>
Tests in error:
CommcareBundleIT.testSettingsController:54 ? HttpResponse Not Found
Tests run: 3, Failures: 1, Errors: 1, Skipped: 0
[INFO]
[INFO] --- maven-enforcer-plugin:1.3.1:enforce (enforce-no-package-cycles) @ commcare ---
[INFO] Searching directory <
http://ci.motechproject.org/job/Platform-Modules/ws/commcare/target/classes> for package cycles.
[INFO]
[INFO] --- maven-failsafe-plugin:2.17:verify (verify) @ commcare ---
[INFO] Failsafe report directory: <
http://ci.motechproject.org/job/Platform-Modules/ws/commcare/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 Modules .................................... SUCCESS [20.260s]
[INFO] Alerts Module ..................................... SUCCESS [1:37.992s]
[INFO] Appointments Module ............................... SUCCESS [1:30.114s]
[INFO] CMS Lite Module ................................... SUCCESS [1:25.618s]
[INFO] CommCare Module ................................... FAILURE [9:03.304s]
[INFO] Event Logging Module .............................. SKIPPED
[INFO] Hindi Transliteration ............................. SKIPPED
[INFO] Http Agent Module ................................. SKIPPED
[INFO] mTraining Module .................................. SKIPPED
[INFO] SMS Module ........................................ SKIPPED
[INFO] MOTECH Message Campaign ........................... SKIPPED
[INFO] OpenMRS 1.9 ....................................... SKIPPED
[INFO] Pill Reminder Module .............................. SKIPPED
[INFO] Schedule Tracking Modules ......................... SKIPPED
[INFO] MOTECH Batch ...................................... SKIPPED
[INFO] MOTECH Hub ........................................ SKIPPED
[INFO] IVR Module ........................................ SKIPPED
[INFO] DHIS2 module ...................................... SKIPPED
[INFO] Care Services Directory ........................... SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 14:00.380s
[INFO] Finished at: Thu Jul 23 13:06:46 UTC 2015
[INFO] Final Memory: 76M/279M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-failsafe-plugin:2.17:verify (verify) on project commcare: There are test failures.
[ERROR]
[ERROR] Please refer to <
http://ci.motechproject.org/job/Platform-Modules/ws/commcare/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 :commcare
Build step 'Invoke top-level Maven targets' marked build as failure
Recording test results