Build failed in Jenkins: SwitchYard #278
by jboss-qa-internal@redhat.com
See <http://hudson.qa.jboss.com/hudson/job/SwitchYard/278/changes>
Changes:
[kbabo] SWITCHYARD-697 fix problem parsing config with no component services
------------------------------------------
[...truncated 1300 lines...]
at org.hornetq.core.server.impl.HornetQServerImpl.initialisePart2(HornetQServerImpl.java:1480)
at org.hornetq.core.server.impl.HornetQServerImpl.access$1200(HornetQServerImpl.java:138)
at org.hornetq.core.server.impl.HornetQServerImpl$NoSharedStoreLiveActivation.run(HornetQServerImpl.java:2095)
at org.hornetq.core.server.impl.HornetQServerImpl.start(HornetQServerImpl.java:372)
at org.hornetq.jms.server.impl.JMSServerManagerImpl.start(JMSServerManagerImpl.java:269)
at org.hornetq.jms.server.embedded.EmbeddedJMS.start(EmbeddedJMS.java:102)
at org.switchyard.test.mixins.HornetQMixIn.initialize(HornetQMixIn.java:116)
at org.switchyard.test.mixins.HornetQMixInTest.setup(HornetQMixInTest.java:45)
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.RunBefores.evaluate(RunBefores.java:27)
at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:30)
at org.junit.runners.ParentRunner.run(ParentRunner.java:300)
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: javax.naming.NoInitialContextException: Need to specify class name in environment or system property, or as an applet parameter, or in an application resource file: java.naming.factory.initial
at javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:645)
at javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:288)
at javax.naming.InitialContext.getURLOrDefaultInitCtx(InitialContext.java:325)
at javax.naming.InitialContext.rebind(InitialContext.java:408)
at org.hornetq.core.registry.JndiBindingRegistry.bindToJndi(JndiBindingRegistry.java:133)
at org.hornetq.core.registry.JndiBindingRegistry.bind(JndiBindingRegistry.java:66)
... 41 more
Mar 19, 2012 11:19:17 AM org.hornetq.core.logging.impl.JULLogDelegate info
INFO: Started Netty Acceptor version 3.2.5.Final-a96d88c localhost:5545 for CORE protocol
Mar 19, 2012 11:19:17 AM org.hornetq.core.logging.impl.JULLogDelegate info
INFO: Server is now live
Mar 19, 2012 11:19:17 AM org.hornetq.core.logging.impl.JULLogDelegate info
INFO: HornetQ Server version 2.2.11.Final (HQ_2_2_11_FINAL_AS7, 122) [e2e1e2de-71d6-11e1-86f2-0016363c6857]) started
Mar 19, 2012 11:19:18 AM org.hornetq.core.logging.impl.JULLogDelegate info
INFO: HornetQ Server version 2.2.11.Final (HQ_2_2_11_FINAL_AS7, 122) [e2e1e2de-71d6-11e1-86f2-0016363c6857] stopped
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 5.991 sec
Running org.switchyard.test.mixins.CDIMixInStopStartTest
11:19:19,260 INFO [weld.Version] WELD-000900 1.1.5 (AS71)
11:19:19,342 INFO [weld.Bootstrap] WELD-000101 Transactional services not available. Injection of @Inject UserTransaction not available. Transactional observers will be invoked synchronously.
11:19:20,879 WARN [util.InterceptionTypeRegistry] Class 'javax.ejb.PostActivate' not found, interception based on it is not enabled
11:19:20,880 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: 2.369 sec
Results :
Tests run: 8, Failures: 0, Errors: 0, Skipped: 0
[INFO]
[INFO] --- maven-jar-plugin:2.3.1:jar (default-jar) @ switchyard-test ---
[INFO] Building jar: <http://hudson.qa.jboss.com/hudson/job/SwitchYard/ws/test/target/switchyar...>
[INFO]
[INFO] --- maven-source-plugin:2.1.1:jar-no-fork (attach-sources) @ switchyard-test ---
[INFO] Building jar: <http://hudson.qa.jboss.com/hudson/job/SwitchYard/ws/test/target/switchyar...>
[INFO]
[INFO] --- maven-install-plugin:2.3.1:install (default-install) @ switchyard-test ---
[INFO] Installing <http://hudson.qa.jboss.com/hudson/job/SwitchYard/ws/test/target/switchyar...> to /home/hudson/.m2/repository/org/switchyard/switchyard-test/0.4.0-SNAPSHOT/switchyard-test-0.4.0-SNAPSHOT.jar
[INFO] Installing <http://hudson.qa.jboss.com/hudson/job/SwitchYard/ws/test/pom.xml> to /home/hudson/.m2/repository/org/switchyard/switchyard-test/0.4.0-SNAPSHOT/switchyard-test-0.4.0-SNAPSHOT.pom
[INFO] Installing <http://hudson.qa.jboss.com/hudson/job/SwitchYard/ws/test/target/switchyar...> to /home/hudson/.m2/repository/org/switchyard/switchyard-test/0.4.0-SNAPSHOT/switchyard-test-0.4.0-SNAPSHOT-sources.jar
[INFO]
[INFO] --- maven-checkstyle-plugin:2.8:checkstyle (default-cli) @ switchyard-test ---
[INFO]
[WARNING] Unable to locate Source XRef to link to - DISABLED
[INFO]
[INFO] --- findbugs-maven-plugin:2.3.2:findbugs (default-cli) @ switchyard-test ---
[INFO] ****** FindBugsMojo execute *******
[INFO] canGenerate is true
[INFO] ****** FindBugsMojo executeFindbugs *******
[INFO] Temp File is <http://hudson.qa.jboss.com/hudson/job/SwitchYard/ws/test/target/findbugsT...>
[INFO] Fork Value is true
[java] Warnings generated: 1
[INFO] xmlOutput is true
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building SwitchYard: HornetQ Bus 0.4.0-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] --- maven-clean-plugin:2.4.1:clean (default-clean) @ switchyard-bus-hornetq ---
[INFO] Deleting <http://hudson.qa.jboss.com/hudson/job/SwitchYard/ws/bus/hornetq/target>
[INFO]
[INFO] --- maven-enforcer-plugin:1.0:enforce (enforce-java-version) @ switchyard-bus-hornetq ---
[INFO]
[INFO] --- maven-enforcer-plugin:1.0:enforce (enforce-maven-version) @ switchyard-bus-hornetq ---
[INFO]
[INFO] --- maven-resources-plugin:2.4.3:resources (default-resources) @ switchyard-bus-hornetq ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory <http://hudson.qa.jboss.com/hudson/job/SwitchYard/ws/bus/hornetq/src/main/...>
[INFO]
[INFO] --- maven-compiler-plugin:2.3.2:compile (default-compile) @ switchyard-bus-hornetq ---
[INFO] Compiling 2 source files to <http://hudson.qa.jboss.com/hudson/job/SwitchYard/ws/bus/hornetq/target/cl...>
[INFO]
[INFO] --- maven-resources-plugin:2.4.3:testResources (default-testResources) @ switchyard-bus-hornetq ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 1 resource
[INFO]
[INFO] --- maven-compiler-plugin:2.3.2:testCompile (default-testCompile) @ switchyard-bus-hornetq ---
[INFO] Compiling 3 source files to <http://hudson.qa.jboss.com/hudson/job/SwitchYard/ws/bus/hornetq/target/te...>
[INFO]
[INFO] --- maven-surefire-plugin:2.6:test (default-test) @ switchyard-bus-hornetq ---
[INFO] Surefire report directory: <http://hudson.qa.jboss.com/hudson/job/SwitchYard/ws/bus/hornetq/target/su...>
-------------------------------------------------------
T E S T S
-------------------------------------------------------
Running org.switchyard.bus.hornetq.HornetQDispatcherTest
Mar 19, 2012 11:21:28 AM org.hornetq.core.logging.impl.JULLogDelegate info
INFO: live server is starting..
Mar 19, 2012 11:21:29 AM org.hornetq.core.logging.impl.JULLogDelegate info
INFO: Using NIO Journal
Mar 19, 2012 11:21:29 AM org.hornetq.core.logging.impl.JULLogDelegate warn
WARNING: Security risk! It has been detected that the cluster admin user and password have not been changed from the installation default. Please see the HornetQ user guide, cluster chapter, for instructions on how to do this.
Mar 19, 2012 11:21:32 AM org.hornetq.core.logging.impl.JULLogDelegate info
INFO: HornetQ Server version 2.1.1.Final (Stripey, 119) started
Mar 19, 2012 11:21:40 AM org.hornetq.core.logging.impl.JULLogDelegate info
INFO: HornetQ Server version 2.1.1.Final (Stripey, 119) stopped
Mar 19, 2012 11:21:40 AM org.hornetq.core.logging.impl.JULLogDelegate info
INFO: live server is starting..
Mar 19, 2012 11:21:40 AM org.hornetq.core.logging.impl.JULLogDelegate info
INFO: Using NIO Journal
Mar 19, 2012 11:21:40 AM org.hornetq.core.logging.impl.JULLogDelegate warn
WARNING: Security risk! It has been detected that the cluster admin user and password have not been changed from the installation default. Please see the HornetQ user guide, cluster chapter, for instructions on how to do this.
Mar 19, 2012 11:21:42 AM org.hornetq.core.logging.impl.JULLogDelegate info
INFO: HornetQ Server version 2.1.1.Final (Stripey, 119) started
Mar 19, 2012 11:21:43 AM org.hornetq.core.logging.impl.JULLogDelegate error
SEVERE: Failed to call onMessage()
java.lang.NullPointerException
at org.switchyard.internal.ExchangeImpl.sendInternal(ExchangeImpl.java:275)
at org.switchyard.internal.ExchangeImpl.send(ExchangeImpl.java:184)
at org.switchyard.bus.hornetq.ExchangeSink.handleMessage(HornetQDispatcherTest.java:130)
at org.switchyard.internal.DefaultHandlerChain.handleMessage(DefaultHandlerChain.java:148)
at org.switchyard.internal.DefaultHandlerChain.handle(DefaultHandlerChain.java:121)
at org.switchyard.bus.hornetq.HornetQDispatcher.onMessage(HornetQDispatcher.java:123)
at org.hornetq.core.client.impl.ClientConsumerImpl.callOnMessage(ClientConsumerImpl.java:823)
at org.hornetq.core.client.impl.ClientConsumerImpl.access$100(ClientConsumerImpl.java:46)
at org.hornetq.core.client.impl.ClientConsumerImpl$Runner.run(ClientConsumerImpl.java:941)
at org.hornetq.utils.OrderedExecutorFactory$OrderedExecutor$1.run(OrderedExecutorFactory.java:96)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
at java.lang.Thread.run(Thread.java:662)
Mar 19, 2012 11:21:44 AM org.hornetq.core.logging.impl.JULLogDelegate info
INFO: HornetQ Server version 2.1.1.Final (Stripey, 119) stopped
Mar 19, 2012 11:21:44 AM org.hornetq.core.logging.impl.JULLogDelegate info
INFO: live server is starting..
Mar 19, 2012 11:21:44 AM org.hornetq.core.logging.impl.JULLogDelegate info
INFO: Using NIO Journal
Mar 19, 2012 11:21:44 AM org.hornetq.core.logging.impl.JULLogDelegate warn
WARNING: Security risk! It has been detected that the cluster admin user and password have not been changed from the installation default. Please see the HornetQ user guide, cluster chapter, for instructions on how to do this.
Tests run: 2, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 17.195 sec <<< FAILURE!
Running org.switchyard.bus.hornetq.HornetQBusTest
Mar 19, 2012 11:21:45 AM org.hornetq.core.logging.impl.JULLogDelegate info
INFO: HornetQ Server version 2.1.1.Final (Stripey, 119) started
Mar 19, 2012 11:21:46 AM org.hornetq.core.logging.impl.JULLogDelegate info
INFO: HornetQ Server version 2.1.1.Final (Stripey, 119) stopped
Mar 19, 2012 11:21:46 AM org.hornetq.core.logging.impl.JULLogDelegate info
INFO: live server is starting..
Mar 19, 2012 11:21:46 AM org.hornetq.core.logging.impl.JULLogDelegate info
INFO: Using NIO Journal
Mar 19, 2012 11:21:46 AM org.hornetq.core.logging.impl.JULLogDelegate warn
WARNING: Security risk! It has been detected that the cluster admin user and password have not been changed from the installation default. Please see the HornetQ user guide, cluster chapter, for instructions on how to do this.
Mar 19, 2012 11:21:47 AM org.hornetq.core.logging.impl.JULLogDelegate info
INFO: HornetQ Server version 2.1.1.Final (Stripey, 119) started
Mar 19, 2012 11:21:50 AM org.hornetq.core.logging.impl.JULLogDelegate info
INFO: HornetQ Server version 2.1.1.Final (Stripey, 119) stopped
Mar 19, 2012 11:21:50 AM org.hornetq.core.logging.impl.JULLogDelegate info
INFO: live server is starting..
Mar 19, 2012 11:21:50 AM org.hornetq.core.logging.impl.JULLogDelegate info
INFO: Using NIO Journal
Mar 19, 2012 11:21:50 AM org.hornetq.core.logging.impl.JULLogDelegate warn
WARNING: Security risk! It has been detected that the cluster admin user and password have not been changed from the installation default. Please see the HornetQ user guide, cluster chapter, for instructions on how to do this.
Mar 19, 2012 11:21:51 AM org.hornetq.core.logging.impl.JULLogDelegate info
INFO: HornetQ Server version 2.1.1.Final (Stripey, 119) started
Mar 19, 2012 11:21:53 AM org.hornetq.core.logging.impl.JULLogDelegate warn
WARNING: AIO wasn't located on this platform, it will fall back to using pure Java NIO. If your platform is Linux, install LibAIO to enable the AIO journal
Mar 19, 2012 11:21:53 AM org.hornetq.core.logging.impl.JULLogDelegate info
INFO: live server is starting..
Mar 19, 2012 11:21:53 AM org.hornetq.core.logging.impl.JULLogDelegate info
INFO: Using NIO Journal
Mar 19, 2012 11:21:53 AM org.hornetq.core.logging.impl.JULLogDelegate warn
WARNING: Security risk! It has been detected that the cluster admin user and password have not been changed from the installation default. Please see the HornetQ user guide, cluster chapter, for instructions on how to do this.
Mar 19, 2012 11:21:54 AM org.hornetq.core.logging.impl.JULLogDelegate info
INFO: HornetQ Server version 2.1.1.Final (Stripey, 119) started
Mar 19, 2012 11:21:54 AM org.hornetq.core.logging.impl.JULLogDelegate info
INFO: HornetQ Server version 2.1.1.Final (Stripey, 119) stopped
Mar 19, 2012 11:21:54 AM org.hornetq.core.logging.impl.JULLogDelegate info
INFO: HornetQ Server version 2.1.1.Final (Stripey, 119) stopped
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 10.406 sec
Results :
Tests in error:
testDispatchInOnly(org.switchyard.bus.hornetq.HornetQDispatcherTest)
Tests run: 5, Failures: 0, Errors: 1, Skipped: 0
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] SwitchYard: Build ................................. SUCCESS [23.907s]
[INFO] SwitchYard: Core .................................. SUCCESS [5.387s]
[INFO] SwitchYard: Common ................................ SUCCESS [1:45.135s]
[INFO] SwitchYard: Configuration ......................... SUCCESS [1:45.655s]
[INFO] SwitchYard: API ................................... SUCCESS [1:29.776s]
[INFO] SwitchYard: Extensions WSDL ....................... SUCCESS [1:10.118s]
[INFO] SwitchYard: Runtime ............................... SUCCESS [1:52.931s]
[INFO] SwitchYard: Transform ............................. SUCCESS [3:04.403s]
[INFO] SwitchYard: Validate .............................. SUCCESS [1:31.005s]
[INFO] SwitchYard: Deploy ................................ SUCCESS [2:47.569s]
[INFO] SwitchYard: Admin ................................. SUCCESS [1:32.054s]
[INFO] SwitchYard: Test Utilities ........................ SUCCESS [2:26.308s]
[INFO] SwitchYard: HornetQ Bus ........................... FAILURE [36.228s]
[INFO] SwitchYard: "switchyard" Plugin ................... SKIPPED
[INFO] SwitchYard: CDI Deployer .......................... SKIPPED
[INFO] SwitchYard: JEE Web Application Deployer .......... SKIPPED
[INFO] SwitchYard: Application Archetype ................. SKIPPED
[INFO] SwitchYard: Forge Common .......................... SKIPPED
[INFO] SwitchYard: Forge Plugin .......................... SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 20:50.292s
[INFO] Finished at: Mon Mar 19 11:21:54 EDT 2012
[INFO] Final Memory: 89M/221M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.6:test (default-test) on project switchyard-bus-hornetq: There are test failures.
[ERROR]
[ERROR] Please refer to <http://hudson.qa.jboss.com/hudson/job/SwitchYard/ws/bus/hornetq/target/su...> 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-bus-hornetq
Terminating xvnc.
$ vncserver -kill :60
Killing Xvnc process ID 14085
[CHECKSTYLE] Skipping publisher since build result is FAILURE
[FINDBUGS] Skipping publisher since build result is FAILURE