Failed
Scenario: Start broker for all scenarios.Scenario: Start broker for all scenarios (from org.eclipse.kapua.service.device.integration.RunDeviceBrokerIpUndefinedI9nTest)
Failing for the past 4 builds
(Since Unstable
)
Stacktrace
java.lang.ExceptionInInitializerError Caused by: org.eclipse.kapua.KapuaRuntimeException: An internal error occurred: Error while initializing org.eclipse.kapua.commons.event.ServiceEventBusManager. Caused by: java.util.ServiceConfigurationError: org.eclipse.kapua.commons.event.ServiceEventBusDriver: Provider org.eclipse.kapua.commons.event.jms.JMSServiceEventBus could not be instantiated Caused by: javax.jms.JMSException: syscall:getsockopt(..) failed: Connection refused: /127.0.0.1:5672 Caused by: io.netty.channel.AbstractChannel$AnnotatedConnectException: syscall:getsockopt(..) failed: Connection refused: /127.0.0.1:5672 Caused by: io.netty.channel.unix.Errors$NativeConnectException: syscall:getsockopt(..) failed: Connection refused
Standard Output
############################################################################### # Copyright (c) 2017, 2018 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 ############################################################################### @broker Feature: Device Broker connection ip not set Device Service integration scenarios with running broker service. 06:39:47.081 [main] INFO o.e.kapua.qa.steps.EmbeddedBroker - Starting new instance 06:39:47.136 [main] INFO o.a.a.xbean.XBeanBrokerFactory$1 - Refreshing org.apache.activemq.xbean.XBeanBrokerFactory$1@6292c63e: startup date [Fri Oct 05 06:39:47 EDT 2018]; root of context hierarchy 06:39:47.245 [main] INFO o.a.x.s.c.v.XBeanXmlBeanDefinitionReader - Loading XML bean definitions from class path resource [activemq.xml] 06:39:47.717 [main] INFO o.a.x.s.c.v.XBeanXmlBeanDefinitionReader - Loading XML bean definitions from class path resource [camel.xml] 06:39:48.899 [main] INFO o.s.b.f.c.PropertyPlaceholderConfigurer - Loading properties file from URL [file:src/test/resources/credentials.properties] 06:39:49.039 [main] WARN o.a.activemq.broker.BrokerService - Memory Usage for the Broker (6144mb) is more than the maximum available for the JVM: 910 mb - resetting to 70% of maximum available: 637 mb 06:39:49.040 [main] INFO o.a.activemq.broker.BrokerService - Using Persistence Adapter: KahaDBPersistenceAdapter[/jobs/genie.kapua/release-1.0.x-build/workspace/qa/target/activemq/HzSTPO_xTAmuoWO-yRBakg/kahaDB] 06:39:49.640 [main] INFO o.a.a.s.kahadb.plist.PListStoreImpl - PListStore:[/jobs/genie.kapua/release-1.0.x-build/workspace/qa/./data/message-broker/tmp_storage] started 06:39:49.809 [main] INFO o.e.k.b.c.KapuaBrokerSecurityPlugin - Installing Kapua broker plugin. 06:39:50.106 [main] INFO o.eclipse.kapua.locator.KapuaLocator - initializing Servicelocator instance... 06:39:50.106 [main] INFO o.eclipse.kapua.locator.KapuaLocator - initialize Servicelocator with the default instance... 06:39:51.226 [main] INFO o.e.kapua.locator.guice.KapuaModule - Bind Kapua factory interface org.eclipse.kapua.service.account.AccountFactory to class org.eclipse.kapua.service.account.internal.AccountFactoryImpl 06:39:51.228 [main] INFO o.e.kapua.locator.guice.KapuaModule - Bind Kapua service interface org.eclipse.kapua.service.account.AccountService to class org.eclipse.kapua.service.account.internal.AccountServiceImpl 06:39:51.229 [main] INFO o.e.kapua.locator.guice.KapuaModule - Bind Kapua factory interface org.eclipse.kapua.service.user.UserFactory to class org.eclipse.kapua.service.user.internal.UserFactoryImpl 06:39:51.229 [main] INFO o.e.kapua.locator.guice.KapuaModule - Bind Kapua service interface org.eclipse.kapua.service.user.UserService to class org.eclipse.kapua.service.user.internal.UserServiceImpl 06:39:51.230 [main] INFO o.e.kapua.locator.guice.KapuaModule - Bind Kapua service interface org.eclipse.kapua.service.authentication.AuthenticationService to class org.eclipse.kapua.service.authentication.shiro.AuthenticationServiceShiroImpl 06:39:51.230 [main] INFO o.e.kapua.locator.guice.KapuaModule - Bind Kapua factory interface org.eclipse.kapua.service.authentication.CredentialsFactory to class org.eclipse.kapua.service.authentication.shiro.CredentialsFactoryImpl 06:39:51.231 [main] INFO o.e.kapua.locator.guice.KapuaModule - Bind Kapua factory interface org.eclipse.kapua.service.authentication.credential.CredentialFactory to class org.eclipse.kapua.service.authentication.credential.shiro.CredentialFactoryImpl 06:39:51.231 [main] INFO o.e.kapua.locator.guice.KapuaModule - Bind Kapua service interface org.eclipse.kapua.service.authentication.credential.CredentialService to class org.eclipse.kapua.service.authentication.credential.shiro.CredentialServiceImpl 06:39:51.232 [main] INFO o.e.kapua.locator.guice.KapuaModule - Bind Kapua service interface org.eclipse.kapua.service.authentication.token.AccessTokenService to class org.eclipse.kapua.service.authentication.token.shiro.AccessTokenServiceImpl 06:39:51.233 [main] INFO o.e.kapua.locator.guice.KapuaModule - Bind Kapua factory interface org.eclipse.kapua.service.authentication.token.AccessTokenFactory to class org.eclipse.kapua.service.authentication.token.shiro.AccessTokenFactoryImpl 06:39:51.233 [main] INFO o.e.kapua.locator.guice.KapuaModule - Bind Kapua service interface org.eclipse.kapua.service.authorization.AuthorizationService to class org.eclipse.kapua.service.authorization.shiro.AuthorizationServiceImpl 06:39:51.234 [main] INFO o.e.kapua.locator.guice.KapuaModule - Bind Kapua factory interface org.eclipse.kapua.service.authorization.permission.PermissionFactory to class org.eclipse.kapua.service.authorization.permission.shiro.PermissionFactoryImpl 06:39:51.234 [main] INFO o.e.kapua.locator.guice.KapuaModule - Bind Kapua factory interface org.eclipse.kapua.service.authorization.access.AccessInfoFactory to class org.eclipse.kapua.service.authorization.access.shiro.AccessInfoFactoryImpl 06:39:51.234 [main] INFO o.e.kapua.locator.guice.KapuaModule - Bind Kapua service interface org.eclipse.kapua.service.authorization.access.AccessInfoService to class org.eclipse.kapua.service.authorization.access.shiro.AccessInfoServiceImpl 06:39:51.235 [main] INFO o.e.kapua.locator.guice.KapuaModule - Bind Kapua factory interface org.eclipse.kapua.service.authorization.access.AccessPermissionFactory to class org.eclipse.kapua.service.authorization.access.shiro.AccessPermissionFactoryImpl 06:39:51.235 [main] INFO o.e.kapua.locator.guice.KapuaModule - Bind Kapua service interface org.eclipse.kapua.service.authorization.access.AccessPermissionService to class org.eclipse.kapua.service.authorization.access.shiro.AccessPermissionServiceImpl 06:39:51.236 [main] INFO o.e.kapua.locator.guice.KapuaModule - Bind Kapua factory interface org.eclipse.kapua.service.authorization.access.AccessRoleFactory to class org.eclipse.kapua.service.authorization.access.shiro.AccessRoleFactoryImpl 06:39:51.236 [main] INFO o.e.kapua.locator.guice.KapuaModule - Bind Kapua service interface org.eclipse.kapua.service.authorization.access.AccessRoleService to class org.eclipse.kapua.service.authorization.access.shiro.AccessRoleServiceImpl 06:39:51.237 [main] INFO o.e.kapua.locator.guice.KapuaModule - Bind Kapua factory interface org.eclipse.kapua.service.authorization.domain.DomainFactory to class org.eclipse.kapua.service.authorization.domain.shiro.DomainFactoryImpl 06:39:51.237 [main] INFO o.e.kapua.locator.guice.KapuaModule - Bind Kapua service interface org.eclipse.kapua.service.authorization.domain.DomainRegistryService to class org.eclipse.kapua.service.authorization.domain.shiro.DomainRegistryServiceImpl 06:39:51.238 [main] INFO o.e.kapua.locator.guice.KapuaModule - Bind Kapua factory interface org.eclipse.kapua.service.authorization.group.GroupFactory to class org.eclipse.kapua.service.authorization.group.shiro.GroupFactoryImpl 06:39:51.239 [main] INFO o.e.kapua.locator.guice.KapuaModule - Bind Kapua service interface org.eclipse.kapua.service.authorization.group.GroupService to class org.eclipse.kapua.service.authorization.group.shiro.GroupServiceImpl 06:39:51.239 [main] INFO o.e.kapua.locator.guice.KapuaModule - Bind Kapua service interface org.eclipse.kapua.service.authorization.role.RoleService to class org.eclipse.kapua.service.authorization.role.shiro.RoleServiceImpl 06:39:51.240 [main] INFO o.e.kapua.locator.guice.KapuaModule - Bind Kapua factory interface org.eclipse.kapua.service.authorization.role.RoleFactory to class org.eclipse.kapua.service.authorization.role.shiro.RoleFactoryImpl 06:39:51.240 [main] INFO o.e.kapua.locator.guice.KapuaModule - Bind Kapua factory interface org.eclipse.kapua.service.authorization.role.RolePermissionFactory to class org.eclipse.kapua.service.authorization.role.shiro.RolePermissionFactoryImpl 06:39:51.241 [main] INFO o.e.kapua.locator.guice.KapuaModule - Bind Kapua service interface org.eclipse.kapua.service.authorization.role.RolePermissionService to class org.eclipse.kapua.service.authorization.role.shiro.RolePermissionServiceImpl 06:39:51.242 [main] INFO o.e.kapua.locator.guice.KapuaModule - Bind Kapua service interface org.eclipse.kapua.service.certificate.CertificateService to class org.eclipse.kapua.service.certificate.internal.CertificateServiceImpl 06:39:51.242 [main] INFO o.e.kapua.locator.guice.KapuaModule - Bind Kapua factory interface org.eclipse.kapua.service.certificate.CertificateFactory to class org.eclipse.kapua.service.certificate.internal.CertificateFactoryImpl 06:39:51.243 [main] INFO o.e.kapua.locator.guice.KapuaModule - Bind Kapua service interface org.eclipse.kapua.service.datastore.MessageStoreService to class org.eclipse.kapua.service.datastore.internal.MessageStoreServiceImpl 06:39:51.243 [main] INFO o.e.kapua.locator.guice.KapuaModule - Bind Kapua service interface org.eclipse.kapua.service.datastore.ClientInfoRegistryService to class org.eclipse.kapua.service.datastore.internal.ClientInfoRegistryServiceImpl 06:39:51.244 [main] INFO o.e.kapua.locator.guice.KapuaModule - Bind Kapua service interface org.eclipse.kapua.service.datastore.ChannelInfoRegistryService to class org.eclipse.kapua.service.datastore.internal.ChannelInfoRegistryServiceImpl 06:39:51.244 [main] INFO o.e.kapua.locator.guice.KapuaModule - Bind Kapua service interface org.eclipse.kapua.service.datastore.MetricInfoRegistryService to class org.eclipse.kapua.service.datastore.internal.MetricInfoRegistryServiceImpl 06:39:51.245 [main] INFO o.e.kapua.locator.guice.KapuaModule - Bind Kapua factory interface org.eclipse.kapua.model.config.metatype.KapuaMetatypeFactory to class org.eclipse.kapua.commons.configuration.metatype.KapuaMetatypeFactoryImpl 06:39:51.245 [main] INFO o.e.kapua.locator.guice.KapuaModule - Bind Kapua factory interface org.eclipse.kapua.service.datastore.DatastoreObjectFactory to class org.eclipse.kapua.service.datastore.internal.DatastoreObjectFactoryImpl 06:39:51.245 [main] INFO o.e.kapua.locator.guice.KapuaModule - Bind Kapua factory interface org.eclipse.kapua.service.datastore.model.query.StorablePredicateFactory to class org.eclipse.kapua.service.datastore.internal.model.query.StorablePredicateFactoryImpl 06:39:51.246 [main] INFO o.e.kapua.locator.guice.KapuaModule - Bind Kapua factory interface org.eclipse.kapua.service.device.registry.DeviceFactory to class org.eclipse.kapua.service.device.registry.internal.DeviceFactoryImpl 06:39:51.246 [main] INFO o.e.kapua.locator.guice.KapuaModule - Bind Kapua service interface org.eclipse.kapua.service.device.registry.DeviceRegistryService to class org.eclipse.kapua.service.device.registry.internal.DeviceRegistryServiceImpl 06:39:51.247 [main] INFO o.e.kapua.locator.guice.KapuaModule - Bind Kapua factory interface org.eclipse.kapua.service.device.registry.connection.DeviceConnectionFactory to class org.eclipse.kapua.service.device.registry.connection.internal.DeviceConnectionFactoryImpl 06:39:51.247 [main] INFO o.e.kapua.locator.guice.KapuaModule - Bind Kapua service interface org.eclipse.kapua.service.device.registry.connection.DeviceConnectionService to class org.eclipse.kapua.service.device.registry.connection.internal.DeviceConnectionServiceImpl 06:39:51.247 [main] INFO o.e.kapua.locator.guice.KapuaModule - Bind Kapua factory interface org.eclipse.kapua.service.device.registry.connection.option.DeviceConnectionOptionFactory to class org.eclipse.kapua.service.device.registry.connection.option.internal.DeviceConnectionOptionFactoryImpl 06:39:51.248 [main] INFO o.e.kapua.locator.guice.KapuaModule - Bind Kapua service interface org.eclipse.kapua.service.device.registry.connection.option.DeviceConnectionOptionService to class org.eclipse.kapua.service.device.registry.connection.option.internal.DeviceConnectionOptionServiceImpl 06:39:51.248 [main] INFO o.e.kapua.locator.guice.KapuaModule - Bind Kapua factory interface org.eclipse.kapua.service.device.registry.event.DeviceEventFactory to class org.eclipse.kapua.service.device.registry.event.internal.DeviceEventFactoryImpl 06:39:51.249 [main] INFO o.e.kapua.locator.guice.KapuaModule - Bind Kapua service interface org.eclipse.kapua.service.device.registry.event.DeviceEventService to class org.eclipse.kapua.service.device.registry.event.internal.DeviceEventServiceImpl 06:39:51.249 [main] INFO o.e.kapua.locator.guice.KapuaModule - Bind Kapua service interface org.eclipse.kapua.service.device.registry.lifecycle.DeviceLifeCycleService to class org.eclipse.kapua.service.device.registry.lifecycle.internal.DeviceLifeCycleServiceImpl 06:39:51.249 [main] INFO o.e.kapua.locator.guice.KapuaModule - Bind Kapua factory interface org.eclipse.kapua.service.device.call.DeviceCallFactory to class org.eclipse.kapua.service.device.call.kura.KuraDeviceCallFactoryImpl 06:39:51.250 [main] INFO o.e.kapua.locator.guice.KapuaModule - Bind Kapua factory interface org.eclipse.kapua.service.device.call.DeviceMessageFactory to class org.eclipse.kapua.service.device.call.kura.KuraMessageFactoryImpl 06:39:51.250 [main] INFO o.e.kapua.locator.guice.KapuaModule - Bind Kapua factory interface org.eclipse.kapua.service.device.management.message.KapuaRequestMessageFactory to class org.eclipse.kapua.service.device.management.commons.message.KapuaRequestMessageFactoryImpl 06:39:51.251 [main] INFO o.e.kapua.locator.guice.KapuaModule - Bind Kapua factory interface org.eclipse.kapua.service.device.management.request.GenericRequestFactory to class org.eclipse.kapua.service.device.management.request.internal.GenericRequestFactoryImpl 06:39:51.251 [main] INFO o.e.kapua.locator.guice.KapuaModule - Bind Kapua service interface org.eclipse.kapua.service.device.management.bundle.DeviceBundleManagementService to class org.eclipse.kapua.service.device.management.bundle.internal.DeviceBundleManagementServiceImpl 06:39:51.252 [main] INFO o.e.kapua.locator.guice.KapuaModule - Bind Kapua factory interface org.eclipse.kapua.service.device.management.bundle.DeviceBundleFactory to class org.eclipse.kapua.service.device.management.bundle.internal.DeviceBundleFactoryImpl 06:39:51.252 [main] INFO o.e.kapua.locator.guice.KapuaModule - Bind Kapua service interface org.eclipse.kapua.service.device.management.command.DeviceCommandManagementService to class org.eclipse.kapua.service.device.management.command.internal.DeviceCommandManagementServiceImpl 06:39:51.253 [main] INFO o.e.kapua.locator.guice.KapuaModule - Bind Kapua factory interface org.eclipse.kapua.service.device.management.command.DeviceCommandFactory to class org.eclipse.kapua.service.device.management.command.internal.DeviceCommandFactoryImpl 06:39:51.253 [main] INFO o.e.kapua.locator.guice.KapuaModule - Bind Kapua service interface org.eclipse.kapua.service.device.management.configuration.DeviceConfigurationManagementService to class org.eclipse.kapua.service.device.management.configuration.internal.DeviceConfigurationManagementServiceImpl 06:39:51.254 [main] INFO o.e.kapua.locator.guice.KapuaModule - Bind Kapua factory interface org.eclipse.kapua.service.device.management.configuration.DeviceConfigurationFactory to class org.eclipse.kapua.service.device.management.configuration.internal.DeviceConfigurationFactoryImpl 06:39:51.254 [main] INFO o.e.kapua.locator.guice.KapuaModule - Bind Kapua service interface org.eclipse.kapua.service.device.management.packages.DevicePackageManagementService to class org.eclipse.kapua.service.device.management.packages.internal.DevicePackageManagementServiceImpl 06:39:51.255 [main] INFO o.e.kapua.locator.guice.KapuaModule - Bind Kapua factory interface org.eclipse.kapua.service.device.management.packages.DevicePackageFactory to class org.eclipse.kapua.service.device.management.packages.internal.DevicePackageFactoryImpl 06:39:51.255 [main] INFO o.e.kapua.locator.guice.KapuaModule - Bind Kapua service interface org.eclipse.kapua.service.device.management.snapshot.DeviceSnapshotManagementService to class org.eclipse.kapua.service.device.management.snapshot.internal.DeviceSnapshotManagementServiceImpl 06:39:51.255 [main] INFO o.e.kapua.locator.guice.KapuaModule - Bind Kapua factory interface org.eclipse.kapua.service.device.management.snapshot.DeviceSnapshotFactory to class org.eclipse.kapua.service.device.management.snapshot.internal.DeviceSnapshotFactoryImpl 06:39:51.256 [main] INFO o.e.kapua.locator.guice.KapuaModule - Bind Kapua service interface org.eclipse.kapua.service.device.management.request.DeviceRequestManagementService to class org.eclipse.kapua.service.device.management.request.internal.DeviceRequestManagementServiceImpl 06:39:51.256 [main] INFO o.e.kapua.locator.guice.KapuaModule - Bind Kapua factory interface org.eclipse.kapua.service.tag.TagFactory to class org.eclipse.kapua.service.tag.internal.TagFactoryImpl 06:39:51.257 [main] INFO o.e.kapua.locator.guice.KapuaModule - Bind Kapua service interface org.eclipse.kapua.service.tag.TagService to class org.eclipse.kapua.service.tag.internal.TagServiceImpl 06:39:51.257 [main] INFO o.e.kapua.locator.guice.KapuaModule - Bind Kapua factory interface org.eclipse.kapua.service.user.UserFactory to class org.eclipse.kapua.service.user.internal.UserFactoryImpl 06:39:51.257 [main] INFO o.e.kapua.locator.guice.KapuaModule - Bind Kapua service interface org.eclipse.kapua.service.user.UserService to class org.eclipse.kapua.service.user.internal.UserServiceImpl 06:39:51.258 [main] INFO o.e.kapua.locator.guice.KapuaModule - Bind Kapua service interface org.eclipse.kapua.service.stream.StreamService to class org.eclipse.kapua.service.stream.internal.StreamServiceImpl 06:39:51.259 [main] INFO o.e.kapua.locator.guice.KapuaModule - Bind Kapua factory interface org.eclipse.kapua.transport.TransportClientFactory to class org.eclipse.kapua.transport.mqtt.MqttClientFactoryImpl 06:39:51.259 [main] INFO o.e.kapua.locator.guice.KapuaModule - Bind Kapua factory interface org.eclipse.kapua.message.KapuaMessageFactory to class org.eclipse.kapua.message.internal.KapuaMessageFactoryImpl 06:39:51.259 [main] INFO o.e.kapua.locator.guice.KapuaModule - Bind Kapua factory interface org.eclipse.kapua.model.config.metatype.KapuaMetatypeFactory to class org.eclipse.kapua.commons.configuration.metatype.KapuaMetatypeFactoryImpl 06:39:51.260 [main] INFO o.e.kapua.locator.guice.KapuaModule - Bind Kapua factory interface org.eclipse.kapua.model.id.KapuaIdFactory to class org.eclipse.kapua.commons.model.id.KapuaIdFactoryImpl 06:39:51.260 [main] INFO o.e.kapua.locator.guice.KapuaModule - Bind Kapua factory interface org.eclipse.kapua.commons.service.event.store.api.EventStoreFactory to class org.eclipse.kapua.commons.service.event.store.internal.EventStoreFactoryImpl 06:39:51.260 [main] INFO o.e.kapua.locator.guice.KapuaModule - Binding interceptors .. 06:39:51.265 [main] INFO o.e.kapua.locator.guice.KapuaModule - Bind service interceptor class org.eclipse.kapua.commons.event.RaiseServiceEventInterceptor to subclasses of interface org.eclipse.kapua.service.KapuaService annotated with interface org.eclipse.kapua.event.RaiseServiceEvent 06:39:51.266 [main] INFO o.e.kapua.locator.guice.KapuaModule - Binding service modules .. 06:39:51.581 [main] INFO o.eclipse.kapua.locator.KapuaLocator - initialize Servicelocator with the default instance... DONE 06:39:52.583 [main] INFO o.a.s.c.IniSecurityManagerFactory - Realms have been explicitly set on the SecurityManager instance - auto-setting of realms will not occur. 06:39:52.591 [main] INFO o.e.k.s.a.s.AuthenticationServiceShiroImpl - Shiro global session timeout set to indefinite. 06:39:52.592 [main] INFO o.e.k.s.a.s.AuthenticationServiceShiroImpl - Shiro global session validator scheduler disabled. 06:39:52.617 [main] INFO o.a.a.p.DiscardingDLQBrokerPlugin - Installing Discarding Dead Letter Queue broker plugin[dropAll=true; dropTemporaryTopics=true; dropTemporaryQueues=true; dropOnly=null; reportInterval=1000] 06:39:52.630 [main] INFO o.a.activemq.broker.BrokerService - Apache ActiveMQ 5.14.5 (message-broker, ID:hipp9-44517-1538735989660-0:1) is starting 06:39:52.631 [main] INFO o.e.k.b.c.p.KapuaSecurityBrokerFilter - >>> Security broker filter: calling start... 06:39:52.631 [main] INFO o.e.k.b.c.p.KapuaSecurityBrokerFilter - >>> Security broker filter: calling start... Initialize jaxb context 06:39:52.632 [main] INFO o.e.kapua.commons.util.ClassUtil - Initializing instance... 06:39:52.644 [main] INFO o.e.kapua.commons.util.ClassUtil - Initializing instance of. Instantiate default instance class org.eclipse.kapua.broker.core.BrokerJAXBContextProvider ... 06:39:52.644 [main] INFO o.e.kapua.commons.util.ClassUtil - Initializing broker ip resolver... DONE 06:39:52.645 [main] INFO o.e.k.b.c.p.KapuaSecurityBrokerFilter - >>> Security broker filter: calling start... Initialize authenticator 06:39:52.647 [main] INFO o.e.kapua.commons.util.ClassUtil - Initializing instance... 06:39:52.647 [main] INFO o.e.kapua.commons.util.ClassUtil - Initializing instance of. Instantiate default instance class org.eclipse.kapua.broker.core.plugin.authentication.DefaultAuthenticator ... 06:39:52.720 [main] INFO o.e.k.b.c.p.a.DefaultAuthenticator - >>> Security broker filter: calling start... Initialize system message creator 06:39:52.721 [main] INFO o.e.kapua.commons.util.ClassUtil - Initializing instance... 06:39:52.721 [main] INFO o.e.kapua.commons.util.ClassUtil - Initializing instance of. Instantiate default instance class org.eclipse.kapua.broker.core.message.system.DefaultSystemMessageCreator ... 06:39:52.722 [main] INFO o.e.kapua.commons.util.ClassUtil - Initializing broker ip resolver... DONE 06:39:52.722 [main] INFO o.e.kapua.commons.util.ClassUtil - Initializing broker ip resolver... DONE 06:39:52.722 [main] INFO o.e.k.b.c.p.KapuaSecurityBrokerFilter - >>> Security broker filter: calling start... Initialize broker ip resolver 06:39:52.722 [main] INFO o.e.kapua.commons.util.ClassUtil - Initializing instance... 06:39:52.723 [main] INFO o.e.kapua.commons.util.ClassUtil - Initializing instance of. Instantiate default instance class org.eclipse.kapua.broker.core.plugin.DefaultBrokerIpResolver ... 06:39:52.723 [main] INFO o.e.kapua.commons.util.ClassUtil - Initializing broker ip resolver... DONE 06:39:52.723 [main] INFO o.e.k.b.c.p.KapuaSecurityBrokerFilter - >>> Security broker filter: calling start... Initialize broker id resolver 06:39:52.723 [main] INFO o.e.kapua.commons.util.ClassUtil - Initializing instance... 06:39:52.723 [main] INFO o.e.kapua.commons.util.ClassUtil - Initializing instance of. Instantiate default instance class org.eclipse.kapua.broker.core.plugin.DefaultBrokerIdResolver ... 06:39:52.724 [main] INFO o.e.kapua.commons.util.ClassUtil - Initializing broker ip resolver... DONE 06:39:52.724 [main] INFO o.e.k.b.c.p.KapuaSecurityBrokerFilter - >>> Security broker filter: calling start... Initialize stealing link manager... 06:39:52.755 [main] INFO o.a.a.t.TransportServerThreadSupport - Listening for connections at: mqtt+nio://hipp9:1883?transport.maximumConnections=1000&transport.socketBufferSize=131072&transport.ioBufferSize=16384&transport.activeMQSubscriptionPrefetch=32766&transport.publishDollarTopics=true&transport.subscriptionStrategy=mqtt-virtual-topic-subscriptions 06:39:52.755 [main] INFO o.a.a.broker.TransportConnector - Connector mqtt started 06:39:52.760 [main] INFO o.a.a.t.TransportServerThreadSupport - Listening for connections at: mqtt+nio+ssl://hipp9:8883?transport.maximumConnections=1000&transport.socketBufferSize=131072&transport.ioBufferSize=16384&transport.activeMQSubscriptionPrefetch=32766&transport.publishDollarTopics=true&transport.subscriptionStrategy=mqtt-virtual-topic-subscriptions 06:39:52.760 [main] INFO o.a.a.broker.TransportConnector - Connector mqtts started 06:39:52.761 [main] INFO o.a.a.t.TransportServerThreadSupport - Listening for connections at: tcp://hipp9:61616?transport.maximumConnections=1000&transport.socketBufferSize=131072&ioBufferSize=16384&transport.activeMQSubscriptionPrefetch=32766&transport.publishDollarTopics=true&transport.subscriptionStrategy=mqtt-virtual-topic-subscriptions 06:39:52.761 [main] INFO o.a.a.broker.TransportConnector - Connector tcp started 06:39:52.764 [main] INFO o.a.activemq.broker.BrokerService - Apache ActiveMQ 5.14.5 (message-broker, ID:hipp9-44517-1538735989660-0:1) started 06:39:52.764 [main] INFO o.a.activemq.broker.BrokerService - For help or more information please see: http://activemq.apache.org 06:39:52.765 [pool-1-thread-1] INFO o.e.k.b.c.p.KapuaSecurityBrokerFilter - >>> Security broker filter: calling start... Register stealing link manager... 06:39:52.771 [pool-1-thread-1] INFO o.e.k.b.c.pool.JmsConnectionFactory - Instantiate amq embedded connection factory... 06:39:52.772 [pool-1-thread-1] INFO o.e.k.b.c.pool.JmsConnectionFactory - Using connection factory url: vm://message-broker?create=false&waitForStart=3600000&async=true 06:39:52.792 [pool-1-thread-1] INFO o.e.k.b.c.pool.JmsConnectionFactory - Instantiate activemq embedded connection factory... done 06:39:52.797 [pool-1-thread-1] INFO o.a.a.broker.TransportConnector - Connector vm://message-broker started 06:39:52.892 [pool-1-thread-1] INFO o.e.k.b.c.p.KapuaSecurityBrokerFilter - >>> Security broker filter: calling start... Register stealing link manager... DONE 06:39:53.236 [main] INFO o.e.k.b.c.r.CamelKapuaDefaultRouter - Default Camel routing... Loading configuration from file /jobs/genie.kapua/release-1.0.x-build/workspace/qa/target/test-classes/camel-routes.xml 06:39:55.208 [main] INFO o.e.k.b.c.r.CamelKapuaDefaultRouter - Default Camel routing... Loading configuration from file camel-routes.xml Found 2 parent endpoints in the route 06:39:55.209 [main] INFO o.e.k.b.c.r.CamelKapuaDefaultRouter - Regex: ^\$EDC\..* Regex: ^\$EDC\.(.*\.){2}MQTT\.BIRTH End point: bean:kapuaLifeCycleConverter?method=convertToBirth,bean:deviceMessageListener?method=processBirthMessage Regex: ^\$EDC\.(.*\.){2}MQTT\.DC End point: bean:kapuaLifeCycleConverter?method=convertToDisconnect,bean:deviceMessageListener?method=processDisconnectMessage Regex: ^\$EDC\.(.*\.){2}MQTT\.APPS End point: bean:kapuaLifeCycleConverter?method=convertToApps,bean:deviceMessageListener?method=processAppsMessage Regex: ^\$EDC\.(.*\.){2}MQTT\.LWT End point: bean:kapuaLifeCycleConverter?method=convertToMissing,bean:deviceMessageListener?method=processMissingMessage Regex: ^\$EDC\.(.*\.){2}MQTT\.NOTIFY End point: bean:kapuaLifeCycleConverter?method=convertToNotify,bean:deviceMessageListener?method=processNotifyMessage End chain Regex: .* End point: bean:kapuaDataConverter?method=convertToData,bean:dataStorageMessageProcessor?method=processMessage 06:39:55.209 [main] INFO o.e.k.b.c.r.CamelKapuaDefaultRouter - Default Camel routing... Loading configuration 'camel-routes.xml' from file '/jobs/genie.kapua/release-1.0.x-build/workspace/qa/target/test-classes/camel-routes.xml' DONE 06:39:55.724 [main] INFO o.e.k.s.d.c.rest.RestDatastoreClient - Starting Elasticsearch rest client... 06:39:55.725 [main] INFO o.e.k.s.d.c.r.EsRestClientProvider - >>> Initializing ES rest client... 06:39:55.739 [main] INFO o.e.k.s.d.c.r.EsRestClientProvider - ES Rest Client - SSL NOT enabled 06:39:55.997 [main] INFO o.e.k.s.d.c.r.EsRestClientProvider - >>> Initializing ES rest client... DONE 06:39:55.997 [main] INFO o.e.k.s.d.c.rest.RestDatastoreClient - Starting Elasticsearch rest client... DONE 06:39:56.069 [main] INFO o.a.c.i.c.DefaultTypeConverter - Loaded 186 type converters 06:39:56.093 [main] INFO o.a.camel.spring.SpringCamelContext - Apache Camel 2.16.3 (CamelContext: camelContext) is starting 06:39:56.095 [main] INFO o.a.c.m.ManagedManagementStrategy - JMX is enabled 06:39:56.285 [main] INFO o.a.c.i.DefaultRuntimeEndpointRegistry - Runtime endpoint registry is in extended mode gathering usage statistics of all incoming and outgoing endpoints (cache limit: 1000) 06:39:56.611 [main] INFO o.a.camel.spring.SpringCamelContext - AllowUseOriginalMessage is enabled. If access to the original message is not needed, then its recommended to turn this option off as it may improve performance. 06:39:56.611 [main] INFO o.a.camel.spring.SpringCamelContext - StreamCaching is not in use. If using streams then its recommended to enable stream caching. See more details at http://camel.apache.org/stream-caching.html 06:39:56.763 [main] INFO o.s.j.c.CachingConnectionFactory - Established shared JMS Connection: ActiveMQConnection {id=ID:hipp9-44517-1538735989660-4:1,clientId=null,started=false} 06:39:56.777 [main] INFO o.a.camel.spring.SpringCamelContext - Route: mainKapuaRoute started and consuming from: Endpoint[activemq://queue:Consumer.eurotech:mainRoutelisteners:EXACTLY_ONCE.VirtualTopic.%3E?acknowledgementModeName=CLIENT_ACKNOWLEDGE&asyncConsumer=false&concurrentConsumers=20&maxConcurrentConsumers=50&transacted=false] 06:39:56.782 [main] INFO o.a.camel.spring.SpringCamelContext - Route: dataMessageCommunicationErrorRoute started and consuming from: Endpoint[activemq://queue:storeCommunicationException?acknowledgementModeName=CLIENT_ACKNOWLEDGE&asyncConsumer=false&concurrentConsumers=2&maxConcurrentConsumers=5&transacted=false] 06:39:56.785 [main] INFO o.a.camel.spring.SpringCamelContext - Route: dataMessageConfigurationErrorRoute started and consuming from: Endpoint[activemq://queue:storeConfigurationException?acknowledgementModeName=CLIENT_ACKNOWLEDGE&asyncConsumer=false&concurrentConsumers=2&maxConcurrentConsumers=5&transacted=false] 06:39:56.786 [main] INFO o.a.camel.spring.SpringCamelContext - Route: dataMessageGenericErrorRoute started and consuming from: Endpoint[activemq://queue:storeGenericException?acknowledgementModeName=CLIENT_ACKNOWLEDGE&asyncConsumer=false&concurrentConsumers=2&maxConcurrentConsumers=5&transacted=false] 06:39:56.788 [main] INFO o.a.camel.spring.SpringCamelContext - Route: notProcessableMessage started and consuming from: Endpoint[activemq://queue:notProcessableMessage?acknowledgementModeName=CLIENT_ACKNOWLEDGE&asyncConsumer=false&concurrentConsumers=2&maxConcurrentConsumers=5&transacted=false] 06:39:56.788 [main] INFO o.a.camel.spring.SpringCamelContext - Total 5 routes, of which 5 is started. 06:39:56.794 [main] INFO o.a.camel.spring.SpringCamelContext - Apache Camel 2.16.3 (CamelContext: camelContext) started in 0.696 seconds 06:39:56.797 [main] INFO o.e.kapua.qa.steps.EmbeddedBroker - Setting ActiveMQ data directory to target/activemq/HzSTPO_xTAmuoWO-yRBakg/data/message-broker 06:39:56.797 [main] INFO o.e.k.c.event.ServiceEventBusManager - Finding event bus driver instance... 06:39:57.275 [main] ERROR org.apache.qpid.jms.JmsConnection - Failed to connect to remote at: amqp://127.0.0.1:5672 06:39:57.288 [main] ERROR o.e.k.c.event.jms.JMSServiceEventBus - syscall:getsockopt(..) failed: Connection refused: /127.0.0.1:5672 javax.jms.JMSException: syscall:getsockopt(..) failed: Connection refused: /127.0.0.1:5672 at org.apache.qpid.jms.exceptions.JmsExceptionSupport.create(JmsExceptionSupport.java:86) at org.apache.qpid.jms.exceptions.JmsExceptionSupport.create(JmsExceptionSupport.java:108) at org.apache.qpid.jms.JmsConnection.connect(JmsConnection.java:168) at org.apache.qpid.jms.JmsConnectionFactory.createConnection(JmsConnectionFactory.java:204) at org.eclipse.kapua.commons.event.jms.JMSServiceEventBus$EventBusJMSConnectionBridge.<init>(JMSServiceEventBus.java:236) at org.eclipse.kapua.commons.event.jms.JMSServiceEventBus.<init>(JMSServiceEventBus.java:86) at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) at java.lang.reflect.Constructor.newInstance(Constructor.java:423) at java.lang.Class.newInstance(Class.java:442) at java.util.ServiceLoader$LazyIterator.nextService(ServiceLoader.java:380) at java.util.ServiceLoader$LazyIterator.next(ServiceLoader.java:404) at java.util.ServiceLoader$1.next(ServiceLoader.java:480) at org.eclipse.kapua.commons.event.ServiceEventBusManager.<clinit>(ServiceEventBusManager.java:43) at org.eclipse.kapua.qa.steps.EmbeddedBroker.start(EmbeddedBroker.java:90) 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:498) at cucumber.runtime.Utils$1.call(Utils.java:37) at cucumber.runtime.Timeout.timeout(Timeout.java:13) at cucumber.runtime.Utils.invoke(Utils.java:31) at cucumber.runtime.java.JavaHookDefinition.execute(JavaHookDefinition.java:60) at cucumber.runtime.Runtime.runHookIfTagsMatch(Runtime.java:223) at cucumber.runtime.Runtime.runHooks(Runtime.java:211) at cucumber.runtime.Runtime.runBeforeHooks(Runtime.java:201) at cucumber.runtime.model.CucumberScenario.run(CucumberScenario.java:40) at cucumber.runtime.junit.ExecutionUnitRunner.run(ExecutionUnitRunner.java:91) at cucumber.runtime.junit.FeatureRunner.runChild(FeatureRunner.java:63) at cucumber.runtime.junit.FeatureRunner.runChild(FeatureRunner.java:18) at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238) at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63) at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236) at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53) at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229) at org.junit.runners.ParentRunner.run(ParentRunner.java:309) at cucumber.runtime.junit.FeatureRunner.run(FeatureRunner.java:70) at cucumber.api.junit.Cucumber.runChild(Cucumber.java:93) at cucumber.api.junit.Cucumber.runChild(Cucumber.java:37) at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238) at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63) at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236) at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53) at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229) at org.junit.runners.ParentRunner.run(ParentRunner.java:309) at cucumber.api.junit.Cucumber.run(Cucumber.java:98) at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:365) at org.apache.maven.surefire.junit4.JUnit4Provider.executeWithRerun(JUnit4Provider.java:272) at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:236) at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:159) at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:386) at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:323) at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:143) Caused by: io.netty.channel.AbstractChannel$AnnotatedConnectException: syscall:getsockopt(..) failed: Connection refused: /127.0.0.1:5672 at io.netty.channel.unix.Socket.finishConnect(..)(Unknown Source) Caused by: io.netty.channel.unix.Errors$NativeConnectException: syscall:getsockopt(..) failed: Connection refused ... 1 common frames omitted 06:39:57.289 [main] ERROR o.e.k.c.event.ServiceEventBusManager - Error while initializing org.eclipse.kapua.commons.event.ServiceEventBusManager, org.eclipse.kapua.commons.event.ServiceEventBusDriver: Provider org.eclipse.kapua.commons.event.jms.JMSServiceEventBus could not be instantiated java.util.ServiceConfigurationError: org.eclipse.kapua.commons.event.ServiceEventBusDriver: Provider org.eclipse.kapua.commons.event.jms.JMSServiceEventBus could not be instantiated at java.util.ServiceLoader.fail(ServiceLoader.java:232) at java.util.ServiceLoader.access$100(ServiceLoader.java:185) at java.util.ServiceLoader$LazyIterator.nextService(ServiceLoader.java:384) at java.util.ServiceLoader$LazyIterator.next(ServiceLoader.java:404) at java.util.ServiceLoader$1.next(ServiceLoader.java:480) at org.eclipse.kapua.commons.event.ServiceEventBusManager.<clinit>(ServiceEventBusManager.java:43) at org.eclipse.kapua.qa.steps.EmbeddedBroker.start(EmbeddedBroker.java:90) 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:498) at cucumber.runtime.Utils$1.call(Utils.java:37) at cucumber.runtime.Timeout.timeout(Timeout.java:13) at cucumber.runtime.Utils.invoke(Utils.java:31) at cucumber.runtime.java.JavaHookDefinition.execute(JavaHookDefinition.java:60) at cucumber.runtime.Runtime.runHookIfTagsMatch(Runtime.java:223) at cucumber.runtime.Runtime.runHooks(Runtime.java:211) at cucumber.runtime.Runtime.runBeforeHooks(Runtime.java:201) at cucumber.runtime.model.CucumberScenario.run(CucumberScenario.java:40) at cucumber.runtime.junit.ExecutionUnitRunner.run(ExecutionUnitRunner.java:91) at cucumber.runtime.junit.FeatureRunner.runChild(FeatureRunner.java:63) at cucumber.runtime.junit.FeatureRunner.runChild(FeatureRunner.java:18) at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238) at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63) at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236) at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53) at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229) at org.junit.runners.ParentRunner.run(ParentRunner.java:309) at cucumber.runtime.junit.FeatureRunner.run(FeatureRunner.java:70) at cucumber.api.junit.Cucumber.runChild(Cucumber.java:93) at cucumber.api.junit.Cucumber.runChild(Cucumber.java:37) at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238) at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63) at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236) at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53) at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229) at org.junit.runners.ParentRunner.run(ParentRunner.java:309) at cucumber.api.junit.Cucumber.run(Cucumber.java:98) at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:365) at org.apache.maven.surefire.junit4.JUnit4Provider.executeWithRerun(JUnit4Provider.java:272) at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:236) at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:159) at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:386) at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:323) at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:143) Caused by: javax.jms.JMSException: syscall:getsockopt(..) failed: Connection refused: /127.0.0.1:5672 at org.apache.qpid.jms.exceptions.JmsExceptionSupport.create(JmsExceptionSupport.java:86) at org.apache.qpid.jms.exceptions.JmsExceptionSupport.create(JmsExceptionSupport.java:108) at org.apache.qpid.jms.JmsConnection.connect(JmsConnection.java:168) at org.apache.qpid.jms.JmsConnectionFactory.createConnection(JmsConnectionFactory.java:204) at org.eclipse.kapua.commons.event.jms.JMSServiceEventBus$EventBusJMSConnectionBridge.<init>(JMSServiceEventBus.java:236) at org.eclipse.kapua.commons.event.jms.JMSServiceEventBus.<init>(JMSServiceEventBus.java:86) at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) at java.lang.reflect.Constructor.newInstance(Constructor.java:423) at java.lang.Class.newInstance(Class.java:442) at java.util.ServiceLoader$LazyIterator.nextService(ServiceLoader.java:380) ... 42 common frames omitted Caused by: io.netty.channel.AbstractChannel$AnnotatedConnectException: syscall:getsockopt(..) failed: Connection refused: /127.0.0.1:5672 at io.netty.channel.unix.Socket.finishConnect(..)(Unknown Source) Caused by: io.netty.channel.unix.Errors$NativeConnectException: syscall:getsockopt(..) failed: Connection refused ... 1 common frames omitted
Standard Error
SLF4J: Class path contains multiple SLF4J bindings. SLF4J: Found binding in [jar:file:/home/hudson/genie.kapua/.jenkins/jobs/release-1.0.x-build/workspace/.repository/ch/qos/logback/logback-classic/1.1.8/logback-classic-1.1.8.jar!/org/slf4j/impl/StaticLoggerBinder.class] SLF4J: Found binding in [jar:file:/home/hudson/genie.kapua/.jenkins/jobs/release-1.0.x-build/workspace/.repository/org/slf4j/slf4j-simple/1.7.21/slf4j-simple-1.7.21.jar!/org/slf4j/impl/StaticLoggerBinder.class] SLF4J: See http://www.slf4j.org/codes.html#multiple_bindings for an explanation. SLF4J: Actual binding is of type [ch.qos.logback.classic.util.ContextSelectorStaticBinder]