Build failed in Jenkins: Platform-Modules #684

4 views
Skip to first unread message

Jenkins

unread,
Jun 9, 2015, 10:08:32 AM6/9/15
to motec...@googlegroups.com
See <http://ci.motechproject.org/job/Platform-Modules/684/>

------------------------------------------
[...truncated 3269 lines...]
Running org.motechproject.commcare.web.AppSchemaChangeControllerTest
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.699 sec - in org.motechproject.commcare.web.AppSchemaChangeControllerTest
Running org.motechproject.commcare.web.SchemaControllerTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.243 sec - in org.motechproject.commcare.web.SchemaControllerTest
Running org.motechproject.commcare.web.StubFormControllerTest
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.03 sec - in org.motechproject.commcare.web.StubFormControllerTest
Running org.motechproject.commcare.web.FullFormControllerTest
[Fatal Error] :-1:-1: Premature end of file.
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.023 sec - in org.motechproject.commcare.web.FullFormControllerTest
Running org.motechproject.commcare.CommcareDataProviderTest
Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.186 sec - in org.motechproject.commcare.CommcareDataProviderTest
Running org.motechproject.commcare.builder.CommcareFormBuilderTest
Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.058 sec - in org.motechproject.commcare.builder.CommcareFormBuilderTest
Running org.motechproject.commcare.client.CommCareAPIHttpClientTest
Tests run: 9, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.004 sec - in org.motechproject.commcare.client.CommCareAPIHttpClientTest
Running org.motechproject.commcare.parser.FormAdapterTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.002 sec - in org.motechproject.commcare.parser.FormAdapterTest
Running org.motechproject.commcare.parser.CaseParserTest
Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.017 sec - in org.motechproject.commcare.parser.CaseParserTest
Running org.motechproject.commcare.gateway.CaseTaskXmlConverterTest
Tests run: 8, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.161 sec - in org.motechproject.commcare.gateway.CaseTaskXmlConverterTest
Running org.motechproject.commcare.util.CaseMapperTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.003 sec - in org.motechproject.commcare.util.CaseMapperTest

Results :

Tests run: 101, 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
[INFO] Started jetty 6.1.x at port(s) HTTP:8181
2015-06-09 14:00:26,084 ERROR [org.ops4j.pax.exam.nat.internal.NativeTestContainer] Bundle [org.motechproject.commcare [13]] is not resolved
2015-06-09 14:00:26,125 ERROR [org.ops4j.pax.exam.nat.internal.NativeTestContainer] Bundle [org.motechproject.motech-tasks-test-utils [16]] is not resolved
2015-06-09 14:00:26,125 ERROR [org.ops4j.pax.exam.nat.internal.NativeTestContainer] Bundle [org.motechproject.motech-platform-server-bundle [28]] is not resolved
2015-06-09 14:00:26,125 ERROR [org.ops4j.pax.exam.nat.internal.NativeTestContainer] Bundle [org.motechproject.motech-tasks [54]] is not resolved
2015-06-09 14:00:26,125 ERROR [org.ops4j.pax.exam.nat.internal.NativeTestContainer] Bundle [org.motechproject.motech-platform-web-security [134]] is not resolved
2015-06-09 14:00:26,125 ERROR [org.ops4j.pax.exam.nat.internal.NativeTestContainer] Bundle [org.motechproject.motech-platform-server-config [144]] is not resolved
[INFO] Initializing Spring FrameworkServlet 'servlet_1'
[INFO] Initialized servlet for org.motechproject.motech-platform-osgi-web-util [33]
Jun 09, 2015 2:00:34 PM com.googlecode.flyway.core.metadatatable.MetaDataTableImpl createIfNotExists
INFO: Creating Metadata table: `motech_data_services`.`schema_version`
Jun 09, 2015 2:00:35 PM com.googlecode.flyway.core.command.DbMigrate migrate
INFO: Current version of schema `motech_data_services`: << Empty Schema >>
Jun 09, 2015 2:00:35 PM com.googlecode.flyway.core.command.DbMigrate migrate
WARNING: outOfOrder mode is active. Migration of schema `motech_data_services` may not be reproducible.
Jun 09, 2015 2:00:35 PM com.googlecode.flyway.core.command.DbMigrate applyMigration
INFO: Migrating schema `motech_data_services` to version 1
Jun 09, 2015 2:00:35 PM com.googlecode.flyway.core.command.DbMigrate applyMigration
INFO: Migrating schema `motech_data_services` to version 2
Jun 09, 2015 2:00:35 PM com.googlecode.flyway.core.command.DbMigrate applyMigration
INFO: Migrating schema `motech_data_services` to version 3
Jun 09, 2015 2:00:35 PM com.googlecode.flyway.core.command.DbMigrate applyMigration
INFO: Migrating schema `motech_data_services` to version 4
Jun 09, 2015 2:00:35 PM com.googlecode.flyway.core.command.DbMigrate applyMigration
INFO: Migrating schema `motech_data_services` to version 5
Jun 09, 2015 2:00:35 PM com.googlecode.flyway.core.command.DbMigrate applyMigration
INFO: Migrating schema `motech_data_services` to version 6
Jun 09, 2015 2:00:35 PM com.googlecode.flyway.core.command.DbMigrate applyMigration
INFO: Migrating schema `motech_data_services` to version 7
Jun 09, 2015 2:00:35 PM com.googlecode.flyway.core.command.DbMigrate applyMigration
INFO: Migrating schema `motech_data_services` to version 8
Jun 09, 2015 2:00:35 PM com.googlecode.flyway.core.command.DbMigrate applyMigration
INFO: Migrating schema `motech_data_services` to version 9
Jun 09, 2015 2:00:35 PM com.googlecode.flyway.core.command.DbMigrate applyMigration
INFO: Migrating schema `motech_data_services` to version 10
Jun 09, 2015 2:00:35 PM com.googlecode.flyway.core.command.DbMigrate applyMigration
INFO: Migrating schema `motech_data_services` to version 11
Jun 09, 2015 2:00:36 PM com.googlecode.flyway.core.command.DbMigrate applyMigration
INFO: Migrating schema `motech_data_services` to version 12
Jun 09, 2015 2:00:36 PM com.googlecode.flyway.core.command.DbMigrate applyMigration
INFO: Migrating schema `motech_data_services` to version 13
Jun 09, 2015 2:00:36 PM com.googlecode.flyway.core.command.DbMigrate applyMigration
INFO: Migrating schema `motech_data_services` to version 14
Jun 09, 2015 2:00:36 PM com.googlecode.flyway.core.command.DbMigrate applyMigration
INFO: Migrating schema `motech_data_services` to version 15
Jun 09, 2015 2:00:36 PM com.googlecode.flyway.core.command.DbMigrate applyMigration
INFO: Migrating schema `motech_data_services` to version 16
Jun 09, 2015 2:00:36 PM com.googlecode.flyway.core.command.DbMigrate applyMigration
INFO: Migrating schema `motech_data_services` to version 17
Jun 09, 2015 2:00:36 PM com.googlecode.flyway.core.command.DbMigrate applyMigration
INFO: Migrating schema `motech_data_services` to version 18
Jun 09, 2015 2:00:36 PM com.googlecode.flyway.core.command.DbMigrate applyMigration
INFO: Migrating schema `motech_data_services` to version 19
Jun 09, 2015 2:00:36 PM com.googlecode.flyway.core.command.DbMigrate applyMigration
INFO: Migrating schema `motech_data_services` to version 20
Jun 09, 2015 2:00:36 PM com.googlecode.flyway.core.command.DbMigrate applyMigration
INFO: Migrating schema `motech_data_services` to version 21
Jun 09, 2015 2:00:36 PM com.googlecode.flyway.core.command.DbMigrate applyMigration
INFO: Migrating schema `motech_data_services` to version 22
Jun 09, 2015 2:00:36 PM com.googlecode.flyway.core.command.DbMigrate applyMigration
INFO: Migrating schema `motech_data_services` to version 23
Jun 09, 2015 2:00:36 PM com.googlecode.flyway.core.command.DbMigrate applyMigration
INFO: Migrating schema `motech_data_services` to version 24
Jun 09, 2015 2:00:36 PM com.googlecode.flyway.core.command.DbMigrate applyMigration
INFO: Migrating schema `motech_data_services` to version 25
Jun 09, 2015 2:00:36 PM com.googlecode.flyway.core.command.DbMigrate applyMigration
INFO: Migrating schema `motech_data_services` to version 26
Jun 09, 2015 2:00:36 PM com.googlecode.flyway.core.command.DbMigrate applyMigration
INFO: Migrating schema `motech_data_services` to version 27
Jun 09, 2015 2:00:36 PM com.googlecode.flyway.core.command.DbMigrate applyMigration
INFO: Migrating schema `motech_data_services` to version 28
Jun 09, 2015 2:00:36 PM com.googlecode.flyway.core.command.DbMigrate applyMigration
INFO: Migrating schema `motech_data_services` to version 29
Jun 09, 2015 2:00:36 PM com.googlecode.flyway.core.command.DbMigrate applyMigration
INFO: Migrating schema `motech_data_services` to version 30
Jun 09, 2015 2:00:36 PM com.googlecode.flyway.core.command.DbMigrate applyMigration
INFO: Migrating schema `motech_data_services` to version 31
Jun 09, 2015 2:00:36 PM com.googlecode.flyway.core.command.DbMigrate applyMigration
INFO: Migrating schema `motech_data_services` to version 32
Jun 09, 2015 2:00:36 PM com.googlecode.flyway.core.command.DbMigrate applyMigration
INFO: Migrating schema `motech_data_services` to version 33
Jun 09, 2015 2:00:36 PM com.googlecode.flyway.core.command.DbMigrate applyMigration
INFO: Migrating schema `motech_data_services` to version 34
Jun 09, 2015 2:00:36 PM com.googlecode.flyway.core.command.DbMigrate applyMigration
INFO: Migrating schema `motech_data_services` to version 35
Jun 09, 2015 2:00:36 PM com.googlecode.flyway.core.command.DbMigrate applyMigration
INFO: Migrating schema `motech_data_services` to version 36
Jun 09, 2015 2:00:37 PM com.googlecode.flyway.core.command.DbMigrate logSummary
INFO: Successfully applied 36 migrations to schema `motech_data_services` (execution time 00:02.273s).
Jun 09, 2015 2:01:10 PM com.googlecode.flyway.core.command.DbMigrate migrate
INFO: Current version of schema `motech_data_services`: 36
Jun 09, 2015 2:01:10 PM com.googlecode.flyway.core.command.DbMigrate migrate
WARNING: outOfOrder mode is active. Migration of schema `motech_data_services` may not be reproducible.
Jun 09, 2015 2:01:10 PM com.googlecode.flyway.core.command.DbMigrate applyMigration
INFO: Migrating schema `motech_data_services` to version 10001
Jun 09, 2015 2:01:10 PM com.googlecode.flyway.core.command.DbMigrate logSummary
INFO: Successfully applied 1 migration to schema `motech_data_services` (execution time 00:00.029s).
[INFO] Initializing Spring FrameworkServlet 'servlet_3'
[INFO] Initializing Spring FrameworkServlet 'servlet_5'
[INFO] Initialized servlet for org.motechproject.motech-platform-dataservices [124]
[INFO] Initializing Spring FrameworkServlet 'servlet_7'
[INFO] Initialized servlet for org.motechproject.motech-platform-server-bundle [28]
[INFO] Initializing Spring FrameworkServlet 'servlet_9'
[INFO] Initialized servlet for org.motechproject.commcare [13]
[INFO] Initializing Spring FrameworkServlet 'servlet_10'
[INFO] Initialized servlet for org.motechproject.motech-tasks [54]
2015-06-09 14:01:35,662 ERROR [org.motechproject.commcare.client.CommCareAPIHttpClient] Unable to connect to Commcare, response status: 0
[INFO] Destroying Spring FrameworkServlet 'servlet_9'
[INFO] Destroying Spring FrameworkServlet 'servlet_10'
[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: 3, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 80.524 sec <<< FAILURE! - in org.motechproject.commcare.it.CommcareIntegrationTests
testCommcareTasksIntegration(org.motechproject.commcare.it.CommcareTasksIntegrationBundleIT) Time elapsed: 70.143 sec <<< ERROR!
org.springframework.expression.spel.SpelEvaluationException: EL1008E:(pos 0): Field or property 'manageTasks' cannot be found on object of type 'org.springframework.security.access.expression.method.MethodSecurityExpressionRoot'
at org.springframework.expression.spel.ast.PropertyOrFieldReference.readProperty(PropertyOrFieldReference.java:208)
at org.springframework.expression.spel.ast.PropertyOrFieldReference.getValueInternal(PropertyOrFieldReference.java:72)
at org.springframework.expression.spel.ast.SpelNodeImpl.getTypedValue(SpelNodeImpl.java:102)
at org.springframework.expression.spel.standard.SpelExpression.getValue(SpelExpression.java:97)
at org.springframework.security.access.expression.ExpressionUtils.evaluateAsBoolean(ExpressionUtils.java:11)
at org.springframework.security.access.expression.method.ExpressionBasedPreInvocationAdvice.before(ExpressionBasedPreInvocationAdvice.java:41)
at org.springframework.security.access.prepost.PreInvocationAuthorizationAdviceVoter.vote(PreInvocationAuthorizationAdviceVoter.java:54)
at org.springframework.security.access.prepost.PreInvocationAuthorizationAdviceVoter.vote(PreInvocationAuthorizationAdviceVoter.java:24)
at org.springframework.security.access.vote.AffirmativeBased.decide(AffirmativeBased.java:62)
at org.springframework.security.access.intercept.AbstractSecurityInterceptor.beforeInvocation(AbstractSecurityInterceptor.java:205)
at org.springframework.security.access.intercept.aopalliance.MethodSecurityInterceptor.invoke(MethodSecurityInterceptor.java:59)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:202)
at com.sun.proxy.$Proxy163.save(Unknown Source)
at org.motechproject.commcare.it.CommcareTasksIntegrationBundleIT.createTestTask(CommcareTasksIntegrationBundleIT.java:178)
at org.motechproject.commcare.it.CommcareTasksIntegrationBundleIT.testCommcareTasksIntegration(CommcareTasksIntegrationBundleIT.java:131)


Results :

Tests in error:
CommcareTasksIntegrationBundleIT.testCommcareTasksIntegration:131->createTestTask:178 ? SpelEvaluation

Tests run: 3, Failures: 0, 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 [13.463s]
[INFO] Alerts Module ..................................... SUCCESS [58.991s]
[INFO] Appointments Module ............................... SUCCESS [55.944s]
[INFO] CMS Lite Module ................................... SUCCESS [54.378s]
[INFO] CommCare Module ................................... FAILURE [1:39.646s]
[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: 4:45.374s
[INFO] Finished at: Tue Jun 09 14:01:39 UTC 2015
[INFO] Final Memory: 81M/274M
[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

Jenkins

unread,
Jun 9, 2015, 11:10:21 AM6/9/15
to motec...@googlegroups.com
Reply all
Reply to author
Forward
0 new messages