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 2 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. 09:14:57.809 [main] INFO o.e.kapua.qa.steps.EmbeddedBroker - Starting new instance 09:14:57.867 [main] INFO o.a.a.xbean.XBeanBrokerFactory$1 - Refreshing org.apache.activemq.xbean.XBeanBrokerFactory$1@6292c63e: startup date [Thu Oct 04 09:14:57 EDT 2018]; root of context hierarchy 09:14:57.991 [main] INFO o.a.x.s.c.v.XBeanXmlBeanDefinitionReader - Loading XML bean definitions from class path resource [activemq.xml] 09:14:58.515 [main] INFO o.a.x.s.c.v.XBeanXmlBeanDefinitionReader - Loading XML bean definitions from class path resource [camel.xml] 09:14:59.655 [main] INFO o.s.b.f.c.PropertyPlaceholderConfigurer - Loading properties file from URL [file:src/test/resources/credentials.properties] 09:14:59.800 [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 09:14:59.801 [main] INFO o.a.activemq.broker.BrokerService - Using Persistence Adapter: KahaDBPersistenceAdapter[/jobs/genie.kapua/release-1.0.x-build/workspace/qa/target/activemq/NCDKFWbASH2WC6PWMBwW6w/kahaDB] 09:15:00.545 [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 09:15:00.707 [main] INFO o.e.k.b.c.KapuaBrokerSecurityPlugin - Installing Kapua broker plugin. 09:15:00.994 [main] INFO o.eclipse.kapua.locator.KapuaLocator - initializing Servicelocator instance... 09:15:00.995 [main] INFO o.eclipse.kapua.locator.KapuaLocator - initialize Servicelocator with the default instance... 09:15:01.990 [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 09:15:01.991 [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 09:15:01.992 [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 09:15:01.992 [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 09:15:01.992 [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 09:15:01.993 [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 09:15:01.993 [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 09:15:01.994 [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 09:15:01.994 [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 09:15:01.994 [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 09:15:01.995 [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 09:15:01.995 [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 09:15:01.995 [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 09:15:01.996 [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 09:15:01.996 [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 09:15:01.996 [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 09:15:01.997 [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 09:15:01.997 [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 09:15:01.997 [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 09:15:01.998 [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 09:15:01.998 [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 09:15:01.999 [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 09:15:01.999 [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 09:15:01.999 [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 09:15:02.000 [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 09:15:02.000 [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 09:15:02.000 [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 09:15:02.001 [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 09:15:02.001 [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 09:15:02.002 [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 09:15:02.002 [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 09:15:02.002 [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 09:15:02.003 [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 09:15:02.003 [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 09:15:02.003 [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 09:15:02.004 [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 09:15:02.004 [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 09:15:02.004 [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 09:15:02.005 [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 09:15:02.005 [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 09:15:02.005 [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 09:15:02.006 [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 09:15:02.006 [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 09:15:02.006 [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 09:15:02.007 [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 09:15:02.007 [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 09:15:02.007 [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 09:15:02.008 [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 09:15:02.008 [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 09:15:02.008 [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 09:15:02.009 [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 09:15:02.009 [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 09:15:02.010 [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 09:15:02.010 [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 09:15:02.010 [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 09:15:02.011 [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 09:15:02.011 [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 09:15:02.011 [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 09:15:02.012 [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 09:15:02.012 [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 09:15:02.012 [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 09:15:02.013 [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 09:15:02.013 [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 09:15:02.013 [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 09:15:02.014 [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 09:15:02.014 [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 09:15:02.014 [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 09:15:02.014 [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 09:15:02.015 [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 09:15:02.015 [main] INFO o.e.kapua.locator.guice.KapuaModule - Binding interceptors .. 09:15:02.019 [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 09:15:02.020 [main] INFO o.e.kapua.locator.guice.KapuaModule - Binding service modules .. 09:15:02.391 [main] INFO o.eclipse.kapua.locator.KapuaLocator - initialize Servicelocator with the default instance... DONE 09:15:03.740 [main] INFO o.a.s.c.IniSecurityManagerFactory - Realms have been explicitly set on the SecurityManager instance - auto-setting of realms will not occur. 09:15:03.758 [main] INFO o.e.k.s.a.s.AuthenticationServiceShiroImpl - Shiro global session timeout set to indefinite. 09:15:03.758 [main] INFO o.e.k.s.a.s.AuthenticationServiceShiroImpl - Shiro global session validator scheduler disabled. 09:15:03.798 [main] INFO o.a.a.p.DiscardingDLQBrokerPlugin - Installing Discarding Dead Letter Queue broker plugin[dropAll=true; dropTemporaryTopics=true; dropTemporaryQueues=true; dropOnly=null; reportInterval=1000] 09:15:03.816 [main] INFO o.a.activemq.broker.BrokerService - Apache ActiveMQ 5.14.5 (message-broker, ID:hipp9-44946-1538658900563-0:1) is starting 09:15:03.816 [main] INFO o.e.k.b.c.p.KapuaSecurityBrokerFilter - >>> Security broker filter: calling start... 09:15:03.816 [main] INFO o.e.k.b.c.p.KapuaSecurityBrokerFilter - >>> Security broker filter: calling start... Initialize jaxb context 09:15:03.818 [main] INFO o.e.kapua.commons.util.ClassUtil - Initializing instance... 09:15:03.835 [main] INFO o.e.kapua.commons.util.ClassUtil - Initializing instance of. Instantiate default instance class org.eclipse.kapua.broker.core.BrokerJAXBContextProvider ... 09:15:03.835 [main] INFO o.e.kapua.commons.util.ClassUtil - Initializing broker ip resolver... DONE 09:15:03.836 [main] INFO o.e.k.b.c.p.KapuaSecurityBrokerFilter - >>> Security broker filter: calling start... Initialize authenticator 09:15:03.839 [main] INFO o.e.kapua.commons.util.ClassUtil - Initializing instance... 09:15:03.839 [main] INFO o.e.kapua.commons.util.ClassUtil - Initializing instance of. Instantiate default instance class org.eclipse.kapua.broker.core.plugin.authentication.DefaultAuthenticator ... 09:15:03.943 [main] INFO o.e.k.b.c.p.a.DefaultAuthenticator - >>> Security broker filter: calling start... Initialize system message creator 09:15:03.944 [main] INFO o.e.kapua.commons.util.ClassUtil - Initializing instance... 09:15:03.945 [main] INFO o.e.kapua.commons.util.ClassUtil - Initializing instance of. Instantiate default instance class org.eclipse.kapua.broker.core.message.system.DefaultSystemMessageCreator ... 09:15:03.945 [main] INFO o.e.kapua.commons.util.ClassUtil - Initializing broker ip resolver... DONE 09:15:03.945 [main] INFO o.e.kapua.commons.util.ClassUtil - Initializing broker ip resolver... DONE 09:15:03.945 [main] INFO o.e.k.b.c.p.KapuaSecurityBrokerFilter - >>> Security broker filter: calling start... Initialize broker ip resolver 09:15:03.947 [main] INFO o.e.kapua.commons.util.ClassUtil - Initializing instance... 09:15:03.947 [main] INFO o.e.kapua.commons.util.ClassUtil - Initializing instance of. Instantiate default instance class org.eclipse.kapua.broker.core.plugin.DefaultBrokerIpResolver ... 09:15:03.947 [main] INFO o.e.kapua.commons.util.ClassUtil - Initializing broker ip resolver... DONE 09:15:03.947 [main] INFO o.e.k.b.c.p.KapuaSecurityBrokerFilter - >>> Security broker filter: calling start... Initialize broker id resolver 09:15:03.949 [main] INFO o.e.kapua.commons.util.ClassUtil - Initializing instance... 09:15:03.949 [main] INFO o.e.kapua.commons.util.ClassUtil - Initializing instance of. Instantiate default instance class org.eclipse.kapua.broker.core.plugin.DefaultBrokerIdResolver ... 09:15:03.949 [main] INFO o.e.kapua.commons.util.ClassUtil - Initializing broker ip resolver... DONE 09:15:03.949 [main] INFO o.e.k.b.c.p.KapuaSecurityBrokerFilter - >>> Security broker filter: calling start... Initialize stealing link manager... 09:15:04.000 [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 09:15:04.004 [main] INFO o.a.a.broker.TransportConnector - Connector mqtt started 09:15:04.013 [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 09:15:04.013 [main] INFO o.a.a.broker.TransportConnector - Connector mqtts started 09:15:04.015 [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 09:15:04.016 [main] INFO o.a.a.broker.TransportConnector - Connector tcp started 09:15:04.021 [main] INFO o.a.activemq.broker.BrokerService - Apache ActiveMQ 5.14.5 (message-broker, ID:hipp9-44946-1538658900563-0:1) started 09:15:04.022 [main] INFO o.a.activemq.broker.BrokerService - For help or more information please see: http://activemq.apache.org 09:15:04.023 [pool-1-thread-1] INFO o.e.k.b.c.p.KapuaSecurityBrokerFilter - >>> Security broker filter: calling start... Register stealing link manager... 09:15:04.031 [pool-1-thread-1] INFO o.e.k.b.c.pool.JmsConnectionFactory - Instantiate amq embedded connection factory... 09:15:04.032 [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 09:15:04.057 [pool-1-thread-1] INFO o.e.k.b.c.pool.JmsConnectionFactory - Instantiate activemq embedded connection factory... done 09:15:04.070 [pool-1-thread-1] INFO o.a.a.broker.TransportConnector - Connector vm://message-broker started 09:15:04.211 [pool-1-thread-1] INFO o.e.k.b.c.p.KapuaSecurityBrokerFilter - >>> Security broker filter: calling start... Register stealing link manager... DONE 09:15:04.493 [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 09:15:05.252 [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 09:15:05.252 [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 09:15:05.253 [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 09:15:05.850 [main] INFO o.e.k.s.d.c.rest.RestDatastoreClient - Starting Elasticsearch rest client... 09:15:05.852 [main] INFO o.e.k.s.d.c.r.EsRestClientProvider - >>> Initializing ES rest client... 09:15:05.889 [main] INFO o.e.k.s.d.c.r.EsRestClientProvider - ES Rest Client - SSL NOT enabled 09:15:06.260 [main] INFO o.e.k.s.d.c.r.EsRestClientProvider - >>> Initializing ES rest client... DONE 09:15:06.261 [main] INFO o.e.k.s.d.c.rest.RestDatastoreClient - Starting Elasticsearch rest client... DONE 09:15:06.357 [main] INFO o.a.c.i.c.DefaultTypeConverter - Loaded 186 type converters 09:15:06.389 [main] INFO o.a.camel.spring.SpringCamelContext - Apache Camel 2.16.3 (CamelContext: camelContext) is starting 09:15:06.392 [main] INFO o.a.c.m.ManagedManagementStrategy - JMX is enabled 09:15:06.572 [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) 09:15:06.840 [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. 09:15:06.841 [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 09:15:06.984 [main] INFO o.s.j.c.CachingConnectionFactory - Established shared JMS Connection: ActiveMQConnection {id=ID:hipp9-44946-1538658900563-4:1,clientId=null,started=false} 09:15:06.993 [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] 09:15:06.996 [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] 09:15:07.001 [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] 09:15:07.004 [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] 09:15:07.006 [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] 09:15:07.006 [main] INFO o.a.camel.spring.SpringCamelContext - Total 5 routes, of which 5 is started. 09:15:07.007 [main] INFO o.a.camel.spring.SpringCamelContext - Apache Camel 2.16.3 (CamelContext: camelContext) started in 0.617 seconds 09:15:07.012 [main] INFO o.e.kapua.qa.steps.EmbeddedBroker - Setting ActiveMQ data directory to target/activemq/NCDKFWbASH2WC6PWMBwW6w/data/message-broker 09:15:07.012 [main] INFO o.e.k.c.event.ServiceEventBusManager - Finding event bus driver instance... 09:15:07.534 [main] ERROR org.apache.qpid.jms.JmsConnection - Failed to connect to remote at: amqp://127.0.0.1:5672 09:15:07.549 [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 09:15:07.553 [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]