You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@karaf.apache.org by Apache Jenkins Server <je...@builds.apache.org> on 2015/01/20 01:25:24 UTC
Build failed in Jenkins: karaf-3.0.x » Apache Karaf :: Integration Tests #566
See <https://builds.apache.org/job/karaf-3.0.x/org.apache.karaf.itests$itests/566/>
------------------------------------------
[...truncated 5769 lines...]
[1m Apache Karaf[0m (3.0.3-SNAPSHOT)
Hit '[1m<tab>[0m' for a list of available commands
and '[1m[cmd] --help[0m' for help on a specific command.
Hit '[1msystem:shutdown[0m' to shutdown Karaf.
Hit '[1m<ctrl-d>[0m' or type '[1mlogout[0m' to disconnect shell from current session.
[1mkaraf[0m@root()> jaas:realm-manage --realm=karaf;jaas:user-add viewer93459427604705
12_jaas viewer9345942760470512_jaas;jaas:role-add viewer9345942760470512_jaas vi
ewer;jaas:update;jaas:realm-manage --realm=karaf;jaas:user-list
User Name | Group | Role
-----------------------------------------------------
karaf | admingroup | admin
karaf | admingroup | manager
karaf | admingroup | viewer
karaf | admingroup | webconsole
viewer9345942760470512_jaas | | viewer
[1mkaraf[0m@root()> logout
00:24:07,999 | INFO | org.apache.karaf.shell.commands.impl.LogoutAction | Disconnecting from current session...
00:24:08,157 | INFO | org.apache.karaf.shell.commands.impl.LogoutAction | Disconnecting from current session...
00:24:08,337 | INFO | org.apache.karaf.shell.commands.impl.LogoutAction | Disconnecting from current session...
00:24:08,472 | INFO | org.apache.karaf.shell.commands.impl.LogoutAction | Disconnecting from current session...
Uninstalling ssh
[org.ops4j.pax.exam.spi.reactors.ReactorManager] : suite finished
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 7.957 sec - in org.apache.karaf.itests.JaasSshCommandSecurityTest
Running org.apache.karaf.itests.WrapperTest
[org.ops4j.pax.exam.junit.impl.ProbeRunner] : creating PaxExam runner for class org.apache.karaf.itests.WrapperTest
[org.ops4j.pax.exam.junit.impl.ProbeRunner] : running test class org.apache.karaf.itests.WrapperTest
[org.ops4j.pax.exam.karaf.container.internal.KarafTestContainer] : Wait for test container to finish its initialization [ RelativeTimeout value = 180000 ]
[org.ops4j.pax.exam.rbc.client.RemoteBundleContextClient] : Waiting for remote bundle context.. on 21000 name: 1b134eb2-403c-44fc-ba7a-943666269cf1 timout: [ RelativeTimeout value = 180000 ]
00:24:12,730 | INFO | hell.security.impl.SecuredCommandConfigTransformer | Generating command ACL config org.apache.karaf.command.acl.feature into service ACL configs [org.apache.karaf.service.acl.command.feature.uninstall, org.apache.karaf.service.acl.command.feature.install]
00:24:12,736 | INFO | hell.security.impl.SecuredCommandConfigTransformer | Generating command ACL config org.apache.karaf.command.acl.jaas into service ACL configs [org.apache.karaf.service.acl.command.jaas.update]
00:24:12,739 | INFO | hell.security.impl.SecuredCommandConfigTransformer | Generating command ACL config org.apache.karaf.command.acl.config into service ACL configs [org.apache.karaf.service.acl.command.config.property-set, org.apache.karaf.service.acl.command.config.delete, org.apache.karaf.service.acl.command.config.cancel, org.apache.karaf.service.acl.command.config.update, org.apache.karaf.service.acl.command.config.property-delete, org.apache.karaf.service.acl.command.config.property-append, org.apache.karaf.service.acl.command.config.edit]
00:24:12,745 | INFO | hell.security.impl.SecuredCommandConfigTransformer | Generating command ACL config org.apache.karaf.command.acl.shell into service ACL configs [org.apache.karaf.service.acl.command.shell.java, org.apache.karaf.service.acl.command.shell.edit, org.apache.karaf.service.acl.command.shell.exec, org.apache.karaf.service.acl.command.shell.new]
00:24:12,749 | INFO | hell.security.impl.SecuredCommandConfigTransformer | Generating command ACL config org.apache.karaf.command.acl.system into service ACL configs [org.apache.karaf.service.acl.command.system.start-level, org.apache.karaf.service.acl.command.system.shutdown, org.apache.karaf.service.acl.command.system.property]
00:24:12,752 | INFO | hell.security.impl.SecuredCommandConfigTransformer | Generating command ACL config org.apache.karaf.command.acl.scope_bundle into service ACL configs [org.apache.karaf.service.acl.command.scope_bundle.admin, org.apache.karaf.service.acl.command.scope_bundle.shell, org.apache.karaf.service.acl.command.scope_bundle.packages, org.apache.karaf.service.acl.command.scope_bundle.ssh, org.apache.karaf.service.acl.command.scope_bundle.jaas, org.apache.karaf.service.acl.command.scope_bundle.log, org.apache.karaf.service.acl.command.scope_bundle.features, org.apache.karaf.service.acl.command.scope_bundle.config, org.apache.karaf.service.acl.command.scope_bundle.osgi]
00:24:12,759 | INFO | hell.security.impl.SecuredCommandConfigTransformer | Generating command ACL config org.apache.karaf.command.acl.kar into service ACL configs [org.apache.karaf.service.acl.command.kar.install, org.apache.karaf.service.acl.command.kar.uninstall]
00:24:12,762 | INFO | hell.security.impl.SecuredCommandConfigTransformer | Generating command ACL config org.apache.karaf.command.acl.bundle into service ACL configs [org.apache.karaf.service.acl.command.bundle.install, org.apache.karaf.service.acl.command.bundle.uninstall, org.apache.karaf.service.acl.command.bundle.update, org.apache.karaf.service.acl.command.bundle.restart, org.apache.karaf.service.acl.command.bundle.start, org.apache.karaf.service.acl.command.bundle.stop, org.apache.karaf.service.acl.command.bundle.watch, org.apache.karaf.service.acl.command.bundle.refresh]
__ __ ____
/ //_/____ __________ _/ __/
/ ,< / __ `/ ___/ __ `/ /_
/ /| |/ /_/ / / / /_/ / __/
/_/ |_|\__,_/_/ \__,_/_/
Apache Karaf (3.0.3-SNAPSHOT)
Hit '<tab>' for a list of available commands
and '[cmd] --help' for help on a specific command.
Hit '<ctrl-d>' or type 'system:shutdown' or 'logout' to shutdown Karaf.
karaf@root()> 00:24:13,947 | INFO | raf.region.persist.internal.RegionsPersistenceImpl | Loading region digraph persistence
00:24:13,984 | INFO | raf.region.persist.internal.RegionsPersistenceImpl | initializing region digraph from etc/regions-config.xml
00:24:15,031 | INFO | org.apache.karaf.itests.KarafTestWatcher | >>>>>> installCommand(org.apache.karaf.itests.WrapperTest) <<<<<
wrapper:install
00:24:15,143 | INFO | g.apache.karaf.wrapper.internal.WrapperServiceImpl | Creating file: <https://builds.apache.org/job/karaf-3.0.x/org.apache.karaf.itests$itests/ws/target/exam/be5bf1ee-436d-4880-a867-51853693b318/bin/karaf-wrapper>
00:24:15,475 | INFO | g.apache.karaf.wrapper.internal.WrapperServiceImpl | Creating file: <https://builds.apache.org/job/karaf-3.0.x/org.apache.karaf.itests$itests/ws/target/exam/be5bf1ee-436d-4880-a867-51853693b318/bin/karaf-service>
00:24:15,517 | INFO | g.apache.karaf.wrapper.internal.WrapperServiceImpl | Creating file: <https://builds.apache.org/job/karaf-3.0.x/org.apache.karaf.itests$itests/ws/target/exam/be5bf1ee-436d-4880-a867-51853693b318/etc/karaf-wrapper.conf>
00:24:15,528 | INFO | g.apache.karaf.wrapper.internal.WrapperServiceImpl | Creating file: <https://builds.apache.org/job/karaf-3.0.x/org.apache.karaf.itests$itests/ws/target/exam/be5bf1ee-436d-4880-a867-51853693b318/lib/libwrapper.so>
00:24:15,567 | INFO | g.apache.karaf.wrapper.internal.WrapperServiceImpl | Creating file: <https://builds.apache.org/job/karaf-3.0.x/org.apache.karaf.itests$itests/ws/target/exam/be5bf1ee-436d-4880-a867-51853693b318/lib/karaf-wrapper.jar>
00:24:15,844 | INFO | g.apache.karaf.wrapper.internal.WrapperServiceImpl | Creating file: <https://builds.apache.org/job/karaf-3.0.x/org.apache.karaf.itests$itests/ws/target/exam/be5bf1ee-436d-4880-a867-51853693b318/lib/karaf-wrapper-main.jar>
Creating file: [1m<https://builds.apache.org/job/karaf-3.0.x/org.apache.karaf.itests$itests/ws/target/exam/be5bf1ee-436d-4880-a867-51853693b318/bin/karaf-wrapper[m>
Creating file: [1m<https://builds.apache.org/job/karaf-3.0.x/org.apache.karaf.itests$itests/ws/target/exam/be5bf1ee-436d-4880-a867-51853693b318/bin/karaf-service[m>
Creating file: [1m<https://builds.apache.org/job/karaf-3.0.x/org.apache.karaf.itests$itests/ws/target/exam/be5bf1ee-436d-4880-a867-51853693b318/etc/karaf-wrapper.conf[m>
Creating file: [1m<https://builds.apache.org/job/karaf-3.0.x/org.apache.karaf.itests$itests/ws/target/exam/be5bf1ee-436d-4880-a867-51853693b318/lib/libwrapper.so[m>
Creating file: [1m<https://builds.apache.org/job/karaf-3.0.x/org.apache.karaf.itests$itests/ws/target/exam/be5bf1ee-436d-4880-a867-51853693b318/lib/karaf-wrapper.jar[m>
Creating file: [1m<https://builds.apache.org/job/karaf-3.0.x/org.apache.karaf.itests$itests/ws/target/exam/be5bf1ee-436d-4880-a867-51853693b318/lib/karaf-wrapper-main.jar[m>
Setup complete. You may wish to tweak the JVM properties in the wrapper configuration file:
<https://builds.apache.org/job/karaf-3.0.x/org.apache.karaf.itests$itests/ws/target/exam/be5bf1ee-436d-4880-a867-51853693b318/etc/karaf-wrapper.conf>
before installing and starting the service.
[1mUbuntu/Debian Linux system detected:[m
To install the service:
$ ln -s <https://builds.apache.org/job/karaf-3.0.x/org.apache.karaf.itests$itests/ws/target/exam/be5bf1ee-436d-4880-a867-51853693b318/bin/karaf-service> /etc/init.d/
To start the service when the machine is rebooted:
$ update-rc.d karaf-service defaults
To disable starting the service when the machine is rebooted:
$ update-rc.d -f karaf-service remove
To start the service:
$ /etc/init.d/karaf-service start
To stop the service:
$ /etc/init.d/karaf-service stop
To uninstall the service :
$ rm /etc/init.d/karaf-service
00:24:15,864 | INFO | org.apache.karaf.itests.KarafTestWatcher | >>>>>> installViaMBean(org.apache.karaf.itests.WrapperTest) <<<<<
00:24:15,907 | WARN | g.apache.karaf.wrapper.internal.WrapperServiceImpl | File already exists. Move it out of the way if you wish to recreate it: <https://builds.apache.org/job/karaf-3.0.x/org.apache.karaf.itests$itests/ws/target/exam/be5bf1ee-436d-4880-a867-51853693b318/bin/karaf-wrapper>
[31mFile already exists[m. Move it out of the way if you wish to recreate it: <https://builds.apache.org/job/karaf-3.0.x/org.apache.karaf.itests$itests/ws/target/exam/be5bf1ee-436d-4880-a867-51853693b318/bin/karaf-wrapper>
00:24:15,909 | WARN | g.apache.karaf.wrapper.internal.WrapperServiceImpl | File already exists. Move it out of the way if you wish to recreate it: <https://builds.apache.org/job/karaf-3.0.x/org.apache.karaf.itests$itests/ws/target/exam/be5bf1ee-436d-4880-a867-51853693b318/bin/karaf-service>
[31mFile already exists[m. Move it out of the way if you wish to recreate it: <https://builds.apache.org/job/karaf-3.0.x/org.apache.karaf.itests$itests/ws/target/exam/be5bf1ee-436d-4880-a867-51853693b318/bin/karaf-service>
00:24:15,911 | WARN | g.apache.karaf.wrapper.internal.WrapperServiceImpl | File already exists. Move it out of the way if you wish to recreate it: <https://builds.apache.org/job/karaf-3.0.x/org.apache.karaf.itests$itests/ws/target/exam/be5bf1ee-436d-4880-a867-51853693b318/etc/karaf-wrapper.conf>
[31mFile already exists[m. Move it out of the way if you wish to recreate it: <https://builds.apache.org/job/karaf-3.0.x/org.apache.karaf.itests$itests/ws/target/exam/be5bf1ee-436d-4880-a867-51853693b318/etc/karaf-wrapper.conf>
00:24:15,911 | WARN | g.apache.karaf.wrapper.internal.WrapperServiceImpl | File already exists. Move it out of the way if you wish to recreate it: <https://builds.apache.org/job/karaf-3.0.x/org.apache.karaf.itests$itests/ws/target/exam/be5bf1ee-436d-4880-a867-51853693b318/lib/libwrapper.so>
[31mFile already exists[m. Move it out of the way if you wish to recreate it: <https://builds.apache.org/job/karaf-3.0.x/org.apache.karaf.itests$itests/ws/target/exam/be5bf1ee-436d-4880-a867-51853693b318/lib/libwrapper.so>
00:24:15,912 | WARN | g.apache.karaf.wrapper.internal.WrapperServiceImpl | File already exists. Move it out of the way if you wish to recreate it: <https://builds.apache.org/job/karaf-3.0.x/org.apache.karaf.itests$itests/ws/target/exam/be5bf1ee-436d-4880-a867-51853693b318/lib/karaf-wrapper.jar>
[31mFile already exists[m. Move it out of the way if you wish to recreate it: <https://builds.apache.org/job/karaf-3.0.x/org.apache.karaf.itests$itests/ws/target/exam/be5bf1ee-436d-4880-a867-51853693b318/lib/karaf-wrapper.jar>
[org.ops4j.pax.exam.spi.reactors.ReactorManager] : suite finished
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 7.384 sec - in org.apache.karaf.itests.WrapperTest
Running org.apache.karaf.itests.HttpTest
[org.ops4j.pax.exam.junit.impl.ProbeRunner] : creating PaxExam runner for class org.apache.karaf.itests.HttpTest
[org.ops4j.pax.exam.junit.impl.ProbeRunner] : running test class org.apache.karaf.itests.HttpTest
[org.ops4j.pax.exam.karaf.container.internal.KarafTestContainer] : Wait for test container to finish its initialization [ RelativeTimeout value = 180000 ]
[org.ops4j.pax.exam.rbc.client.RemoteBundleContextClient] : Waiting for remote bundle context.. on 21000 name: 194ae262-41f9-41fc-ba34-a68bebb3e9c6 timout: [ RelativeTimeout value = 180000 ]
00:24:20,073 | INFO | hell.security.impl.SecuredCommandConfigTransformer | Generating command ACL config org.apache.karaf.command.acl.feature into service ACL configs [org.apache.karaf.service.acl.command.feature.uninstall, org.apache.karaf.service.acl.command.feature.install]
00:24:20,077 | INFO | hell.security.impl.SecuredCommandConfigTransformer | Generating command ACL config org.apache.karaf.command.acl.jaas into service ACL configs [org.apache.karaf.service.acl.command.jaas.update]
00:24:20,079 | INFO | hell.security.impl.SecuredCommandConfigTransformer | Generating command ACL config org.apache.karaf.command.acl.config into service ACL configs [org.apache.karaf.service.acl.command.config.property-set, org.apache.karaf.service.acl.command.config.delete, org.apache.karaf.service.acl.command.config.cancel, org.apache.karaf.service.acl.command.config.update, org.apache.karaf.service.acl.command.config.property-delete, org.apache.karaf.service.acl.command.config.property-append, org.apache.karaf.service.acl.command.config.edit]
00:24:20,084 | INFO | hell.security.impl.SecuredCommandConfigTransformer | Generating command ACL config org.apache.karaf.command.acl.shell into service ACL configs [org.apache.karaf.service.acl.command.shell.java, org.apache.karaf.service.acl.command.shell.edit, org.apache.karaf.service.acl.command.shell.exec, org.apache.karaf.service.acl.command.shell.new]
00:24:20,087 | INFO | hell.security.impl.SecuredCommandConfigTransformer | Generating command ACL config org.apache.karaf.command.acl.system into service ACL configs [org.apache.karaf.service.acl.command.system.start-level, org.apache.karaf.service.acl.command.system.shutdown, org.apache.karaf.service.acl.command.system.property]
00:24:20,090 | INFO | hell.security.impl.SecuredCommandConfigTransformer | Generating command ACL config org.apache.karaf.command.acl.scope_bundle into service ACL configs [org.apache.karaf.service.acl.command.scope_bundle.admin, org.apache.karaf.service.acl.command.scope_bundle.shell, org.apache.karaf.service.acl.command.scope_bundle.packages, org.apache.karaf.service.acl.command.scope_bundle.ssh, org.apache.karaf.service.acl.command.scope_bundle.jaas, org.apache.karaf.service.acl.command.scope_bundle.log, org.apache.karaf.service.acl.command.scope_bundle.features, org.apache.karaf.service.acl.command.scope_bundle.config, org.apache.karaf.service.acl.command.scope_bundle.osgi]
00:24:20,097 | INFO | hell.security.impl.SecuredCommandConfigTransformer | Generating command ACL config org.apache.karaf.command.acl.kar into service ACL configs [org.apache.karaf.service.acl.command.kar.install, org.apache.karaf.service.acl.command.kar.uninstall]
00:24:20,100 | INFO | hell.security.impl.SecuredCommandConfigTransformer | Generating command ACL config org.apache.karaf.command.acl.bundle into service ACL configs [org.apache.karaf.service.acl.command.bundle.install, org.apache.karaf.service.acl.command.bundle.uninstall, org.apache.karaf.service.acl.command.bundle.update, org.apache.karaf.service.acl.command.bundle.restart, org.apache.karaf.service.acl.command.bundle.start, org.apache.karaf.service.acl.command.bundle.stop, org.apache.karaf.service.acl.command.bundle.watch, org.apache.karaf.service.acl.command.bundle.refresh]
__ __ ____
/ //_/____ __________ _/ __/
/ ,< / __ `/ ___/ __ `/ /_
/ /| |/ /_/ / / / /_/ / __/
/_/ |_|\__,_/_/ \__,_/_/
Apache Karaf (3.0.3-SNAPSHOT)
Hit '<tab>' for a list of available commands
and '[cmd] --help' for help on a specific command.
Hit '<ctrl-d>' or type 'system:shutdown' or 'logout' to shutdown Karaf.
karaf@root()> 00:24:21,143 | INFO | raf.region.persist.internal.RegionsPersistenceImpl | Loading region digraph persistence
00:24:21,182 | INFO | raf.region.persist.internal.RegionsPersistenceImpl | initializing region digraph from etc/regions-config.xml
00:24:22,108 | INFO | org.apache.karaf.itests.KarafTestWatcher | >>>>>> list(org.apache.karaf.itests.HttpTest) <<<<<
00:24:25,618 | INFO | org.ops4j.pax.web.service.internal.Activator | EventAdmin support is not available, no servlet events will be posted!
00:24:25,625 | INFO | org.ops4j.pax.web.service.internal.Activator | LogService support enabled, log events will be created.
00:24:25,627 | INFO | org.ops4j.pax.web.service.internal.Activator | Pax Web started
00:24:25,708 | INFO | org.eclipse.jetty.server.Server | jetty-8.1.15.v20140411
00:24:25,725 | INFO | s4j.pax.web.service.jetty.internal.JettyServerImpl | Pax Web is started with it's default configuration most likely it's listening on port 8181
00:24:25,734 | INFO | s4j.pax.web.service.jetty.internal.JettyServerImpl | Pax Web available at [0.0.0.0]:[9081]
00:24:25,761 | INFO | org.eclipse.jetty.server.AbstractConnector | Started NIOSocketConnectorWrapper@0.0.0.0:9081
00:24:25,795 | INFO | 4j.pax.web.service.internal.HttpServiceFactoryImpl | Binding bundle: [org.apache.karaf.webconsole.console [104]] to http service
00:24:25,890 | INFO | 4j.pax.web.service.internal.HttpServiceFactoryImpl | Unbinding bundle: [org.apache.karaf.webconsole.console [104]]
00:24:25,892 | INFO | 4j.pax.web.service.internal.HttpServiceFactoryImpl | Binding bundle: [org.apache.karaf.webconsole.console [104]] to http service
http:list
00:24:26,070 | INFO | org.apache.karaf.itests.KarafTestWatcher | >>>>>> listViaMBean(org.apache.karaf.itests.HttpTest) <<<<<
00:24:29,652 | INFO | 4j.pax.web.service.internal.HttpServiceFactoryImpl | Unbinding bundle: [org.apache.karaf.webconsole.console [104]]
00:24:29,704 | INFO | org.eclipse.jetty.server.handler.ContextHandler | stopped HttpServiceContext{httpContext=org.apache.felix.webconsole.internal.servlet.OsgiManagerHttpContext@776dd4}
00:24:29,704 | INFO | org.eclipse.jetty.server.handler.ContextHandler | stopped HttpServiceContext{httpContext=org.apache.felix.webconsole.internal.servlet.OsgiManagerHttpContext@1847be3}
00:24:29,759 | INFO | org.ops4j.pax.web.service.internal.Activator | Pax Web stopped
[org.ops4j.pax.exam.spi.reactors.ReactorManager] : suite finished
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 13.149 sec - in org.apache.karaf.itests.HttpTest
Running org.apache.karaf.itests.BundleSshCommandSecurityTest
[org.ops4j.pax.exam.junit.impl.ProbeRunner] : creating PaxExam runner for class org.apache.karaf.itests.BundleSshCommandSecurityTest
[org.ops4j.pax.exam.junit.impl.ProbeRunner] : running test class org.apache.karaf.itests.BundleSshCommandSecurityTest
[org.ops4j.pax.exam.karaf.container.internal.KarafTestContainer] : Wait for test container to finish its initialization [ RelativeTimeout value = 180000 ]
[org.ops4j.pax.exam.rbc.client.RemoteBundleContextClient] : Waiting for remote bundle context.. on 21000 name: a4bd083b-8b95-4763-8cff-4a8e01fdb38c timout: [ RelativeTimeout value = 180000 ]
00:24:33,337 | INFO | hell.security.impl.SecuredCommandConfigTransformer | Generating command ACL config org.apache.karaf.command.acl.feature into service ACL configs [org.apache.karaf.service.acl.command.feature.uninstall, org.apache.karaf.service.acl.command.feature.install]
00:24:33,342 | INFO | hell.security.impl.SecuredCommandConfigTransformer | Generating command ACL config org.apache.karaf.command.acl.jaas into service ACL configs [org.apache.karaf.service.acl.command.jaas.update]
00:24:33,344 | INFO | hell.security.impl.SecuredCommandConfigTransformer | Generating command ACL config org.apache.karaf.command.acl.config into service ACL configs [org.apache.karaf.service.acl.command.config.property-set, org.apache.karaf.service.acl.command.config.delete, org.apache.karaf.service.acl.command.config.cancel, org.apache.karaf.service.acl.command.config.update, org.apache.karaf.service.acl.command.config.property-delete, org.apache.karaf.service.acl.command.config.property-append, org.apache.karaf.service.acl.command.config.edit]
00:24:33,351 | INFO | hell.security.impl.SecuredCommandConfigTransformer | Generating command ACL config org.apache.karaf.command.acl.shell into service ACL configs [org.apache.karaf.service.acl.command.shell.java, org.apache.karaf.service.acl.command.shell.edit, org.apache.karaf.service.acl.command.shell.exec, org.apache.karaf.service.acl.command.shell.new]
00:24:33,354 | INFO | hell.security.impl.SecuredCommandConfigTransformer | Generating command ACL config org.apache.karaf.command.acl.system into service ACL configs [org.apache.karaf.service.acl.command.system.start-level, org.apache.karaf.service.acl.command.system.shutdown, org.apache.karaf.service.acl.command.system.property]
00:24:33,357 | INFO | hell.security.impl.SecuredCommandConfigTransformer | Generating command ACL config org.apache.karaf.command.acl.scope_bundle into service ACL configs [org.apache.karaf.service.acl.command.scope_bundle.admin, org.apache.karaf.service.acl.command.scope_bundle.shell, org.apache.karaf.service.acl.command.scope_bundle.packages, org.apache.karaf.service.acl.command.scope_bundle.ssh, org.apache.karaf.service.acl.command.scope_bundle.jaas, org.apache.karaf.service.acl.command.scope_bundle.log, org.apache.karaf.service.acl.command.scope_bundle.features, org.apache.karaf.service.acl.command.scope_bundle.config, org.apache.karaf.service.acl.command.scope_bundle.osgi]
00:24:33,364 | INFO | hell.security.impl.SecuredCommandConfigTransformer | Generating command ACL config org.apache.karaf.command.acl.kar into service ACL configs [org.apache.karaf.service.acl.command.kar.install, org.apache.karaf.service.acl.command.kar.uninstall]
00:24:33,367 | INFO | hell.security.impl.SecuredCommandConfigTransformer | Generating command ACL config org.apache.karaf.command.acl.bundle into service ACL configs [org.apache.karaf.service.acl.command.bundle.install, org.apache.karaf.service.acl.command.bundle.uninstall, org.apache.karaf.service.acl.command.bundle.update, org.apache.karaf.service.acl.command.bundle.restart, org.apache.karaf.service.acl.command.bundle.start, org.apache.karaf.service.acl.command.bundle.stop, org.apache.karaf.service.acl.command.bundle.watch, org.apache.karaf.service.acl.command.bundle.refresh]
__ __ ____
/ //_/____ __________ _/ __/
/ ,< / __ `/ ___/ __ `/ /_
/ /| |/ /_/ / / / /_/ / __/
/_/ |_|\__,_/_/ \__,_/_/
Apache Karaf (3.0.3-SNAPSHOT)
Hit '<tab>' for a list of available commands
and '[cmd] --help' for help on a specific command.
Hit '<ctrl-d>' or type 'system:shutdown' or 'logout' to shutdown Karaf.
karaf@root()> 00:24:34,537 | INFO | raf.region.persist.internal.RegionsPersistenceImpl | Loading region digraph persistence
00:24:34,567 | INFO | raf.region.persist.internal.RegionsPersistenceImpl | initializing region digraph from etc/regions-config.xml
00:24:35,757 | INFO | org.apache.karaf.itests.KarafTestWatcher | >>>>>> testBundleCommandSecurityViaSsh(org.apache.karaf.itests.BundleSshCommandSecurityTest) <<<<<
00:24:36,802 | INFO | org.apache.karaf.shell.commands.impl.LogoutAction | Disconnecting from current session...
[36m __ __ ____ [0m
[36m / //_/____ __________ _/ __/ [0m
[36m / ,< / __ `/ ___/ __ `/ /_ [0m
[36m / /| |/ /_/ / / / /_/ / __/ [0m
[36m /_/ |_|\__,_/_/ \__,_/_/ [0m
[1m Apache Karaf[0m (3.0.3-SNAPSHOT)
Hit '[1m<tab>[0m' for a list of available commands
and '[1m[cmd] --help[0m' for help on a specific command.
Hit '[1msystem:shutdown[0m' to shutdown Karaf.
Hit '[1m<ctrl-d>[0m' or type '[1mlogout[0m' to disconnect shell from current session.
[1mkaraf[0m@root()> jaas:realm-manage --realm=karaf;jaas:user-add man9345971701791800_
0 man9345971701791800_0;jaas:role-add man9345971701791800_0 manager;jaas:role-ad
d man9345971701791800_0 viewer;jaas:user-add view9345971701817481_1 view93459717
01817481_1;jaas:role-add view9345971701817481_1 viewer;jaas:update;jaas:realm-ma
nage --realm=karaf;jaas:user-list
User Name | Group | Role
------------------------------------------------
karaf | admingroup | admin
karaf | admingroup | manager
karaf | admingroup | viewer
karaf | admingroup | webconsole
man9345971701791800_0 | | manager
man9345971701791800_0 | | viewer
view9345971701817481_1 | | viewer
[1mkaraf[0m@root()> logout
00:24:37,000 | INFO | org.apache.karaf.shell.commands.impl.LogoutAction | Disconnecting from current session...
00:24:37,161 | INFO | .apache.karaf.service.guard.impl.GuardProxyCatalog | Current user does not have required roles ([admin]) for service [org.apache.karaf.shell.console.CompletableFunction, org.apache.karaf.shell.commands.CommandWithAction, org.apache.felix.service.command.Function] method public abstract java.lang.Object org.apache.felix.service.command.Function.execute(org.apache.felix.service.command.CommandSession,java.util.List) throws java.lang.Exception and/or arguments
00:24:37,162 | ERROR | org.apache.karaf.shell.util.ShellUtil | Exception caught while executing command
java.lang.SecurityException: Insufficient credentials.
at org.apache.karaf.service.guard.impl.GuardProxyCatalog$ProxyInvocationListener.preInvoke(GuardProxyCatalog.java:527)
at Proxy54ef8466_cace_4cac_95d4_9d861b94df1f.execute(Unknown Source)
at org.apache.felix.gogo.runtime.CommandProxy.execute(CommandProxy.java:78)[25:org.apache.karaf.shell.console:3.0.3.SNAPSHOT]
at org.apache.felix.gogo.runtime.Closure.executeCmd(Closure.java:477)[25:org.apache.karaf.shell.console:3.0.3.SNAPSHOT]
at org.apache.felix.gogo.runtime.Closure.executeStatement(Closure.java:403)[25:org.apache.karaf.shell.console:3.0.3.SNAPSHOT]
at org.apache.felix.gogo.runtime.Pipe.run(Pipe.java:108)[25:org.apache.karaf.shell.console:3.0.3.SNAPSHOT]
at org.apache.felix.gogo.runtime.Closure.execute(Closure.java:183)[25:org.apache.karaf.shell.console:3.0.3.SNAPSHOT]
at org.apache.felix.gogo.runtime.Closure.execute(Closure.java:120)[25:org.apache.karaf.shell.console:3.0.3.SNAPSHOT]
at org.apache.felix.gogo.runtime.CommandSessionImpl.execute(CommandSessionImpl.java:92)
at org.apache.karaf.shell.console.impl.jline.ConsoleImpl.run(ConsoleImpl.java:208)
at org.apache.karaf.shell.ssh.ShellFactoryImpl$ShellImpl$1.runConsole(ShellFactoryImpl.java:158)[84:org.apache.karaf.shell.ssh:3.0.3.SNAPSHOT]
at org.apache.karaf.shell.ssh.ShellFactoryImpl$ShellImpl$1$1.run(ShellFactoryImpl.java:133)
at java.security.AccessController.doPrivileged(Native Method)[:1.7.0_25]
at org.apache.karaf.jaas.modules.JaasHelper.doAs(JaasHelper.java:57)[26:org.apache.karaf.jaas.modules:3.0.3.SNAPSHOT]
at org.apache.karaf.shell.ssh.ShellFactoryImpl$ShellImpl$1.run(ShellFactoryImpl.java:129)[84:org.apache.karaf.shell.ssh:3.0.3.SNAPSHOT]
00:24:37,169 | INFO | org.apache.karaf.shell.commands.impl.LogoutAction | Disconnecting from current session...
00:24:37,331 | INFO | org.apache.karaf.shell.commands.impl.LogoutAction | Disconnecting from current session...
00:24:37,459 | INFO | org.apache.karaf.shell.commands.impl.LogoutAction | Disconnecting from current session...
00:24:37,592 | INFO | org.apache.karaf.shell.commands.impl.LogoutAction | Disconnecting from current session...
Killed
Results :
Tests in error:
JmsTest.installJmsFeatureAndActiveMQBroker:40->KarafTestSupport.installAndAssertFeature:414 � IllegalState
JmsTest.installJmsFeatureAndActiveMQBroker:40->KarafTestSupport.installAndAssertFeature:414 � IllegalState
Tests run: 157, Failures: 0, Errors: 2, Skipped: 5
[JENKINS] Recording test results
Jenkins build is back to normal : karaf-3.0.x » Apache Karaf :: Integration Tests #567
Posted by Apache Jenkins Server <je...@builds.apache.org>.
See <https://builds.apache.org/job/karaf-3.0.x/org.apache.karaf.itests$itests/567/>