Skip to content

Failed

Scenario: Start event broker for all scenarios.Scenario: Start event broker for all scenarios (from org.eclipse.kapua.service.device.integration.RunDeviceDataI9nTest)

Failing for the past 3 builds (Since Unstable #2 )
Took 1.3 sec.

Error Message

Could not initialize class org.eclipse.kapua.commons.event.ServiceEventBusManager

Stacktrace

java.lang.NoClassDefFoundError: Could not initialize class org.eclipse.kapua.commons.event.ServiceEventBusManager

Standard Output

###############################################################################
# Copyright (c) 2017 Eurotech and/or its affiliates and others
#
# All rights reserved. This program and the accompanying materials
# are made available under the terms of the Eclipse Public License v1.0
# which accompanies this distribution, and is available at
# http://www.eclipse.org/legal/epl-v10.html
#
# Contributors:
#     Eurotech - initial API and implementation
###############################################################################
@device
Feature: Device data scenarios
06:44:37.339 [main] INFO  o.eclipse.kapua.qa.steps.BasicSteps - Wait multiplier active: 4.0
06:44:37.340 [main] INFO  org.eclipse.kapua.qa.steps.DBHelper - Setting up mock database
06:44:37.473 [main] INFO  org.reflections.Reflections - Reflections took 2 ms to scan 12 urls, producing 839 keys and 852 values 
06:44:37.614 [main] INFO  o.e.k.s.l.KapuaLiquibaseClient - Executing pre master files...
06:44:37.614 [main] INFO  o.e.k.s.l.KapuaLiquibaseClient - 	Master Liquibase files found: 3
06:44:37.615 [main] INFO  o.e.k.s.l.KapuaLiquibaseClient - 		Excuting liquibase script: /tmp/genie.kapua/kapua-liquibase/changelog-authorization-master.pre.xml
06:44:37.636 [main] INFO  o.e.k.s.l.KapuaLiquibaseClient - 		Excuting liquibase script: /tmp/genie.kapua/kapua-liquibase/changelog-event-store-master.pre.xml
06:44:37.665 [main] INFO  o.e.k.s.l.KapuaLiquibaseClient - 		Excuting liquibase script: /tmp/genie.kapua/kapua-liquibase/changelog-system-configurations-master.pre.xml
06:44:37.681 [main] INFO  o.e.k.s.l.KapuaLiquibaseClient - Executing pre master files... DONE!
06:44:37.681 [main] INFO  o.e.k.s.l.KapuaLiquibaseClient - Executing master files...
06:44:37.681 [main] INFO  o.e.k.s.l.KapuaLiquibaseClient - 	Master Liquibase files found: 10
06:44:37.681 [main] INFO  o.e.k.s.l.KapuaLiquibaseClient - 		Excuting liquibase script: /tmp/genie.kapua/kapua-liquibase/changelog-account-master.xml
06:44:37.718 [main] INFO  o.e.k.s.l.KapuaLiquibaseClient - 		Excuting liquibase script: /tmp/genie.kapua/kapua-liquibase/changelog-authentication-master.xml
06:44:37.760 [main] INFO  o.e.k.s.l.KapuaLiquibaseClient - 		Excuting liquibase script: /tmp/genie.kapua/kapua-liquibase/changelog-authorization-master.xml
06:44:37.866 [main] INFO  o.e.k.s.l.KapuaLiquibaseClient - 		Excuting liquibase script: /tmp/genie.kapua/kapua-liquibase/changelog-broker-master.xml
06:44:37.884 [main] INFO  o.e.k.s.l.KapuaLiquibaseClient - 		Excuting liquibase script: /tmp/genie.kapua/kapua-liquibase/changelog-datastore-master.xml
06:44:37.900 [main] INFO  o.e.k.s.l.KapuaLiquibaseClient - 		Excuting liquibase script: /tmp/genie.kapua/kapua-liquibase/changelog-device-management-master.xml
06:44:37.915 [main] INFO  o.e.k.s.l.KapuaLiquibaseClient - 		Excuting liquibase script: /tmp/genie.kapua/kapua-liquibase/changelog-device-master.xml
06:44:37.997 [main] INFO  o.e.k.s.l.KapuaLiquibaseClient - 		Excuting liquibase script: /tmp/genie.kapua/kapua-liquibase/changelog-stream-master.xml
06:44:38.008 [main] INFO  o.e.k.s.l.KapuaLiquibaseClient - 		Excuting liquibase script: /tmp/genie.kapua/kapua-liquibase/changelog-tag-master.xml
06:44:38.030 [main] INFO  o.e.k.s.l.KapuaLiquibaseClient - 		Excuting liquibase script: /tmp/genie.kapua/kapua-liquibase/changelog-user-master.xml
06:44:38.063 [main] INFO  o.e.k.s.l.KapuaLiquibaseClient - Executing master files... DONE!
06:44:38.063 [main] INFO  o.e.k.s.l.KapuaLiquibaseClient - Executing post master files...
06:44:38.063 [main] INFO  o.e.k.s.l.KapuaLiquibaseClient - 	Master Liquibase files found: 0
06:44:38.063 [main] INFO  o.e.k.s.l.KapuaLiquibaseClient - Executing post master files... DONE!
06:44:38.063 [main] INFO  o.e.k.qa.steps.EmbeddedEventBroker - Starting new instance
06:44:38.064 [main] INFO  o.a.activemq.artemis.core.server - AMQ221000: live Message Broker is starting with configuration Broker Configuration (clustered=false,journalDirectory=target/artemisxZSRp2fNRHiqE6Wpbj3F-w/data/journal,bindingsDirectory=data/bindings,largeMessagesDirectory=data/largemessages,pagingDirectory=data/paging)
06:44:38.064 [main] INFO  o.a.activemq.artemis.core.server - AMQ221045: libaio is not available, switching the configuration into NIO
06:44:38.064 [main] INFO  o.a.activemq.artemis.core.server - AMQ221057: Global Max Size is being adjusted to 1/2 of the JVM max size (-Xmx). being defined as 520,880,128
06:44:38.065 [main] INFO  o.a.activemq.artemis.core.server - AMQ221043: Protocol module found: [artemis-server]. Adding protocol support for: CORE
06:44:38.065 [main] INFO  o.a.activemq.artemis.core.server - AMQ221043: Protocol module found: [artemis-amqp-protocol]. Adding protocol support for: AMQP
06:44:38.080 [main] ERROR o.a.activemq.artemis.core.server - AMQ224000: Failure in initialisation
io.netty.channel.unix.Errors$NativeIoException: bind(..) failed: Address already in use
	at io.netty.channel.unix.Errors.newIOException(Errors.java:117)
	at io.netty.channel.unix.Socket.bind(Socket.java:285)
	at io.netty.channel.epoll.AbstractEpollChannel.doBind(AbstractEpollChannel.java:696)
	at io.netty.channel.epoll.EpollServerSocketChannel.doBind(EpollServerSocketChannel.java:70)
	at io.netty.channel.AbstractChannel$AbstractUnsafe.bind(AbstractChannel.java:558)
	at io.netty.channel.DefaultChannelPipeline$HeadContext.bind(DefaultChannelPipeline.java:1283)
	at io.netty.channel.AbstractChannelHandlerContext.invokeBind(AbstractChannelHandlerContext.java:501)
	at io.netty.channel.AbstractChannelHandlerContext.bind(AbstractChannelHandlerContext.java:486)
	at io.netty.channel.DefaultChannelPipeline.bind(DefaultChannelPipeline.java:989)
	at io.netty.channel.AbstractChannel.bind(AbstractChannel.java:254)
	at io.netty.bootstrap.AbstractBootstrap$2.run(AbstractBootstrap.java:365)
	at io.netty.util.concurrent.AbstractEventExecutor.safeExecute(AbstractEventExecutor.java:163)
	at io.netty.util.concurrent.SingleThreadEventExecutor.runAllTasks(SingleThreadEventExecutor.java:403)
	at io.netty.channel.epoll.EpollEventLoop.run(EpollEventLoop.java:309)
	at io.netty.util.concurrent.SingleThreadEventExecutor$5.run(SingleThreadEventExecutor.java:858)
	at java.lang.Thread.run(Thread.java:748)
06:44:38.080 [main] INFO  o.a.activemq.artemis.core.server - AMQ221001: Apache ActiveMQ Artemis Message Broker version 2.2.0 [localhost, nodeID=a81333af-c88b-11e8-8d18-002590fd0404] 
06:44:41.014 [Camel (camelContext) thread #55 - JmsConsumer[notProcessableMessage]] ERROR o.a.c.c.j.DefaultJmsMessageListenerContainer - Could not refresh JMS Connection for destination 'notProcessableMessage' - retrying using FixedBackOff{interval=5000, currentAttempts=1, maxAttempts=unlimited}. Cause: Could not create Transport. Reason: java.io.IOException: Broker named 'message-broker' does not exist.
06:44:41.014 [Camel (camelContext) thread #50 - JmsConsumer[storeConfigurationException]] ERROR o.a.c.c.j.DefaultJmsMessageListenerContainer - Could not refresh JMS Connection for destination 'storeConfigurationException' - retrying using FixedBackOff{interval=5000, currentAttempts=1, maxAttempts=unlimited}. Cause: Could not create Transport. Reason: java.io.IOException: Broker named 'message-broker' does not exist.
06:44:41.015 [Camel (camelContext) thread #29 - JmsConsumer[Consumer.eurotech:mainRoutelisteners:EXACTLY_ONCE.VirtualTopic.%3E]] ERROR o.a.c.c.j.DefaultJmsMessageListenerContainer - Could not refresh JMS Connection for destination 'Consumer.eurotech:mainRoutelisteners:EXACTLY_ONCE.VirtualTopic.>' - retrying using FixedBackOff{interval=5000, currentAttempts=1, maxAttempts=unlimited}. Cause: Could not create Transport. Reason: java.io.IOException: Broker named 'message-broker' does not exist.
06:44:41.015 [Camel (camelContext) thread #52 - JmsConsumer[storeGenericException]] ERROR o.a.c.c.j.DefaultJmsMessageListenerContainer - Could not refresh JMS Connection for destination 'storeGenericException' - retrying using FixedBackOff{interval=5000, currentAttempts=1, maxAttempts=unlimited}. Cause: Could not create Transport. Reason: java.io.IOException: Broker named 'message-broker' does not exist.
06:44:41.017 [Camel (camelContext) thread #48 - JmsConsumer[storeCommunicationException]] ERROR o.a.c.c.j.DefaultJmsMessageListenerContainer - Could not refresh JMS Connection for destination 'storeCommunicationException' - retrying using FixedBackOff{interval=5000, currentAttempts=1, maxAttempts=unlimited}. Cause: Could not create Transport. Reason: java.io.IOException: Broker named 'message-broker' does not exist.
06:44:41.022 [Camel (camelContext) thread #16 - JmsConsumer[Consumer.eurotech:mainRoutelisteners:EXACTLY_ONCE.VirtualTopic.%3E]] ERROR o.a.c.c.j.DefaultJmsMessageListenerContainer - Could not refresh JMS Connection for destination 'Consumer.eurotech:mainRoutelisteners:EXACTLY_ONCE.VirtualTopic.>' - retrying using FixedBackOff{interval=5000, currentAttempts=1, maxAttempts=unlimited}. Cause: Could not create Transport. Reason: java.io.IOException: Broker named 'message-broker' does not exist.
06:44:41.022 [Camel (camelContext) thread #21 - JmsConsumer[storeCommunicationException]] ERROR o.a.c.c.j.DefaultJmsMessageListenerContainer - Could not refresh JMS Connection for destination 'storeCommunicationException' - retrying using FixedBackOff{interval=5000, currentAttempts=1, maxAttempts=unlimited}. Cause: Could not create Transport. Reason: java.io.IOException: Broker named 'message-broker' does not exist.
06:44:41.022 [Camel (camelContext) thread #56 - JmsConsumer[notProcessableMessage]] ERROR o.a.c.c.j.DefaultJmsMessageListenerContainer - Could not refresh JMS Connection for destination 'notProcessableMessage' - retrying using FixedBackOff{interval=5000, currentAttempts=1, maxAttempts=unlimited}. Cause: Could not create Transport. Reason: java.io.IOException: Broker named 'message-broker' does not exist.
06:44:41.023 [Camel (camelContext) thread #57 - JmsConsumer[storeConfigurationException]] ERROR o.a.c.c.j.DefaultJmsMessageListenerContainer - Could not refresh JMS Connection for destination 'storeConfigurationException' - retrying using FixedBackOff{interval=5000, currentAttempts=1, maxAttempts=unlimited}. Cause: Could not create Transport. Reason: java.io.IOException: Broker named 'message-broker' does not exist.
06:44:41.023 [Camel (camelContext) thread #25 - JmsConsumer[storeGenericException]] ERROR o.a.c.c.j.DefaultJmsMessageListenerContainer - Could not refresh JMS Connection for destination 'storeGenericException' - retrying using FixedBackOff{interval=5000, currentAttempts=1, maxAttempts=unlimited}. Cause: Could not create Transport. Reason: java.io.IOException: Broker named 'message-broker' does not exist.