[switchyard-dev] Build failed in Jenkins: SwitchYard-Components #846

jboss-qa-internal at redhat.com jboss-qa-internal at redhat.com
Wed Feb 15 09:02:29 EST 2012


See <http://hudson.qa.jboss.com/hudson/job/SwitchYard-Components/846/changes>

Changes:

[kbabo] SWITCHYARD-632 Inject references in CDI beans with no @Service

------------------------------------------
[...truncated 494 lines...]
[INFO] 
[INFO] --- maven-compiler-plugin:2.3.2:compile (default-compile) @ switchyard-component-bean ---
[INFO] Compiling 22 source files to <http://hudson.qa.jboss.com/hudson/job/SwitchYard-Components/ws/bean/target/classes>
[INFO] 
[INFO] --- maven-resources-plugin:2.4.3:testResources (default-testResources) @ switchyard-component-bean ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 4 resources
[INFO] 
[INFO] --- maven-compiler-plugin:2.3.2:testCompile (default-testCompile) @ switchyard-component-bean ---
[INFO] Compiling 57 source files to <http://hudson.qa.jboss.com/hudson/job/SwitchYard-Components/ws/bean/target/test-classes>
[INFO] 
[INFO] --- maven-surefire-plugin:2.6:test (default-test) @ switchyard-component-bean ---
[INFO] Surefire report directory: <http://hudson.qa.jboss.com/hudson/job/SwitchYard-Components/ws/bean/target/surefire-reports>

-------------------------------------------------------
 T E S T S
-------------------------------------------------------
Running org.switchyard.component.bean.deploy.CDIBeanServiceDescriptorTest
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.248 sec
Running org.switchyard.component.bean.tests.ServiceAnnotationTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.498 sec
Running org.switchyard.component.bean.omservice.basic.BasicInOutTest
09:02:17,009 INFO  [weld.Version] WELD-000900 1.1.4 (Final)
09:02:17,153 INFO  [weld.Bootstrap] WELD-000101 Transactional services not available. Injection of @Inject UserTransaction not available. Transactional observers will be invoked synchronously.
09:02:18,355 WARN  [util.InterceptionTypeRegistry] Class 'javax.ejb.PostActivate' not found, interception based on it is not enabled
09:02:18,356 WARN  [util.InterceptionTypeRegistry] Class 'javax.ejb.PrePassivate' not found, interception based on it is not enabled
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 3.15 sec
Running org.switchyard.component.bean.tests.BeanProviderTest
09:02:19,730 INFO  [weld.Bootstrap] WELD-000101 Transactional services not available. Injection of @Inject UserTransaction not available. Transactional observers will be invoked synchronously.
Received message in OneWayBean: hello
09:02:20,220 INFO  [weld.Bootstrap] WELD-000101 Transactional services not available. Injection of @Inject UserTransaction not available. Transactional observers will be invoked synchronously.
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.862 sec
Running org.switchyard.component.bean.config.model.BeanSwitchYardScannerTest
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.776 sec
Running org.switchyard.component.bean.contextinject.ContextInjectTest
09:02:21,346 INFO  [weld.Bootstrap] WELD-000101 Transactional services not available. Injection of @Inject UserTransaction not available. Transactional observers will be invoked synchronously.
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.348 sec
Running org.switchyard.component.bean.multiversionref.MultiVersionServiceTest
09:02:21,694 INFO  [weld.Bootstrap] WELD-000101 Transactional services not available. Injection of @Inject UserTransaction not available. Transactional observers will be invoked synchronously.
09:02:21,945 INFO  [weld.Bootstrap] WELD-000101 Transactional services not available. Injection of @Inject UserTransaction not available. Transactional observers will be invoked synchronously.
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.638 sec
Running org.switchyard.component.bean.jaxbautoregister.JAXBAutoRegisterOverrideTest
09:02:22,815 INFO  [weld.Bootstrap] WELD-000101 Transactional services not available. Injection of @Inject UserTransaction not available. Transactional observers will be invoked synchronously.
Tests run: 2, Failures: 0, Errors: 2, Skipped: 0, Time elapsed: 0.672 sec <<< FAILURE!
Running org.switchyard.component.bean.includeexclude.BeanActivatorWithoutConfigExcludeTest
09:02:23,003 INFO  [weld.Bootstrap] WELD-000101 Transactional services not available. Injection of @Inject UserTransaction not available. Transactional observers will be invoked synchronously.
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.237 sec
Running org.switchyard.component.bean.includeexclude.BeanActivatorWithConfigExcludeTest
09:02:23,537 INFO  [weld.Bootstrap] WELD-000101 Transactional services not available. Injection of @Inject UserTransaction not available. Transactional observers will be invoked synchronously.
Tests run: 2, Failures: 0, Errors: 2, Skipped: 0, Time elapsed: 0.438 sec <<< FAILURE!
Running org.switchyard.component.bean.tests.TransactionPolicyTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.296 sec
Running org.switchyard.component.bean.tests.ReferenceTest
09:02:23,977 INFO  [weld.Bootstrap] WELD-000101 Transactional services not available. Injection of @Inject UserTransaction not available. Transactional observers will be invoked synchronously.
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.182 sec
Running org.switchyard.component.bean.includeexclude.BeanActivatorWithConfigIncludeTest
09:02:24,324 INFO  [weld.Bootstrap] WELD-000101 Transactional services not available. Injection of @Inject UserTransaction not available. Transactional observers will be invoked synchronously.
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.318 sec
Running org.switchyard.component.bean.jaxbautoregister.JAXBAutoRegisterTest
09:02:24,642 INFO  [weld.Bootstrap] WELD-000101 Transactional services not available. Injection of @Inject UserTransaction not available. Transactional observers will be invoked synchronously.
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.33 sec
Running org.switchyard.component.bean.tests.BeanConsumerTest
09:02:24,809 INFO  [weld.Bootstrap] WELD-000101 Transactional services not available. Injection of @Inject UserTransaction not available. Transactional observers will be invoked synchronously.
09:02:24,990 WARN  [transform.TransformSequence] Transformer 'org.switchyard.component.bean.jaxbautoregister.OverrideTransformer' returned a null transformation result.  Check input payload matches requirements of the Transformer implementation.
Received message in OneWayBean: hello
09:02:25,005 INFO  [weld.Bootstrap] WELD-000101 Transactional services not available. Injection of @Inject UserTransaction not available. Transactional observers will be invoked synchronously.
09:02:25,273 WARN  [transform.TransformSequence] Transformer 'org.switchyard.component.bean.jaxbautoregister.OverrideTransformer' returned a null transformation result.  Check input payload matches requirements of the Transformer implementation.
09:02:25,274 WARN  [transform.TransformSequence] Transformer 'org.switchyard.component.bean.jaxbautoregister.OverrideTransformer' returned a null transformation result.  Check input payload matches requirements of the Transformer implementation.
09:02:25,290 INFO  [weld.Bootstrap] WELD-000101 Transactional services not available. Injection of @Inject UserTransaction not available. Transactional observers will be invoked synchronously.
09:02:25,567 INFO  [weld.Bootstrap] WELD-000101 Transactional services not available. Injection of @Inject UserTransaction not available. Transactional observers will be invoked synchronously.
09:02:25,816 WARN  [transform.TransformSequence] Transformer 'org.switchyard.component.bean.jaxbautoregister.OverrideTransformer' returned a null transformation result.  Check input payload matches requirements of the Transformer implementation.
09:02:25,823 ERROR [internal.DefaultHandlerChain] org.switchyard.component.bean.BeanComponentException was thrown by handler(provider): Invocation of operation 'reply' on bean component 'org.switchyard.component.bean.tests.RequestResponseBean' failed with exception.  See attached cause. --- Caused by java.lang.reflect.InvocationTargetException: null --- Caused by org.switchyard.component.bean.tests.ConsumerException: throw me a remote exception please!!
java.lang.reflect.InvocationTargetException
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
	at java.lang.reflect.Method.invoke(Method.java:597)
	at org.switchyard.component.bean.ServiceProxyHandler.handle(ServiceProxyHandler.java:132)
	at org.switchyard.component.bean.ServiceProxyHandler.handleMessage(ServiceProxyHandler.java:89)
	at org.switchyard.internal.DefaultHandlerChain.handleMessage(DefaultHandlerChain.java:148)
	at org.switchyard.internal.DefaultHandlerChain.handle(DefaultHandlerChain.java:121)
	at org.switchyard.internal.LocalDispatcher.dispatch(LocalExchangeBus.java:72)
	at org.switchyard.internal.ExchangeImpl.sendInternal(ExchangeImpl.java:255)
	at org.switchyard.internal.ExchangeImpl.send(ExchangeImpl.java:178)
	at org.switchyard.component.bean.ClientProxyBean$ClientProxyInvocationHandler.invoke(ClientProxyBean.java:284)
	at $Proxy36.reply(Unknown Source)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
	at java.lang.reflect.Method.invoke(Method.java:597)
	at org.jboss.weld.bean.proxy.AbstractBeanInstance.invoke(AbstractBeanInstance.java:44)
	at org.jboss.weld.bean.proxy.ProxyMethodHandler.invoke(ProxyMethodHandler.java:105)
	at org.jboss.weld.proxies.RequestResponse$1366014919$Proxy$_$$_WeldClientProxy.reply(RequestResponse$1366014919$Proxy$_$$_WeldClientProxy.java)
	at org.switchyard.component.bean.tests.ConsumerBean.consumeInOutService(ConsumerBean.java:56)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
	at java.lang.reflect.Method.invoke(Method.java:597)
	at org.switchyard.component.bean.ServiceProxyHandler.handle(ServiceProxyHandler.java:132)
	at org.switchyard.component.bean.ServiceProxyHandler.handleMessage(ServiceProxyHandler.java:89)
	at org.switchyard.internal.DefaultHandlerChain.handleMessage(DefaultHandlerChain.java:148)
	at org.switchyard.internal.DefaultHandlerChain.handle(DefaultHandlerChain.java:121)
	at org.switchyard.internal.LocalDispatcher.dispatch(LocalExchangeBus.java:72)
	at org.switchyard.internal.ExchangeImpl.sendInternal(ExchangeImpl.java:255)
	at org.switchyard.internal.ExchangeImpl.send(ExchangeImpl.java:178)
	at org.switchyard.test.Invoker.sendInOut(Invoker.java:223)
	at org.switchyard.component.bean.tests.BeanConsumerTest.consumeInOnlyServiceFromBean_Fault_service_exception(BeanConsumerTest.java:79)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
	at java.lang.reflect.Method.invoke(Method.java:597)
	at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:45)
	at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15)
	at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:42)
	at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:20)
	at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:263)
	at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:68)
	at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:47)
	at org.junit.runners.ParentRunner$3.run(ParentRunner.java:231)
	at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:60)
	at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:229)
	at org.junit.runners.ParentRunner.access$000(ParentRunner.java:50)
	at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:222)
	at org.junit.runners.ParentRunner.run(ParentRunner.java:300)
	at org.switchyard.test.SwitchYardRunner.run(SwitchYardRunner.java:78)
	at org.apache.maven.surefire.junit4.JUnit4TestSet.execute(JUnit4TestSet.java:59)
	at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.executeTestSet(AbstractDirectoryTestSuite.java:120)
	at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute(AbstractDirectoryTestSuite.java:103)
	at org.apache.maven.surefire.Surefire.run(Surefire.java:169)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
	at java.lang.reflect.Method.invoke(Method.java:597)
	at org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(SurefireBooter.java:350)
	at org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:1021)
Caused by: org.switchyard.component.bean.tests.ConsumerException: throw me a remote exception please!!
	... 29 more
java.lang.reflect.InvocationTargetException
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
	at java.lang.reflect.Method.invoke(Method.java:597)
	at org.switchyard.component.bean.ServiceProxyHandler.handle(ServiceProxyHandler.java:132)
	at org.switchyard.component.bean.ServiceProxyHandler.handleMessage(ServiceProxyHandler.java:89)
	at org.switchyard.internal.DefaultHandlerChain.handleMessage(DefaultHandlerChain.java:148)
	at org.switchyard.internal.DefaultHandlerChain.handle(DefaultHandlerChain.java:121)
	at org.switchyard.internal.LocalDispatcher.dispatch(LocalExchangeBus.java:72)
	at org.switchyard.internal.ExchangeImpl.sendInternal(ExchangeImpl.java:255)
	at org.switchyard.internal.ExchangeImpl.send(ExchangeImpl.java:178)
	at org.switchyard.test.Invoker.sendInOut(Invoker.java:223)
	at org.switchyard.component.bean.tests.BeanConsumerTest.consumeInOnlyServiceFromBean_Fault_service_exception(BeanConsumerTest.java:79)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
	at java.lang.reflect.Method.invoke(Method.java:597)
	at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:45)
	at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15)
	at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:42)
	at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:20)
	at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:263)
	at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:68)
	at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:47)
	at org.junit.runners.ParentRunner$3.run(ParentRunner.java:231)
	at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:60)
	at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:229)
	at org.junit.runners.ParentRunner.access$000(ParentRunner.java:50)
	at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:222)
	at org.junit.runners.ParentRunner.run(ParentRunner.java:300)
	at org.switchyard.test.SwitchYardRunner.run(SwitchYardRunner.java:78)
	at org.apache.maven.surefire.junit4.JUnit4TestSet.execute(JUnit4TestSet.java:59)
	at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.executeTestSet(AbstractDirectoryTestSuite.java:120)
	at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute(AbstractDirectoryTestSuite.java:103)
	at org.apache.maven.surefire.Surefire.run(Surefire.java:169)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
	at java.lang.reflect.Method.invoke(Method.java:597)
	at org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(SurefireBooter.java:350)
	at org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:1021)
Caused by: org.switchyard.component.bean.tests.ConsumerException: remote-exception-received
	at org.switchyard.component.bean.tests.ConsumerBean.consumeInOutService(ConsumerBean.java:64)
	... 41 more
09:02:25,829 ERROR [internal.DefaultHandlerChain] org.switchyard.component.bean.BeanComponentException was thrown by handler(provider): Invocation of operation 'consumeInOutService' on bean component 'org.switchyard.component.bean.tests.ConsumerBean' failed with exception.  See attached cause. --- Caused by java.lang.reflect.InvocationTargetException: null --- Caused by org.switchyard.component.bean.tests.ConsumerException: remote-exception-received
Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.037 sec
Running org.switchyard.component.bean.config.model.BeanModelTests
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.556 sec
Running org.switchyard.component.bean.includeexclude.BeanActivatorWithoutConfigIncludeTest
09:02:26,413 INFO  [weld.Bootstrap] WELD-000101 Transactional services not available. Injection of @Inject UserTransaction not available. Transactional observers will be invoked synchronously.
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.253 sec
Running org.switchyard.component.bean.tests.InputTypeMismatchTest
09:02:26,663 INFO  [weld.Bootstrap] WELD-000101 Transactional services not available. Injection of @Inject UserTransaction not available. Transactional observers will be invoked synchronously.
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.323 sec

Results :

Tests in error: 
  test_userOverride(org.switchyard.component.bean.jaxbautoregister.JAXBAutoRegisterOverrideTest)
  Test mechanism
  test(org.switchyard.component.bean.includeexclude.BeanActivatorWithConfigExcludeTest)
  Test mechanism

Tests run: 30, Failures: 0, Errors: 4, Skipped: 0

[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO] 
[INFO] SwitchYard: Components ............................ SUCCESS [34.936s]
[INFO] SwitchYard: Common Component Libraries ............ SUCCESS [0.781s]
[INFO] SwitchYard: Rules Common Component Library ........ SUCCESS [29.652s]
[INFO] SwitchYard: Bean Component ........................ FAILURE [19.194s]
[INFO] SwitchYard: Rules Component ....................... SKIPPED
[INFO] SwitchYard: BPM Component ......................... SKIPPED
[INFO] SwitchYard: SOAP Component ........................ SKIPPED
[INFO] SwitchYard: BPEL Component ........................ SKIPPED
[INFO] SwitchYard: Component Tests ....................... SKIPPED
[INFO] SwitchYard: Camel AS7 Component ................... SKIPPED
[INFO] SwitchYard: Camel Component ....................... SKIPPED
[INFO] SwitchYard: Camel CDI Component ................... SKIPPED
[INFO] SwitchYard: Clojure Component ..................... SKIPPED
[INFO] SwitchYard: HornetQ Component ..................... SKIPPED
[INFO] SwitchYard: Components Forge Plugin ............... SKIPPED
[INFO] SwitchYard: Bean Component Forge Plugin ........... SKIPPED
[INFO] SwitchYard: Camel Component Forge Plugin .......... SKIPPED
[INFO] SwitchYard: Clojure Component Forge Plugin ........ SKIPPED
[INFO] SwitchYard: SOAP Gateway Forge Plugin ............. SKIPPED
[INFO] SwitchYard: Rules Component Forge Plugin .......... SKIPPED
[INFO] SwitchYard: BPM Component Forge Plugin ............ SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 1:31.263s
[INFO] Finished at: Wed Feb 15 09:02:27 EST 2012
[INFO] Final Memory: 57M/302M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.6:test (default-test) on project switchyard-component-bean: There are test failures.
[ERROR] 
[ERROR] Please refer to <http://hudson.qa.jboss.com/hudson/job/SwitchYard-Components/ws/bean/target/surefire-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 :switchyard-component-bean
[CHECKSTYLE] Skipping publisher since build result is FAILURE
[FINDBUGS] Skipping publisher since build result is FAILURE



More information about the switchyard-dev mailing list