Build failed in Jenkins: Platform-IntegrationTests #2338

21 views
Skip to first unread message

Jenkins

unread,
Sep 20, 2016, 9:43:51 AM9/20/16
to motec...@googlegroups.com, pawel....@gmail.com
See <http://ci.motechproject.org/job/Platform-IntegrationTests/2338/changes>

Changes:

[pawel.albecki] MOTECH-2936: Fix Text Limits on OpenMRS Observations

[pawel.albecki] MOTECH-2936: use varchar(20000)

------------------------------------------
[...truncated 9882 lines...]
at org.apache.felix.framework.BundleContextImpl.addServiceListener(BundleContextImpl.java:269)
at org.eclipse.gemini.blueprint.util.OsgiListenerUtils.registerListener(OsgiListenerUtils.java:97)
at org.eclipse.gemini.blueprint.util.OsgiListenerUtils.addSingleServiceListener(OsgiListenerUtils.java:164)
at org.eclipse.gemini.blueprint.util.OsgiListenerUtils.addSingleServiceListener(OsgiListenerUtils.java:138)
at org.eclipse.gemini.blueprint.service.importer.support.internal.aop.ServiceDynamicInterceptor.afterPropertiesSet(ServiceDynamicInterceptor.java:467)
at org.eclipse.gemini.blueprint.service.importer.support.OsgiServiceProxyFactoryBean.createProxy(OsgiServiceProxyFactoryBean.java:191)
at org.eclipse.gemini.blueprint.service.importer.support.AbstractServiceImporterProxyFactoryBean.getObject(AbstractServiceImporterProxyFactoryBean.java:95)
at org.eclipse.gemini.blueprint.service.importer.support.OsgiServiceProxyFactoryBean.getObject(OsgiServiceProxyFactoryBean.java:125)
at org.springframework.beans.factory.support.FactoryBeanRegistrySupport.doGetObjectFromFactoryBean(FactoryBeanRegistrySupport.java:166)
at org.springframework.beans.factory.support.FactoryBeanRegistrySupport.getObjectFromFactoryBean(FactoryBeanRegistrySupport.java:102)
at org.springframework.beans.factory.support.AbstractBeanFactory.getObjectForBeanInstance(AbstractBeanFactory.java:1467)
at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:246)
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:195)
at org.springframework.transaction.interceptor.TransactionAspectSupport.determineTransactionManager(TransactionAspectSupport.java:331)
at org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction(TransactionAspectSupport.java:250)
at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:94)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
at org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:633)
at org.motechproject.security.repository.MotechUsersDao$$EnhancerBySpringCGLIB$$5130d7a9.findByUserName(<generated>)
at org.motechproject.security.service.authentication.MotechAuthenticationProvider.retrieveUser(MotechAuthenticationProvider.java:76)
at org.springframework.security.authentication.dao.AbstractUserDetailsAuthenticationProvider.authenticate(AbstractUserDetailsAuthenticationProvider.java:132)
at org.springframework.security.authentication.ProviderManager.authenticate(ProviderManager.java:156)
at org.springframework.security.web.authentication.UsernamePasswordAuthenticationFilter.attemptAuthentication(UsernamePasswordAuthenticationFilter.java:92)
at org.springframework.security.web.authentication.AbstractAuthenticationProcessingFilter.doFilter(AbstractAuthenticationProcessingFilter.java:211)
at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342)
at org.springframework.security.web.authentication.logout.LogoutFilter.doFilter(LogoutFilter.java:110)
at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342)
at org.springframework.security.web.context.SecurityContextPersistenceFilter.doFilter(SecurityContextPersistenceFilter.java:87)
at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342)
at org.springframework.security.web.access.channel.ChannelProcessingFilter.doFilter(ChannelProcessingFilter.java:144)
at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342)
at org.springframework.security.web.FilterChainProxy.doFilterInternal(FilterChainProxy.java:192)
at org.springframework.security.web.FilterChainProxy.doFilter(FilterChainProxy.java:160)
at org.motechproject.security.filter.MotechDelegatingFilterProxy.doFilter(MotechDelegatingFilterProxy.java:74)
at org.apache.felix.http.base.internal.handler.FilterHandler.doHandle(FilterHandler.java:88)
at org.apache.felix.http.base.internal.handler.FilterHandler.handle(FilterHandler.java:76)
at org.apache.felix.http.base.internal.dispatch.InvocationFilterChain.doFilter(InvocationFilterChain.java:47)
at org.apache.felix.http.base.internal.dispatch.HttpFilterChain.doFilter(HttpFilterChain.java:33)
at org.apache.felix.http.base.internal.dispatch.FilterPipeline.dispatch(FilterPipeline.java:48)
at org.apache.felix.http.base.internal.dispatch.Dispatcher.dispatch(Dispatcher.java:39)
at org.apache.felix.http.base.internal.DispatcherServlet.service(DispatcherServlet.java:67)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:511)
at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:390)
at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:182)
at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:765)
at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152)
at org.mortbay.jetty.Server.handle(Server.java:326)
at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:542)
at org.mortbay.jetty.HttpConnection$RequestHandler.content(HttpConnection.java:943)
at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:756)
at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:218)
at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:404)
at org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:410)
at org.mortbay.thread.QueuedThreadPool$PoolThread.run(QueuedThreadPool.java:582)
[INFO] Destroying Spring FrameworkServlet 'servlet_17'
[INFO] Destroying Spring FrameworkServlet 'servlet_8'
[INFO] Destroying Spring FrameworkServlet 'servlet_4'
[INFO] Destroying Spring FrameworkServlet 'servlet_1'
[INFO] Destroying Spring FrameworkServlet 'servlet_14'
Tests run: 52, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 151.775 sec - in org.motechproject.security.it.WebSecurityBundleIntegrationTests
Running org.motechproject.security.it.WebSecurityIntegrationTests
Tests run: 13, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.32 sec - in org.motechproject.security.it.WebSecurityIntegrationTests

Results :

Tests run: 65, Failures: 0, Errors: 0, Skipped: 0

[INFO]
[INFO] --- maven-enforcer-plugin:1.4.1:enforce (enforce-no-package-cycles) @ motech-platform-web-security ---
[INFO] Adding directory <http://ci.motechproject.org/job/Platform-IntegrationTests/ws/platform/web-security/target/classes> for package cycles search.
[INFO] Adding directory <http://ci.motechproject.org/job/Platform-IntegrationTests/ws/platform/web-security/target/test-classes> for package cycles search.
[INFO]
[INFO] --- maven-failsafe-plugin:2.17:verify (verify) @ motech-platform-web-security ---
[INFO] Failsafe report directory: <http://ci.motechproject.org/job/Platform-IntegrationTests/ws/platform/web-security/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] --- maven-install-plugin:2.5.2:install (default-install) @ motech-platform-web-security ---
[INFO] Installing <http://ci.motechproject.org/job/Platform-IntegrationTests/ws/platform/web-security/target/motech-platform-web-security-0.30-SNAPSHOT.jar> to <http://ci.motechproject.org/job/Platform-IntegrationTests/ws/.repository/org/motechproject/motech-platform-web-security/0.30-SNAPSHOT/motech-platform-web-security-0.30-SNAPSHOT.jar>
[INFO] Installing <http://ci.motechproject.org/job/Platform-IntegrationTests/ws/platform/web-security/pom.xml> to <http://ci.motechproject.org/job/Platform-IntegrationTests/ws/.repository/org/motechproject/motech-platform-web-security/0.30-SNAPSHOT/motech-platform-web-security-0.30-SNAPSHOT.pom>
[INFO]
[INFO] --- maven-bundle-plugin:2.5.3:install (default-install) @ motech-platform-web-security ---
[INFO] Installing org/motechproject/motech-platform-web-security/0.30-SNAPSHOT/motech-platform-web-security-0.30-SNAPSHOT.jar
[INFO] Writing OBR metadata
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building MOTECH Platform Server Bundle 0.30-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ motech-platform-server-bundle ---
[INFO] Deleting <http://ci.motechproject.org/job/Platform-IntegrationTests/ws/platform/server-bundle/target>
[INFO]
[INFO] --- maven-enforcer-plugin:1.4.1:enforce (enforce-dependency-convergence) @ motech-platform-server-bundle ---
[INFO]
[INFO] --- properties-maven-plugin:1.0-alpha-2:read-project-properties (default) @ motech-platform-server-bundle ---
[INFO]
[INFO] --- maven-dependency-plugin:2.8:resolve (list-dependencies) @ motech-platform-server-bundle ---
[INFO]
[INFO] --- exec-maven-plugin:1.2.1:exec (exec-npm-install) @ motech-platform-server-bundle ---
npm WARN install Couldn't install optional dependency: Unsupported

> node...@3.8.0 install <http://ci.motechproject.org/job/Platform-IntegrationTests/ws/ui/node_modules/node-sass>
> node scripts/install.js

Binary downloaded and installed at <http://ci.motechproject.org/job/Platform-IntegrationTests/ws/ui/node_modules/node-sass/vendor/linux-x64-47/binding.node>

> node...@3.8.0 postinstall <http://ci.motechproject.org/job/Platform-IntegrationTests/ws/ui/node_modules/node-sass>
> node scripts/build.js

"<http://ci.motechproject.org/job/Platform-IntegrationTests/ws/ui/node_modules/node-sass/vendor/linux-x64-47/binding.node"> exists.
testing binary.
Binary is fine; exiting.
mini...@0.0.8 node_modules/mkdirp/node_modules/minimist -> node_modules/fstream/node_modules/minimist
- npm...@3.1.2 node_modules/node-gyp/node_modules/npmlog
mkd...@0.5.1 node_modules/mkdirp -> node_modules/vinyl-fs/node_modules/mkdirp
mote...@1.0.0 <http://ci.motechproject.org/job/Platform-IntegrationTests/ws/ui>
+-- bo...@1.6.9
| +-- mkd...@0.5.0
| | `-- mini...@0.0.8
| +-- tar...@1.8.1
| | `-- tar-s...@1.3.1
| | `-- readabl...@2.0.4
| | `-- util-de...@1.0.2
| `-- update-...@0.3.2
| `-- latest-...@1.0.1
| `-- packag...@1.2.0
| `-- g...@3.3.1
| +-- dupl...@3.4.2
| | `-- readabl...@2.0.4
| | `-- util-de...@1.0.2
| `-- read-al...@3.0.1
| `-- readabl...@2.0.4
| `-- util-de...@1.0.2
+-- gu...@3.9.1
| `-- viny...@0.3.14
| `-- mkd...@0.5.1
| `-- mini...@0.0.8
+-- gulp...@2.2.0
| `-- thro...@2.0.1
| `-- readabl...@2.0.6
| +-- process-ne...@1.0.7
| `-- util-de...@1.0.2
+-- gulp-...@4.3.9
| `-- readabl...@2.1.5
| +-- process-ne...@1.0.7
| `-- util-de...@1.0.2
`-- node...@3.8.0
+-- mkd...@0.5.1
| `-- mini...@0.0.8
`-- node...@3.4.0
+-- fst...@1.0.10
| `-- mkd...@0.5.1
| `-- mini...@0.0.8
+-- mkd...@0.5.1
| `-- mini...@0.0.8
`-- npm...@3.1.2

npm WARN EPACKAGEJSON mote...@1.0.0 No repository field.
[INFO]
[INFO] --- jslint-maven-plugin:1.0.1:jslint (default) @ motech-platform-server-bundle ---
[INFO] Parsing: startup.js
[INFO] Parsing: services.js
[INFO] Parsing: app.js
[INFO] Parsing: controllers.js
[INFO]
[INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ motech-platform-server-bundle ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 8 resources
[INFO] Copying 28 resources
[INFO] skip non existing resourceDirectory <http://ci.motechproject.org/job/Platform-IntegrationTests/ws/platform/server-bundle/target/generated-pages>
[INFO]
[INFO] --- exec-maven-plugin:1.2.1:exec (exec-gulp-header) @ motech-platform-server-bundle ---
module.js:328
throw err;
^

Error: Cannot find module 'mkdirp'
at Function.Module._resolveFilename (module.js:326:15)
at Function.Module._load (module.js:277:25)
at Module.require (module.js:354:17)
at require (internal/module.js:12:17)
at Object.<anonymous> (<http://ci.motechproject.org/job/Platform-IntegrationTests/ws/ui/gulpfile.js/tasks/headerInc.js>:4:14)
at Module._compile (module.js:398:26)
at Object.Module._extensions..js (module.js:405:10)
at Module.load (module.js:344:32)
at Function.Module._load (module.js:301:12)
at Module.require (module.js:354:17)
at require (internal/module.js:12:17)
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] MOTECH ............................................ SUCCESS [3.607s]
[INFO] MOTECH OSGi Platform .............................. SUCCESS [10.868s]
[INFO] MOTECH Platform Commons API ....................... SUCCESS [3.037s]
[INFO] MOTECH Platform Commons Date ...................... SUCCESS [3.473s]
[INFO] MOTECH Pax Test Container ......................... SUCCESS [3.890s]
[INFO] MOTECH Testing Utils .............................. SUCCESS [3.910s]
[INFO] MOTECH Pax Testing ................................ SUCCESS [3.571s]
[INFO] MOTECH Core Config ................................ SUCCESS [9.615s]
[INFO] MOTECH Platform Commons SQL ....................... SUCCESS [10.546s]
[INFO] MOTECH Platform OSGi Extender Fragment ............ SUCCESS [2.746s]
[INFO] MOTECH OSGI Web Util .............................. SUCCESS [14.444s]
[INFO] MOTECH Platform Data Services Migration ........... SUCCESS [2.167s]
[INFO] MOTECH Platform Data Services ..................... SUCCESS [2:31.573s]
[INFO] MOTECH Platform Server Config ..................... SUCCESS [30.525s]
[INFO] MOTECH Platform Event ............................. SUCCESS [46.483s]
[INFO] MOTECH Scheduler Migration ........................ SUCCESS [1.938s]
[INFO] MOTECH Tasks Test Bundle .......................... SUCCESS [2.039s]
[INFO] MOTECH Tasks ...................................... SUCCESS [2:52.322s]
[INFO] MOTECH Scheduler .................................. SUCCESS [1:37.877s]
[INFO] MOTECH OSGi Integration Tests ..................... SUCCESS [17.414s]
[INFO] MOTECH Web Security ............................... SUCCESS [2:39.054s]
[INFO] MOTECH Platform Server Bundle ..................... FAILURE [14.000s]
[INFO] MOTECH Platform Data Services Web ................. SKIPPED
[INFO] MOTECH Platform Email ............................. SKIPPED
[INFO] MOTECH Upload Test Bundle ......................... SKIPPED
[INFO] MOTECH Admin ...................................... SKIPPED
[INFO] MOTECH Tomcat IT .................................. SKIPPED
[INFO] MOTECH Platform Server ............................ SKIPPED
[INFO] MOTECH Tasks Test Utils ........................... 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 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: 12:47.382s
[INFO] Finished at: Tue Sep 20 13:43:52 UTC 2016
[INFO] Final Memory: 117M/806M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.codehaus.mojo:exec-maven-plugin:1.2.1:exec (exec-gulp-header) on project motech-platform-server-bundle: Command execution failed. Process exited with an error: 1 (Exit value: 1) -> [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/MojoExecutionException
[ERROR]
[ERROR] After correcting the problems, you can resume the build with the command
[ERROR] mvn <goals> -rf :motech-platform-server-bundle
Build step 'Invoke top-level Maven targets' marked build as failure
Recording test results

Jenkins

unread,
Sep 26, 2016, 7:10:03 AM9/26/16
to motec...@googlegroups.com, pawel....@gmail.com, twitc...@gmail.com, nkow...@soldevelo.com
See <http://ci.motechproject.org/job/Platform-IntegrationTests/2339/changes>

Changes:

[twitcherus] Removed adding velocity.log.1 file to PR during push on github

[nkowalik] MOTECH-2927: Hover on Bubble Should Show Full Path

------------------------------------------
[...truncated 2982 lines...]
at org.springframework.expression.spel.ast.MethodReference.getValueInternal(MethodReference.java:95)
at org.springframework.expression.spel.ast.MethodReference.access$000(MethodReference.java:44)
at org.springframework.expression.spel.ast.MethodReference$MethodValueRef.getValue(MethodReference.java:258)
at org.springframework.expression.spel.ast.CompoundExpression.getValueInternal(CompoundExpression.java:82)
at org.springframework.expression.spel.ast.SpelNodeImpl.getTypedValue(SpelNodeImpl.java:102)
at org.springframework.expression.spel.standard.SpelExpression.getValue(SpelExpression.java:103)
at org.springframework.integration.util.AbstractExpressionEvaluator.evaluateExpression(AbstractExpressionEvaluator.java:126)
at org.springframework.integration.util.MessagingMethodInvokerHelper.processInternal(MessagingMethodInvokerHelper.java:225)
at org.springframework.integration.util.MessagingMethodInvokerHelper.process(MessagingMethodInvokerHelper.java:125)
at org.springframework.integration.handler.MethodInvokingMessageProcessor.processMessage(MethodInvokingMessageProcessor.java:73)
at org.springframework.integration.handler.MethodInvokingMessageHandler.handleMessageInternal(MethodInvokingMessageHandler.java:59)
at org.springframework.integration.handler.AbstractMessageHandler.handleMessage(AbstractMessageHandler.java:73)
at org.springframework.integration.dispatcher.UnicastingDispatcher.doDispatch(UnicastingDispatcher.java:114)
at org.springframework.integration.dispatcher.UnicastingDispatcher.dispatch(UnicastingDispatcher.java:101)
at org.springframework.integration.channel.AbstractSubscribableChannel.doSend(AbstractSubscribableChannel.java:61)
at org.springframework.integration.channel.AbstractMessageChannel.send(AbstractMessageChannel.java:157)
at org.springframework.integration.core.MessagingTemplate.doSend(MessagingTemplate.java:288)
at org.springframework.integration.core.MessagingTemplate.send(MessagingTemplate.java:149)
at org.springframework.integration.core.MessagingTemplate.convertAndSend(MessagingTemplate.java:189)
at org.springframework.integration.gateway.MessagingGatewaySupport.send(MessagingGatewaySupport.java:183)
at org.springframework.integration.jms.ChannelPublishingJmsMessageListener$GatewayDelegate.send(ChannelPublishingJmsMessageListener.java:423)
at org.springframework.integration.jms.ChannelPublishingJmsMessageListener.onMessage(ChannelPublishingJmsMessageListener.java:277)
at org.springframework.jms.listener.AbstractMessageListenerContainer.doInvokeListener(AbstractMessageListenerContainer.java:555)
at org.springframework.jms.listener.AbstractMessageListenerContainer.invokeListener(AbstractMessageListenerContainer.java:515)
at org.springframework.jms.listener.AbstractMessageListenerContainer.doExecuteListener(AbstractMessageListenerContainer.java:485)
at org.springframework.jms.listener.AbstractPollingMessageListenerContainer.doReceiveAndExecute(AbstractPollingMessageListenerContainer.java:325)
at org.springframework.jms.listener.AbstractPollingMessageListenerContainer.receiveAndExecute(AbstractPollingMessageListenerContainer.java:263)
at org.springframework.jms.listener.DefaultMessageListenerContainer$AsyncMessageListenerInvoker.invokeListener(DefaultMessageListenerContainer.java:1103)
at org.springframework.jms.listener.DefaultMessageListenerContainer$AsyncMessageListenerInvoker.executeOngoingLoop(DefaultMessageListenerContainer.java:1095)
at org.springframework.jms.listener.DefaultMessageListenerContainer$AsyncMessageListenerInvoker.run(DefaultMessageListenerContainer.java:992)
at java.lang.Thread.run(Thread.java:745)
2016-09-26 11:10:07,004 ERROR [org.motechproject.event.listener.impl.ServerEventRelay] Handling error for event with subject MESSAGE_REDELIVERY_TEST
java.lang.RuntimeException: Message redelivery test.
at org.motechproject.event.it.InvalidMessageEventListener.handle(InvalidMessageEventListener.java:27)
at org.motechproject.event.listener.impl.ServerEventRelay.handleQueueEvent(ServerEventRelay.java:164)
at org.motechproject.event.listener.impl.ServerEventRelay.relayQueueEvent(ServerEventRelay.java:94)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:497)
at org.springframework.expression.spel.support.ReflectiveMethodExecutor.execute(ReflectiveMethodExecutor.java:69)
at org.springframework.expression.spel.ast.MethodReference.getValueInternal(MethodReference.java:95)
at org.springframework.expression.spel.ast.MethodReference.access$000(MethodReference.java:44)
at org.springframework.expression.spel.ast.MethodReference$MethodValueRef.getValue(MethodReference.java:258)
at org.springframework.expression.spel.ast.CompoundExpression.getValueInternal(CompoundExpression.java:82)
at org.springframework.expression.spel.ast.SpelNodeImpl.getTypedValue(SpelNodeImpl.java:102)
at org.springframework.expression.spel.standard.SpelExpression.getValue(SpelExpression.java:103)
at org.springframework.integration.util.AbstractExpressionEvaluator.evaluateExpression(AbstractExpressionEvaluator.java:126)
at org.springframework.integration.util.MessagingMethodInvokerHelper.processInternal(MessagingMethodInvokerHelper.java:225)
at org.springframework.integration.util.MessagingMethodInvokerHelper.process(MessagingMethodInvokerHelper.java:125)
at org.springframework.integration.handler.MethodInvokingMessageProcessor.processMessage(MethodInvokingMessageProcessor.java:73)
at org.springframework.integration.handler.MethodInvokingMessageHandler.handleMessageInternal(MethodInvokingMessageHandler.java:59)
at org.springframework.integration.handler.AbstractMessageHandler.handleMessage(AbstractMessageHandler.java:73)
at org.springframework.integration.dispatcher.UnicastingDispatcher.doDispatch(UnicastingDispatcher.java:114)
at org.springframework.integration.dispatcher.UnicastingDispatcher.dispatch(UnicastingDispatcher.java:101)
at org.springframework.integration.channel.AbstractSubscribableChannel.doSend(AbstractSubscribableChannel.java:61)
at org.springframework.integration.channel.AbstractMessageChannel.send(AbstractMessageChannel.java:157)
at org.springframework.integration.core.MessagingTemplate.doSend(MessagingTemplate.java:288)
at org.springframework.integration.core.MessagingTemplate.send(MessagingTemplate.java:149)
at org.springframework.integration.core.MessagingTemplate.convertAndSend(MessagingTemplate.java:189)
at org.springframework.integration.gateway.MessagingGatewaySupport.send(MessagingGatewaySupport.java:183)
at org.springframework.integration.jms.ChannelPublishingJmsMessageListener$GatewayDelegate.send(ChannelPublishingJmsMessageListener.java:423)
at org.springframework.integration.jms.ChannelPublishingJmsMessageListener.onMessage(ChannelPublishingJmsMessageListener.java:277)
at org.springframework.jms.listener.AbstractMessageListenerContainer.doInvokeListener(AbstractMessageListenerContainer.java:555)
at org.springframework.jms.listener.AbstractMessageListenerContainer.invokeListener(AbstractMessageListenerContainer.java:515)
at org.springframework.jms.listener.AbstractMessageListenerContainer.doExecuteListener(AbstractMessageListenerContainer.java:485)
at org.springframework.jms.listener.AbstractPollingMessageListenerContainer.doReceiveAndExecute(AbstractPollingMessageListenerContainer.java:325)
at org.springframework.jms.listener.AbstractPollingMessageListenerContainer.receiveAndExecute(AbstractPollingMessageListenerContainer.java:263)
at org.springframework.jms.listener.DefaultMessageListenerContainer$AsyncMessageListenerInvoker.invokeListener(DefaultMessageListenerContainer.java:1103)
at org.springframework.jms.listener.DefaultMessageListenerContainer$AsyncMessageListenerInvoker.executeOngoingLoop(DefaultMessageListenerContainer.java:1095)
at org.springframework.jms.listener.DefaultMessageListenerContainer$AsyncMessageListenerInvoker.run(DefaultMessageListenerContainer.java:992)
at java.lang.Thread.run(Thread.java:745)
2016-09-26 11:10:11,006 ERROR [org.motechproject.event.listener.impl.ServerEventRelay] Handling error for event with subject MESSAGE_REDELIVERY_TEST
java.lang.RuntimeException: Message redelivery test.
at org.motechproject.event.it.InvalidMessageEventListener.handle(InvalidMessageEventListener.java:27)
at org.motechproject.event.listener.impl.ServerEventRelay.handleQueueEvent(ServerEventRelay.java:164)
at org.motechproject.event.listener.impl.ServerEventRelay.relayQueueEvent(ServerEventRelay.java:94)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:497)
at org.springframework.expression.spel.support.ReflectiveMethodExecutor.execute(ReflectiveMethodExecutor.java:69)
at org.springframework.expression.spel.ast.MethodReference.getValueInternal(MethodReference.java:95)
at org.springframework.expression.spel.ast.MethodReference.access$000(MethodReference.java:44)
at org.springframework.expression.spel.ast.MethodReference$MethodValueRef.getValue(MethodReference.java:258)
at org.springframework.expression.spel.ast.CompoundExpression.getValueInternal(CompoundExpression.java:82)
at org.springframework.expression.spel.ast.SpelNodeImpl.getTypedValue(SpelNodeImpl.java:102)
at org.springframework.expression.spel.standard.SpelExpression.getValue(SpelExpression.java:103)
at org.springframework.integration.util.AbstractExpressionEvaluator.evaluateExpression(AbstractExpressionEvaluator.java:126)
at org.springframework.integration.util.MessagingMethodInvokerHelper.processInternal(MessagingMethodInvokerHelper.java:225)
at org.springframework.integration.util.MessagingMethodInvokerHelper.process(MessagingMethodInvokerHelper.java:125)
at org.springframework.integration.handler.MethodInvokingMessageProcessor.processMessage(MethodInvokingMessageProcessor.java:73)
at org.springframework.integration.handler.MethodInvokingMessageHandler.handleMessageInternal(MethodInvokingMessageHandler.java:59)
at org.springframework.integration.handler.AbstractMessageHandler.handleMessage(AbstractMessageHandler.java:73)
at org.springframework.integration.dispatcher.UnicastingDispatcher.doDispatch(UnicastingDispatcher.java:114)
at org.springframework.integration.dispatcher.UnicastingDispatcher.dispatch(UnicastingDispatcher.java:101)
at org.springframework.integration.channel.AbstractSubscribableChannel.doSend(AbstractSubscribableChannel.java:61)
at org.springframework.integration.channel.AbstractMessageChannel.send(AbstractMessageChannel.java:157)
at org.springframework.integration.core.MessagingTemplate.doSend(MessagingTemplate.java:288)
at org.springframework.integration.core.MessagingTemplate.send(MessagingTemplate.java:149)
at org.springframework.integration.core.MessagingTemplate.convertAndSend(MessagingTemplate.java:189)
at org.springframework.integration.gateway.MessagingGatewaySupport.send(MessagingGatewaySupport.java:183)
at org.springframework.integration.jms.ChannelPublishingJmsMessageListener$GatewayDelegate.send(ChannelPublishingJmsMessageListener.java:423)
at org.springframework.integration.jms.ChannelPublishingJmsMessageListener.onMessage(ChannelPublishingJmsMessageListener.java:277)
at org.springframework.jms.listener.AbstractMessageListenerContainer.doInvokeListener(AbstractMessageListenerContainer.java:555)
at org.springframework.jms.listener.AbstractMessageListenerContainer.invokeListener(AbstractMessageListenerContainer.java:515)
at org.springframework.jms.listener.AbstractMessageListenerContainer.doExecuteListener(AbstractMessageListenerContainer.java:485)
at org.springframework.jms.listener.AbstractPollingMessageListenerContainer.doReceiveAndExecute(AbstractPollingMessageListenerContainer.java:325)
at org.springframework.jms.listener.AbstractPollingMessageListenerContainer.receiveAndExecute(AbstractPollingMessageListenerContainer.java:263)
at org.springframework.jms.listener.DefaultMessageListenerContainer$AsyncMessageListenerInvoker.invokeListener(DefaultMessageListenerContainer.java:1103)
at org.springframework.jms.listener.DefaultMessageListenerContainer$AsyncMessageListenerInvoker.executeOngoingLoop(DefaultMessageListenerContainer.java:1095)
at org.springframework.jms.listener.DefaultMessageListenerContainer$AsyncMessageListenerInvoker.run(DefaultMessageListenerContainer.java:992)
at java.lang.Thread.run(Thread.java:745)
2016-09-26 11:10:11,006 ERROR [org.motechproject.event.listener.impl.ServerEventRelay] Discarding Motech event MotechEvent{id=4aeae99f-1b74-491f-b389-a69b6102b90a, subject='MESSAGE_REDELIVERY_TEST', redelivery-count=3, invalid=true, discarded=true, broadcast=false, destination='MESSAGE_REDELIVERY_TEST', callbackName=null, metadata={}, parameters={}}. Max retry count reached.
Handled at times: [2016-09-26T11:10:04.946Z, 2016-09-26T11:10:05.006Z, 2016-09-26T11:10:07.004Z, 2016-09-26T11:10:11.005Z]
2016-09-26 11:10:17,981 ERROR [org.motechproject.event.listener.impl.ServerEventRelay] Handling error for event with subject exception-handling-test
org.motechproject.event.domain.TestListenerException: Thrown intentionally from tests
at org.motechproject.event.domain.BuggyListener.handle(BuggyListener.java:18)
at org.motechproject.event.listener.impl.ServerEventRelay.handleQueueEvent(ServerEventRelay.java:164)
at org.motechproject.event.listener.impl.ServerEventRelay.relayQueueEvent(ServerEventRelay.java:94)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:497)
at org.springframework.expression.spel.support.ReflectiveMethodExecutor.execute(ReflectiveMethodExecutor.java:69)
at org.springframework.expression.spel.ast.MethodReference.getValueInternal(MethodReference.java:95)
at org.springframework.expression.spel.ast.MethodReference.access$000(MethodReference.java:44)
at org.springframework.expression.spel.ast.MethodReference$MethodValueRef.getValue(MethodReference.java:258)
at org.springframework.expression.spel.ast.CompoundExpression.getValueInternal(CompoundExpression.java:82)
at org.springframework.expression.spel.ast.SpelNodeImpl.getTypedValue(SpelNodeImpl.java:102)
at org.springframework.expression.spel.standard.SpelExpression.getValue(SpelExpression.java:103)
at org.springframework.integration.util.AbstractExpressionEvaluator.evaluateExpression(AbstractExpressionEvaluator.java:126)
at org.springframework.integration.util.MessagingMethodInvokerHelper.processInternal(MessagingMethodInvokerHelper.java:225)
at org.springframework.integration.util.MessagingMethodInvokerHelper.process(MessagingMethodInvokerHelper.java:125)
at org.springframework.integration.handler.MethodInvokingMessageProcessor.processMessage(MethodInvokingMessageProcessor.java:73)
at org.springframework.integration.handler.MethodInvokingMessageHandler.handleMessageInternal(MethodInvokingMessageHandler.java:59)
at org.springframework.integration.handler.AbstractMessageHandler.handleMessage(AbstractMessageHandler.java:73)
at org.springframework.integration.dispatcher.UnicastingDispatcher.doDispatch(UnicastingDispatcher.java:114)
at org.springframework.integration.dispatcher.UnicastingDispatcher.dispatch(UnicastingDispatcher.java:101)
at org.springframework.integration.channel.AbstractSubscribableChannel.doSend(AbstractSubscribableChannel.java:61)
at org.springframework.integration.channel.AbstractMessageChannel.send(AbstractMessageChannel.java:157)
at org.springframework.integration.core.MessagingTemplate.doSend(MessagingTemplate.java:288)
at org.springframework.integration.core.MessagingTemplate.send(MessagingTemplate.java:149)
at org.springframework.integration.core.MessagingTemplate.convertAndSend(MessagingTemplate.java:189)
at org.springframework.integration.gateway.MessagingGatewaySupport.send(MessagingGatewaySupport.java:183)
at org.springframework.integration.jms.ChannelPublishingJmsMessageListener$GatewayDelegate.send(ChannelPublishingJmsMessageListener.java:423)
at org.springframework.integration.jms.ChannelPublishingJmsMessageListener.onMessage(ChannelPublishingJmsMessageListener.java:277)
at org.springframework.jms.listener.AbstractMessageListenerContainer.doInvokeListener(AbstractMessageListenerContainer.java:555)
at org.springframework.jms.listener.AbstractMessageListenerContainer.invokeListener(AbstractMessageListenerContainer.java:515)
at org.springframework.jms.listener.AbstractMessageListenerContainer.doExecuteListener(AbstractMessageListenerContainer.java:485)
at org.springframework.jms.listener.AbstractPollingMessageListenerContainer.doReceiveAndExecute(AbstractPollingMessageListenerContainer.java:325)
at org.springframework.jms.listener.AbstractPollingMessageListenerContainer.receiveAndExecute(AbstractPollingMessageListenerContainer.java:263)
at org.springframework.jms.listener.DefaultMessageListenerContainer$AsyncMessageListenerInvoker.invokeListener(DefaultMessageListenerContainer.java:1103)
at org.springframework.jms.listener.DefaultMessageListenerContainer$AsyncMessageListenerInvoker.executeOngoingLoop(DefaultMessageListenerContainer.java:1095)
at org.springframework.jms.listener.DefaultMessageListenerContainer$AsyncMessageListenerInvoker.run(DefaultMessageListenerContainer.java:992)
at java.lang.Thread.run(Thread.java:745)
[INFO] Destroying Spring FrameworkServlet 'servlet_1'
Tests run: 12, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 36.303 sec <<< FAILURE! - in org.motechproject.event.it.EventIntegrationTests
shouldNotTriggerAllListenersWhenOneListenerFails(org.motechproject.event.it.ServerEventRelayBundleIT) Time elapsed: 2.565 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.event.it.ServerEventRelayBundleIT.shouldNotTriggerAllListenersWhenOneListenerFails(ServerEventRelayBundleIT.java:104)

Running org.motechproject.event.it.AnnotationBasedHandlerIT
Tests run: 1, Failures: 0, Errors: 0, Skipped: 1, Time elapsed: 0.001 sec - in org.motechproject.event.it.AnnotationBasedHandlerIT

Results :

Failed tests:
ServerEventRelayBundleIT.shouldNotTriggerAllListenersWhenOneListenerFails:104 expected:<1> but was:<0>

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

[INFO]
[INFO] --- maven-enforcer-plugin:1.4.1:enforce (enforce-no-package-cycles) @ motech-platform-event ---
[INFO] Adding directory <http://ci.motechproject.org/job/Platform-IntegrationTests/ws/platform/event/target/classes> for package cycles search.
[INFO] Adding directory <http://ci.motechproject.org/job/Platform-IntegrationTests/ws/platform/event/target/test-classes> for package cycles search.
[INFO]
[INFO] --- maven-failsafe-plugin:2.17:verify (verify) @ motech-platform-event ---
[INFO] Failsafe report directory: <http://ci.motechproject.org/job/Platform-IntegrationTests/ws/platform/event/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.665s]
[INFO] MOTECH OSGi Platform .............................. SUCCESS [8.944s]
[INFO] MOTECH Platform Commons API ....................... SUCCESS [3.238s]
[INFO] MOTECH Platform Commons Date ...................... SUCCESS [2.749s]
[INFO] MOTECH Pax Test Container ......................... SUCCESS [3.178s]
[INFO] MOTECH Testing Utils .............................. SUCCESS [3.463s]
[INFO] MOTECH Pax Testing ................................ SUCCESS [2.783s]
[INFO] MOTECH Core Config ................................ SUCCESS [11.281s]
[INFO] MOTECH Platform Commons SQL ....................... SUCCESS [6.276s]
[INFO] MOTECH Platform OSGi Extender Fragment ............ SUCCESS [1.663s]
[INFO] MOTECH OSGI Web Util .............................. SUCCESS [12.629s]
[INFO] MOTECH Platform Data Services Migration ........... SUCCESS [1.626s]
[INFO] MOTECH Platform Data Services ..................... SUCCESS [2:09.734s]
[INFO] MOTECH Platform Server Config ..................... SUCCESS [23.306s]
[INFO] MOTECH Platform Event ............................. FAILURE [39.134s]
[INFO] MOTECH Scheduler Migration ........................ SKIPPED
[INFO] MOTECH Tasks Test Bundle .......................... SKIPPED
[INFO] MOTECH Tasks ...................................... SKIPPED
[INFO] MOTECH Scheduler .................................. SKIPPED
[INFO] MOTECH OSGi Integration Tests ..................... SKIPPED
[INFO] MOTECH Web Security ............................... SKIPPED
[INFO] MOTECH Platform Server Bundle ..................... SKIPPED
[INFO] MOTECH Platform Data Services Web ................. SKIPPED
[INFO] MOTECH Platform Email ............................. SKIPPED
[INFO] MOTECH Upload Test Bundle ......................... SKIPPED
[INFO] MOTECH Admin ...................................... SKIPPED
[INFO] MOTECH Tomcat IT .................................. SKIPPED
[INFO] MOTECH Platform Server ............................ SKIPPED
[INFO] MOTECH Tasks Test Utils ........................... 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 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:15.325s
[INFO] Finished at: Mon Sep 26 11:10:21 UTC 2016
[INFO] Final Memory: 94M/682M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-failsafe-plugin:2.17:verify (verify) on project motech-platform-event: There are test failures.
[ERROR]
[ERROR] Please refer to <http://ci.motechproject.org/job/Platform-IntegrationTests/ws/platform/event/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-event

Jenkins

unread,
Sep 27, 2016, 6:09:58 AM9/27/16
to motec...@googlegroups.com, pkorn...@soldevelo.com, pawel....@gmail.com, twitc...@gmail.com, nkow...@soldevelo.com
Reply all
Reply to author
Forward
0 new messages